Show / Hide Table of Contents

Class TextItemPacket

Inheritance
object
Packet
TextItemPacket
Inherited Members
Packet.Reset()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Packets.DefinitionsTextITems
Assembly: SlipeServer.Packets.dll
Syntax
public sealed class TextItemPacket : Packet

Constructors

| Edit this page View Source

TextItemPacket(ulong)

Declaration
public TextItemPacket(ulong id)
Parameters
Type Name Description
ulong id
| Edit this page View Source

TextItemPacket(ulong, Vector2, string, float, Color?, byte, byte)

Declaration
public TextItemPacket(ulong id, Vector2 position, string text, float scale = 1, Color? color = null, byte format = 0, byte shadowAlpha = 255)
Parameters
Type Name Description
ulong id
Vector2 position
string text
float scale
Color? color
byte format
byte shadowAlpha

Properties

| Edit this page View Source

Color

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

Format

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

Id

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

IsDelete

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

Position

Declaration
public Vector2 Position { get; set; }
Property Value
Type Description
Vector2
| 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

Scale

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

ShadowAlpha

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

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
string

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