Helper to make a desync log for a command. */
| 259 | |
| 260 | /** Helper to make a desync log for a command. */ |
| 261 | void CommandHelperBase::LogCommandExecution(Commands cmd, StringID err_message, const CommandDataBuffer &args, bool failed) |
| 262 | { |
| 263 | Debug(desync, 1, "{}: {:08x}; {:02x}; {:02x}; {:08x}; {:08x}; {} ({})", failed ? "cmdf" : "cmd", (uint32_t)TimerGameEconomy::date.base(), TimerGameEconomy::date_fract, _current_company, cmd, err_message, FormatArrayAsHex(args), GetCommandName(cmd)); |
| 264 | } |
| 265 | |
| 266 | /** |
| 267 | * Prepare for the test run of a command proc call. |
nothing calls this directly
no test coverage detected