Class SetAmmoCountRpcPacket
Inheritance
SetAmmoCountRpcPacket
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
Properties
|
Edit this page
View Source
Ammo
Declaration
public ushort Ammo { get; }
Property Value
|
Edit this page
View Source
AmmoInClip
Declaration
public ushort? AmmoInClip { get; }
Property Value
|
Edit this page
View Source
ElementId
Declaration
public ElementId ElementId { get; }
Property Value
|
Edit this page
View Source
PacketId
Declaration
public override PacketId PacketId { get; }
Property Value
Overrides
|
Edit this page
View Source
Priority
Declaration
public override PacketPriority Priority { get; }
Property Value
Overrides
|
Edit this page
View Source
Reliability
Declaration
public override PacketReliability Reliability { get; }
Property Value
Overrides
|
Edit this page
View Source
WeaponType
Declaration
public byte WeaponType { get; }
Property Value
Methods
|
Edit this page
View Source
Read(byte[])
Declaration
public override void Read(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Overrides
|
Edit this page
View Source
Write()
Declaration
public override byte[] Write()
Returns
Overrides