C# Class OTA.BasePlayerExtensions

BasePlayer extensions
Datei anzeigen Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Public Methods

Method Description
IsOp ( this player ) : bool

Determines if the player is an operator

SetOp ( this player, bool op ) : void

Update operator status for the player

Method Details

IsOp() public static method

Determines if the player is an operator
public static IsOp ( this player ) : bool
player this
return bool

SetOp() public static method

Update operator status for the player
public static SetOp ( this player, bool op ) : void
player this
op bool
return void