Show / Hide Table of Contents

Class SetAmmoCountRpcPacket

Inheritance
object
Packet
SetAmmoCountRpcPacket
Inherited Members
Packet.Reset()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Packets.Definitions.Lua.ElementRpc.Ped
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class SetAmmoCountRpcPacket : Packet

Constructors

| Edit this page View Source

SetAmmoCountRpcPacket(ElementId, byte, ushort, ushort?)

Declaration
public SetAmmoCountRpcPacket(ElementId elementId, byte weaponType, ushort ammo, ushort? ammoInClip)
Parameters
Type Name Description
ElementId elementId
byte weaponType
ushort ammo
ushort? ammoInClip

Properties

| Edit this page View Source

Ammo

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

AmmoInClip

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

ElementId

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

PacketId

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

Priority

Declaration
public override PacketPriority Priority { get; }
Property Value
Type Description
PacketPriority
Overrides
Packet.Priority
| Edit this page View Source

Reliability

Declaration
public override PacketReliability Reliability { get; }
Property Value
Type Description
PacketReliability
Overrides
Packet.Reliability
| Edit this page View Source

WeaponType

Declaration
public byte WeaponType { get; }
Property Value
Type Description
byte

Methods

| Edit this page View Source

Read(byte[])

Declaration
public override void Read(byte[] bytes)
Parameters
Type Name Description
byte[] bytes
Overrides
Packet.Read(byte[])
| Edit this page View Source

Write()

Declaration
public override byte[] Write()
Returns
Type Description
byte[]
Overrides
Packet.Write()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX