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

Public Member Functions

override string ToString ()
 

Static Public Member Functions

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

Public Attributes

int _data
 

Properties

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

Member Function Documentation

◆ operator bint() [1/2]

static implicit BrawlLib.Internal.bint.operator bint ( int  val)
inlinestatic
18 {
19 return new bint {_data = val.Reverse()};
20 }
int _data
Definition: BigEndianTypes.cs:10

◆ operator bint() [2/2]

static BrawlLib.Internal.bint.operator bint ( uint  val)
inlineexplicitstatic
28 {
29 return new bint {_data = (int) val.Reverse()};
30 }

◆ operator int()

static implicit BrawlLib.Internal.bint.operator int ( bint  val)
inlinestatic
13 {
14 return val._data.Reverse();
15 }

◆ operator uint()

static BrawlLib.Internal.bint.operator uint ( bint  val)
inlineexplicitstatic
23 {
24 return (uint) val._data.Reverse();
25 }

◆ ToString()

override string BrawlLib.Internal.bint.ToString ( )
inline
52 {
53 return Value.ToString();
54 }
int Value
Definition: BigEndianTypes.cs:49

Member Data Documentation

◆ _data

int BrawlLib.Internal.bint._data

Property Documentation

◆ Address

VoidPtr BrawlLib.Internal.bint.Address
get
33 {
34 get
35 {
36 fixed (void* p = &this)
37 {
38 return p;
39 }
40 }
41 }

◆ OffsetAddress

VoidPtr BrawlLib.Internal.bint.OffsetAddress
getset
44 {
45 get => Address + Value;
46 set => _data = (value - Address).Reverse();
47 }
VoidPtr Address
Definition: BigEndianTypes.cs:33

◆ Value

int BrawlLib.Internal.bint.Value
get

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