示例#1
0
        protected override void onInit(Variant parma)
        {
            this.g_gameM.dispatchEventCL("LG_OUT_GAME", GameEvent.Create(3060u, this, null, false));
            connInfo connInfo = this.g_netM.getObject("DATA_CONN") as connInfo;

            connInfo.setInfo(parma);
        }
示例#2
0
        override protected void onInit(Variant parma)
        {
            g_gameM.dispatchEventCL(
                OBJECT_NAME.LG_OUT_GAME,
                GameEvent.Create(GAME_EVENT.GAME_INIT_START, this, null)
                );

            connInfo cinfo = g_netM.getObject(OBJECT_NAME.DATA_CONN) as connInfo;

            cinfo.setInfo(parma);
        }