|
|
|
@@ -1185,6 +1185,7 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
|
public struct AWARD_DATA
|
|
|
|
|
{
|
|
|
|
|
/*/
|
|
|
|
|
public AWARD_DATA(bool initialize = true)
|
|
|
|
|
{
|
|
|
|
|
m_ulGoldNum = 0;
|
|
|
|
@@ -1269,6 +1270,7 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
m_pTitleAward = new TITLE_AWARD[TaskTemplConstants.MAX_TITLE_NUM];
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
//*/
|
|
|
|
|
|
|
|
|
|
public uint m_ulGoldNum;
|
|
|
|
|
public uint m_ulExp;
|
|
|
|
@@ -1295,9 +1297,11 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public bool m_bSendMsg;
|
|
|
|
|
public int m_nMsgChannel;
|
|
|
|
|
public uint m_ulCandItems;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_AWARD_CANDIDATES)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
public AWARD_ITEMS_CAND[] m_CandItems; //[MAX_AWARD_CANDIDATES];
|
|
|
|
|
public uint m_CandItems_ptr;
|
|
|
|
|
public uint m_ulSummonedMonsters;
|
|
|
|
|
[MarshalAs(UnmanagedType.SysInt)]
|
|
|
|
|
public AWARD_MONSTERS_SUMMONED m_SummonedMonsters;
|
|
|
|
|
public bool m_bAwardDeath;
|
|
|
|
|
public bool m_bAwardDeathWithLoss;
|
|
|
|
@@ -1323,27 +1327,37 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public int m_iFactionExpContrib;
|
|
|
|
|
|
|
|
|
|
public uint m_ulPQRankingAwardCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.SysInt)]
|
|
|
|
|
public AWARD_PQ_RANKING m_PQRankingAward;
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////// PQ任务奖励 end // PQ task reward end
|
|
|
|
|
|
|
|
|
|
// 改变全局key/value // Change global key/value
|
|
|
|
|
public uint m_ulChangeKeyCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public int[] m_plChangeKey;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
public uint m_plChangeKey_ptr;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
public int[] m_plChangeKeyValue;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
public uint m_plChangeKeyValue_ptr;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
public bool[] m_pbChangeType;
|
|
|
|
|
public uint m_pbChangeType_ptr;
|
|
|
|
|
|
|
|
|
|
// 修改历史进度 // Modify historical progress
|
|
|
|
|
public uint m_ulHistoryChangeCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public int[] m_plHistoryChangeKey;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
public uint m_plHistoryChangeKey_ptr;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public int[] m_plHistoryChangeKeyValue;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
public uint m_plHistoryChangeKeyValue_ptr;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public bool[] m_pbHistoryChangeType;
|
|
|
|
|
public uint m_pbHistoryChangeType_ptr;
|
|
|
|
|
|
|
|
|
|
// 倍率 // Multiplier
|
|
|
|
|
public bool m_bMulti;
|
|
|
|
@@ -1352,20 +1366,24 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// 显示全局key/value // Display global key/value
|
|
|
|
|
public uint m_ulDisplayKeyCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_VALUE)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public int[] m_plDisplayKey;
|
|
|
|
|
public uint m_plDisplayKey_ptr;
|
|
|
|
|
|
|
|
|
|
// 显示全局变量表达式 // Display global variable expressions
|
|
|
|
|
public uint m_ulExpCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT * TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_CHAR_LEN)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public char[] m_pszExp;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT * TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_CHAR_LEN)]
|
|
|
|
|
public char m_pszExp_ptr;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
public TASK_EXPRESSION[] m_pExpArr;
|
|
|
|
|
public uint m_pExpArr_ptr;
|
|
|
|
|
|
|
|
|
|
// 显示全局变量表达式提示字符串 // Display global variable expression prompt strings
|
|
|
|
|
public uint m_ulTaskCharCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
public ushort[] m_pTaskChar;
|
|
|
|
|
public ushort m_pTaskChar_ptr;
|
|
|
|
|
|
|
|
|
|
// 势力相关 // Force-related
|
|
|
|
|
public int m_iForceContribution;
|
|
|
|
@@ -1375,8 +1393,9 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
public int m_iTaskLimit;
|
|
|
|
|
public uint m_ulTitleNum;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TITLE_NUM)]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
public TITLE_AWARD[] m_pTitleAward;
|
|
|
|
|
public uint m_pTitleAward_ptr;
|
|
|
|
|
public int m_iLeaderShip;
|
|
|
|
|
|
|
|
|
|
public int m_iWorldContribution; // 世界贡献度 // World contribution
|
|
|
|
@@ -1755,10 +1774,10 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public struct COMPARE_KEY_VALUE
|
|
|
|
|
{
|
|
|
|
|
public int nLeftType;
|
|
|
|
|
public long lLeftNum;
|
|
|
|
|
public int lLeftNum;
|
|
|
|
|
public int nCompOper;
|
|
|
|
|
public int nRightType;
|
|
|
|
|
public long lRightNum;
|
|
|
|
|
public int lRightNum;
|
|
|
|
|
|
|
|
|
|
public static bool operator ==(COMPARE_KEY_VALUE a, COMPARE_KEY_VALUE b)
|
|
|
|
|
{
|
|
|
|
@@ -1833,8 +1852,11 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// 任务署名 // Task signature
|
|
|
|
|
public bool m_bHasSign;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASK_NAME_LEN)]
|
|
|
|
|
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public ushort[] m_pszSignature;
|
|
|
|
|
public ushort m_pszSignature_ptr;
|
|
|
|
|
|
|
|
|
|
// 任务类型 // Task type
|
|
|
|
|
public uint m_ulType;
|
|
|
|
@@ -1860,15 +1882,19 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// 时间方式 // Time method
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TIMETABLE_SIZE)]
|
|
|
|
|
public char[] m_tmType;
|
|
|
|
|
public byte[] m_tmType;
|
|
|
|
|
|
|
|
|
|
// 发放起始时间 // Distribution start time
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TIMETABLE_SIZE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public task_tm[] m_tmStart;
|
|
|
|
|
public uint m_tmStart_ptr;
|
|
|
|
|
|
|
|
|
|
// 发放终止时间 // Distribution end time
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TIMETABLE_SIZE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public task_tm[] m_tmEnd;
|
|
|
|
|
public uint m_tmEnd_ptr;
|
|
|
|
|
|
|
|
|
|
// 发放频率 // Distribution frequency
|
|
|
|
|
public int m_lAvailFrequency;
|
|
|
|
@@ -1914,22 +1940,28 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public bool m_bDelvInZone;
|
|
|
|
|
public uint m_ulDelvWorld;
|
|
|
|
|
public uint m_ulDelvRegionCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
public Task_Region[] m_pDelvRegion;
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
// public Task_Region[] m_pDelvRegion;
|
|
|
|
|
public uint m_pDelvRegion_ptr;
|
|
|
|
|
|
|
|
|
|
// 进入区域任务失败 // Task fails when entering region
|
|
|
|
|
public bool m_bEnterRegionFail;
|
|
|
|
|
public uint m_ulEnterRegionWorld;
|
|
|
|
|
public uint m_ulEnterRegionCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
public Task_Region[] m_pEnterRegion;
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
// public Task_Region[] m_pEnterRegion;
|
|
|
|
|
public uint m_pEnterRegion_ptr;
|
|
|
|
|
|
|
|
|
|
// 离开区域任务失败 // Task fails when leaving region
|
|
|
|
|
public bool m_bLeaveRegionFail;
|
|
|
|
|
public uint m_ulLeaveRegionWorld;
|
|
|
|
|
public uint m_ulLeaveRegionCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
public Task_Region[] m_pLeaveRegion;
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
// public Task_Region[] m_pLeaveRegion;
|
|
|
|
|
public uint m_pLeaveRegion_ptr;
|
|
|
|
|
|
|
|
|
|
// 离开阵营失败 // Fails when leaving force
|
|
|
|
|
public bool m_bLeaveForceFail;
|
|
|
|
@@ -1988,11 +2020,14 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// Change global key/value
|
|
|
|
|
public uint m_ulChangeKeyCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public int[] m_plChangeKey; // [TASK_AWARD_MAX_CHANGE_VALUE]
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public int[] m_plChangeKeyValue;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_CHANGE_VALUE)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public bool[] m_pbChangeType;
|
|
|
|
|
|
|
|
|
|
// Fail on scene switch
|
|
|
|
@@ -2019,16 +2054,22 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
// PQ Task related // PQ任务相关
|
|
|
|
|
public bool m_bPQTask; // Whether it is a PQ task // 是否是PQ任务
|
|
|
|
|
public uint m_ulPQExpCnt; // PQ task global variable display // PQ任务全局变量显示
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public byte[] m_pszPQExp; // PQ expressions
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT)]
|
|
|
|
|
public TASK_EXPRESSION[] m_pPQExpArr; // PQ expression arrays
|
|
|
|
|
public uint m_pszPQExp_ptr;
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public TASK_EXPRESSION[] m_pPQExpArr; // PQ expression arrays
|
|
|
|
|
public uint m_pPQExpArr_ptr;
|
|
|
|
|
|
|
|
|
|
public bool m_bPQSubTask; // Whether it is a PQ subtask // 是否PQ子任务
|
|
|
|
|
public bool m_bClearContrib; // Clear contribution when task starts // 任务开始时清空贡献度
|
|
|
|
|
public uint m_ulMonsterContribCnt; // Number of monster types // 怪物种类数量
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_CONTRIB_MONSTERS)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public MONSTERS_CONTRIB[] m_MonstersContrib; // Monster contribution settings // 怪物贡献度设定
|
|
|
|
|
public uint m_MonstersContrib_ptr;
|
|
|
|
|
|
|
|
|
|
// Account Task related // 账号任务相关
|
|
|
|
|
public int m_iPremNeedRecordTasksNum; // Number of completed record tasks // 记录完成结果任务完成个数
|
|
|
|
@@ -2066,15 +2107,18 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public bool m_bShowByRealmLevel;
|
|
|
|
|
// 所需道具 // Required items
|
|
|
|
|
public uint m_ulPremItems;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.MAX_ITEM_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public ITEM_WANTED[] m_PremItems; //[MAX_ITEM_WANTED];
|
|
|
|
|
public uint m_PremItems_ptr;
|
|
|
|
|
public bool m_bShowByItems;
|
|
|
|
|
public bool m_bPremItemsAnyOne;
|
|
|
|
|
// 发放道具 // Given items
|
|
|
|
|
public uint m_ulGivenItems;
|
|
|
|
|
public uint m_ulGivenCmnCount;
|
|
|
|
|
public uint m_ulGivenTskCount;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.MAX_ITEM_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public ITEM_WANTED[] m_GivenItems; //[MAX_ITEM_WANTED];
|
|
|
|
|
// 押金 // Deposit
|
|
|
|
|
public uint m_ulPremise_Deposit;
|
|
|
|
@@ -2165,7 +2209,8 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// 队伍成员需求 // Team member requirements
|
|
|
|
|
public uint m_ulTeamMemsWanted;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TEAM_MEM_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public TEAM_MEM_WANTED[] m_TeamMemsWanted;
|
|
|
|
|
public bool m_bShowByTeam;
|
|
|
|
|
|
|
|
|
@@ -2195,8 +2240,10 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public bool m_bShowByNotInTeam;
|
|
|
|
|
public uint m_iPremTitleNumTotal;
|
|
|
|
|
public uint m_iPremTitleNumRequired;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TITLE_NUM)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public int[] m_PremTitles;
|
|
|
|
|
public uint m_PremTitles_ptr;
|
|
|
|
|
public bool m_bShowByTitle;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 2)]
|
|
|
|
|
public int[] m_iPremHistoryStageIndex; // 历史阶段 // Historical stage
|
|
|
|
@@ -2217,14 +2264,17 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
/* 任务方式 */ /* Task methods */
|
|
|
|
|
|
|
|
|
|
public uint m_ulPlayerWanted;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.MAX_PLAYER_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public PLAYER_WANTED[] m_PlayerWanted;
|
|
|
|
|
public uint m_ulMonsterWanted;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.MAX_MONSTER_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public MONSTER_WANTED[] m_MonsterWanted;
|
|
|
|
|
|
|
|
|
|
public uint m_ulItemsWanted;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.MAX_ITEM_WANTED)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public ITEM_WANTED[] m_ItemsWanted;
|
|
|
|
|
public uint m_ulGoldWanted;
|
|
|
|
|
|
|
|
|
@@ -2239,7 +2289,8 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
//public ZONE_VERT m_ReachSiteMin;
|
|
|
|
|
//public ZONE_VERT m_ReachSiteMax;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public Task_Region[] m_pReachSite;
|
|
|
|
|
public uint m_ulReachSiteCnt;
|
|
|
|
|
public uint m_ulReachSiteId;
|
|
|
|
@@ -2263,8 +2314,10 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
//public ZONE_VERT m_LeaveSiteMin;
|
|
|
|
|
//public ZONE_VERT m_LeaveSiteMax;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskTemplConstants.MAX_TASKREGION)]
|
|
|
|
|
public Task_Region[] m_pLeaveSite;
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 0)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public Task_Region[] m_pLeaveSite;
|
|
|
|
|
public uint m_pLeaveSite_ptr;
|
|
|
|
|
public uint m_ulLeaveSiteCnt;
|
|
|
|
|
public uint m_ulLeaveSiteId;
|
|
|
|
|
|
|
|
|
@@ -2276,15 +2329,19 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
|
|
|
|
|
// 需显示的全局变量表达式 // Global variable expressions to display
|
|
|
|
|
public uint m_ulExpCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_CHAR_LEN * TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public char[] m_pszExp;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_CHAR_LEN * TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public TASK_EXPRESSION[] m_pExpArr;
|
|
|
|
|
|
|
|
|
|
// 需显示的全局变量表达式提示字符串 // Global variable expression prompt strings
|
|
|
|
|
public uint m_ulTaskCharCnt;
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_EXP_CNT * TaskInterfaceConstants.TASK_AWARD_MAX_DISPLAY_CHAR_LEN)]
|
|
|
|
|
// [MarshalAs(UnmanagedType.ByValArray, SizeConst = 1)]
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
public ushort[] m_pTaskChar;
|
|
|
|
|
public ushort m_pTaskChar_ptr;
|
|
|
|
|
|
|
|
|
|
// 变身状态 // Transformation state
|
|
|
|
|
public byte m_ucTransformedForm;
|
|
|
|
@@ -2302,17 +2359,31 @@ namespace PerfectWorld.Scripts.Task
|
|
|
|
|
public uint m_ulAwardType_F;
|
|
|
|
|
|
|
|
|
|
/* 普通和按每个方式 */ /* Normal and per-method rewards */
|
|
|
|
|
public AWARD_DATA m_Award_S; /* 成功 */ /* Success */
|
|
|
|
|
public AWARD_DATA m_Award_F; /* 失败 */ /* Failure */
|
|
|
|
|
// [NonSerialized]
|
|
|
|
|
// public AWARD_DATA m_Award_S; /* 成功 */ /* Success */
|
|
|
|
|
public uint m_Award_S_ptr;
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
// public AWARD_DATA m_Award_F; /* 失败 */ /* Failure */
|
|
|
|
|
public uint m_Award_F_ptr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 时间比例方式 */ /* Time ratio method */
|
|
|
|
|
public AWARD_RATIO_SCALE m_AwByRatio_S;
|
|
|
|
|
public AWARD_RATIO_SCALE m_AwByRatio_F;
|
|
|
|
|
//TODO: Revert
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
// public AWARD_RATIO_SCALE m_AwByRatio_S;
|
|
|
|
|
public uint m_AwByRatio_S_ptr;
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
// public AWARD_RATIO_SCALE m_AwByRatio_F;
|
|
|
|
|
public uint m_AwByRatio_F_ptr;
|
|
|
|
|
|
|
|
|
|
/* 按获得物比例方式 */ /* Item ratio method */
|
|
|
|
|
public AWARD_ITEMS_SCALE m_AwByItems_S;
|
|
|
|
|
public AWARD_ITEMS_SCALE m_AwByItems_F;
|
|
|
|
|
//TODO: Revert
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
// public AWARD_ITEMS_SCALE m_AwByItems_S;
|
|
|
|
|
public uint m_AwByItems_S_ptr;
|
|
|
|
|
[NonSerialized]
|
|
|
|
|
// public AWARD_ITEMS_SCALE m_AwByItems_F;
|
|
|
|
|
public uint m_AwByItems_F_ptr;
|
|
|
|
|
|
|
|
|
|
/* 层次结构 */ /* Hierarchy structure */
|
|
|
|
|
public uint m_ulParent;
|
|
|
|
|