C# Class SkylinesMultiplayer.VehicleNetworkManager

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Fr0sZ/Skylines-Multiplayer Class Usage Examples

Public Properties

Property Type Description
m_fakeCars List>.Dictionary
m_fakeCarsCurrentPool NetworkCarObject>.Dictionary
m_fakeCarsPoolAvailable List
m_fakeCarsPoolInUse List

Public Methods

Method Description
RemoveCar ( int carID ) : void
ServerSendCarPositions ( ) : void
Start ( ) : void
UpdateCarsPositions ( NetIncomingMessage msg ) : void

Method Details

RemoveCar() public method

public RemoveCar ( int carID ) : void
carID int
return void

ServerSendCarPositions() public method

public ServerSendCarPositions ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateCarsPositions() public method

public UpdateCarsPositions ( NetIncomingMessage msg ) : void
msg Lidgren.Network.NetIncomingMessage
return void

Property Details

m_fakeCars public property

public Dictionary> m_fakeCars
return List>.Dictionary

m_fakeCarsCurrentPool public property

public Dictionary m_fakeCarsCurrentPool
return NetworkCarObject>.Dictionary

m_fakeCarsPoolAvailable public property

public List m_fakeCarsPoolAvailable
return List

m_fakeCarsPoolInUse public property

public List m_fakeCarsPoolInUse
return List