Class UserUtils
Inheritance
System.Object
UserUtils
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public static class UserUtils : Object
Methods
DescDemo(User)
Create a suffix to label a player with based on what memberships they have.
Declaration
public static string DescDemo(this User user)
Parameters
| Type | Name | Description |
|---|---|---|
| User | user |
Returns
| Type | Description |
|---|---|
| System.String |
QAorAdminModeActive(User)
Returns true if qa mode, or admin mode is active, and the user is an admin.
Declaration
public static bool QAorAdminModeActive(this User user)
Parameters
| Type | Name | Description |
|---|---|---|
| User | user |
Returns
| Type | Description |
|---|---|
| System.Boolean |