Show / Hide Table of Contents

    Class UpdateOtherPlayerTransform_6

    The packet that tells the client the player position and rotation of other players

    Inheritance
    System.Object
    Packet
    UpdateOtherPlayerTransform_6
    Inherited Members
    Packet.packetId
    Packet.packetName
    Packet.packetTarget
    Packet.packetReliabilityScheme
    Packet.packetDescription
    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(6, "Update Other Transform", "Client", ReliabilityScheme.UNRELIABLE, "Updates other client player transform")]
    public class UpdateOtherPlayerTransform_6 : Packet

    Fields

    angularSpeed

    The rotation speed

    Declaration
    public float angularSpeed
    Field Value
    Type Description
    System.Single

    instantUpdate

    If the update is instant

    Declaration
    public bool instantUpdate
    Field Value
    Type Description
    System.Boolean

    movementSpeed

    The movement speed

    Declaration
    public float movementSpeed
    Field Value
    Type Description
    System.Single

    rotationW

    The rotation w axis

    Declaration
    public float rotationW
    Field Value
    Type Description
    System.Single

    rotationX

    The rotation x axis

    Declaration
    public float rotationX
    Field Value
    Type Description
    System.Single

    rotationY

    The rotation y axis

    Declaration
    public float rotationY
    Field Value
    Type Description
    System.Single

    rotationZ

    The rotation z axis

    Declaration
    public float rotationZ
    Field Value
    Type Description
    System.Single

    uniqueId

    Unique id of the player

    Declaration
    public int uniqueId
    Field Value
    Type Description
    System.Int32

    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
    Packet.getBytes()

    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

    Overrides
    Packet.readPacket(Byte[])
    Back to top Elavad Documentation