C# Class FSO.SimAntics.NetPlay.Model.Commands.VMNetAsyncResponseCmd

For asynchronous events, such as transactions, inventory access and plugins. Updates the state for a thread waiting on an asynchronous response, usually waking it up. CANNOT be sent by clients. Must be sent to server. The intention is for the async state updates being sent to the SimAntics VM are run at the same time on both the client and server VMs.
Inheritance: FSO.SimAntics.NetPlay.Model.VMNetCommandBodyAbstract
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
ID short
State FSO.SimAntics.Model.TSOPlatform.VMAsyncState

Méthodes publiques

Méthode Description
Deserialize ( BinaryReader reader ) : void
Execute ( VM vm ) : bool
SerializeInto ( BinaryWriter writer ) : void
VMNetAsyncResponseCmd ( ) : System
VMNetAsyncResponseCmd ( short id, VMAsyncState state ) : System

Method Details

Deserialize() public méthode

public Deserialize ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void

Execute() public méthode

public Execute ( VM vm ) : bool
vm VM
Résultat bool

SerializeInto() public méthode

public SerializeInto ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void

VMNetAsyncResponseCmd() public méthode

public VMNetAsyncResponseCmd ( ) : System
Résultat System

VMNetAsyncResponseCmd() public méthode

public VMNetAsyncResponseCmd ( short id, VMAsyncState state ) : System
id short
state FSO.SimAntics.Model.TSOPlatform.VMAsyncState
Résultat System

Property Details

ID public_oe property

public short ID
Résultat short

State public_oe property

public VMAsyncState,FSO.SimAntics.Model.TSOPlatform State
Résultat FSO.SimAntics.Model.TSOPlatform.VMAsyncState