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
- thisUserGroup
- The first UserGroup. 
- otherUserGroup
- The second UserGroup. 
Returns
GetKey(UserGroup)
Searches for a key of a group in the RemoteAdmin config.
public static string GetKey(this UserGroup @this)Parameters
- thisUserGroup
- The 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.