Empeld
Empeld plugin documentation.
pluginbase.Dependencies.IUserManager Interface Reference

Public Member Functions

IUser GetUser (ushort userId)
 
IUser GetUser (string username)
 
void Kick (IUser user)
 
void Ban (IUser user)
 
void Unban (IUser user)
 
void Unban (string username)
 
void Whitelist (string username)
 
void UnWhitelist (string username)
 
void SetUserLevel (string username, UserAuthLevel level)
 

Properties

IEnumerable< IUserUsers [get]
 

Events

Action< IUserOnJoin
 
Action< IUserOnLeave
 

Detailed Description

Attribute: Injectable

Member Function Documentation

◆ Ban()

void pluginbase.Dependencies.IUserManager.Ban ( IUser  user)

◆ GetUser() [1/2]

IUser pluginbase.Dependencies.IUserManager.GetUser ( ushort  userId)

◆ GetUser() [2/2]

IUser pluginbase.Dependencies.IUserManager.GetUser ( string  username)

◆ Kick()

void pluginbase.Dependencies.IUserManager.Kick ( IUser  user)

◆ SetUserLevel()

void pluginbase.Dependencies.IUserManager.SetUserLevel ( string  username,
UserAuthLevel  level 
)

◆ Unban() [1/2]

void pluginbase.Dependencies.IUserManager.Unban ( IUser  user)

◆ Unban() [2/2]

void pluginbase.Dependencies.IUserManager.Unban ( string  username)

◆ UnWhitelist()

void pluginbase.Dependencies.IUserManager.UnWhitelist ( string  username)

◆ Whitelist()

void pluginbase.Dependencies.IUserManager.Whitelist ( string  username)

Property Documentation

◆ Users

IEnumerable<IUser> pluginbase.Dependencies.IUserManager.Users
get

Event Documentation

◆ OnJoin

Action<IUser> pluginbase.Dependencies.IUserManager.OnJoin

◆ OnLeave

Action<IUser> pluginbase.Dependencies.IUserManager.OnLeave

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