terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
InControl.OptionalInt32 Struct Reference

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]
 
bool HasNoValue [get]
 
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 10 of file OptionalInt32.cs.


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