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

Public Member Functions

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

Static Public Member Functions

static bool operator== (OptionalInt32 a, OptionalInt32 b)
 
static bool operator!= (OptionalInt32 a, OptionalInt32 b)
 
static bool operator== (OptionalInt32 a, int b)
 
static bool operator!= (OptionalInt32 a, int b)
 
static implicit operator OptionalInt32 (int value)
 
static operator int (OptionalInt32 optional)
 

Properties

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

Static Private Member Functions

static int CombineHashCodes (int h1, int h2)
 

Private Attributes

bool hasValue
 
int value
 

Detailed Description

Definition at line 11 of file OptionalInt32.cs.


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