override protected void onInit() { instance = this; regCreator(OBJECT_NAME.DATA_CONN, connInfo.create); regCreator(OBJECT_NAME.DATA_JOIN_WORLD, joinWorldInfo.create); regCreator(OBJECT_NAME.DATA_CHARS, charsInfo.create); regCreator(OBJECT_NAME.DATA_ITEMS, itemsInfo.create); //regCreator( OBJECT_NAME.DATA_MISSION, missionInfo.create); regCreator(OBJECT_NAME.MSG_LEVEL, InGameLevelMsgs.create); regCreator(OBJECT_NAME.DATA_CHAT, chatInfo.create); regCreator(OBJECT_NAME.DATA_SMITHY, smithyInfo.create); //regCreator( OBJECT_NAME.DATA_MAIL, LGGDMails.create); regCreator(OBJECT_NAME.DATA_SHOP, shopInfo.create); regCreator(OBJECT_NAME.MSG_OUT_GAME, outGameMsgs.create); regCreator(OBJECT_NAME.MSG_GENERAL, InGameGeneralMsgs.create); createAllSingleInst(); // LGDropItemManager.into(this); foreach (IObjectPlugin val in m_objectPlugins.Values) { val.init(); } PlayerInfoProxy.getInstance(); }
protected override void onInit() { muNetCleint.instance = this; base.regCreator("DATA_CONN", new Func <IClientBase, IObjectPlugin>(connInfo.create)); base.regCreator("DATA_JOIN_WORLD", new Func <IClientBase, IObjectPlugin>(joinWorldInfo.create)); base.regCreator("DATA_CHARS", new Func <IClientBase, IObjectPlugin>(charsInfo.create)); base.regCreator("DATA_ITEMS", new Func <IClientBase, IObjectPlugin>(itemsInfo.create)); base.regCreator("DATA_CHAT", new Func <IClientBase, IObjectPlugin>(chatInfo.create)); base.regCreator("DATA_SMITHY", new Func <IClientBase, IObjectPlugin>(smithyInfo.create)); base.regCreator("DATA_SHOP", new Func <IClientBase, IObjectPlugin>(shopInfo.create)); base.regCreator("MSG_OUT_GAME", new Func <IClientBase, IObjectPlugin>(outGameMsgs.create)); base.regCreator("MSG_GENERAL", new Func <IClientBase, IObjectPlugin>(InGameGeneralMsgs.create)); base.regCreator("MSG_MISSION", new Func <IClientBase, IObjectPlugin>(InGameMissionMsgs.create)); base.regCreator("MSG_VIP", new Func <IClientBase, IObjectPlugin>(InGameVIPMsgs.create)); base.regCreator("MSG_PALYER_INFO", new Func <IClientBase, IObjectPlugin>(InGamePalyerInfoMsgs.create)); base.regCreator("MSG_PLY_FUN", new Func <IClientBase, IObjectPlugin>(InGamePlyFunMsgs.create)); base.regCreator("MSG_RANK_INFO", new Func <IClientBase, IObjectPlugin>(InGameRankMsgs.create)); base.regCreator("MSG_RANDSHOP", new Func <IClientBase, IObjectPlugin>(InGameRandshop.create)); base.regCreator("MSG_TRADE", new Func <IClientBase, IObjectPlugin>(InGameTradeMsgs.create)); base.regCreator("MSG_SKILL", new Func <IClientBase, IObjectPlugin>(InGameSkillMsgs.create)); base.regCreator("MSG_ITEM", new Func <IClientBase, IObjectPlugin>(InGameItemMsgs.create)); base.regCreator("MSG_MAP", new Func <IClientBase, IObjectPlugin>(InGameMapMsgs.create)); base.regCreator("MSG_CHANGELINE", new Func <IClientBase, IObjectPlugin>(InGameChangeLineMsgs.create)); base.regCreator("MSG_CHAT", new Func <IClientBase, IObjectPlugin>(InGameChatMsgs.create)); base.regCreator("MSG_ACTIVITY", new Func <IClientBase, IObjectPlugin>(InGameActivityMsgs.create)); base.regCreator("MSG_WELFARE", new Func <IClientBase, IObjectPlugin>(InGameWelfare.create)); base.regCreator("MSG_OLAWARD", new Func <IClientBase, IObjectPlugin>(InGameOlAwardMsgs.create)); base.regCreator("MSG_MAIL", new Func <IClientBase, IObjectPlugin>(InGameMailMsgs.create)); base.regCreator("MSG_CLAN", new Func <IClientBase, IObjectPlugin>(InGameClansMsgs.create)); base.regCreator("MSG_LEVEL", new Func <IClientBase, IObjectPlugin>(InGameLevelMsgs.create)); base.regCreator("MSG_BUDDY", new Func <IClientBase, IObjectPlugin>(InGameBuddyMsgs.create)); base.regCreator("MSG_TEAM", new Func <IClientBase, IObjectPlugin>(InGameTeamMsgs.create)); base.regCreator("MSG_LOTTERY", new Func <IClientBase, IObjectPlugin>(InGameLotteryMsgs.create)); base.regCreator("MSG_AWARD", new Func <IClientBase, IObjectPlugin>(InGameAwardMsgs.create)); base.regCreator("MSG_ACUPOINT", new Func <IClientBase, IObjectPlugin>(InGameAcupointMsgs.create)); base.regCreator("MSG_ACHIEVE", new Func <IClientBase, IObjectPlugin>(InGameAchieveMsgs.create)); base.regCreator("MSG_DMIS", new Func <IClientBase, IObjectPlugin>(InGameDmisMsgs.create)); base.createAllSingleInst(); foreach (IObjectPlugin current in this.m_objectPlugins.Values) { current.init(); } BaseProxy <PlayerInfoProxy> .getInstance(); }
public charsInfo(muNetCleint m) : base(m) { }
public connInfo(muNetCleint m) : base(m) { }
public smithyInfo(muNetCleint m) : base(m) { }
public joinWorldInfo(muNetCleint m) : base(m) { instance = this; }
public itemsInfo(muNetCleint m) : base(m) { }
public shopInfo(muNetCleint m) : base(m) { }