Players disconnect

This commit is contained in:
brausjonas
2022-05-13 16:51:55 +02:00
parent fb04675716
commit a36cf65f6d
4 changed files with 44 additions and 15 deletions
@@ -235,14 +235,16 @@ public class Player : MonoBehaviour
public class PlayerUpdateData
{
public PlayerUpdateData(byte id, Vector3 position)
public PlayerUpdateData(byte id, Vector3 position, bool destroy)
{
this.id = id;
this.position = position;
this.destroy = destroy;
}
public byte id;
public Vector3 position;
public bool destroy;
}
}