C# Class TShockAPI.Hooks.PlayerPermissionEventArgs

EventArgs used for the PlayerHooks.PlayerPermission event.
Inheritance: System.ComponentModel.HandledEventArgs
Mostrar archivo Open project: NyxStudios/TShock Class Usage Examples

Public Methods

Method Description
PlayerPermissionEventArgs ( TSPlayer player, string permission ) : System.Collections.Generic

Initializes a new instance of the PlayerPermissionEventArgs class.

Method Details

PlayerPermissionEventArgs() public method

Initializes a new instance of the PlayerPermissionEventArgs class.
public PlayerPermissionEventArgs ( TSPlayer player, string permission ) : System.Collections.Generic
player TSPlayer The player who fired the event.
permission string The permission being checked.
return System.Collections.Generic