123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- /*-----------------------------------------------
- *本文件由代码生成器自动生成,
- *千万不要修改本文件的任何代码,
- *修改的的任何代码都会被覆盖掉!
- --------------------------------------------------*/
- using System.IO;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Pomelo.DotNetClient;
- using pomelo.area;
- using pomelo.connector;
- using pomelo.openArtifact;
- using pomelo.pet;
- using pomelo.zhanyao;
- namespace Pomelo.DotNetClient
- {
- public class GameSocket : PomeloClient
- {
- private BagHandler _bagHandler;
- private BattleHandler _battleHandler;
- private DailyActivityHandler _dailyActivityHandler;
- private EquipHandler _equipHandler;
- private GuildMagicMatrixHandler _guildMagicMatrixHandler;
- private ItemHandler _itemHandler;
- private MessageHandler _messageHandler;
- private NpcHandler _npcHandler;
- private PetNewHandler _petNewHandler;
- private PickLotusAreaHandler _pickLotusAreaHandler;
- private PlayerHandler _playerHandler;
- private PlayerHandlerExt _playerHandlerExt;
- private PrepaidHandler _prepaidHandler;
- private ResourceHandler _resourceHandler;
- private SkillHandler _skillHandler;
- private SkillKeysHandler _skillKeysHandler;
- private SkillStrongHandler _skillStrongHandler;
- private TaskHandler _taskHandler;
- private TeamHandler _teamHandler;
- private EntryHandler _entryHandler;
- private RoleHandler _roleHandler;
- private OpenArtifactHandler _openArtifactHandler;
- private PetHandler _petHandler;
- private ZhanYaoHandler _zhanYaoHandler;
- public BagHandler bagHandler
- {
- get { return _bagHandler;}
- set { _bagHandler = value; }
- }
- public BattleHandler battleHandler
- {
- get { return _battleHandler;}
- set { _battleHandler = value; }
- }
- public DailyActivityHandler dailyActivityHandler
- {
- get { return _dailyActivityHandler;}
- set { _dailyActivityHandler = value; }
- }
- public EquipHandler equipHandler
- {
- get { return _equipHandler;}
- set { _equipHandler = value; }
- }
- public GuildMagicMatrixHandler guildMagicMatrixHandler
- {
- get { return _guildMagicMatrixHandler;}
- set { _guildMagicMatrixHandler = value; }
- }
- public ItemHandler itemHandler
- {
- get { return _itemHandler;}
- set { _itemHandler = value; }
- }
- public MessageHandler messageHandler
- {
- get { return _messageHandler;}
- set { _messageHandler = value; }
- }
- public NpcHandler npcHandler
- {
- get { return _npcHandler;}
- set { _npcHandler = value; }
- }
- public PetNewHandler petNewHandler
- {
- get { return _petNewHandler;}
- set { _petNewHandler = value; }
- }
- public PickLotusAreaHandler pickLotusAreaHandler
- {
- get { return _pickLotusAreaHandler;}
- set { _pickLotusAreaHandler = value; }
- }
- public PlayerHandler playerHandler
- {
- get { return _playerHandler;}
- set { _playerHandler = value; }
- }
- public PlayerHandlerExt playerHandlerExt
- {
- get { return _playerHandlerExt;}
- set { _playerHandlerExt = value; }
- }
- public PrepaidHandler prepaidHandler
- {
- get { return _prepaidHandler;}
- set { _prepaidHandler = value; }
- }
- public ResourceHandler resourceHandler
- {
- get { return _resourceHandler;}
- set { _resourceHandler = value; }
- }
- public SkillHandler skillHandler
- {
- get { return _skillHandler;}
- set { _skillHandler = value; }
- }
- public SkillKeysHandler skillKeysHandler
- {
- get { return _skillKeysHandler;}
- set { _skillKeysHandler = value; }
- }
- public SkillStrongHandler skillStrongHandler
- {
- get { return _skillStrongHandler;}
- set { _skillStrongHandler = value; }
- }
- public TaskHandler taskHandler
- {
- get { return _taskHandler;}
- set { _taskHandler = value; }
- }
- public TeamHandler teamHandler
- {
- get { return _teamHandler;}
- set { _teamHandler = value; }
- }
- public EntryHandler entryHandler
- {
- get { return _entryHandler;}
- set { _entryHandler = value; }
- }
- public RoleHandler roleHandler
- {
- get { return _roleHandler;}
- set { _roleHandler = value; }
- }
- public OpenArtifactHandler openArtifactHandler
- {
- get { return _openArtifactHandler;}
- set { _openArtifactHandler = value; }
- }
- public PetHandler petHandler
- {
- get { return _petHandler;}
- set { _petHandler = value; }
- }
- public ZhanYaoHandler zhanYaoHandler
- {
- get { return _zhanYaoHandler;}
- set { _zhanYaoHandler = value; }
- }
- public GameSocket(ISerializer serializer) : base(serializer)
- {
- _bagHandler = new BagHandler(this);
- _battleHandler = new BattleHandler(this);
- _dailyActivityHandler = new DailyActivityHandler(this);
- _equipHandler = new EquipHandler(this);
- _guildMagicMatrixHandler = new GuildMagicMatrixHandler(this);
- _itemHandler = new ItemHandler(this);
- _messageHandler = new MessageHandler(this);
- _npcHandler = new NpcHandler(this);
- _petNewHandler = new PetNewHandler(this);
- _pickLotusAreaHandler = new PickLotusAreaHandler(this);
- _playerHandler = new PlayerHandler(this);
- _playerHandlerExt = new PlayerHandlerExt(this);
- _prepaidHandler = new PrepaidHandler(this);
- _resourceHandler = new ResourceHandler(this);
- _skillHandler = new SkillHandler(this);
- _skillKeysHandler = new SkillKeysHandler(this);
- _skillStrongHandler = new SkillStrongHandler(this);
- _taskHandler = new TaskHandler(this);
- _teamHandler = new TeamHandler(this);
- _entryHandler = new EntryHandler(this);
- _roleHandler = new RoleHandler(this);
- _openArtifactHandler = new OpenArtifactHandler(this);
- _petHandler = new PetHandler(this);
- _zhanYaoHandler = new ZhanYaoHandler(this);
- }
- public void onBagItemUpdatePush(Action<BagItemUpdatePush> cb)
- {
- _bagHandler.onBagItemUpdatePush(cb);
- }
- public void onBagNewItemPush(Action<BagNewItemPush> cb)
- {
- _bagHandler.onBagNewItemPush(cb);
- }
- public void onBagNewEquipPush(Action<BagNewEquipPush> cb)
- {
- _bagHandler.onBagNewEquipPush(cb);
- }
- public void onBagGridFullPush(Action<BagGridFullPush> cb)
- {
- _bagHandler.onBagGridFullPush(cb);
- }
- public void onBagGridNumPush(Action<BagGridNumPush> cb)
- {
- _bagHandler.onBagGridNumPush(cb);
- }
- public void onBagNewItemFromResFubenPush(Action<BagNewItemFromResFubenPush> cb)
- {
- _bagHandler.onBagNewItemFromResFubenPush(cb);
- }
- public void onThrowPointItemListPush(Action<ThrowPointItemListPush> cb)
- {
- _battleHandler.onThrowPointItemListPush(cb);
- }
- public void onThrowPointResultPush(Action<ThrowPointResultPush> cb)
- {
- _battleHandler.onThrowPointResultPush(cb);
- }
- public void onBiddingInfoPush(Action<BiddingInfoPush> cb)
- {
- _battleHandler.onBiddingInfoPush(cb);
- }
- public void onFightLevelResultPush(Action<FightLevelResultPush> cb)
- {
- _battleHandler.onFightLevelResultPush(cb);
- }
- public void onItemDropPush(Action<ItemDropPush> cb)
- {
- _battleHandler.onItemDropPush(cb);
- }
- public void onSceneNamePush(Action<SceneNamePush> cb)
- {
- _battleHandler.onSceneNamePush(cb);
- }
- public void onResourceDungeonResultPush(Action<ResourceDungeonResultPush> cb)
- {
- _battleHandler.onResourceDungeonResultPush(cb);
- }
- public void onDailyActivityScheduleShowPush(Action<DailyActivityScheduleShowPush> cb)
- {
- _dailyActivityHandler.onDailyActivityScheduleShowPush(cb);
- }
- public void onEquipmentSimplePush(Action<EquipmentSimplePush> cb)
- {
- _equipHandler.onEquipmentSimplePush(cb);
- }
- public void onEquipInheritPush(Action<EquipInheritPush> cb)
- {
- _equipHandler.onEquipInheritPush(cb);
- }
- public void onEquipStrengthPosPush(Action<StrengthPosPush> cb)
- {
- _equipHandler.onEquipStrengthPosPush(cb);
- }
- public void onMagicMatrixActionPush(Action<OnMagicMatrixActionPush> cb)
- {
- _guildMagicMatrixHandler.onMagicMatrixActionPush(cb);
- }
- public void onFishItemPush(Action<FishItemPush> cb)
- {
- _itemHandler.onFishItemPush(cb);
- }
- public void onCountItemChangePush(Action<CountItemChangePush> cb)
- {
- _itemHandler.onCountItemChangePush(cb);
- }
- public void onItemDetailPush(Action<ItemDetailPush> cb)
- {
- _itemHandler.onItemDetailPush(cb);
- }
- public void onRewardItemPush(Action<RewardItemPush> cb)
- {
- _itemHandler.onRewardItemPush(cb);
- }
- public void onMessageAddPush(Action<OnMessageAddPush> cb)
- {
- _messageHandler.onMessageAddPush(cb);
- }
- public void onNewPetDetailPush(Action<OnNewPetDetailPush> cb)
- {
- _petNewHandler.onNewPetDetailPush(cb);
- }
- public void onPetExpUpdatePush(Action<PetExpUpdatePush> cb)
- {
- _petNewHandler.onPetExpUpdatePush(cb);
- }
- public void onPetInfoUpdatePush(Action<PetInfoUpdatePush> cb)
- {
- _petNewHandler.onPetInfoUpdatePush(cb);
- }
- public void onCaiLianEndPush(Action<CaiLianEndPush> cb)
- {
- _pickLotusAreaHandler.onCaiLianEndPush(cb);
- }
- public void onKillbossInfoPush(Action<KillbossInfoPush> cb)
- {
- _pickLotusAreaHandler.onKillbossInfoPush(cb);
- }
- public void onClientConfigPush(Action<ClientConfigPush> cb)
- {
- _playerHandler.onClientConfigPush(cb);
- }
- public void onBattleEventPush(Action<BattleEventPush> cb)
- {
- _playerHandler.onBattleEventPush(cb);
- }
- public void onBattleClearPush(Action<BattleClearPush> cb)
- {
- _playerHandler.onBattleClearPush(cb);
- }
- public void onSuperScriptPush(Action<SuperScriptPush> cb)
- {
- _playerHandler.onSuperScriptPush(cb);
- }
- public void onChangeAreaPush(Action<ChangeAreaPush> cb)
- {
- _playerHandler.onChangeAreaPush(cb);
- }
- public void onPlayerDynamicPush(Action<PlayerDynamicPush> cb)
- {
- _playerHandler.onPlayerDynamicPush(cb);
- }
- public void onPlayerRelivePush(Action<PlayerRelivePush> cb)
- {
- _playerHandler.onPlayerRelivePush(cb);
- }
- public void onPlayerSaverRebirthPush(Action<PlayerSaverRebirthPush> cb)
- {
- _playerHandler.onPlayerSaverRebirthPush(cb);
- }
- public void onSimulateDropPush(Action<SimulateDataPush> cb)
- {
- _playerHandler.onSimulateDropPush(cb);
- }
- public void onKickPlayerPush(Action<KickPlayerPush> cb)
- {
- _playerHandler.onKickPlayerPush(cb);
- }
- public void onSuitPropertyUpPush(Action<SuitPropertyUpPush> cb)
- {
- _playerHandler.onSuitPropertyUpPush(cb);
- }
- public void onCommonPropertyPush(Action<CommonPropertyPush> cb)
- {
- _playerHandler.onCommonPropertyPush(cb);
- }
- public void onBuffPropertyPush(Action<BuffPropertyPush> cb)
- {
- _playerHandler.onBuffPropertyPush(cb);
- }
- public void onPlayerBattleAttributePush(Action<PlayerBattleAttributePush> cb)
- {
- _playerHandler.onPlayerBattleAttributePush(cb);
- }
- public void onPayGiftStatePush(Action<PayGiftStatePush> cb)
- {
- _playerHandler.onPayGiftStatePush(cb);
- }
- public void onPlayerNoticeMsgPush(Action<PlayerNoticeMsgPush> cb)
- {
- _playerHandler.onPlayerNoticeMsgPush(cb);
- }
- public void onPlayerSameMapTransPush(Action<PlayerSameMapTransPush> cb)
- {
- _playerHandler.onPlayerSameMapTransPush(cb);
- }
- public void onRefrushNewDayPush(Action<RefrushNewDayPush> cb)
- {
- _playerHandlerExt.onRefrushNewDayPush(cb);
- }
- public void onPaySuccessPush(Action<PaySuccessPush> cb)
- {
- _prepaidHandler.onPaySuccessPush(cb);
- }
- public void onSkillUpdatePush(Action<SkillUpdatePush> cb)
- {
- _skillHandler.onSkillUpdatePush(cb);
- }
- public void onSkillKeyUpdatePush(Action<SkillKeyUpdatePush> cb)
- {
- _skillKeysHandler.onSkillKeyUpdatePush(cb);
- }
- public void onTaskUpdatePush(Action<TaskUpdatePush> cb)
- {
- _taskHandler.onTaskUpdatePush(cb);
- }
- public void onTaskAutoPush(Action<TaskAutoPush> cb)
- {
- _taskHandler.onTaskAutoPush(cb);
- }
- public void onTreasureScenePointPush(Action<TreasureScenePointPush> cb)
- {
- _taskHandler.onTreasureScenePointPush(cb);
- }
- public void onLoopResultPush(Action<LoopResultPush> cb)
- {
- _taskHandler.onLoopResultPush(cb);
- }
- public void onGuideTaskPush(Action<GuideTaskPush> cb)
- {
- _taskHandler.onGuideTaskPush(cb);
- }
- public void onSummonTeamPush(Action<OnSummonTeamPush> cb)
- {
- _teamHandler.onSummonTeamPush(cb);
- }
- public void onTeamUpdatePush(Action<OnTeamUpdatePush> cb)
- {
- _teamHandler.onTeamUpdatePush(cb);
- }
- public void onTeamMemberUpdatePush(Action<OnTeamMemberUpdatePush> cb)
- {
- _teamHandler.onTeamMemberUpdatePush(cb);
- }
- public void onTeamTargetPush(Action<OnTeamTargetPush> cb)
- {
- _teamHandler.onTeamTargetPush(cb);
- }
- public void onAcrossTeamInfoPush(Action<OnAcrossTeamInfoPush> cb)
- {
- _teamHandler.onAcrossTeamInfoPush(cb);
- }
- public void onTeamMumberHurtPush(Action<OnTeamMumberHurtPush> cb)
- {
- _teamHandler.onTeamMumberHurtPush(cb);
- }
- public void onAppliedPlayersPush(Action<OnAppliedPlayersPush> cb)
- {
- _teamHandler.onAppliedPlayersPush(cb);
- }
- public void onLoginQueuePush(Action<LoginQueuePush> cb)
- {
- _entryHandler.onLoginQueuePush(cb);
- }
- public void onHudBuffListPush(Action<HUDBuffListPush> cb)
- {
- _entryHandler.onHudBuffListPush(cb);
- }
- public void onIsOpenArtifactPush(Action<IsOpenArtifactPush> cb)
- {
- _openArtifactHandler.onIsOpenArtifactPush(cb);
- }
- public void onAddPetPush(Action<AddPetPush> cb)
- {
- _petHandler.onAddPetPush(cb);
- }
- public void onUpdatePetPush(Action<UpdatePetPush> cb)
- {
- _petHandler.onUpdatePetPush(cb);
- }
- public void onDeletePetPush(Action<DeletePetPush> cb)
- {
- _petHandler.onDeletePetPush(cb);
- }
- public void onPlayerYaoQiSharePush(Action<PlayerYaoQiSharePush> cb)
- {
- _zhanYaoHandler.onPlayerYaoQiSharePush(cb);
- }
- }
- }
|