override protected void onInit() { instance = this; regCreator(OBJECT_NAME.LG_OUT_GAME, LGOutGame.create); regCreator(OBJECT_NAME.LG_MAIN_PLAY, lgSelfPlayer.create); regCreator(OBJECT_NAME.LG_CAMERA, LGCamera.create); regCreator(OBJECT_NAME.LG_MAP, LGMap.create); regCreator(OBJECT_NAME.LG_NPCS, LGNpcs.create); regCreator(OBJECT_NAME.LG_JOIN_WORLD, LGJoinWorld.create); regCreator(OBJECT_NAME.LG_LOAD_RESOURCE, LGLoadResource.create); //regCreator( OBJECT_NAME.LG_SKILL, LGSkill.create); regCreator(OBJECT_NAME.LG_MONSTERS, LGMonsters.create); regCreator(OBJECT_NAME.LG_HEROS, LGHeros.create); regCreator(OBJECT_NAME.LG_OTHER_PLAYERS, LGOthers.create); regCreator(OBJECT_NAME.LG_LEVEL, LGGDLevels.create); new DelayDoManager(this); createAllSingleInst(); foreach (IObjectPlugin val in m_objectPlugins.Values) { val.init(); } this.g_processM.addRender(this.g_selfPlayer, true); }
protected override void onInit() { muLGClient.instance = this; base.regCreator("MgrPlayerInfo", new Func <IClientBase, IObjectPlugin>(MgrPlayerInfo.create)); base.regCreator("LG_OUT_GAME", new Func <IClientBase, IObjectPlugin>(LGOutGame.create)); base.regCreator("LG_MAIN_PLAY", new Func <IClientBase, IObjectPlugin>(lgSelfPlayer.create)); base.regCreator("LG_CAMERA", new Func <IClientBase, IObjectPlugin>(LGCamera.create)); base.regCreator("LG_MAP", new Func <IClientBase, IObjectPlugin>(LGMap.create)); base.regCreator("LG_NPCS", new Func <IClientBase, IObjectPlugin>(LGNpcs.create)); base.regCreator("LG_ITEMS", new Func <IClientBase, IObjectPlugin>(lgGDItems.create)); base.regCreator("LG_JOIN_WORLD", new Func <IClientBase, IObjectPlugin>(LGJoinWorld.create)); base.regCreator("LG_LOAD_RESOURCE", new Func <IClientBase, IObjectPlugin>(LGLoadResource.create)); base.regCreator("LG_MONSTERS", new Func <IClientBase, IObjectPlugin>(LGMonsters.create)); base.regCreator("LG_HEROS", new Func <IClientBase, IObjectPlugin>(LGHeros.create)); base.regCreator("LG_OTHER_PLAYERS", new Func <IClientBase, IObjectPlugin>(LGOthers.create)); base.regCreator("MSG_CHANGELINE", new Func <IClientBase, IObjectPlugin>(LGChangeLine.create)); base.regCreator("LG_LEVEL", new Func <IClientBase, IObjectPlugin>(LGGDLevels.create)); new DelayDoManager(this); base.createAllSingleInst(); foreach (IObjectPlugin current in this.m_objectPlugins.Values) { current.init(); } base.g_processM.addRender(this.g_selfPlayer, true); }
private void _join_clan_req_res_msg(muLGClient lgClient, uint clanid) { lgGDClans arg_40_0 = ((this.session as ClientSession).g_mgr.g_gameM as muLGClient).g_clansCT; Action <uint, Variant> arg_40_2; if ((arg_40_2 = InGameClansMsgs.on_join_clan_req_res.< > c.< > 9__4_0) == null) { arg_40_2 = (InGameClansMsgs.on_join_clan_req_res.< > c.< > 9__4_0 = new Action <uint, Variant>(InGameClansMsgs.on_join_clan_req_res.< > c.< > 9. < _join_clan_req_res_msg > b__4_0)); } arg_40_0.get_claninfo_by_clanid(clanid, arg_40_2); }
public DelayDoManager(muLGClient m) { DelayDoManager.singleton = this; this.g_mgr = m; }
public DelayDoManager(muLGClient m) { singleton = this; g_mgr = m; }
public LGOutGame(muLGClient m) : base(m) { }