static */
| 119 | } |
| 120 | |
| 121 | /* static */ void ScriptObject::SetLastCommand(const CommandDataBuffer &data, Commands cmd) |
| 122 | { |
| 123 | ScriptStorage &s = GetStorage(); |
| 124 | Debug(script, 6, "SetLastCommand company={:02d} cmd={} data={}", s.root_company, cmd, FormatArrayAsHex(data)); |
| 125 | s.last_data = data; |
| 126 | s.last_cmd = cmd; |
| 127 | } |
| 128 | |
| 129 | /* static */ bool ScriptObject::CheckLastCommand(const CommandDataBuffer &data, Commands cmd) |
| 130 | { |
nothing calls this directly
no test coverage detected