C# Class RocketRegions.Util.RegionsPermissionsProvider

Inheritance: IRocketPermissionsProvider
Datei anzeigen Open project: Trojaner25/Rocket-Regions

Public Methods

Method Description
AddGroup ( Rocket.API.Serialisation.RocketPermissionsGroup group ) : RocketPermissionsProviderResult
AddPlayerToGroup ( string groupId, IRocketPlayer player ) : RocketPermissionsProviderResult
DeleteGroup ( string groupId ) : RocketPermissionsProviderResult
GetGroup ( string groupId ) : Rocket.API.Serialisation.RocketPermissionsGroup
GetGroups ( IRocketPlayer player, bool includeParentGroups ) : List
GetPermissions ( IRocketPlayer player ) : List
GetPermissions ( IRocketPlayer player, List requestedPermissions ) : List
HasPermission ( IRocketPlayer player, List requestedPermissions ) : bool
Reload ( ) : void
RemovePlayerFromGroup ( string groupId, IRocketPlayer player ) : RocketPermissionsProviderResult
SaveGroup ( Rocket.API.Serialisation.RocketPermissionsGroup group ) : RocketPermissionsProviderResult

Private Methods

Method Description
RegionsPermissionsProvider ( IRocketPermissionsProvider basePermissionProvider ) : System.Collections.Generic

Method Details

AddGroup() public method

public AddGroup ( Rocket.API.Serialisation.RocketPermissionsGroup group ) : RocketPermissionsProviderResult
group Rocket.API.Serialisation.RocketPermissionsGroup
return RocketPermissionsProviderResult

AddPlayerToGroup() public method

public AddPlayerToGroup ( string groupId, IRocketPlayer player ) : RocketPermissionsProviderResult
groupId string
player IRocketPlayer
return RocketPermissionsProviderResult

DeleteGroup() public method

public DeleteGroup ( string groupId ) : RocketPermissionsProviderResult
groupId string
return RocketPermissionsProviderResult

GetGroup() public method

public GetGroup ( string groupId ) : Rocket.API.Serialisation.RocketPermissionsGroup
groupId string
return Rocket.API.Serialisation.RocketPermissionsGroup

GetGroups() public method

public GetGroups ( IRocketPlayer player, bool includeParentGroups ) : List
player IRocketPlayer
includeParentGroups bool
return List

GetPermissions() public method

public GetPermissions ( IRocketPlayer player ) : List
player IRocketPlayer
return List

GetPermissions() public method

public GetPermissions ( IRocketPlayer player, List requestedPermissions ) : List
player IRocketPlayer
requestedPermissions List
return List

HasPermission() public method

public HasPermission ( IRocketPlayer player, List requestedPermissions ) : bool
player IRocketPlayer
requestedPermissions List
return bool

Reload() public method

public Reload ( ) : void
return void

RemovePlayerFromGroup() public method

public RemovePlayerFromGroup ( string groupId, IRocketPlayer player ) : RocketPermissionsProviderResult
groupId string
player IRocketPlayer
return RocketPermissionsProviderResult

SaveGroup() public method

public SaveGroup ( Rocket.API.Serialisation.RocketPermissionsGroup group ) : RocketPermissionsProviderResult
group Rocket.API.Serialisation.RocketPermissionsGroup
return RocketPermissionsProviderResult