mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
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:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user