Show / Hide Table of Contents

Class WeaponReaderExtensions

Inheritance
object
WeaponReaderExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Packets.Reader
Assembly: SlipeServer.Packets.dll
Syntax
public static class WeaponReaderExtensions

Methods

| Edit this page View Source

GetAmmo(PacketReader)

Declaration
public static ushort GetAmmo(this PacketReader reader)
Parameters
Type Name Description
PacketReader reader
Returns
Type Description
ushort
| Edit this page View Source

GetAmmoTuple(PacketReader, bool)

Declaration
public static Tuple<ushort, ushort> GetAmmoTuple(this PacketReader reader, bool ammoInClip = false)
Parameters
Type Name Description
PacketReader reader
bool ammoInClip
Returns
Type Description
Tuple<ushort, ushort>
| Edit this page View Source

GetWeaponSlot(PacketReader)

Declaration
public static byte GetWeaponSlot(this PacketReader reader)
Parameters
Type Name Description
PacketReader reader
Returns
Type Description
byte
| Edit this page View Source

GetWeaponType(PacketReader)

Declaration
public static byte GetWeaponType(this PacketReader reader)
Parameters
Type Name Description
PacketReader reader
Returns
Type Description
byte
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX