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

Public Member Functions

override string ToString ()
 

Static Public Member Functions

static implicit operator uint (buint val)
 
static implicit operator buint (uint val)
 
static operator int (buint val)
 
static operator buint (int val)
 

Public Attributes

uint _data
 

Properties

VoidPtr Address [get]
 
VoidPtr OffsetAddress [get, set]
 
uint Value [get]
 

Member Function Documentation

◆ operator buint() [1/2]

static BrawlLib.Internal.buint.operator buint ( int  val)
inlineexplicitstatic
78 {
79 return new buint {_data = (uint) val.Reverse()};
80 }
uint _data
Definition: BigEndianTypes.cs:60

◆ operator buint() [2/2]

static implicit BrawlLib.Internal.buint.operator buint ( uint  val)
inlinestatic
68 {
69 return new buint {_data = val.Reverse()};
70 }

◆ operator int()

static BrawlLib.Internal.buint.operator int ( buint  val)
inlineexplicitstatic
73 {
74 return (int) val._data.Reverse();
75 }

◆ operator uint()

static implicit BrawlLib.Internal.buint.operator uint ( buint  val)
inlinestatic
63 {
64 return val._data.Reverse();
65 }

◆ ToString()

override string BrawlLib.Internal.buint.ToString ( )
inline
102 {
103 return Value.ToString();
104 }
uint Value
Definition: BigEndianTypes.cs:99

Member Data Documentation

◆ _data

uint BrawlLib.Internal.buint._data

Property Documentation

◆ Address

VoidPtr BrawlLib.Internal.buint.Address
get
83 {
84 get
85 {
86 fixed (void* p = &this)
87 {
88 return p;
89 }
90 }
91 }

◆ OffsetAddress

VoidPtr BrawlLib.Internal.buint.OffsetAddress
getset
94 {
95 get => Address + Value;
96 set => _data = ((uint) (value - Address)).Reverse();
97 }
VoidPtr Address
Definition: BigEndianTypes.cs:83

◆ Value

uint BrawlLib.Internal.buint.Value
get

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