FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Comms.Vitals.VitalsManager Class Reference

Manages the vital signs broadcasters for clients in the network. More...

Inheritance diagram for FMAR.Comms.Vitals.VitalsManager:

Static Public Member Functions

static void AddVitalsBroadcaster (ulong clientId, ClientVitalsBroadcaster clientInstance)
 Adds a new vitals broadcaster for a client.
 
static void RemoveVitalsBroadcaster (ulong clientId)
 Removes the vitals broadcaster for a client.
 

Properties

static VitalsManager Instance [get]
 
static Dictionary< ulong, ClientVitalsBroadcasterClientInstances [get]
 Gets the dictionary of client instances broadcasting vital signs.
 

Events

static Action OnClientInstancesChanged
 Event triggered when the client instances change.
 

Detailed Description

Manages the vital signs broadcasters for clients in the network.

Member Function Documentation

◆ AddVitalsBroadcaster()

static void FMAR.Comms.Vitals.VitalsManager.AddVitalsBroadcaster ( ulong clientId,
ClientVitalsBroadcaster clientInstance )
inlinestatic

Adds a new vitals broadcaster for a client.

Parameters
clientIdThe ID of the client.
clientInstanceThe instance of the client's vitals broadcaster.

◆ RemoveVitalsBroadcaster()

static void FMAR.Comms.Vitals.VitalsManager.RemoveVitalsBroadcaster ( ulong clientId)
inlinestatic

Removes the vitals broadcaster for a client.

Parameters
clientIdThe ID of the client.

Property Documentation

◆ ClientInstances

Dictionary<ulong, ClientVitalsBroadcaster> FMAR.Comms.Vitals.VitalsManager.ClientInstances
staticget

Gets the dictionary of client instances broadcasting vital signs.

◆ Instance

VitalsManager FMAR.Comms.Vitals.VitalsManager.Instance
staticget

Event Documentation

◆ OnClientInstancesChanged

Action FMAR.Comms.Vitals.VitalsManager.OnClientInstancesChanged
static

Event triggered when the client instances change.


The documentation for this class was generated from the following file: