public TankData(long ownerId, Tank tank) { OwnerId = ownerId; ServerId = (int)tank.ServerId; Transform = tank.GetTransform(); WorldTransform = tank.WorldTransform; Velocity = tank.GetVelocity(); WorldVelocity = tank.WorldVelocity; TurretTransform = tank.Turret.GetTransform(); TurretWorldTransform = tank.Turret.GetWorldTransform(); GunFiredTime = tank.GunFiredTime; }