FirstModulAR 0.1.0
Loading...
Searching...
No Matches
NetVitalsProvider Class Reference

Provides vitals over the network, server authoritative. More...

Inheritance diagram for NetVitalsProvider:
FMAR.Comms.Vitals.IVitalsProvider

Public Member Functions

override void OnNetworkSpawn ()
 
bool TryGetVital (DataType vital, out List<(double time, double value)> list)
 Tries to get the list of vital sign data for the specified vital type.
 
override void OnDestroy ()
 
void SetupOpioidOverdose ()
 
- Public Member Functions inherited from FMAR.Comms.Vitals.IVitalsProvider

Properties

IReadOnlyCollection< DataType > VitalsProvided [get]
 Gets the collection of data types for the provided vital signs.
 
IReadOnlyDictionary< VitalsThreshold, float > VitalsThresholdAlertTimers [get]
 Provides the dictionary of alert timers for the vital sign thresholds.
 
bool IsOverdosing [get]
 
- Properties inherited from FMAR.Comms.Vitals.IVitalsProvider

Detailed Description

Provides vitals over the network, server authoritative.

Member Function Documentation

◆ OnDestroy()

override void NetVitalsProvider.OnDestroy ( )
inline

◆ OnNetworkSpawn()

override void NetVitalsProvider.OnNetworkSpawn ( )
inline

◆ SetupOpioidOverdose()

void NetVitalsProvider.SetupOpioidOverdose ( )
inline

◆ TryGetVital()

bool NetVitalsProvider.TryGetVital ( DataType vital,
out List<(double time, double value)> list )
inline

Tries to get the list of vital sign data for the specified vital type.

Parameters
vitalThe type of vital sign to retrieve.
listThe list of vital sign data.
Returns
True if the vital sign data is found, otherwise false.

Implements FMAR.Comms.Vitals.IVitalsProvider.

Property Documentation

◆ IsOverdosing

bool NetVitalsProvider.IsOverdosing
get

◆ VitalsProvided

IReadOnlyCollection<DataType> NetVitalsProvider.VitalsProvided
get

Gets the collection of data types for the provided vital signs.

Implements FMAR.Comms.Vitals.IVitalsProvider.

◆ VitalsThresholdAlertTimers

IReadOnlyDictionary<VitalsThreshold, float> NetVitalsProvider.VitalsThresholdAlertTimers
get

Provides the dictionary of alert timers for the vital sign thresholds.

Implements FMAR.Comms.Vitals.IVitalsProvider.


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