Class UserGroupExtensions
- Namespace
- Exiled.API.Extensions
- Assembly
- Exiled.API.dll
Contains a useful extension to compare two UserGroup's.
public static class UserGroupExtensions
- Inheritance
-
UserGroupExtensions
- Inherited Members
Methods
EqualsTo(UserGroup, UserGroup)
Compares two UserGroup's for equality.
public static bool EqualsTo(this UserGroup @this, UserGroup other)
Parameters
this
UserGroupThe first UserGroup.
other
UserGroupThe second UserGroup.
Returns
GetKey(UserGroup)
Searches for a key of a group in the RemoteAdmin config.
public static string GetKey(this UserGroup @this)
Parameters
this
UserGroupThe UserGroup.
Returns
GetValue(string)
Searches for a value of a group in the RemoteAdmin config.
public static UserGroup GetValue(string groupName)
Parameters
Returns
- UserGroup
The value of that group, or null if not found.