internal static void Execute(object msg, User user) { Msg_CR_SwitchDebug switchDebug = msg as Msg_CR_SwitchDebug; if (switchDebug == null) return; user.IsDebug = switchDebug.is_debug; }