Show / Hide Table of Contents

Class Player

A player element Players are the representation of any client that connects to the server. Players are synchronised using sync packets that are sent by the client.

Inheritance
object
Element
Ped
Player
Inherited Members
Ped.model
Ped.Model
Ped.health
Ped.Health
Ped.armor
Ped.Armor
Ped.CurrentWeaponSlot
Ped.FightingStyle
Ped.Gravity
Ped.CurrentWeaponLock
Ped.CurrentWeapon
Ped.PedRotation
Ped.EnteringVehicle
Ped.Vehicle
Ped.Seat
Ped.HasJetpack
Ped.IsSyncable
Ped.IsHeadless
Ped.MoveAnimation
Ped.Weapons
Ped.IsAlive
Ped.Clothing
Ped.Syncer
Ped.IsOnFire
Ped.IsInWater
Ped.Target
Ped.VehicleAction
Ped.JackingVehicle
Ped.RemoveFromVehicle(bool)
Ped.WarpIntoVehicle(Vehicle, byte)
Ped.AddWeapon(WeaponId, ushort, bool)
Ped.RemoveWeapon(WeaponId, ushort?)
Ped.RemoveWeapon(WeaponSlot, ushort?)
Ped.SetAmmoCount(WeaponId, ushort, ushort?)
Ped.SetAmmoCount(WeaponSlot, ushort, ushort?)
Ped.InvokeWasted(PedWastedEventArgs)
Ped.Reset()
Ped.Kill(DamageType, BodyPart)
Ped.SetStat(PedStat, float?)
Ped.GetStat(PedStat)
Ped.GetAllStats()
Ped.SetWeaponStat(WeaponId, float)
Ped.GetWeaponStat(WeaponId)
Ped.SetAnimation(string, string, TimeSpan?, bool, bool, bool, bool, TimeSpan?, bool)
Ped.StopAnimation()
Ped.ReloadWeapon()
Ped.SetAnimationProgress(string, float)
Ped.SetAnimationSpeed(string, float)
Ped.TriggerWeaponAmmoUpdate(WeaponId, ushort, ushort)
Ped.Wasted
Ped.ModelChanged
Ped.HealthChanged
Ped.ArmourChanged
Ped.WeaponSlotChanged
Ped.FightingStyleChanged
Ped.JetpackStateChanged
Ped.TargetChanged
Ped.SyncerChanged
Ped.GravityChanged
Ped.IsOnFireChanged
Ped.IsInWaterChanged
Ped.VehicleActionChanged
Ped.JackingVehicleChanged
Ped.VehicleChanged
Ped.EnteringVehicleChanged
Ped.StatChanged
Ped.WeaponReceived
Ped.WeaponRemoved
Ped.AmmoUpdated
Ped.AnimationStarted
Ped.AnimationStopped
Ped.AnimationProgressChanged
Ped.AnimationSpeedChanged
Ped.WeaponReloaded
Ped.WeaponOrAmmoChanged
Ped.ClothingChanged
Element.Parent
Element.Children
Element.Associations
Element.AssociatedPlayers
Element.Id
Element.TimeContext
Element.Name
Element.position
Element.Position
Element.Right
Element.Up
Element.Forward
Element.rotation
Element.Rotation
Element.velocity
Element.Velocity
Element.turnVelocity
Element.TurnVelocity
Element.interior
Element.Interior
Element.dimension
Element.Dimension
Element.alpha
Element.Alpha
Element.areCollisionsEnabled
Element.AreCollisionsEnabled
Element.isCallPropagationEnabled
Element.IsCallPropagationEnabled
Element.isFrozen
Element.IsFrozen
Element.UpdateContext
Element.IsSync
Element.Subscribers
Element.ElementDataSubscriptions
Element.BroadcastableElementData
Element.Attachment
Element.AttachedElements
Element.IsDestroyed
Element.IsVisibleToEveryone
Element.AddSubscriber(Player)
Element.RemoveSubscriber(Player)
Element.GetAndIncrementTimeContext()
Element.CanUpdateSync(byte)
Element.Destroy()
Element.RunWithContext(Action, ElementUpdateContext)
Element.RunWithContext(Func<Task>, ElementUpdateContext)
Element.RunAsSync(Action, bool)
Element.RunAsSync(Func<Task>, bool)
Element.RemoveFrom(MtaServer)
Element.AssociateWith(Player)
Element.RemoveFrom(Player)
Element.UpdateAssociatedPlayers()
Element.AddChild(Element)
Element.RemoveChild(Element)
Element.IsChildOf(Element)
Element.SetData(string, LuaValue, DataSyncType)
Element.GetData(string, bool)
Element.SubscribeToData(Player, string)
Element.UnsubscribeFromData(Player, string)
Element.UnsubscribeFromAllData(Player)
Element.IsPlayerSubscribedToData(Player, string)
Element.GetPlayersSubcribedToData(string)
Element.AttachTo(Element, Vector3?, Vector3?)
Element.DetachFrom(Element)
Element.CreateFor(IEnumerable<Player>)
Element.CreateFor(Player)
Element.DestroyFor(IEnumerable<Player>)
Element.DestroyFor(Player)
Element.PositionChanged
Element.RotationChanged
Element.VelocityChanged
Element.TurnVelocityChanged
Element.InteriorChanged
Element.DimensionChanged
Element.AlphaChanged
Element.NameChanged
Element.CallPropagationChanged
Element.CollisionEnabledChanged
Element.FrozenChanged
Element.IdChanged
Element.AssociatedWith
Element.RemovedFrom
Element.DataChanged
Element.Attached
Element.Detached
Element.AttachedOffsetChanged
Element.Destroyed
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Elements
Assembly: SlipeServer.Server.dll
Syntax
public class Player : Ped

Constructors

| Edit this page View Source

Player()

Declaration
public Player()

Fields

| Edit this page View Source

LastMovedUtc

Declaration
public DateTime LastMovedUtc
Field Value
Type Description
DateTime

Properties

| Edit this page View Source

AimDirection

Declaration
public Vector3 AimDirection { get; set; }
Property Value
Type Description
Vector3
| Edit this page View Source

AimOrigin

Declaration
public Vector3 AimOrigin { get; set; }
Property Value
Type Description
Vector3
| Edit this page View Source

AkimboTargetUp

Declaration
public bool AkimboTargetUp { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

AssociatedElements

Any elements that are specifically associated with this player. This does not include elements that are associated with the server as a whole.

Declaration
public IElementCollection AssociatedElements { get; }
Property Value
Type Description
IElementCollection
| Edit this page View Source

BlurLevel

Declaration
public byte BlurLevel { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

Camera

Declaration
public Camera Camera { get; }
Property Value
Type Description
Camera
| Edit this page View Source

CameraDirection

Declaration
public Vector3 CameraDirection { get; set; }
Property Value
Type Description
Vector3
| Edit this page View Source

CameraPosition

Declaration
public Vector3 CameraPosition { get; set; }
Property Value
Type Description
Vector3
| Edit this page View Source

CameraRotation

Declaration
public float CameraRotation { get; set; }
Property Value
Type Description
float
| Edit this page View Source

Client

Declaration
public IClient Client { get; set; }
Property Value
Type Description
IClient
| Edit this page View Source

ContactElement

Declaration
public Element? ContactElement { get; set; }
Property Value
Type Description
Element
| Edit this page View Source

Controls

Declaration
public Controls Controls { get; }
Property Value
Type Description
Controls
| Edit this page View Source

DebugLogLevel

Declaration
public int DebugLogLevel { get; set; }
Property Value
Type Description
int
| Edit this page View Source

ElementType

The element type as per MTA's specifications. Multiple C# types can share the same MTA element type.

Declaration
public override ElementType ElementType { get; }
Property Value
Type Description
ElementType
Overrides
Ped.ElementType
| Edit this page View Source

ExternalMoneyLock

This object can be used in a lock statement to ensure thread-safety when handling money

Declaration
public object ExternalMoneyLock { get; }
Property Value
Type Description
object
| Edit this page View Source

HasContact

Declaration
public bool HasContact { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsChatMuted

Declaration
public bool IsChatMuted { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsChoking

Declaration
public bool IsChoking { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsDucked

Declaration
public bool IsDucked { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsMapForced

Declaration
public bool IsMapForced { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsNametagShowing

Declaration
public bool IsNametagShowing { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsOnGround

Declaration
public bool IsOnGround { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsStealthAiming

Declaration
public bool IsStealthAiming { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsSyncingVelocity

Declaration
public bool IsSyncingVelocity { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsVoiceMuted

Declaration
public bool IsVoiceMuted { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Money

Declaration
public int Money { get; set; }
Property Value
Type Description
int
| Edit this page View Source

NametagColor

Declaration
public Color? NametagColor { get; set; }
Property Value
Type Description
Color?
| Edit this page View Source

NametagText

Declaration
public string NametagText { get; set; }
Property Value
Type Description
string
| Edit this page View Source

PendingScreenshots

Declaration
public Dictionary<int, PlayerPendingScreenshot> PendingScreenshots { get; }
Property Value
Type Description
Dictionary<int, PlayerPendingScreenshot>
| Edit this page View Source

SyncingPeds

Declaration
public List<Ped> SyncingPeds { get; set; }
Property Value
Type Description
List<Ped>
| Edit this page View Source

SyncingVehicles

Declaration
public List<Vehicle> SyncingVehicles { get; set; }
Property Value
Type Description
List<Vehicle>
| Edit this page View Source

Team

Declaration
public Team? Team { get; set; }
Property Value
Type Description
Team
| Edit this page View Source

WantedLevel

Declaration
public byte WantedLevel { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

WearsGoggles

Declaration
public bool WearsGoggles { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

AssociateElement<T>(T)

Associates an element with the player. Meaning the element will be created for the player and changes to the element will be relayed to the player.

Declaration
public T AssociateElement<T>(T element) where T : Element
Parameters
Type Name Description
T element
Returns
Type Description
T

Returns the element, allowing for method chaining

Type Parameters
Name Description
T
| Edit this page View Source

AssociateWith(MtaServer)

Declaration
public Player AssociateWith(MtaServer server)
Parameters
Type Name Description
MtaServer server
Returns
Type Description
Player
| Edit this page View Source

CreateBlipFor(BlipIcon, ushort, short, byte, Color?)

Declaration
public Blip CreateBlipFor(BlipIcon icon, ushort visibleDistance = 16000, short ordering = 0, byte size = 2, Color? color = null)
Parameters
Type Name Description
BlipIcon icon
ushort visibleDistance
short ordering
byte size
Color? color
Returns
Type Description
Blip
| Edit this page View Source

IsSubscribedTo(Element)

Declaration
public bool IsSubscribedTo(Element element)
Parameters
Type Name Description
Element element
Returns
Type Description
bool
| Edit this page View Source

Kick(PlayerDisconnectType, Element?)

Declaration
public void Kick(PlayerDisconnectType type = PlayerDisconnectType.CUSTOM, Element? responsibleElement = null)
Parameters
Type Name Description
PlayerDisconnectType type
Element responsibleElement
| Edit this page View Source

Kick(string, PlayerDisconnectType, Element?)

Declaration
public void Kick(string reason, PlayerDisconnectType type = PlayerDisconnectType.CUSTOM, Element? responsibleElement = null)
Parameters
Type Name Description
string reason
PlayerDisconnectType type
Element responsibleElement
| Edit this page View Source

Kill(Element?, DamageType, BodyPart, ulong, ulong)

Declaration
public override void Kill(Element? damager, DamageType damageType, BodyPart bodyPart, ulong animationGroup = 0, ulong animationId = 15)
Parameters
Type Name Description
Element damager
DamageType damageType
BodyPart bodyPart
ulong animationGroup
ulong animationId
Overrides
Ped.Kill(Element?, DamageType, BodyPart, ulong, ulong)
| Edit this page View Source

PlaySound(byte)

Declaration
public void PlaySound(byte sound)
Parameters
Type Name Description
byte sound
| Edit this page View Source

RedirectTo(IPAddress, ushort, string?)

Declaration
public void RedirectTo(IPAddress server, ushort port, string? password = null)
Parameters
Type Name Description
IPAddress server
ushort port
string password
| Edit this page View Source

RemoveBind(string, KeyState)

Declaration
public void RemoveBind(string key, KeyState keyState = KeyState.Down)
Parameters
Type Name Description
string key
KeyState keyState
| Edit this page View Source

RemoveElement(Element)

Removes an element from being associated with the player, meaning the element will no longer be sync'd to the player

Declaration
public void RemoveElement(Element element)
Parameters
Type Name Description
Element element
| Edit this page View Source

ResendModPackets()

Declaration
public void ResendModPackets()
| Edit this page View Source

ResendPlayerACInfo()

Declaration
public void ResendPlayerACInfo()
| Edit this page View Source

ScreenshotEnd(int)

Declaration
public void ScreenshotEnd(int screenshotId)
Parameters
Type Name Description
int screenshotId
| Edit this page View Source

SetBind(Controls, KeyState)

Declaration
public void SetBind(KeyConstants.Controls control, KeyState keyState)
Parameters
Type Name Description
KeyConstants.Controls control
KeyState keyState
| Edit this page View Source

SetBind(Keys, KeyState)

Declaration
public void SetBind(KeyConstants.Keys key, KeyState keyState)
Parameters
Type Name Description
KeyConstants.Keys key
KeyState keyState
| Edit this page View Source

SetBind(string, KeyState)

Declaration
public void SetBind(string key, KeyState keyState = KeyState.Down)
Parameters
Type Name Description
string key
KeyState keyState
| Edit this page View Source

SetFpsLimit(ushort)

Declaration
public void SetFpsLimit(ushort limit)
Parameters
Type Name Description
ushort limit
| Edit this page View Source

SetMoney(int, bool)

Declaration
public void SetMoney(int money, bool instant = false)
Parameters
Type Name Description
int money
bool instant
| Edit this page View Source

SetTransferBoxVisible(bool)

Declaration
public void SetTransferBoxVisible(bool isVisible)
Parameters
Type Name Description
bool isVisible
| Edit this page View Source

ShowHudComponent(HudComponent, bool)

Declaration
public void ShowHudComponent(HudComponent hudComponent, bool isVisible)
Parameters
Type Name Description
HudComponent hudComponent
bool isVisible
| Edit this page View Source

Spawn(Vector3, float, ushort, byte, ushort, Team?)

Declaration
public void Spawn(Vector3 position, float rotation, ushort model, byte interior, ushort dimension, Team? team = null)
Parameters
Type Name Description
Vector3 position
float rotation
ushort model
byte interior
ushort dimension
Team team
| Edit this page View Source

SubscribeTo(Element)

Declaration
public void SubscribeTo(Element element)
Parameters
Type Name Description
Element element
| Edit this page View Source

TakeScreenshot(ushort, ushort, string, byte, uint, ushort)

Declaration
public void TakeScreenshot(ushort width, ushort height, string tag = "", byte quality = 30, uint maxBandwith = 5000, ushort maxPacketSize = 500)
Parameters
Type Name Description
ushort width
ushort height
string tag
byte quality
uint maxBandwith
ushort maxPacketSize
| Edit this page View Source

TriggerBoundKey(BindType, KeyState, string)

Declaration
public void TriggerBoundKey(BindType bindType, KeyState keyState, string key)
Parameters
Type Name Description
BindType bindType
KeyState keyState
string key
| Edit this page View Source

TriggerCommand(string, string[])

Declaration
public void TriggerCommand(string command, string[] arguments)
Parameters
Type Name Description
string command
string[] arguments
| Edit this page View Source

TriggerCursorClicked(CursorButton, bool, Point, Vector3, Element?)

Declaration
public void TriggerCursorClicked(CursorButton button, bool isDown, Point position, Vector3 worldPosition, Element? element)
Parameters
Type Name Description
CursorButton button
bool isDown
Point position
Vector3 worldPosition
Element element
| Edit this page View Source

TriggerDamaged(Element?, DamageType, BodyPart, float)

Declaration
public void TriggerDamaged(Element? damager, DamageType damageType, BodyPart bodyPart, float loss)
Parameters
Type Name Description
Element damager
DamageType damageType
BodyPart bodyPart
float loss
| Edit this page View Source

TriggerDisconnected(QuitReason)

Declaration
public void TriggerDisconnected(QuitReason reason)
Parameters
Type Name Description
QuitReason reason
| Edit this page View Source

TriggerJoined()

Declaration
public void TriggerJoined()
| Edit this page View Source

TriggerLuaEvent(string, Element?, params LuaValue[])

Declaration
public void TriggerLuaEvent(string name, Element? source = null, params LuaValue[] parameters)
Parameters
Type Name Description
string name
Element source
LuaValue[] parameters
| Edit this page View Source

TriggerNetworkStatus(PlayerNetworkStatusType, uint)

Declaration
public void TriggerNetworkStatus(PlayerNetworkStatusType networkStatusType, uint ticks)
Parameters
Type Name Description
PlayerNetworkStatusType networkStatusType
uint ticks
| Edit this page View Source

TriggerPlayerACInfo(IEnumerable<byte>, uint, string, string)

Declaration
public void TriggerPlayerACInfo(IEnumerable<byte> detectedACList, uint d3d9Size, string d3d9MD5, string D3d9SHA256)
Parameters
Type Name Description
IEnumerable<byte> detectedACList
uint d3d9Size
string d3d9MD5
string D3d9SHA256
| Edit this page View Source

TriggerPlayerDiagnosticInfo(uint, string)

Declaration
public void TriggerPlayerDiagnosticInfo(uint level, string message)
Parameters
Type Name Description
uint level
string message
| Edit this page View Source

TriggerPlayerModInfo(string, IEnumerable<ModInfoItem>)

Declaration
public void TriggerPlayerModInfo(string infoType, IEnumerable<ModInfoItem> modInfoItems)
Parameters
Type Name Description
string infoType
IEnumerable<ModInfoItem> modInfoItems
| Edit this page View Source

TriggerResourceStarted(ushort)

Declaration
public void TriggerResourceStarted(ushort netId)
Parameters
Type Name Description
ushort netId
| Edit this page View Source

TriggerSync()

Declaration
public void TriggerSync()
| Edit this page View Source

UnsubscribeFrom(Element)

Declaration
public void UnsubscribeFrom(Element element)
Parameters
Type Name Description
Element element
| Edit this page View Source

VoiceDataEnd()

Declaration
public void VoiceDataEnd()
| Edit this page View Source

VoiceDataStart(byte[])

Declaration
public void VoiceDataStart(byte[] voiceData)
Parameters
Type Name Description
byte[] voiceData

Events

| Edit this page View Source

AcInfoReceived

Declaration
public event ElementEventHandler<Player, PlayerACInfoArgs>? AcInfoReceived
Event Type
Type Description
ElementEventHandler<Player, PlayerACInfoArgs>
| Edit this page View Source

BindExecuted

Declaration
public event ElementEventHandler<Player, PlayerBindExecutedEventArgs>? BindExecuted
Event Type
Type Description
ElementEventHandler<Player, PlayerBindExecutedEventArgs>
| Edit this page View Source

CommandEntered

Declaration
public event ElementEventHandler<Player, PlayerCommandEventArgs>? CommandEntered
Event Type
Type Description
ElementEventHandler<Player, PlayerCommandEventArgs>
| Edit this page View Source

ContactElementChanged

Declaration
public event ElementChangedEventHandler<Player, Element?>? ContactElementChanged
Event Type
Type Description
ElementChangedEventHandler<Player, Element>
| Edit this page View Source

CursorClicked

Declaration
public event ElementEventHandler<Player, PlayerCursorClickedEventArgs>? CursorClicked
Event Type
Type Description
ElementEventHandler<Player, PlayerCursorClickedEventArgs>
| Edit this page View Source

Damaged

Declaration
public event ElementEventHandler<Player, PlayerDamagedEventArgs>? Damaged
Event Type
Type Description
ElementEventHandler<Player, PlayerDamagedEventArgs>
| Edit this page View Source

DiagnosticInfoReceived

Declaration
public event ElementEventHandler<Player, PlayerDiagnosticInfo>? DiagnosticInfoReceived
Event Type
Type Description
ElementEventHandler<Player, PlayerDiagnosticInfo>
| Edit this page View Source

Disconnected

Declaration
public event ElementEventHandler<Player, PlayerQuitEventArgs>? Disconnected
Event Type
Type Description
ElementEventHandler<Player, PlayerQuitEventArgs>
| Edit this page View Source

IsChatMutedChanged

Declaration
public event ElementChangedEventHandler<Player, bool>? IsChatMutedChanged
Event Type
Type Description
ElementChangedEventHandler<Player, bool>
| Edit this page View Source

IsNametagShowingChanged

Declaration
public event ElementChangedEventHandler<Player, bool>? IsNametagShowingChanged
Event Type
Type Description
ElementChangedEventHandler<Player, bool>
| Edit this page View Source

Joined

Declaration
public event ElementEventHandler<Player, EventArgs>? Joined
Event Type
Type Description
ElementEventHandler<Player, EventArgs>
| Edit this page View Source

KeyBound

Declaration
public event ElementEventHandler<Player, PlayerBindKeyArgs>? KeyBound
Event Type
Type Description
ElementEventHandler<Player, PlayerBindKeyArgs>
| Edit this page View Source

KeyUnbound

Declaration
public event ElementEventHandler<Player, PlayerBindKeyArgs>? KeyUnbound
Event Type
Type Description
ElementEventHandler<Player, PlayerBindKeyArgs>
| Edit this page View Source

Kicked

Declaration
public event ElementEventHandler<Player, PlayerKickEventArgs>? Kicked
Event Type
Type Description
ElementEventHandler<Player, PlayerKickEventArgs>
| Edit this page View Source

ModInfoReceived

Declaration
public event ElementEventHandler<Player, PlayerModInfoArgs>? ModInfoReceived
Event Type
Type Description
ElementEventHandler<Player, PlayerModInfoArgs>
| Edit this page View Source

MoneyChanged

Declaration
public event ElementEventHandler<Player, PlayerMoneyChangedEventArgs>? MoneyChanged
Event Type
Type Description
ElementEventHandler<Player, PlayerMoneyChangedEventArgs>
| Edit this page View Source

NametagColorChanged

Declaration
public event ElementChangedEventHandler<Player, Color?>? NametagColorChanged
Event Type
Type Description
ElementChangedEventHandler<Player, Color?>
| Edit this page View Source

NametagTextChanged

Declaration
public event ElementChangedEventHandler<Player, string>? NametagTextChanged
Event Type
Type Description
ElementChangedEventHandler<Player, string>
| Edit this page View Source

NetworkStatusReceived

Declaration
public event ElementEventHandler<Player, PlayerNetworkStatusArgs>? NetworkStatusReceived
Event Type
Type Description
ElementEventHandler<Player, PlayerNetworkStatusArgs>
| Edit this page View Source

PureSynced

Declaration
public event ElementEventHandler<Player, EventArgs>? PureSynced
Event Type
Type Description
ElementEventHandler<Player, EventArgs>
| Edit this page View Source

ResourceStarted

Declaration
public event ElementEventHandler<Player, PlayerResourceStartedEventArgs>? ResourceStarted
Event Type
Type Description
ElementEventHandler<Player, PlayerResourceStartedEventArgs>
| Edit this page View Source

ScreenshotTaken

Declaration
public event ElementEventHandler<Player, ScreenshotEventArgs>? ScreenshotTaken
Event Type
Type Description
ElementEventHandler<Player, ScreenshotEventArgs>
| Edit this page View Source

Spawned

Declaration
public event ElementEventHandler<Player, PlayerSpawnedEventArgs>? Spawned
Event Type
Type Description
ElementEventHandler<Player, PlayerSpawnedEventArgs>
| Edit this page View Source

Subscribed

Declaration
public event ElementEventHandler<Player, PlayerSubscriptionEventArgs>? Subscribed
Event Type
Type Description
ElementEventHandler<Player, PlayerSubscriptionEventArgs>
| Edit this page View Source

TeamChanged

Declaration
public event ElementEventHandler<Player, PlayerTeamChangedArgs>? TeamChanged
Event Type
Type Description
ElementEventHandler<Player, PlayerTeamChangedArgs>
| Edit this page View Source

UnSubscribed

Declaration
public event ElementEventHandler<Player, PlayerSubscriptionEventArgs>? UnSubscribed
Event Type
Type Description
ElementEventHandler<Player, PlayerSubscriptionEventArgs>
| Edit this page View Source

VoiceDataEnded

Declaration
public event ElementEventHandler<Player, PlayerVoiceEndArgs>? VoiceDataEnded
Event Type
Type Description
ElementEventHandler<Player, PlayerVoiceEndArgs>
| Edit this page View Source

VoiceDataReceived

Declaration
public event ElementEventHandler<Player, PlayerVoiceStartArgs>? VoiceDataReceived
Event Type
Type Description
ElementEventHandler<Player, PlayerVoiceStartArgs>
| Edit this page View Source

WantedLevelChanged

Declaration
public event ElementChangedEventHandler<Player, byte>? WantedLevelChanged
Event Type
Type Description
ElementChangedEventHandler<Player, byte>

Extension Methods

ElementPropertyRelayingExtensions.AddRelayers(Element)
ElementPropertyRelayingExtensions.RelayChange(Element, Packet)
PedPropertyRelayingExtensions.AddPedRelayers(Ped)
PlayerPropertyRelayingExtensions.AddPlayerRelayers(Player)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX