Enum RoleData.Authority
Represents flags for how Exiled should handle edge cases.
[Flags]
public enum RoleData.Authority
- Extension Methods
Fields
None = 0Indicates Exiled should only fake the role of the target of this RoleData in ideal conditions.
Override = 1Indicates that Exiled should attempt to override other plugins fake role attempts if they exist.
This is not guaranteed to always work.
Always = 2Indicates that the fake role should always be sent without checking if the player is dead, etc...
Persist = 4Indicates that Exiled should not reset the fake role if the target of this RoleData dies.
AffectSelf = 8Indicates that this RoleData can make a player view themselves as a different role.
AffectNPCs = 16Indicates that this RoleData can affect dummies.
Remarks
Simply having an authority does not make a direct impact. This enum largely exists to constrict possibly unwanted behavior, so make sure your RoleData actually does what behavior you want. (I. E. AffectSelf will not make a RoleData affect the viewer UNLESS they are the target of an existing RoleData).