Show / Hide Table of Contents

Class SetPickupTypeRpcPacket

Inheritance
object
Packet
SetPickupTypeRpcPacket
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.Pickups
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class SetPickupTypeRpcPacket : Packet

Constructors

| Edit this page View Source

SetPickupTypeRpcPacket(ElementId, byte, ushort)

Declaration
public SetPickupTypeRpcPacket(ElementId elementId, byte weaponId, ushort ammo)
Parameters
Type Name Description
ElementId elementId
byte weaponId
ushort ammo
| Edit this page View Source

SetPickupTypeRpcPacket(ElementId, ushort)

Declaration
public SetPickupTypeRpcPacket(ElementId elementId, ushort model)
Parameters
Type Name Description
ElementId elementId
ushort model

Properties

| Edit this page View Source

Ammo

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

Armor

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

ElementId

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

Health

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

Model

Declaration
public ushort? Model { get; }
Property Value
Type Description
ushort?
| 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

WeaponId

Declaration
public byte? WeaponId { get; set; }
Property Value
Type Description
byte?

Methods

| Edit this page View Source

CreateArmor(ElementId, float)

Declaration
public static SetPickupTypeRpcPacket CreateArmor(ElementId elementId, float armor)
Parameters
Type Name Description
ElementId elementId
float armor
Returns
Type Description
SetPickupTypeRpcPacket
| Edit this page View Source

CreateHealth(ElementId, float)

Declaration
public static SetPickupTypeRpcPacket CreateHealth(ElementId elementId, float health)
Parameters
Type Name Description
ElementId elementId
float health
Returns
Type Description
SetPickupTypeRpcPacket
| 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