C# Class WhiteCore.Modules.Ban.BanCheck

显示文件 Open project: WhiteCoreSim/WhiteCore-Dev Class Usage Examples

Public Methods

Method Description
BanCheck ( IConfigSource source, IUserAccountService userAccountService ) : System
CheckUser ( UUID agentID, string ip, string version, string platform, string mac, string id0, string &message ) : bool
IsViewerBanned ( string name ) : bool
SetUserLevel ( UUID agentID, WhiteCore.Modules.Ban.PresenceInfo presenceInfoFlags ) : void

Protected Methods

Method Description
BlockUser ( IScene scene, string cmdparams ) : void
SetUserInfo ( IScene scene, string cmdparams ) : void
UnBlockUser ( IScene scene, string cmdparams ) : void
UserInfo ( IScene scene, string cmdparams ) : void

Private Methods

Method Description
AddCommands ( ) : void
CheckClient ( UUID agentID, string &message ) : bool
CheckForSimilarities ( WhiteCore.Modules.Ban.PresenceInfo info ) : void
CheckForSimilaritiesMultiple ( UUID agentID, List info ) : void
CheckThreatLevel ( WhiteCore.Modules.Ban.PresenceInfo info, string &message ) : bool
CheckViewer ( WhiteCore.Modules.Ban.PresenceInfo info, string &reason ) : bool
DisplayUserInfo ( WhiteCore.Modules.Ban.PresenceInfo info ) : void
GetInformation ( UUID agentID ) : WhiteCore.Modules.Ban.PresenceInfo
UpdatePresenceInfo ( UUID agentID, WhiteCore.Modules.Ban.PresenceInfo oldInfo, string ip, string version, string platform, string mac, string id0 ) : WhiteCore.Modules.Ban.PresenceInfo

Method Details

BanCheck() public method

public BanCheck ( IConfigSource source, IUserAccountService userAccountService ) : System
source IConfigSource
userAccountService IUserAccountService
return System

BlockUser() protected method

protected BlockUser ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

CheckUser() public method

public CheckUser ( UUID agentID, string ip, string version, string platform, string mac, string id0, string &message ) : bool
agentID UUID
ip string
version string
platform string
mac string
id0 string
message string
return bool

IsViewerBanned() public method

public IsViewerBanned ( string name ) : bool
name string
return bool

SetUserInfo() protected method

protected SetUserInfo ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

SetUserLevel() public method

public SetUserLevel ( UUID agentID, WhiteCore.Modules.Ban.PresenceInfo presenceInfoFlags ) : void
agentID UUID
presenceInfoFlags WhiteCore.Modules.Ban.PresenceInfo
return void

UnBlockUser() protected method

protected UnBlockUser ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

UserInfo() protected method

protected UserInfo ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void