quakeball/Assets/Scripts/Net/Packets/PlayerUpdatePckt.cs
2020-08-07 03:48:07 +03:00

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) {
}
}
}