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
Mostrar archivo Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
ID short
State FSO.SimAntics.Model.TSOPlatform.VMAsyncState

Public Methods

Method 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 method

public Deserialize ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

Execute() public method

public Execute ( VM vm ) : bool
vm VM
return bool

SerializeInto() public method

public SerializeInto ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

VMNetAsyncResponseCmd() public method

public VMNetAsyncResponseCmd ( ) : System
return System

VMNetAsyncResponseCmd() public method

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

Property Details

ID public_oe property

public short ID
return short

State public_oe property

public VMAsyncState,FSO.SimAntics.Model.TSOPlatform State
return FSO.SimAntics.Model.TSOPlatform.VMAsyncState