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.OptionalInt16 Struct Reference
+ Collaboration diagram for InControl.OptionalInt16:

Public Member Functions

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

Static Public Member Functions

static bool operator== (OptionalInt16 a, OptionalInt16 b)
 
static bool operator!= (OptionalInt16 a, OptionalInt16 b)
 
static bool operator== (OptionalInt16 a, short b)
 
static bool operator!= (OptionalInt16 a, short b)
 
static implicit operator OptionalInt16 (short value)
 
static operator short (OptionalInt16 optional)
 

Properties

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

Static Private Member Functions

static int CombineHashCodes (int h1, int h2)
 

Private Attributes

bool hasValue
 
short value
 

Detailed Description

Definition at line 11 of file OptionalInt16.cs.


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