Player¶
sealed class
Wrapper around a native endstone::Player.
Namespace Endstone.Loader
Inheritance Mob › Actor › CommandSender › object
Properties¶
Address : string¶
{ get; }
AllowFlight : bool¶
{ get; }
DeviceId : string¶
{ get; }
DeviceOS : string¶
{ get; }
EnderChest : Inventory¶
{ get; }
ExpLevel : int¶
{ get; }
ExpProgress : float¶
{ get; }
FlySpeed : float¶
{ get; }
GameMode : GameMode¶
{ get; }
GameVersion : string¶
{ get; }
Inventory : PlayerInventory¶
{ get; }
IsFlying : bool¶
{ get; }
IsOp : bool¶
{ get; }
IsSneaking : bool¶
{ get; }
IsSprinting : bool¶
{ get; }
ItemInHand : ItemStack¶
{ get; }
Locale : string¶
{ get; }
Ping : int¶
{ get; }
SkinCapeId : string¶
{ get; }
SkinId : string¶
{ get; }
TotalExp : int¶
{ get; }
WalkSpeed : float¶
{ get; }
Xuid : string¶
{ get; }
Methods¶
void CloseForm()¶
void GiveExp(int amount)¶
void GiveExpLevels(int amount)¶
void Kick(string reason)¶
bool PerformCommand(string command)¶
void PlaySound(Location location, string sound, float volume, float pitch)¶
void ResetTitle()¶
void SendMap(MapView map)¶
Sends the full map rendering (pixels + cursors) to this player. Blocks the server thread while the renderers draw.