Esempio n. 1
0
        // 步骤 9 ,发送消息
        public void sendMsg9f()
        {
            Ctx.m_instance.m_logSys.log(Ctx.m_instance.m_langMgr.getText(LangTypeId.eLTLog0, LangItemID.eItem12));

            stUserGameTimeTimerUserCmd cmd = new stUserGameTimeTimerUserCmd();

            cmd.qwGameTime   = UtilApi.getUTCSec() + qwGameTime;
            cmd.dwUserTempID = m_loginTempID;
            UtilMsg.sendMsg(cmd);

            // 加载游戏模块
            //Ctx.m_instance.m_moduleSys.loadModule(ModuleName.GAMEMN);
        }
Esempio n. 2
0
 public static int Range(int min, int max)
 {
     UnityEngine.Random.seed = (int)UtilApi.getUTCSec();
     return(UnityEngine.Random.Range(min, max));
 }