示例#1
0
 private static void SendMagicCrashMsg(GameClient client, MagicCrashUnityType crashType)
 {
     if (client != null)
     {
         int    timeOutSec = Global.GetRandomNumber(5, 15);
         string cmd        = string.Format("{0}:{1}", (int)crashType, timeOutSec);
         client.sendCmd(14010, cmd, false);
     }
 }
示例#2
0
        private static void SendMagicCrashMsg(GameClient client, MagicCrashUnityType crashType)
        {
            if (client == null)
            {
                return;
            }

            int    timeOutSec = Global.GetRandomNumber(5, 15);
            string cmd        = string.Format("{0}:{1}", (int)crashType, timeOutSec);

            client.sendCmd((int)TCPGameServerCmds.CMD_NTF_MAGIC_CRASH_UNITY, cmd);
        }