2020-08-07 03:46:09 +02:00
|
|
|
|
using UnityEngine;
|
2020-08-07 20:24:43 +02:00
|
|
|
|
using NeonTea.Quakeball.Players;
|
2020-08-07 03:46:09 +02:00
|
|
|
|
|
2020-08-07 20:20:13 +02:00
|
|
|
|
namespace NeonTea.Quakeball.Networking {
|
2020-08-07 03:46:09 +02:00
|
|
|
|
public class NetPlayer {
|
|
|
|
|
public ulong Id;
|
2020-08-07 21:07:58 +02:00
|
|
|
|
public Player Controlled;
|
2020-08-08 00:21:02 +02:00
|
|
|
|
public bool Unsynced = false;
|
2020-08-08 02:35:19 +02:00
|
|
|
|
public float Ping = 0;
|
2020-08-07 03:46:09 +02:00
|
|
|
|
|
2020-08-07 21:07:58 +02:00
|
|
|
|
public NetPlayer(ulong id, Player obj = null) {
|
2020-08-07 03:46:09 +02:00
|
|
|
|
Id = id;
|
|
|
|
|
Controlled = obj;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|