3using System.Threading.Tasks;
107 Task<bool>
SetPort(ushort newPort, CancellationToken cancellatonToken);
Parameters for a topic request.
Represents the result of trying to start a DD process.
Provides absolute paths to the latest compiled .dmbs.
Handler for an instance being renamed.
Handles communication with a DreamDaemon IProcess.
Task Release()
Releases the IProcess without terminating it. Also calls IDisposable.Dispose.
void EnableCustomChatCommands()
Enables the reading of custom chat commands from the ISessionController.
Task< bool > SetRebootState(RebootState newRebootState, CancellationToken cancellationToken)
Attempts to change the current RebootState to newRebootState .
Task OnPrime
A Task that completes when the server calls /world/TgsInitializationComplete().
bool DMApiAvailable
If the DMAPI may be used this session.
Task RebootGate
A Task that must complete before a TgsReboot() bridge request can complete.
void ResetRebootState()
Changes RebootState to RebootState.Normal without telling the DMAPI.
Task OnReboot
A Task that completes when the server calls /world/TgsReboot().
Task< bool > SetPort(ushort newPort, CancellationToken cancellatonToken)
Causes the world to start listening on a newPort .
bool ProcessingRebootBridgeRequest
If the ISessionController is currently processing a bridge request from TgsReboot().
Task OnStartup
A Task that completes when the server calls /world/TgsNew().
bool TerminationWasRequested
If the DreamDaemon instance sent a.
bool ClosePortOnReboot
If the port should be rotated off when the world reboots.
IDisposable ReplaceDmbProvider(IDmbProvider newProvider)
Replace the IDmbProvider in use with a given newProvider , disposing the old one.
Task< TopicResponse > SendCommand(TopicParameters parameters, CancellationToken cancellationToken)
Sends a command to DreamDaemon through /world/Topic().
Version DMApiVersion
The DMAPI Version.
Represents process lifetime.
RebootState
Represents the action to take when /world/Reboot() is called.
ApiValidationStatus
Status of DMAPI validation.