Added new arguments to HOOK_ENCOUNTER

* to determine which encounter is being loaded, not just map ID.

Updated the document and header files.
This commit is contained in:
NovaRain
2024-05-31 15:11:40 +08:00
parent 73ac86d493
commit ca42b01193
6 changed files with 48 additions and 5 deletions
@@ -200,6 +200,15 @@ procedure to_string(variable val) begin
return ""+val;
end
/**
* Returns true if given string is 0 or empty string. For use as a delegate.
* @arg {string} str
* @ret {bool}
*/
procedure string_null_or_empty(variable str) begin
return str == 0 or str == "";
end
/**
DEPRECATED, use string_format instead!