/// <summary> /// 初始化(注册监听) /// </summary> protected void Init() { MsgHander.Regist(0xC131, S2C_GetSevenChallengeAll); MsgHander.Regist(0xC132, S2C_GetSevenChallengeSigle); isOpenSevenChallenge = false; isShowRedPoint = false; }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { MsgHander.Regist(0xD514, S2C_OnGetGuildSkillList); C2S_AskGuildSkillList(); // MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
void Init() { MsgHander.Regist(0xD766, S2C_AchievementReachNum); MsgHander.Regist(0xD767, S2C_AchievementRewardState); MsgHander.Regist(0xD776, S2C_AchievementRedPoint); MsgHander.Regist(0xD783, S2C_AchievementToggleRed); }
protected void Init() { //MsgHander.Regist(0xD435, S2C_AllEndList); //MsgHander.Regist(0xD437, S2C_AllEndReWard); //MsgHander.Regist(0xD449, S2C_EndLessItemUpdate); //MsgHander.Regist(0xD451, S2C_SweepRewardAll); MsgHander.Regist(0xD453, S2C_CopyItemList); MsgHander.Regist(0xD455, S2C_BuyCopyInNum); MsgHander.Regist(0xD457, S2C_CopyInSceneStar); MsgHander.Regist(0xD460, S2C_CopyItemTeams); MsgHander.Regist(0xD465, S2C_ReqCopyInTeamClose); MsgHander.Regist(0xD463, S2C_ReqCopyInChange); MsgHander.Regist(0xD466, S2C_ReqCopyInPerpare); MsgHander.Regist(0xD467, S2C_ReqSettlementRewardData); MsgHander.Regist(0xD469, S2C_ReqSettlementFlopData); MsgHander.Regist(0xD470, S2C_ReqOpenCopyForce); //MsgHander.Regist(0xD485, S2C_ArenaServerDataInfo); MsgHander.Regist(0xD491, S2C_ReqArenaRewardData); //MsgHander.Regist(0xD489, S2C_ArenaServerReward); MsgHander.Regist(0xD47a, S2C_GameStop); //MsgHander.Regist(0xD715, S2C_ActivityDataInfo); MsgHander.Regist(0xD716, S2C_MagicTowers); MsgHander.Regist(0xD746, S2C_InvitationPlayer); MsgHander.Regist(0xD749, S2C_CopyInFriend); MsgHander.Regist(0xD753, S2C_ReqOpenCoppyTime); //MsgHander.Regist(0xD756, S2C_FairyDomainToprotect); MsgHander.Regist(0xD771, S2C_TeamAddInvitationPlayer); MsgHander.Regist(0xC147, S2C_GetTowerChallengeNum); }
protected void Init() { MsgHander.Regist(0xD339, S2C_AllMailList); MsgHander.Regist(0xD335, S2C_AllMailDelete); MsgHander.Regist(0xD337, S2C_AllMailContent); MsgHander.Regist(0xD340, C2S_SendSuccessMail); }
/// <summary> /// 初始化(包含协议注册) /// </summary> protected void Init() { MsgHander.Regist(0xD492, S2C_GotDGTime); MsgHander.Regist(0xD493, S2C_GotDGWaveNum); MsgHander.Regist(0xD497, S2C_GotDGLayerNum); MsgHander.Regist(0xD496, S2C_GotDGMonsterNum); MsgHander.Regist(0xD498, S2C_GotDGPetTime); MsgHander.Regist(0xD499, S2C_GotDGReliveTimes); MsgHander.Regist(0xD700, S2C_GotDGKillMonster); MsgHander.Regist(0xD724, S2C_GotDGScore); MsgHander.Regist(0xD734, S2C_GotDGDeadTimes); MsgHander.Regist(0xD772, S2C_GotTowerRewardState); MsgHander.Regist(0xD495, S2C_GotBridgeBossCallInfo); MsgHander.Regist(0xD768, S2C_GotGuildFireExp); MsgHander.Regist(0xD769, S2C_GotGuildFireHp); MsgHander.Regist(0xD770, S2C_GotGuildFireExpPercent); MsgHander.Regist(0xD728, S2C_GotGuildProtectResult); MsgHander.Regist(0xD780, S2C_GotBridgeNpcID); MsgHander.Regist(0xD781, S2C_GotGuildSiegeState); MsgHander.Regist(0xD782, S2C_GotGuildSiegeStone); MsgHander.Regist(0xD791, S2C_GetCouplePoemId); MsgHander.Regist(0xD792, S2C_GetCouplePoem); MsgHander.Regist(0xC144, S2C_GetAllSatr); MsgHander.Regist(0xC145, S2C_GetDropRewardInteger); }
/// <summary> /// 初始化 /// </summary> void Init() { MsgHander.Regist(0xD378, S2C_GetTreasureData); MsgHander.Regist(0xD390, S2C_GetHouseData); MsgHander.Regist(0xD391, S2C_GetChangeHouseData); MsgHander.Regist(0xD511, S2C_GetTreasureRecord); }
protected void Init() { MsgHander.Regist(0xD540, S2C_GetSwornWndInfo); MsgHander.Regist(0xD543, S2C_GetRewardInfo); MsgHander.Regist(0xD547, S2C_BrokeUp); MsgHander.Regist(0xD690, S2C_GetSwornBrother); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { MsgHander.Regist(0xD822, S2C_OnGetDownReward); //MsgHander.Regist(0xD372, S2C_OnGetRedeemItemList); // MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
/// <summary> /// 注册 /// </summary> protected void Init(MainPlayerMng _main) { MsgHander.Regist(0xD412, S2C_GetFashionList); MsgHander.Regist(0xD414, S2C_PutFashion); MsgHander.Regist(0xD788, S2C_UpdateFashionLev); //GetAllFashion (); C2S_AskFashionDic(); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { GetAllOnlineReward(); MsgHander.Regist(0xD763, S2C_GetOnlineRewardItemInfo); MsgHander.Regist(0xC107, S2C_OnlineRewardLottery); C2S_AskOnlineRewardInfo(2); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
/// <summary> /// 初始化(包含协议注册) /// </summary> protected void Init(MainPlayerMng _father) { foreach (MagicWeaponRef data in ConfigMng.Instance.MagicWeaponRefTabel.Values) { magicInfoDic[data.id] = new MagicWeaponInfo(data); } MsgHander.Regist(0xD309, S2C_GetMagicData); }
/// <summary> /// 注册 /// </summary> protected void Init() { //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; MsgHander.Regist(0xD901, S2C_GetAllActivitys); MsgHander.Regist(0xD903, S2C_GetActivitysByID); MsgHander.Regist(0xD905, S2C_GetActivitysRewardPt); C2S_AskAllActivitysInfo(); }
protected void Init() { MsgHander.Regist(0xD591, S2C_GetCoupleInfo); MsgHander.Regist(0xD534, S2C_GetTokenUpLev); MsgHander.Regist(0xD759, S2C_GetInitimacyUpdata); //MsgHander.Regist(0xD688, S2C_GetCouple); MsgHander.Regist(0xD531, S2C_GetCoupleBrokeUp); MsgHander.Regist(0xD797, S2C_ShowFlower); }
/// <summary> /// 初始化 /// </summary> protected virtual void Init() { MsgHander.Regist(0xC006, S2C_AbilityResult); MsgHander.Regist(0xC008, S2C_BuffUpdate); MsgHander.Regist(0xC009, S2C_BuffDelete); MsgHander.Regist(0xC021, S2C_OnAbilityWarnning); MsgHander.Regist(0xC022, S2C_OnAbilityCancelWarnning); MsgHander.Regist(0xC00B, S2C_EquipmentPassiveSkillTrriger); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { MsgHander.Regist(0xD557, S2C_GetGuildFightInfo); MsgHander.Regist(0xD556, S2C_GetGuildFightScore); MsgHander.Regist(0xD558, S2C_GetGuildFightNum); MsgHander.Regist(0xD695, S2C_GetGuildFightRemainTime); MsgHander.Regist(0xD694, S2C_GetGuildFightEnd); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
protected void Init() { MsgHander.Regist(0xD743, S2C_GetEverydayRewardList); MsgHander.Regist(0xD762, S2C_GetLevRewardList); MsgHander.Regist(0xC119, S2C_OpenDialogWnd); if (isEverdayRedRemind()) { GameCenter.messageMng.SendPushInfo(1, 2); } }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { MsgHander.Regist(0xD777, S2C_GetAllSoulCrit); MsgHander.Regist(0xD446, S2C_GetAllSoulNum); MsgHander.Regist(0xD447, S2C_GetUpdateSoulNum); MsgHander.Regist(0xC101, S2C_GetUpdateSoulReward); C2S_AskSoulNum(); // MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
void Init() { MsgHander.Regist(0xD361, S2C_StrengthResult); MsgHander.Regist(0xD364, S2C_InlayResult); MsgHander.Regist(0xD365, S2C_WashAttrResult); MsgHander.Regist(0xD368, S2C_SaveWashResult); MsgHander.Regist(0xD369, S2C_ExtendEquipResult); MsgHander.Regist(0xD370, S2C_UpgradeEquipResult); SetRedTipState(); }
/// <summary> /// 注册 /// </summary> protected virtual void Init() { MsgHander.Regist(0xC111, S2C_GetBattleSettlement); MsgHander.Regist(0xC109, S2C_UpdateBattleRank); MsgHander.Regist(0xC110, S2C_UpdateBattleInfo); MsgHander.Regist(0xC114, S2C_UpdateFightersInfo); MsgHander.Regist(0xC113, S2C_UpdateGoBackInfo); MsgHander.Regist(0xC115, S2C_GetBattleChannel); MsgHander.Regist(0xC149, S2C_GetBattleCountDown); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { MsgHander.Regist(0xD631, S2C_OnGetTradeReq); MsgHander.Regist(0xD633, S2C_OnGetTradeStart); MsgHander.Regist(0xD635, S2C_OnGetTradeLock); MsgHander.Regist(0xD639, S2C_OnGetReplyTrade); MsgHander.Regist(0xD638, S2C_OnGetTradeFinish); // MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
protected void Init() { MsgHander.Regist(0xE111, S2C_GetMountListInfo); MsgHander.Regist(0xE113, S2C_GetMountSkinListInfo); MsgHander.Regist(0xD439, S2C_GetMountPromoteLev); MsgHander.Regist(0xD440, S2C_GetMountAfterUpdate); MsgHander.Regist(0xD757, S2C_GetSkinLevUpdate); MsgHander.Regist(0xD575, S2C_OnGotEquipData); MsgHander.Regist(0xD576, S2C_OnUpdateEquipData); }
/// <summary> /// 注册 /// </summary> protected virtual void Init() { MsgHander.Regist(0xD100, S2C_OnGetSkillList); MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); for (int i = 0; i < 4; i++) { useSkills.Add(null); } //AddSkill(); }
/// <summary> /// 注册 /// </summary> void Init() { MsgHander.Regist(0xD402, S2C_GetAllMercenayDataList); MsgHander.Regist(0xD404, S2C_FixMercenaryInfo); MsgHander.Regist(0xD409, S2C_GetMercenaryPromote); MsgHander.Regist(0xD410, S2C_GetUpdataAfterChange); MsgHander.Regist(0xD426, S2C_GetPetNewName); MsgHander.Regist(0xD751, S2C_GetCopyBook); MsgHander.Regist(0xD01F, S2C_EntrouageAwake); }
/// <summary> /// 初始化(注册监听) /// </summary> protected void Init() { MsgHander.Regist(0xD971, S2C_GetTreasureInfo); MsgHander.Regist(0xD975, S2C_GetTreasurebigPrize); MsgHander.Regist(0xD973, S2C_GetRreasureRankReward); //MsgHander.Regist(0xD601, S2C_GetRreasurePlayerRank); MsgHander.Regist(0xD979, S2C_GetOpenTreasureActivity); MsgHander.Regist(0xD977, S2C_GetTreasureRewardInfo); isOpen = false; }
void Init() { MsgHander.Regist(0xD692, S2C_GotMustDoData); MsgHander.Regist(0xC103, S2C_GotMustDoState); //FDictionary mustDoItems = ConfigMng.Instance.GetLivelyRefTable(); //TotalLivelyCount = 0; //foreach (LivelyRef lively in mustDoItems.Values) //{ // TotalLivelyCount += lively.rewardlive; //} }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { for (int i = 0; i < ConfigMng.Instance.AllMarketTypeItem.Count; i++) { MarketTypes.Add(new MarketTypeInfo(i + 1)); } InitLimit(0); MsgHander.Regist(0xD550, S2C_GetMarketItem); MsgHander.Regist(0xD555, S2C_GetMarketItemFeedBack); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }
/// <summary> /// 注册 /// </summary> void Init() { MsgHander.Regist(0xD022, S2C_TeamMemberResult); MsgHander.Regist(0xD023, S2C_TeamMemberUpdate); MsgHander.Regist(0xD024, S2C_AskForInvite); MsgHander.Regist(0xD026, S2C_AskForJoin); MsgHander.Regist(0xD028, S2C_TeamChangeLeader); MsgHander.Regist(0xD029, S2C_TeammateOut); MsgHander.Regist(0xD030, S2C_TeamDissolve); MsgHander.Regist(0xD031, S2C_CancelInvite); MsgHander.Regist(0xD032, S2C_CancelJoin); MsgHander.Regist(0xE110, S2C_GetNearTeam); //MsgHander.Regist(0x3615, S2C_TeamInjury); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { Dictionary <int, MallRef> all = ConfigMng.Instance.AllMallItem; using (var e = all.GetEnumerator()) { while (e.MoveNext()) { MallItemDic[e.Current.Key] = new MallItemInfo(e.Current.Key); } } C2S_AskBuyItemNum(); CurMallType = MallItemType.RESTRICTION; MsgHander.Regist(0xD373, S2C_OnGetBuyNums); }
/// <summary> /// 注册 /// </summary> protected virtual void Init(MainPlayerMng _main) { Dictionary <int, ShopRef> all = ConfigMng.Instance.AllShopItem; using (var e = all.GetEnumerator()) { while (e.MoveNext()) { ShopItemDic[e.Current.Key] = new ShopItemInfo(e.Current.Key); } } CurType = ShopItemType.NORMAL; MsgHander.Regist(0xD372, S2C_OnGetRedeemItemList); // MsgHander.Regist(0xD401, S2C_OnGetUseSkillList); //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate += ChangeAutoUseSkill; }