Script: Allow changing ops limit and memory limit settings in game
This commit is contained in:
@@ -174,6 +174,8 @@ public:
|
||||
*/
|
||||
SQInteger GetOpsTillSuspend();
|
||||
|
||||
void LimitOpsTillSuspend(SQInteger suspend);
|
||||
|
||||
/**
|
||||
* DoCommand callback function for all commands executed by scripts.
|
||||
* @param result The result of the command.
|
||||
@@ -200,6 +202,8 @@ public:
|
||||
|
||||
size_t GetAllocatedMemory() const;
|
||||
|
||||
void SetMemoryAllocationLimit(size_t limit) const;
|
||||
|
||||
/**
|
||||
* Indicate whether this instance is currently being destroyed.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user