mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02:00
Remove all method.
This commit is contained in:
@ -262,6 +262,11 @@ struct PvClass
|
||||
*/
|
||||
void ModifyPrivilege(StackStrF & tag, SQInteger value);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Remove all status values. Basically it reverts to the parent class privileges.
|
||||
*/
|
||||
void RemoveAllPrivileges();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Change the parent class.
|
||||
*/
|
||||
@ -347,6 +352,7 @@ struct SqPvClass
|
||||
void RemovePrivilegeWithTag(StackStrF & tag) { Valid().RemovePrivilege(tag); }
|
||||
void ModifyPrivilegeWithID(SQInteger id, SQInteger value) { Valid().ModifyPrivilege(id, value); }
|
||||
void ModifyPrivilegeWithTag(StackStrF & tag, SQInteger value) { Valid().ModifyPrivilege(tag, value); }
|
||||
void RemoveAllPrivileges() { Valid().RemoveAllPrivileges(); }
|
||||
// --------------------------------------------------------------------------------------------
|
||||
SQMOD_NODISCARD LightObj GetUnitWithID(SQInteger id) const { return Valid().GetUnitWithID(id); }
|
||||
SQMOD_NODISCARD LightObj GetUnitWithTag(StackStrF & tag) const { return Valid().GetUnitWithTag(tag); }
|
||||
|
Reference in New Issue
Block a user