Class BaseSatellite

Base class for the satellite actor. Extend your satellite actor from this class.

Call Init(SatelliteReceiver) to initialize the actor.

Inheritance

System.Object
BaseSatellite
Namespace: STREAMSIX.Actor.Satellite
Assembly: cs.temp.dll.dll

Syntax

public abstract class BaseSatellite : RMBActor

Fields

SourceApplication

Name of this application. Usually this is name of the game's actor. Add a suffix to indicate this is mothership.

Declaration

public string SourceApplication

Field Value

TypeDescription
System.String

SourceVersion

Version of this application.

Declaration

public string SourceVersion

Field Value

TypeDescription
System.String

Properties

Instance

Convenient singleton instance. There should only be one satellite running in Editor.

Declaration

public static BaseSatellite Instance { get; }

Property Value

TypeDescription
BaseSatellite

Methods

Init(SatelliteReceiver)

Setups config, logger, and various remote clients. Then returns the satellite Handler.

In Editor, this function waits for rmb to spawn and connects to actor before returning.

Declaration

protected async Task<SatelliteSender> Init(SatelliteReceiver satHandler)

Parameters

TypeNameDescription
SatelliteReceiversatHandler

Your satellite class for receiving messages.

Returns

TypeDescription
System.Threading.Tasks.Task<SatelliteSender>

Satellite handler for sending out messages.

SpawnRequest(SpawningInfo)

Declaration

public void SpawnRequest(SpawningInfo game)

Parameters

TypeNameDescription
SpawningInfogame

StopRequest()

Declaration

public void StopRequest()