Lots of sh*t
API cleanup Complete deluxo transformation sync blahblahblah
This commit is contained in:
@ -8,7 +8,7 @@ using GTA.Math;
|
||||
|
||||
namespace RageCoop.Client
|
||||
{
|
||||
public abstract class SyncedEntity
|
||||
internal abstract class SyncedEntity
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
@ -14,7 +14,7 @@ namespace RageCoop.Client
|
||||
/// <summary>
|
||||
/// ?
|
||||
/// </summary>
|
||||
public partial class SyncedPed:SyncedEntity
|
||||
internal class SyncedPed:SyncedEntity
|
||||
{
|
||||
#region CONSTRUCTORS
|
||||
|
||||
|
@ -11,7 +11,7 @@ using RageCoop.Core;
|
||||
|
||||
namespace RageCoop.Client
|
||||
{
|
||||
public class SyncedVehicle : SyncedEntity
|
||||
internal class SyncedVehicle : SyncedEntity
|
||||
{
|
||||
|
||||
#region -- CONSTRUCTORS --
|
||||
@ -89,7 +89,7 @@ namespace RageCoop.Client
|
||||
/// VehicleSeat,PedID
|
||||
/// </summary>
|
||||
public Dictionary<VehicleSeat, SyncedPed> Passengers { get; set; }
|
||||
|
||||
public float DeluxoWingRatio { get; set; } = -1;
|
||||
private long _lastPositionCalibrated { get; set; }
|
||||
|
||||
#endregion
|
||||
@ -148,9 +148,11 @@ namespace RageCoop.Client
|
||||
MainVehicle.Rotation = Rotation;
|
||||
MainVehicle.RotationVelocity = RotationVelocity;
|
||||
}
|
||||
_vehicleStopTime = Util.GetTickCount64();
|
||||
if (DeluxoWingRatio!=-1)
|
||||
{
|
||||
MainVehicle.SetDeluxoWingRatio(DeluxoWingRatio);
|
||||
}
|
||||
#endregion
|
||||
|
||||
if (LastStateSynced>LastUpdated)
|
||||
{
|
||||
#region -- SYNC STATE --
|
||||
|
Reference in New Issue
Block a user