C# Class OTA.BasePlayerExtensions

BasePlayer extensions
Afficher le fichier Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Méthodes publiques

Méthode 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 méthode

Determines if the player is an operator
public static IsOp ( this player ) : bool
player this
Résultat bool

SetOp() public static méthode

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