Terraria v1.4.4.9
Terraria source code documentation
|
Protected Member Functions | |
Instrument (Meter meter, string name, string? unit, string? description) | |
void | Publish () |
Instrument (Meter meter, string name, string? unit, string? description) | |
void | RecordMeasurement (T measurement) |
void | RecordMeasurement (T measurement, ReadOnlySpan< KeyValuePair< string, object?> > tags) |
void | RecordMeasurement (T measurement, KeyValuePair< string, object?> tag) |
void | RecordMeasurement (T measurement, KeyValuePair< string, object?> tag1, KeyValuePair< string, object?> tag2) |
void | RecordMeasurement (T measurement, KeyValuePair< string, object?> tag1, KeyValuePair< string, object?> tag2, KeyValuePair< string, object?> tag3) |
void | RecordMeasurement (T measurement, in TagList tagList) |
Package Functions | |
void | NotifyForUnpublishedInstrument () |
object | EnableMeasurement (ListenerSubscription subscription, out bool oldStateStored) |
object | DisableMeasurements (MeterListener listener) |
virtual void | Observe (MeterListener listener) |
object | GetSubscriptionState (MeterListener listener) |
Static Package Functions | |
static void | ValidateTypeParameter< T > () |
Package Attributes | |
readonly DiagLinkedList< ListenerSubscription > | _subscriptions = new DiagLinkedList<ListenerSubscription>() |
Properties | |
static KeyValuePair< string, object?>[] | EmptyTags [get] |
static object | SyncObject = new object() [get] |
Meter | Meter [get] |
string | Name [get] |
string? | Description [get] |
string? | Unit [get] |
bool | Enabled [get] |
virtual bool | IsObservable [get] |
T | : | struct |
Definition at line 118 of file Instrument.cs.