BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
BrawlLib.Internal.bshort Struct Reference

Public Member Functions

override string ToString ()
 

Static Public Member Functions

static implicit operator short (bshort val)
 
static implicit operator bshort (short val)
 
static operator ushort (bshort val)
 
static operator bshort (ushort val)
 

Public Attributes

short _data
 

Properties

VoidPtr Address [get]
 
short Value [get]
 

Member Function Documentation

◆ operator bshort() [1/2]

static implicit BrawlLib.Internal.bshort.operator bshort ( short  val)
inlinestatic
157 {
158 return new bshort {_data = val.Reverse()};
159 }
short _data
Definition: BigEndianTypes.cs:149

◆ operator bshort() [2/2]

static BrawlLib.Internal.bshort.operator bshort ( ushort  val)
inlineexplicitstatic
167 {
168 return new bshort {_data = (short) val.Reverse()};
169 }

◆ operator short()

static implicit BrawlLib.Internal.bshort.operator short ( bshort  val)
inlinestatic
152 {
153 return val._data.Reverse();
154 }

◆ operator ushort()

static BrawlLib.Internal.bshort.operator ushort ( bshort  val)
inlineexplicitstatic
162 {
163 return (ushort) val._data.Reverse();
164 }

◆ ToString()

override string BrawlLib.Internal.bshort.ToString ( )
inline
185 {
186 return Value.ToString();
187 }
short Value
Definition: BigEndianTypes.cs:182

Member Data Documentation

◆ _data

short BrawlLib.Internal.bshort._data

Property Documentation

◆ Address

VoidPtr BrawlLib.Internal.bshort.Address
get
172 {
173 get
174 {
175 fixed (void* p = &this)
176 {
177 return p;
178 }
179 }
180 }

◆ Value

short BrawlLib.Internal.bshort.Value
get

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