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); } }
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); }