Пример #1
0
 internal UnoccupiedVehicleInterpolator(int gameHandle, int netHandle)
 {
     GameHandle = gameHandle;
     NetHandle  = netHandle;
     _entity    = new Vehicle(gameHandle);
     _prop      = Main.NetEntityHandler.NetToStreamedItem(netHandle) as RemoteVehicle;
 }
Пример #2
0
 internal bool IsSyncing(RemoteVehicle veh)
 {
     lock (SyncedVehicles)
     {
         return(SyncedVehicles.Contains(veh));
     }
 }