Show / Hide Table of Contents

Class GiveWeaponRpcPacket

Inheritance
object
Packet
GiveWeaponRpcPacket
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 GiveWeaponRpcPacket : Packet

Constructors

| Edit this page View Source

GiveWeaponRpcPacket(ElementId, byte, ushort, bool)

Declaration
public GiveWeaponRpcPacket(ElementId elementId, byte weaponType, ushort ammo, bool setAsCurrent)
Parameters
Type Name Description
ElementId elementId
byte weaponType
ushort ammo
bool setAsCurrent

Properties

| Edit this page View Source

Ammo

Declaration
public ushort Ammo { 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

SetAsCurrent

Declaration
public bool SetAsCurrent { get; }
Property Value
Type Description
bool
| 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