Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.User.UserHelpers Class Reference

Assorted static "helper" functions pertaining to the concept of "users" (corrently supports only a single, config-defined "priviledged" user). More...

Static Public Member Functions

static bool HasBasicServerPrivilege (Player player)
 Indicates if the given player has special priviledge on a server. Currently, this is only defined by a config setting (PrivilegedUserId) using the user's internal unique ID (see PlayerIdentityHelpers.GetUniqueId()). More...
 

Detailed Description

Assorted static "helper" functions pertaining to the concept of "users" (corrently supports only a single, config-defined "priviledged" user).

Definition at line 13 of file UserHelpers.cs.

Member Function Documentation

◆ HasBasicServerPrivilege()

static bool HamstarHelpers.Helpers.User.UserHelpers.HasBasicServerPrivilege ( Player  player)
static

Indicates if the given player has special priviledge on a server. Currently, this is only defined by a config setting (PrivilegedUserId) using the user's internal unique ID (see PlayerIdentityHelpers.GetUniqueId()).

Parameters
player
Returns

Definition at line 20 of file UserHelpers.cs.


The documentation for this class was generated from the following file: