terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Member Functions | |
OptionalFloat (float value) | |
void | Clear () |
float | GetValueOrDefault (float defaultValue) |
float | GetValueOrZero () |
void | SetValue (float value) |
override bool | Equals (object other) |
bool | Equals (OptionalFloat other) |
bool | Equals (float other) |
override int | GetHashCode () |
override string | ToString () |
bool | ApproximatelyEquals (float other) |
Static Public Member Functions | |
static bool | operator== (OptionalFloat a, OptionalFloat b) |
static bool | operator!= (OptionalFloat a, OptionalFloat b) |
static bool | operator== (OptionalFloat a, float b) |
static bool | operator!= (OptionalFloat a, float b) |
static implicit | operator OptionalFloat (float value) |
static | operator float (OptionalFloat optional) |
Properties | |
bool | HasValue [get, set] |
bool | HasNoValue [get, set] |
float | Value [get, set] |
Static Private Member Functions | |
static int | CombineHashCodes (int h1, int h2) |
static bool | IsApproximatelyEqual (float a, float b) |
Private Attributes | |
bool | hasValue |
float | value |
Static Private Attributes | |
const float | epsilon = 1E-07f |
Definition at line 11 of file OptionalFloat.cs.