Script: Store CommandCost::GetResultData

This commit is contained in:
Jonathan G Rennison
2022-12-03 14:29:37 +00:00
parent 44c4cc80a1
commit dc96fbc573
4 changed files with 24 additions and 0 deletions

View File

@@ -237,6 +237,16 @@ protected:
*/
static Money GetLastCost();
/**
* Set the result data of the last command.
*/
static void SetLastCommandResultData(uint32 last_result);
/**
* Get the result data of the last command.
*/
static uint32 GetLastCommandResultData();
/**
* Set a variable that can be used by callback functions to pass information.
*/