コード例 #1
0
ファイル: GuildMng.cs プロジェクト: atom-chen/tianyu
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD501, S2C_GetGuildList);
     MsgHander.UnRegist(0xD379, S2C_OnGotStorageData);
     MsgHander.UnRegist(0xD506, S2C_OnGotChangeStorageData);
     MsgHander.UnRegist(0xD392, S2C_GuildLog);
     MsgHander.UnRegist(0xD380, S2C_GuildInfo);
     MsgHander.UnRegist(0xD503, S2C_GetNewMemberList);
     MsgHander.UnRegist(0xD381, S2C_GetGuildMember);
     MsgHander.UnRegist(0xD382, S2C_GuildNameUpdate);
     MsgHander.UnRegist(0xD524, S2C_OnGetItemApplyList);
     MsgHander.UnRegist(0xD525, S2C_GetStorageLogList);
     MsgHander.UnRegist(0xD394, S2C_UpdateSalaryState);
     MsgHander.UnRegist(0xD517, S2C_UpdateAutoReplyState);
     MsgHander.UnRegist(0xD527, S2C_GuildName);
     MsgHander.UnRegist(0xD50A, S2C_DonateLimitData);
     MsgHander.UnRegist(0xD50C, S2C_DonateLimitInfo);
     MsgHander.UnRegist(0xD138, S2C_GuildNotice);
     MsgHander.UnRegist(0xC124, S2C_ReqGuildResult);
     MsgHander.UnRegist(0xD50E, S2C_GotGuildLivelyData);
     MsgHander.UnRegist(0xD51A, S2C_OnGotLivelyRewardResult);
     guildDic.Clear();
     guildMemberList.Clear();
     haveViceChairman = false;
     restDonateTimes  = 0;
     maxDonateTime    = 3;
 }
コード例 #2
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
     MsgHander.UnRegist(0xD911, S2C_GetAllOpenServerRewardInfo);
     MsgHander.UnRegist(0xD913, S2C_GetOpenServerRewardResult);
     MsgHander.UnRegist(0xD961, S2C_GetLotteryInfo);
     MsgHander.UnRegist(0xD963, S2C_GetLotteryRecord);
     MsgHander.UnRegist(0xD965, S2C_GetLotteryResult);
     MsgHander.UnRegist(0xC128, S2C_GetTarotInfo);
     MsgHander.UnRegist(0xC129, S2C_GetTarotReward);
     MsgHander.UnRegist(0xD990, S2C_GetDailyFirstRechargeInfo);
     MsgHander.UnRegist(0xD991, S2C_CloseDailyFirstRecharge);
     GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= RefreshOpen;
     MainPlayerMng.OnCreateNew -= FirstIn;
     CanOpen     = false;
     serverData  = null;
     isAccord    = false;
     lotteryData = null;
     lottryResult.Clear();
     lottryRecord.Clear();
     isRotateOver      = false;
     curOpenServerType = OpenServerType.none;
     isRotating        = false;
     taroatRewards.Clear();
     wdfTaroatData       = null;
     rebackPercent       = 0;
     reminTime           = 0;
     isOpenFirstRecharge = false;
 }
コード例 #3
0
ファイル: SkillMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist()
 {
     MsgHander.UnRegist(0xD100, S2C_OnGetSkillList);
     MsgHander.UnRegist(0xD401, S2C_OnGetUseSkillList);
     ResetData();
     GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= RefreshRed;
 }
コード例 #4
0
    protected void UnRegist()
    {
        MsgHander.UnRegist(0xB107, S2C_OnChangePos);
        MsgHander.UnRegist(0xB104, S2C_OnLoginInGame);
        //   MsgHander.UnRegist(0xD204, S2C_CollectResult);
        //MsgHander.UnRegist(0xD329, S2C_VIPResult);
        MsgHander.UnRegist(0xD442, S2C_ReinNum);
        MsgHander.UnRegist(0xB105, S2C_CurServerTime);
        //MsgHander.UnRegist(0xD804,S2C_GuideSeqencingList);
        //MsgHander.UnRegist(0xD779,S2C_ServerStartGuide);
        MsgHander.UnRegist(0xD786, S2C_ServerStartTime);
        MsgHander.UnRegist(0xD70A, S2C_StartCameraFocus);
        MsgHander.UnRegist(0xD70B, S2C_EndCameraFocus);
        MsgHander.UnRegist(0xC105, S2C_UpdateFuncReward);
        MsgHander.UnRegist(0xD01D, S2C_OnBaseValueChange);
//        GameCenter.taskMng.updateSingleTask -= TaskOpenFunction;
        GameCenter.taskMng.OnTaskGuideUpdateEvent         -= TaskProcessOpenFunction;
        GameCenter.taskMng.OnTaskFinishedGuideUpdateEvent -= TaskFinishedOpenFunction;
        //vipData = null;
        questionList.Clear();
        IsUpdateQuestionList = false;
        functionList.Clear();
        functionSequence = 0;
        pkModelTipShow   = false;
        curGetRewardStep = 1;
    }
コード例 #5
0
ファイル: ActivityMng.cs プロジェクト: atom-chen/tianyu
 void UnRegist()
 {
     MsgHander.UnRegist(0xD741, S2C_GotOtherBonfireInfo);
     MsgHander.UnRegist(0xD736, S2C_GotBudokaiResult);
     MsgHander.UnRegist(0xD611, S2C_GotHolyInfo);
     MsgHander.UnRegist(0xD614, S2C_GotDartPos);
     MsgHander.UnRegist(0xD615, S2C_StartDartResult);
     MsgHander.UnRegist(0xD616, S2C_EndDartResult);
     MsgHander.UnRegist(0xD723, S2C_GotUpDownState);
     MsgHander.UnRegist(0xD717, S2C_GotBudokaiOpponentInfo);
     MsgHander.UnRegist(0xD720, S2C_GotBudokaiLogInfo);
     // MsgHander.UnRegist(0xD601, S2C_GotBudokaiRankInfo);
     MsgHander.UnRegist(0xD721, S2C_GotApplyInfo);
     MsgHander.UnRegist(0xD726, S2C_GotProtectActivityInfo);
     MsgHander.UnRegist(0xD727, S2C_GotProtectActivityRank);
     MsgHander.UnRegist(0xD730, S2C_GotGuildSiegeInfo);
     MsgHander.UnRegist(0xD731, S2C_GotGuildSiegeApplyList);
     MsgHander.UnRegist(0xD733, S2C_GotGuildSiegeItemList);
     MsgHander.UnRegist(0xD728, S2C_ActivityBalance);
     MsgHander.UnRegist(0xD778, S2C_ActivityStormCity);
     MsgHander.UnRegist(0xD794, S2C_GetJewelryList);
     MsgHander.UnRegist(0xD796, S2C_GetJewerlyFinish);
     MsgHander.UnRegist(0xD715, S2C_ActivityDataInfo);
     MsgHander.UnRegist(0xD756, S2C_FairyDomainToprotect);
     MsgHander.UnRegist(0xC136, S2C_GetHungUpCoppyResult);
     MsgHander.UnRegist(0xC135, S2C_GetHungUpWndResult);
     coldGetTime = 0;
     rewardId    = 0;
     activityDic.Clear();
     isAutoButMonsterNum         = false;
     HangUpCoppyExpCount         = 0;
     hangUpCoppyRemainMonsterNum = 0;
     HangUpRemainBuyTimes        = 0;
 }
コード例 #6
0
ファイル: FashionMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD412, S2C_GetFashionList);
     MsgHander.UnRegist(0xD414, S2C_PutFashion);
     MsgHander.UnRegist(0xD788, S2C_UpdateFashionLev);
     ResetData();
 }
コード例 #7
0
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xE111, S2C_GetMountListInfo);
     MsgHander.UnRegist(0xE113, S2C_GetMountSkinListInfo);
     MsgHander.UnRegist(0xD439, S2C_GetMountPromoteLev);
     MsgHander.UnRegist(0xD440, S2C_GetMountAfterUpdate);
     MsgHander.UnRegist(0xD757, S2C_GetSkinLevUpdate);
     MsgHander.UnRegist(0xD575, S2C_OnGotEquipData);
     MsgHander.UnRegist(0xD576, S2C_OnUpdateEquipData);
     curMountInfo = null;
     curSkinLev   = 0;
     skinExp      = 0;
     curLev       = -1;
     mountSkinList.Clear();
     mountInfoList.Clear();
     AllMountDic.Clear();
     AllSkinDic.Clear();
     mountList.Clear();
     rideType  = 0;
     skinId    = 0;
     state     = 0;
     skinState = false;
     mountEquipDic.Clear();
     curChooseSkin          = null;
     curSelectEquipmentInfo = null;
 }
コード例 #8
0
ファイル: ChatMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD325, S2C_NewRecieveChatContent);
     MsgHander.UnRegist(0xD689, S2C_RecieveChatTemplates);
     MsgHander.UnRegist(0xD802, S2C_AddMerryGoRound);
     ResetData();
 }
コード例 #9
0
ファイル: VipMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 void UnRegister()
 {
     MsgHander.UnRegist(0xD329, S2C_VIPResult);
     MsgHander.UnRegist(0xD80B, S2C_RechargeFlag);
     vipData = null;
     rechargeFlagDic.Clear();
 }
コード例 #10
0
 /// <summary>
 /// 注销,清理
 /// </summary>
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD001, S2C_ServerMSG);
     serverMsgList.Clear();
     clientMsgList.Clear();
     clientMsgDic.Clear();
 }
コード例 #11
0
 void UnRegist()
 {
     MsgHander.UnRegist(0xC133, S2C_GetTwoChargeRewared);
     isCloseTwoCharge = false;
     stage            = 0;
     isOpenTwoCharge  = true;
 }
コード例 #12
0
ファイル: DungeonMng.cs プロジェクト: atom-chen/tianyu
    /// <summary>
    /// 注销(包含清空和还原数据)
    /// </summary>
    protected void UnRegist()
    {
        MsgHander.UnRegist(0xD492, S2C_GotDGTime);
        MsgHander.UnRegist(0xD493, S2C_GotDGWaveNum);
        MsgHander.UnRegist(0xD497, S2C_GotDGLayerNum);
        MsgHander.UnRegist(0xD496, S2C_GotDGMonsterNum);
        MsgHander.UnRegist(0xD498, S2C_GotDGPetTime);
        MsgHander.UnRegist(0xD499, S2C_GotDGReliveTimes);
        MsgHander.UnRegist(0xD700, S2C_GotDGKillMonster);
        MsgHander.UnRegist(0xD724, S2C_GotDGScore);
        MsgHander.UnRegist(0xD734, S2C_GotDGDeadTimes);

        MsgHander.UnRegist(0xD772, S2C_GotTowerRewardState);
        MsgHander.UnRegist(0xD495, S2C_GotBridgeBossCallInfo);
        MsgHander.UnRegist(0xD768, S2C_GotGuildFireExp);
        MsgHander.UnRegist(0xD769, S2C_GotGuildFireHp);
        MsgHander.UnRegist(0xD770, S2C_GotGuildFireExpPercent);
        MsgHander.UnRegist(0xD728, S2C_GotGuildProtectResult);
        MsgHander.UnRegist(0xD780, S2C_GotBridgeNpcID);
        MsgHander.UnRegist(0xD781, S2C_GotGuildSiegeState);
        MsgHander.UnRegist(0xD782, S2C_GotGuildSiegeStone);
        MsgHander.UnRegist(0xD791, S2C_GetCouplePoemId);
        MsgHander.UnRegist(0xD792, S2C_GetCouplePoem);
        MsgHander.UnRegist(0xC144, S2C_GetAllSatr);
        MsgHander.UnRegist(0xC145, S2C_GetDropRewardInteger);
        ClearData();
    }
コード例 #13
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xDA01, S2C_OnGotOrderID);
     MsgHander.UnRegist(0xD819, S2C_OnGotTestChargeData);
     TestRechargeRewardDiamo  = 0;
     TestRechargeRewardVipExp = 0;
 }
コード例 #14
0
 void UnRegist()
 {
     MsgHander.UnRegist(0xF001, S2C_GetSevenDayRewardInfo);
     sevendDic.Clear();
     day = 1;
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= RefreshSevenOpen;
 }
コード例 #15
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD550, S2C_GetMarketItem);
     MsgHander.UnRegist(0xD555, S2C_GetMarketItemFeedBack);
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
     ResetData();
 }
コード例 #16
0
ファイル: OffLineRewardMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 void UnRegister()
 {
     MsgHander.UnRegist(0xC118, S2C_GetRewardInfo);
     rewardData  = null;
     OffLineTime = 0;
     amountTime  = 0;
     IsOpenWnd   = false;
 }
コード例 #17
0
ファイル: SevenChallengeMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected void UnRegister()
 {
     MsgHander.UnRegist(0xC131, S2C_GetSevenChallengeAll);
     MsgHander.UnRegist(0xc132, S2C_GetSevenChallengeSigle);
     rewardSevenChallenge.Clear();
     listInfo.Clear();
     listSingleInfo.Clear();
 }
コード例 #18
0
 /// <summary>
 /// 注销
 /// </summary>
 protected void UnRegister()
 {
     MsgHander.UnRegist(0xD779, S2C_ServerStartGuide);
     MsgHander.UnRegist(0xD804, S2C_GuideSeqencingList);
     startGuide        = false;
     newFunctionCopyId = 0;
     OnGuideOver.Clear();
 }
コード例 #19
0
ファイル: LovePackageMng.cs プロジェクト: atom-chen/tianyu
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD806, S2C_GetPlayerRecharge);
     MsgHander.UnRegist(0xD808, S2C_GetLoveRewared);
     rechargeVal       = 0;
     isCloseFirstBonus = false;
     stage             = 1;
     isOpen            = false;
 }
コード例 #20
0
 void UnRegist()
 {
     MsgHander.UnRegist(0xD361, S2C_StrengthResult);
     MsgHander.UnRegist(0xD364, S2C_InlayResult);
     MsgHander.UnRegist(0xD365, S2C_WashAttrResult);
     MsgHander.UnRegist(0xD368, S2C_SaveWashResult);
     MsgHander.UnRegist(0xD369, S2C_ExtendEquipResult);
     MsgHander.UnRegist(0xD370, S2C_UpgradeEquipResult);
 }
コード例 #21
0
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD540, S2C_GetSwornWndInfo);
     MsgHander.UnRegist(0xD543, S2C_GetRewardInfo);
     MsgHander.UnRegist(0xD547, S2C_BrokeUp);
     MsgHander.UnRegist(0xD690, S2C_GetSwornBrother);
     data = null;
     isTakeAwared.Clear();
 }
コード例 #22
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD822, S2C_OnGetDownReward);
     //371出售  372 回购 373 购买次数   375 请求
     //	MsgHander.UnRegist(0xD372, S2C_OnGetRedeemItemList);
     //		MsgHander.UnRegist(0xD100, S2C_OnGetSkillList);
     //		MsgHander.UnRegist(0xD401, S2C_OnGetUseSkillList);
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
 }
コード例 #23
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist()
 {
     MsgHander.UnRegist(0xC006, S2C_AbilityResult);
     MsgHander.UnRegist(0xC008, S2C_BuffUpdate);
     MsgHander.UnRegist(0xC009, S2C_BuffDelete);
     MsgHander.UnRegist(0xC021, S2C_OnAbilityWarnning);
     MsgHander.UnRegist(0xC022, S2C_OnAbilityCancelWarnning);
     MsgHander.UnRegist(0xC00B, S2C_EquipmentPassiveSkillTrriger);
 }
コード例 #24
0
ファイル: CastSoulMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD777, S2C_GetAllSoulCrit);
     MsgHander.UnRegist(0xD446, S2C_GetAllSoulNum);
     MsgHander.UnRegist(0xD447, S2C_GetUpdateSoulNum);
     MsgHander.UnRegist(0xC101, S2C_GetUpdateSoulReward);
     ResetData();
     //		MsgHander.UnRegist(0xD401, S2C_OnGetUseSkillList);
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
 }
コード例 #25
0
 protected void UnRegist()
 {
     mailWriteData = null;
     mailDic.Clear();
     TotalPage = 0;
     MsgHander.UnRegist(0xD339, S2C_AllMailList);
     MsgHander.UnRegist(0xD335, S2C_AllMailDelete);
     MsgHander.UnRegist(0xD337, S2C_AllMailContent);
     MsgHander.UnRegist(0xD340, C2S_SendSuccessMail);
 }
コード例 #26
0
ファイル: WeekCardMng.cs プロジェクト: atom-chen/tianyu
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD921, S2C_GetPlayerWeekRecharge);
     MsgHander.UnRegist(0xD923, S2C_GetWeekRechargeReward);
     MsgHander.UnRegist(0xD981, S2C_GetLoginBonusInfo);
     weekRecharge = 0;
     weekRewardDic.Clear();
     loginBonusData      = null;
     isOpenLoginbonus    = true;
     isCanTakeLoginBunus = false;
 }
コード例 #27
0
ファイル: RankRewardMng.cs プロジェクト: atom-chen/tianyu
 protected void UnRegist()
 {
     MsgHander.UnRegist(0xD743, S2C_GetEverydayRewardList);
     MsgHander.UnRegist(0xD762, S2C_GetLevRewardList);
     MsgHander.UnRegist(0xC119, S2C_OpenDialogWnd);
     rewardDay = 0;
     rewardDic.Clear();
     levRewardDic.Clear();
     dialogueRef.Clear();
     isFirstPlay = false;
 }
コード例 #28
0
 /// <summary>
 /// 注销(包含清空和还原数据)
 /// </summary>
 protected void UnRegist(MainPlayerMng _father)
 {
     MsgHander.UnRegist(0xD309, S2C_GetMagicData);
     magicInfoDic.Clear();
     newRefineLev   = 0;
     newAddSoulLev  = 0;
     newRefineStar  = 0;
     newAddSoulStar = 0;
     isFirst        = true;
     isAddExp       = false;
 }
コード例 #29
0
ファイル: GuildFightMng.cs プロジェクト: atom-chen/tianyu
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD557, S2C_GetGuildFightInfo);
     MsgHander.UnRegist(0xD556, S2C_GetGuildFightScore);
     MsgHander.UnRegist(0xD558, S2C_GetGuildFightNum);
     MsgHander.UnRegist(0xD695, S2C_GetGuildFightRemainTime);
     MsgHander.UnRegist(0xD694, S2C_GetGuildFightEnd);
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
     isGuildFight    = false;
     vectorGuildName = string.Empty;
 }
コード例 #30
0
 /// <summary>
 /// 注销
 /// </summary>
 protected virtual void UnRegist(MainPlayerMng _main)
 {
     MsgHander.UnRegist(0xD631, S2C_OnGetTradeReq);
     MsgHander.UnRegist(0xD633, S2C_OnGetTradeStart);
     MsgHander.UnRegist(0xD635, S2C_OnGetTradeLock);
     MsgHander.UnRegist(0xD639, S2C_OnGetReplyTrade);
     MsgHander.UnRegist(0xD638, S2C_OnGetTradeFinish);
     ReSet();
     //		MsgHander.UnRegist(0xD401, S2C_OnGetUseSkillList);
     //GameCenter.mainPlayerMng.MainPlayerInfo.OnBaseUpdate -= ChangeAutoUseSkill;
 }