Table of Contents

Class Player

Namespace
VAMP.Models
Assembly
VAMP.dll
public class Player
Inheritance
Player
Inherited Members

Properties

AimPosition

public float3 AimPosition { get; }

Property Value

float3

Character

public Entity Character { get; set; }

Property Value

Entity

Clan

public Entity Clan { get; }

Property Value

Entity

ControlledEntity

public Entity ControlledEntity { get; }

Property Value

Entity

Equipment

public Equipment Equipment { get; }

Property Value

Equipment

EquipmentEntities

public List<Entity> EquipmentEntities { get; }

Property Value

List<Entity>

FullName

public string FullName { get; }

Property Value

string

Height

public int Height { get; }

Property Value

int

Inventory

public Entity Inventory { get; }

Property Value

Entity

IsAdmin

public bool IsAdmin { get; }

Property Value

bool

IsAdminCapable

public bool IsAdminCapable { get; }

Property Value

bool

IsAlive

public bool IsAlive { get; }

Property Value

bool

IsOnline

public bool IsOnline { get; }

Property Value

bool

Level

public int Level { get; }

Property Value

int

Name

public string Name { get; }

Property Value

string

Position

public float3 Position { get; }

Property Value

float3

RecordLevel

public int RecordLevel { get; }

Property Value

int

SteamID

public ulong SteamID { get; set; }

Property Value

ulong

Team

public Team Team { get; }

Property Value

Team

TilePosition

public int2 TilePosition { get; }

Property Value

int2

User

public Entity User { get; set; }

Property Value

Entity

WorldZone

public WorldRegionType WorldZone { get; }

Property Value

WorldRegionType

WorldZoneString

public string WorldZoneString { get; }

Property Value

string

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetControlledEntity()

public Entity GetControlledEntity()

Returns

Entity

GetFullName()

public string GetFullName()

Returns

string

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetWorldZone()

public WorldRegionType GetWorldZone()

Returns

WorldRegionType

GetWorldZoneString(bool)

public string GetWorldZoneString(bool shortName = false)

Parameters

shortName bool

Returns

string

HasControlledEntity()

public bool HasControlledEntity()

Returns

bool

IsAlliedWith(Player)

public bool IsAlliedWith(Player player)

Parameters

player Player

Returns

bool

ToFromCharacter()

public FromCharacter ToFromCharacter()

Returns

FromCharacter

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.