Terraria v1.4.4.9
Terraria source code documentation
|
Protected Member Functions | |
ObservableInstrument (Meter meter, string name, string? unit, string? description) | |
IEnumerable< Measurement< T > > | Observe () |
void | Publish () |
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 | |
override void | Observe (MeterListener listener) |
IEnumerable< Measurement< T > > | Observe (object callback) |
void | NotifyForUnpublishedInstrument () |
object | EnableMeasurement (ListenerSubscription subscription, out bool oldStateStored) |
object | DisableMeasurements (MeterListener listener) |
object | GetSubscriptionState (MeterListener listener) |
Static Package Functions | |
static void | ValidateTypeParameter< T > () |
Package Attributes | |
readonly DiagLinkedList< ListenerSubscription > | _subscriptions = new DiagLinkedList<ListenerSubscription>() |
Properties | |
override bool | IsObservable [get] |
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] |
T | : | struct |
Definition at line 6 of file ObservableInstrument.cs.