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.OptionalInt16 Struct Reference

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


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