Beispiel #1
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <StrongerInfoRes>(new NetCallBackMethod <StrongerInfoRes>(this.OnStrongerInfoRes));
     NetworkManager.AddListenEvent <StrongLoginPush>(new NetCallBackMethod <StrongLoginPush>(this.OnStrongLoginPush));
     NetworkManager.AddListenEvent <StrongerInfoAnyTimeRes>(new NetCallBackMethod <StrongerInfoAnyTimeRes>(this.OnStrongerInfoAnyTimeRes));
     EventDispatcher.AddListener(ParticularCityAttrChangedEvent.LvChanged, new Callback(this.OnRoleLevelUp));
 }
Beispiel #2
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <LvRankInfoRes>(new NetCallBackMethod <LvRankInfoRes>(this.OnLvRankInfoRes));
     NetworkManager.AddListenEvent <FightingRankInfoRes>(new NetCallBackMethod <FightingRankInfoRes>(this.OnFightingRankInfoRes));
     NetworkManager.AddListenEvent <PetFRankInfoRes>(new NetCallBackMethod <PetFRankInfoRes>(this.OnPetFRankInfoRes));
     NetworkManager.AddListenEvent <GetRanInfoRes>(new NetCallBackMethod <GetRanInfoRes>(this.OnGetRanInfoRes));
 }
Beispiel #3
0
 public void Init()
 {
     EventDispatcher.AddListener <long, int>("BillboardManager.Title", new Callback <long, int>(this.SetTitle));
     EventDispatcher.AddListener <long, string>("BillboardManager.GuildTitle", new Callback <long, string>(this.SetGuildTitle));
     EventDispatcher.AddListener <long, int>("BillboardManager.MilitaryRank", new Callback <long, int>(this.SetMilitaryRank));
     NetworkManager.AddListenEvent <RoleInfoBroadcastNty>(new NetCallBackMethod <RoleInfoBroadcastNty>(this.OnRoleInfoBroadcastNty));
 }
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <RunedStoneLoginPush>(new NetCallBackMethod <RunedStoneLoginPush>(this.OnRuneStoneLoginPush));
     NetworkManager.AddListenEvent <RunedStoneChangedNty>(new NetCallBackMethod <RunedStoneChangedNty>(this.OnRuneStoneChangedNty));
     NetworkManager.AddListenEvent <RunedStoneEmbedRes>(new NetCallBackMethod <RunedStoneEmbedRes>(this.OnRunedStoneEmbedRes));
     EventDispatcher.AddListener("ChangeCareerManager.RoleSelfProfessionReadyChange", new Callback(this.OnRoleSelfProfessionChange));
 }
 protected override void AddListener()
 {
     EventDispatcher.AddListener("ChangeCareerManager.RoleSelfProfessionChange", new Callback(this.OnRoleSelfProfessionChange));
     NetworkManager.AddListenEvent <ResOpenRefineBody>(new NetCallBackMethod <ResOpenRefineBody>(this.OnGetRiseData));
     NetworkManager.AddListenEvent <PlanLightPointRes>(new NetCallBackMethod <PlanLightPointRes>(this.OnPlanLightPointRes));
     NetworkManager.AddListenEvent <ResRefineBody>(new NetCallBackMethod <ResRefineBody>(this.OnGetRiseUpdateData));
     NetworkManager.AddListenEvent <LightAllKeyPointsNty>(new NetCallBackMethod <LightAllKeyPointsNty>(this.OnLightAllKeyPointsNty));
 }
Beispiel #6
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <RoleTalentInfoPush>(new NetCallBackMethod <RoleTalentInfoPush>(this.OnRoleTalentInfoPush));
     NetworkManager.AddListenEvent <RoleTalentActivateRes>(new NetCallBackMethod <RoleTalentActivateRes>(this.OnRoleTalentActivateRes));
     NetworkManager.AddListenEvent <RoleTalentUpgradeRes>(new NetCallBackMethod <RoleTalentUpgradeRes>(this.OnRoleTalentUpgradeRes));
     NetworkManager.AddListenEvent <RoleTalentResetRes>(new NetCallBackMethod <RoleTalentResetRes>(this.OnRoleTalentResetRes));
     NetworkManager.AddListenEvent <RoleTalentPointNty>(new NetCallBackMethod <RoleTalentPointNty>(this.OnRoleTalentPointNty));
 }
Beispiel #7
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <AnswerMatchRes>(new NetCallBackMethod <AnswerMatchRes>(this.OnAnswerMatchRes));
     NetworkManager.AddListenEvent <AutoMatchRes>(new NetCallBackMethod <AutoMatchRes>(this.OnAutoMatchRes));
     NetworkManager.AddListenEvent <TeamMatchStatusNty>(new NetCallBackMethod <TeamMatchStatusNty>(this.OnTeamMatchStatusNty));
     NetworkManager.AddListenEvent <AutoMatchNty>(new NetCallBackMethod <AutoMatchNty>(this.OnAutoMatchNty));
     NetworkManager.AddListenEvent <CancelAutoMatchRes>(new NetCallBackMethod <CancelAutoMatchRes>(this.OnCancelAutoMatchRes));
 }
 protected override void AddListener()
 {
     EventDispatcher.AddListener <int>("GuideManager.TaskFinish", new Callback <int>(this.OnTaskFinish));
     NetworkManager.AddListenEvent <FirstRechargePush>(new NetCallBackMethod <FirstRechargePush>(this.OnFirstRechargePush));
     NetworkManager.AddListenEvent <GetFirstPrizeRes>(new NetCallBackMethod <GetFirstPrizeRes>(this.OnGetFirstPrizeRes));
     NetworkManager.AddListenEvent <AccumulateRechargeNty>(new NetCallBackMethod <AccumulateRechargeNty>(this.OnAccumulateRechargeNty));
     NetworkManager.AddListenEvent <RechargeNumNty>(new NetCallBackMethod <RechargeNumNty>(this.OnRechargeNumNty));
 }
Beispiel #9
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <GuildStorageChangeNty>(new NetCallBackMethod <GuildStorageChangeNty>(this.OnGuildStorageChangeNty));
     NetworkManager.AddListenEvent <QueryGuildStorageInfoRes>(new NetCallBackMethod <QueryGuildStorageInfoRes>(this.OnQueryGuildStorageInfoRes));
     NetworkManager.AddListenEvent <GuildStorageExchangeRes>(new NetCallBackMethod <GuildStorageExchangeRes>(this.OnGuildStorageExchangeRes));
     NetworkManager.AddListenEvent <GuildStorageDonateEquipRes>(new NetCallBackMethod <GuildStorageDonateEquipRes>(this.OnGuildStorageDonateEquipRes));
     NetworkManager.AddListenEvent <GuildStorageDecomposeEquipRes>(new NetCallBackMethod <GuildStorageDecomposeEquipRes>(this.OnGuildStorageDecomposeEquipRes));
 }
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <MultiPveInfoNty>(new NetCallBackMethod <MultiPveInfoNty>(this.OnDarkTrialInfoNty));
     NetworkManager.AddListenEvent <MultiPveBestRecordInfoNty>(new NetCallBackMethod <MultiPveBestRecordInfoNty>(this.OnDarkTrialInfoNty));
     NetworkManager.AddListenEvent <EnterMultiPveRes>(new NetCallBackMethod <EnterMultiPveRes>(this.OnEnterDarkTrialRes));
     NetworkManager.AddListenEvent <MultiPveSettleNty>(new NetCallBackMethod <MultiPveSettleNty>(this.OnDarkTrialSettleNty));
     NetworkManager.AddListenEvent <LeaveMultiPveRes>(new NetCallBackMethod <LeaveMultiPveRes>(this.OnExitDarkTrialRes));
 }
Beispiel #11
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <ActivityItemChangeNty>(new NetCallBackMethod <ActivityItemChangeNty>(this.OnActivityItemChangeNty));
     NetworkManager.AddListenEvent <GetActivityItemPrizeRes>(new NetCallBackMethod <GetActivityItemPrizeRes>(this.OnGetActivityItemPrizeRes));
     NetworkManager.AddListenEvent <ActivityUpdateInfo>(new NetCallBackMethod <ActivityUpdateInfo>(this.OnActivityUpdateInfo));
     NetworkManager.AddListenEvent <OpenServerBoxPush>(new NetCallBackMethod <OpenServerBoxPush>(this.OnOpenServerBoxPush));
     NetworkManager.AddListenEvent <GetOpenServerBoxRes>(new NetCallBackMethod <GetOpenServerBoxRes>(this.OnGetOpenServerBoxRes));
 }
Beispiel #12
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <DiscountItemsLoginPush>(new NetCallBackMethod <DiscountItemsLoginPush>(this.OnUpdatePanel));
     NetworkManager.AddListenEvent <FlipCoinRes>(new NetCallBackMethod <FlipCoinRes>(this.OnFlipCoinRes));
     NetworkManager.AddListenEvent <ReplaceItemRes>(new NetCallBackMethod <ReplaceItemRes>(this.OnReplaceItemRes));
     NetworkManager.AddListenEvent <SelectItemRes>(new NetCallBackMethod <SelectItemRes>(this.OnSelectItemRes));
     NetworkManager.AddListenEvent <BuyDiscountItemRes>(new NetCallBackMethod <BuyDiscountItemRes>(this.OnBuyDiscountItemRes));
 }
Beispiel #13
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <AdvancedOccupationLoginPush>(new NetCallBackMethod <AdvancedOccupationLoginPush>(this.OnRankLoginPush));
     NetworkManager.AddListenEvent <AdvancedOccupationNty>(new NetCallBackMethod <AdvancedOccupationNty>(this.OnRankChangedNty));
     NetworkManager.AddListenEvent <AdvancedOccupationRes>(new NetCallBackMethod <AdvancedOccupationRes>(this.OnRankUpRes));
     EventDispatcher.AddListener(RankUpManagerEvent.AcceptTask, new Callback(this.AcceptTask));
     EventDispatcher.AddListener(RankUpManagerEvent.CommitTask, new Callback(this.CommitTask));
 }
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <BeginMemoryFlopRes>(new NetCallBackMethod <BeginMemoryFlopRes>(this.OnBeginMemoryFlopRes));
     NetworkManager.AddListenEvent <EndMemoryFlopRes>(new NetCallBackMethod <EndMemoryFlopRes>(this.OnEndMemoryFlopRes));
     NetworkManager.AddListenEvent <MemoryFlopInfoNty>(new NetCallBackMethod <MemoryFlopInfoNty>(this.OnMemoryFlopInfoNty));
     NetworkManager.AddListenEvent <ExtendMemoryFlopTimesRes>(new NetCallBackMethod <ExtendMemoryFlopTimesRes>(this.OnExtendMemoryFlopTimesRes));
     NetworkManager.AddListenEvent <MemoryFlopOpenUIRes>(new NetCallBackMethod <MemoryFlopOpenUIRes>(this.OnMemoryFlopOpenUIRes));
 }
Beispiel #15
0
 protected override void AddListener()
 {
     EventDispatcher.AddListener("TimeManagerEvent.ZeroPointTrigger", new Callback(this.OnZeroPointTrigger));
     NetworkManager.AddListenEvent <TimeLimitedSalesRes>(new NetCallBackMethod <TimeLimitedSalesRes>(this.OnTimeLimitedSalesRes));
     NetworkManager.AddListenEvent <TimeLimitedSalesInfo>(new NetCallBackMethod <TimeLimitedSalesInfo>(this.OnTimeLimitedSalesInfo));
     NetworkManager.AddListenEvent <TimeLimitedSalesBuyRes>(new NetCallBackMethod <TimeLimitedSalesBuyRes>(this.OnTimeLimitedSalesBuyRes));
     NetworkManager.AddListenEvent <TimeLimitedSalesNty>(new NetCallBackMethod <TimeLimitedSalesNty>(this.OnTimeLimitedSalesNty));
 }
Beispiel #16
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <ChangeCareerRes>(new NetCallBackMethod <ChangeCareerRes>(this.OnChangeCareerRes));
     NetworkManager.AddListenEvent <PushCareerTask2Client>(new NetCallBackMethod <PushCareerTask2Client>(this.OnPushCareerTask2Client));
     NetworkManager.AddListenEvent <PushHadCareer2Client>(new NetCallBackMethod <PushHadCareer2Client>(this.OnPushHadCareer2Client));
     NetworkManager.AddListenEvent <RoleChangeCareerNty>(new NetCallBackMethod <RoleChangeCareerNty>(this.OnRoleChangeCareerNty));
     NetworkManager.AddListenEvent <SelectCareerRes>(new NetCallBackMethod <SelectCareerRes>(this.OnSelectCareerRes));
     NetworkManager.AddListenEvent <NtyReadyChangeCareer>(new NetCallBackMethod <NtyReadyChangeCareer>(this.OnNtyReadyChangeCareer));
 }
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <DailyTaskNotice>(new NetCallBackMethod <DailyTaskNotice>(this.OnDailyTaskNotice));
     NetworkManager.AddListenEvent <DailyTaskNty>(new NetCallBackMethod <DailyTaskNty>(this.OnDailyTaskNty));
     NetworkManager.AddListenEvent <DailyTaskActivityNty>(new NetCallBackMethod <DailyTaskActivityNty>(this.OnDailyTaskActivityNty));
     NetworkManager.AddListenEvent <ClaimActivityPrizeRes>(new NetCallBackMethod <ClaimActivityPrizeRes>(this.OnClaimActivityPrizeRes));
     NetworkManager.AddListenEvent <GetDailyTaskPrizeRes>(new NetCallBackMethod <GetDailyTaskPrizeRes>(this.OnGetDailyTaskPrizeRes));
     NetworkManager.AddListenEvent <DailyTaskResetNty>(new NetCallBackMethod <DailyTaskResetNty>(this.OnDailyTaskResetNty));
 }
Beispiel #18
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <MailNotify>(new NetCallBackMethod <MailNotify>(this.OnMailNotifyRes));
     NetworkManager.AddListenEvent <SendMailRes>(new NetCallBackMethod <SendMailRes>(this.OnSendMailRes));
     NetworkManager.AddListenEvent <DrawMailAttachRes>(new NetCallBackMethod <DrawMailAttachRes>(this.OnDrawMailAttachRes));
     NetworkManager.AddListenEvent <DelMailRes>(new NetCallBackMethod <DelMailRes>(this.OnDelMailRes));
     NetworkManager.AddListenEvent <CheckMailRes>(new NetCallBackMethod <CheckMailRes>(this.OnCheckMailRes));
     NetworkManager.AddListenEvent <DrawAllMailAttachRes>(new NetCallBackMethod <DrawAllMailAttachRes>(this.OnDrawAllMailAttachRes));
 }
Beispiel #19
0
 protected override void AddListener()
 {
     EventDispatcher.AddListener("UpgradeManager.RoleSelfLevelUp", new Callback(this.RoleSelfLevelUp));
     NetworkManager.AddListenEvent <ShopRefreshPush>(new NetCallBackMethod <ShopRefreshPush>(this.OnShopRefreshPush));
     NetworkManager.AddListenEvent <ShopInfoLoginPush>(new NetCallBackMethod <ShopInfoLoginPush>(this.OnShopInfoLoginPush));
     NetworkManager.AddListenEvent <GetShopRes>(new NetCallBackMethod <GetShopRes>(this.OnGetShopRes));
     NetworkManager.AddListenEvent <BuyShopCommodityRes>(new NetCallBackMethod <BuyShopCommodityRes>(this.OnBuyShopCommodityRes));
     NetworkManager.AddListenEvent <OpenShopRes>(new NetCallBackMethod <OpenShopRes>(this.OnOpenShopRes));
 }
Beispiel #20
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <ChatNotify>(new NetCallBackMethod <ChatNotify>(this.OnChatNotifyRes));
     NetworkManager.AddListenEvent <TalkRes>(new NetCallBackMethod <TalkRes>(this.OnTalkRes));
     NetworkManager.AddListenEvent <GMCommandRes>(new NetCallBackMethod <GMCommandRes>(this.OnGMCommandRes));
     NetworkManager.AddListenEvent <ClientLogRes>(new NetCallBackMethod <ClientLogRes>(this.OnClientLogRes));
     NetworkManager.AddListenEvent <GuildQuestionOpenNty>(new NetCallBackMethod <GuildQuestionOpenNty>(this.OnUpdateQuestionState));
     NetworkManager.AddListenEvent <GuildQuestionRewardNty>(new NetCallBackMethod <GuildQuestionRewardNty>(this.OnUpdateQuestionReward));
     NetworkManager.AddListenEvent <GetVideoRes>(new NetCallBackMethod <GetVideoRes>(this.OnGetVideoRes));
 }
Beispiel #21
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <GemBaseInfoNty>(new NetCallBackMethod <GemBaseInfoNty>(this.NoticeGemBaseInfoNty));
     NetworkManager.AddListenEvent <GemSlotOpenNty>(new NetCallBackMethod <GemSlotOpenNty>(this.NoticeGemSlotOpenNty));
     NetworkManager.AddListenEvent <GemSysEmbedRes>(new NetCallBackMethod <GemSysEmbedRes>(this.RecvGemSysEmbedRes));
     NetworkManager.AddListenEvent <GemSysCompositeRes>(new NetCallBackMethod <GemSysCompositeRes>(this.RecvGemSysCompositeRes));
     NetworkManager.AddListenEvent <GemSysTakeoffRes>(new NetCallBackMethod <GemSysTakeoffRes>(this.RecvGemSysTakeoffRes));
     EventDispatcher.AddListener(EventNames.OnUpdateGoods, new Callback(this.OnUpdateGoods));
     EventDispatcher.AddListener("ChangeCareerManager.RoleSelfProfessionReadyChange", new Callback(this.OnRoleSelfProfessionChange));
 }
Beispiel #22
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <ExperienceCopyInfoNty>(new NetCallBackMethod <ExperienceCopyInfoNty>(this.InitExperienceFightData));
     NetworkManager.AddListenEvent <ChallengeExperienceCopyRes>(new NetCallBackMethod <ChallengeExperienceCopyRes>(this.ChallengeExperienceRes));
     NetworkManager.AddListenEvent <ExtendExperienceCopyTimeRes>(new NetCallBackMethod <ExtendExperienceCopyTimeRes>(this.ExtendExperienceTimeRes));
     NetworkManager.AddListenEvent <BuyExperienceCopyBuffRes>(new NetCallBackMethod <BuyExperienceCopyBuffRes>(this.BuyExperienceBuffRes));
     NetworkManager.AddListenEvent <ExitExperienceCopyRes>(new NetCallBackMethod <ExitExperienceCopyRes>(this.ExitExperienceRes));
     NetworkManager.AddListenEvent <ResultExperienceCopyNty>(new NetCallBackMethod <ResultExperienceCopyNty>(this.ResultExperienceNty));
     NetworkManager.AddListenEvent <GetExperienceCopyRewardRes>(new NetCallBackMethod <GetExperienceCopyRewardRes>(this.OnGetExperienceCopyRewardRes));
 }
Beispiel #23
0
 protected override void AddListener()
 {
     EventDispatcher.AddListener <NPC>(EventNames.OpenNPCMenu, new Callback <NPC>(this.OnEnterMineNPC));
     EventDispatcher.AddListener <NPC>(EventNames.OpenNPCSystem, new Callback <NPC>(this.OnEnterMineNPC));
     EventDispatcher.AddListener(EventNames.CloseNPCMenu, new Callback(this.OnExitNPC));
     EventDispatcher.AddListener <bool, int>(EventNames.UpdateTalkBubble, new Callback <bool, int>(this.UpdateTalkBubble));
     NetworkManager.AddListenEvent <NpcShopStPush>(new NetCallBackMethod <NpcShopStPush>(this.OnNpcShopStPush));
     NetworkManager.AddListenEvent <OpenNpcShopRes>(new NetCallBackMethod <OpenNpcShopRes>(this.OnNpcShopRes));
     NetworkManager.AddListenEvent <ShoppingRes>(new NetCallBackMethod <ShoppingRes>(this.OnShoppingRes));
 }
Beispiel #24
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <HookMiscPush>(new NetCallBackMethod <HookMiscPush>(this.OnHookMiscPush));
     NetworkManager.AddListenEvent <GetMapUiInfoRes>(new NetCallBackMethod <GetMapUiInfoRes>(this.OnGetMapUiInfoRes));
     NetworkManager.AddListenEvent <EnterMapUiRes>(new NetCallBackMethod <EnterMapUiRes>(this.OnEnterMapUiRes));
     NetworkManager.AddListenEvent <OpenRoomRes>(new NetCallBackMethod <OpenRoomRes>(this.OnOpenRoomRes));
     NetworkManager.AddListenEvent <BuyHookTimeRes>(new NetCallBackMethod <BuyHookTimeRes>(this.OnBuyHookTimeRes));
     NetworkManager.AddListenEvent <EnterRoomRes>(new NetCallBackMethod <EnterRoomRes>(this.OnEnterRoomRes));
     NetworkManager.AddListenEvent <ExitRoomRes>(new NetCallBackMethod <ExitRoomRes>(this.OnExitRoomRes));
 }
Beispiel #25
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <VipLoginPush>(new NetCallBackMethod <VipLoginPush>(this.OnVipLoginPush));
     NetworkManager.AddListenEvent <PushVipRes>(new NetCallBackMethod <PushVipRes>(this.OnPushVipRes));
     NetworkManager.AddListenEvent <VipChangedNty>(new NetCallBackMethod <VipChangedNty>(this.OnVipChangedNty));
     NetworkManager.AddListenEvent <OpenVipBoxRes>(new NetCallBackMethod <OpenVipBoxRes>(this.OnOpenVipBoxRes));
     NetworkManager.AddListenEvent <MonthCardInfoPush>(new NetCallBackMethod <MonthCardInfoPush>(this.OnMonthCardInfoPush));
     NetworkManager.AddListenEvent <VipExpChangedNty>(new NetCallBackMethod <VipExpChangedNty>(this.OnVipExpChangedNty));
     NetworkManager.AddListenEvent <GetSumRechargeRes>(new NetCallBackMethod <GetSumRechargeRes>(this.OnGetSumRechargeRes));
 }
Beispiel #26
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <GuildBossInfoRes>(new NetCallBackMethod <GuildBossInfoRes>(this.OnGuildBossInfoRes));
     NetworkManager.AddListenEvent <CallGuildBossRes>(new NetCallBackMethod <CallGuildBossRes>(this.OnCallGuildBossRes));
     NetworkManager.AddListenEvent <ChallengeGuildBossRes>(new NetCallBackMethod <ChallengeGuildBossRes>(this.OnChallengeGuildBossRes));
     NetworkManager.AddListenEvent <ChallengeGuildBossNty>(new NetCallBackMethod <ChallengeGuildBossNty>(this.OnChallengeGuildBossNty));
     NetworkManager.AddListenEvent <CleanGuildBossCdRes>(new NetCallBackMethod <CleanGuildBossCdRes>(this.OnCleanGuildBossCDRes));
     NetworkManager.AddListenEvent <ExitGuildBossBattleRes>(new NetCallBackMethod <ExitGuildBossBattleRes>(this.OnExitGuildBossBattleRes));
     NetworkManager.AddListenEvent <GuildBossRefreshNty>(new NetCallBackMethod <GuildBossRefreshNty>(this.OnGuildBossRefreshNty));
 }
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <RechargeGoodsNty>(new NetCallBackMethod <RechargeGoodsNty>(this.OnRechargeGoodsNty));
     NetworkManager.AddListenEvent <RechargeGoodsRes>(new NetCallBackMethod <RechargeGoodsRes>(this.OnRechargeGoodsRes));
     NetworkManager.AddListenEvent <RechargeInfosLoginPush>(new NetCallBackMethod <RechargeInfosLoginPush>(this.OnRechargeInfosLoginPush));
     NetworkManager.AddListenEvent <RechargeInfoChangeNty>(new NetCallBackMethod <RechargeInfoChangeNty>(this.OnRechargeInfoChangeNty));
     NetworkManager.AddListenEvent <RechargeDiamondRes>(new NetCallBackMethod <RechargeDiamondRes>(this.OnRechargeDiamondRes));
     NetworkManager.AddListenEvent <MonthCardInfoLoginPush>(new NetCallBackMethod <MonthCardInfoLoginPush>(this.OnMonthCardInfoLoginPush));
     NetworkManager.AddListenEvent <MonthCardChangeNty>(new NetCallBackMethod <MonthCardChangeNty>(this.OnMonthCardChangeNty));
     NetworkManager.AddListenEvent <BuyMonthCardRes>(new NetCallBackMethod <BuyMonthCardRes>(this.OnBuyMonthCardRes));
 }
Beispiel #28
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <WingInfoPush>(new NetCallBackMethod <WingInfoPush>(this.OnWingInfoPush));
     NetworkManager.AddListenEvent <WingInfoChangeNty>(new NetCallBackMethod <WingInfoChangeNty>(this.OnWingInfoChangeNty));
     NetworkManager.AddListenEvent <WingComposeRes>(new NetCallBackMethod <WingComposeRes>(this.RecvWingComposeRes));
     NetworkManager.AddListenEvent <WingUpLvRes>(new NetCallBackMethod <WingUpLvRes>(this.RecvWingUpLvRes));
     NetworkManager.AddListenEvent <WingWearRes>(new NetCallBackMethod <WingWearRes>(this.RecvWingWearRes));
     NetworkManager.AddListenEvent <WingHiddenRes>(new NetCallBackMethod <WingHiddenRes>(this.RecvWingHiddenRes));
     NetworkManager.AddListenEvent <GetWingDetailRes>(new NetCallBackMethod <GetWingDetailRes>(this.RecvGetWingDetailRes));
     EventDispatcher.AddListener <int, int, bool>(ExteriorArithmeticUnitEvent.WingChanged, new Callback <int, int, bool>(this.OnEquipWing));
 }
Beispiel #29
0
 protected override void AddListener()
 {
     NetworkManager.AddListenEvent <BossLabelInfoNty>(new NetCallBackMethod <BossLabelInfoNty>(this.OnBossLabelInfoNty));
     NetworkManager.AddListenEvent <GetBossLabelInfoRes>(new NetCallBackMethod <GetBossLabelInfoRes>(this.OnGetBossLabelInfoRes));
     NetworkManager.AddListenEvent <GetBossKilledLogRes>(new NetCallBackMethod <GetBossKilledLogRes>(this.OnGetBossKilledLogRes));
     NetworkManager.AddListenEvent <GetBossDropLogRes>(new NetCallBackMethod <GetBossDropLogRes>(this.OnGetBossDropLogRes));
     NetworkManager.AddListenEvent <TraceBossRes>(new NetCallBackMethod <TraceBossRes>(this.OnTraceBossRes));
     NetworkManager.AddListenEvent <GetBossPageInfoRes>(new NetCallBackMethod <GetBossPageInfoRes>(this.OnGetBossPageInfoRes));
     NetworkManager.AddListenEvent <CondMainCityEnterRes>(new NetCallBackMethod <CondMainCityEnterRes>(this.OnCondMainCityEnterRes));
     NetworkManager.AddListenEvent <CondMainCityLeaveRes>(new NetCallBackMethod <CondMainCityLeaveRes>(this.OnCondMainCityLeaveRes));
     NetworkManager.AddListenEvent <TraceBossLabelInfoPush>(new NetCallBackMethod <TraceBossLabelInfoPush>(this.OnTraceBossLabelInfoPush));
 }
Beispiel #30
0
 protected override void AddListener()
 {
     EventDispatcher.AddListener(EventNames.OpenTitleUI, new Callback(this.OpenTitleUI));
     NetworkManager.AddListenEvent <TitleInfoLoginPush>(new NetCallBackMethod <TitleInfoLoginPush>(this.OnTitleInfoLoginPush));
     NetworkManager.AddListenEvent <TitleChangeNty>(new NetCallBackMethod <TitleChangeNty>(this.OnTitleChangeNty));
     NetworkManager.AddListenEvent <ReplaceCurrTitleRes>(new NetCallBackMethod <ReplaceCurrTitleRes>(this.OnReplaceCurrTitleRes));
     NetworkManager.AddListenEvent <LookTitleRes>(new NetCallBackMethod <LookTitleRes>(this.OnLookTitleRes));
     NetworkManager.AddListenEvent <SvrRemoveNty>(new NetCallBackMethod <SvrRemoveNty>(this.OnSvrRemoveNty));
     NetworkManager.AddListenEvent <OpenTitleRes>(new NetCallBackMethod <OpenTitleRes>(this.OnOpenTitleRes));
     NetworkManager.AddListenEvent <TitleProgressLoginPush>(new NetCallBackMethod <TitleProgressLoginPush>(this.OnTitleProgressLoginPush));
     NetworkManager.AddListenEvent <TitleProgressNty>(new NetCallBackMethod <TitleProgressNty>(this.OnTitleProgressNty));
 }