30 lines
764 B
C#
30 lines
764 B
C#
using UnityEngine;
|
|
using NeonTea.Quakeball.TeaNet.Packets;
|
|
|
|
namespace NeonTea.Quakeball.Net.Packets {
|
|
public class PlayerUpdatePckt : Packet {
|
|
|
|
public Vector3 MoveDirection;
|
|
public byte MoveStyle;
|
|
public bool Jumping;
|
|
public float Pitch;
|
|
public float Yaw;
|
|
|
|
public PlayerUpdatePckt() { }
|
|
|
|
public PlayerUpdatePckt(Vector3 moveDirection, byte moveStyle, bool jumping, float pitch, float yaw) {
|
|
MoveDirection = moveDirection;
|
|
MoveStyle = moveStyle;
|
|
Jumping = jumping;
|
|
Pitch = pitch;
|
|
Yaw = yaw;
|
|
}
|
|
|
|
public override void Read(ByteBuffer buffer) {
|
|
}
|
|
|
|
public override void Write(ByteBuffer buffer) {
|
|
}
|
|
}
|
|
}
|