Table of Contents

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 UserGroup

The first UserGroup.

other UserGroup

The second UserGroup.

Returns

bool

true if they are equal; otherwise, false.

GetKey(UserGroup)

Searches for a key of a group in the RemoteAdmin config.

public static string GetKey(this UserGroup @this)

Parameters

this UserGroup

The UserGroup.

Returns

string

The key of that group, or null if not found.

GetValue(string)

Searches for a value of a group in the RemoteAdmin config.

public static UserGroup GetValue(string groupName)

Parameters

groupName string

The string.

Returns

UserGroup

The value of that group, or null if not found.