public void SetSubdueMonsterData(int Index, ActivityNpcDataWraper v) { if (Index < 0 || Index >= (int)m_SubdueMonsterData.Count) { return; } m_SubdueMonsterData[Index] = v; }
public void SetThiefData(int Index, ActivityNpcDataWraper v) { if (Index < 0 || Index >= (int)m_ThiefData.Count) { return; } m_ThiefData[Index] = v; }
/** *活动日常-->江洋大盗开怪 RPC请求 */ public void ThiefOpenMonster(ActivityNpcDataWraper ThiefData, ReplyHandler replyCB) { ActivityScheduleRpcThiefOpenMonsterAskWraper askPBWraper = new ActivityScheduleRpcThiefOpenMonsterAskWraper(); askPBWraper.ThiefData = ThiefData; ModMessage askMsg = new ModMessage(); askMsg.MsgNum = RPC_CODE_ACTIVITYSCHEDULE_THIEFOPENMONSTER_REQUEST; askMsg.protoMS = askPBWraper.ToMemoryStream(); Singleton <GameSocket> .Instance.SendAsk(askMsg, delegate(ModMessage replyMsg){ ActivityScheduleRpcThiefOpenMonsterReplyWraper replyPBWraper = new ActivityScheduleRpcThiefOpenMonsterReplyWraper(); replyPBWraper.FromMemoryStream(replyMsg.protoMS); replyCB(replyPBWraper); }); }
public void AddSubdueMonsterData(ActivityNpcDataWraper v) { m_SubdueMonsterData.Add(v); }
//重置函数 public void ResetWraper() { m_SubdueMonsterData = new ActivityNpcDataWraper(); }
//构造函数 public ActivityScheduleRpcSubdueMonsterBeOpenedNotifyWraper() { m_SubdueMonsterData = new ActivityNpcDataWraper(); }
//构造函数 public ActivityScheduleRpcSubdueMonsterEnterAskWraper() { m_SubdueMonsterData = new ActivityNpcDataWraper(); }
//重置函数 public void ResetWraper() { m_ThiefData = new ActivityNpcDataWraper(); }
//构造函数 public ActivityScheduleRpcThiefOpenMonsterAskWraper() { m_ThiefData = new ActivityNpcDataWraper(); }
public void AddThiefData(ActivityNpcDataWraper v) { m_ThiefData.Add(v); }
//构造函数 public ActivityScheduleRpcThiefBeOpenedNotifyWraper() { m_ThiefData = new ActivityNpcDataWraper(); }