Class WalkRequest_5
The login request to the server packet
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Engine.Networking
Assembly: Engine.Networking.dll
Syntax
[Serializable]
[Packet(5, "Walk Request", "Server", ReliabilityScheme.RELIABLE, "Walk request to the server.")]
public class WalkRequest_5 : Packet
Fields
x
The x coordinate
Declaration
public float x
Field Value
| Type | Description |
|---|---|
| System.Single |
y
The y coordinate
Declaration
public float y
Field Value
| Type | Description |
|---|---|
| System.Single |
z
The z coordinate
Declaration
public float z
Field Value
| Type | Description |
|---|---|
| System.Single |
Methods
getBytes()
Converts the packet value types to a byte array
Declaration
public override byte[] getBytes()
Returns
| Type | Description |
|---|---|
| System.Byte[] |
Overrides
readPacket(Byte[])
Reads the byte array into the packet value types
Declaration
public override void readPacket(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes | The packet bytes to read |