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
Loading...
Searching...
No Matches
InControl.OptionalUInt16 Struct Reference
+ Collaboration diagram for InControl.OptionalUInt16:

Public Member Functions

 OptionalUInt16 (ushort value)
 
void Clear ()
 
ushort GetValueOrDefault (ushort defaultValue)
 
ushort GetValueOrZero ()
 
void SetValue (ushort value)
 
override bool Equals (object other)
 
bool Equals (OptionalUInt16 other)
 
bool Equals (ushort other)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (OptionalUInt16 a, OptionalUInt16 b)
 
static bool operator!= (OptionalUInt16 a, OptionalUInt16 b)
 
static bool operator== (OptionalUInt16 a, ushort b)
 
static bool operator!= (OptionalUInt16 a, ushort b)
 
static implicit operator OptionalUInt16 (ushort value)
 
static operator ushort (OptionalUInt16 optional)
 

Properties

bool HasValue [get, set]
 
bool HasNoValue [get, set]
 
ushort Value [get, set]
 

Static Private Member Functions

static int CombineHashCodes (int h1, int h2)
 

Private Attributes

bool hasValue
 
ushort value
 

Detailed Description

Definition at line 12 of file OptionalUInt16.cs.


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