◆ UInt24() [1/2]
BrawlLib.Internal.UInt24.UInt24 |
( |
uint |
value | ) |
|
|
inline |
104 {
105 _dat2 = (byte) (value & 0xFF);
106 _dat1 = (byte) ((value >> 8) & 0xFF);
107 _dat0 = (byte) ((value >> 16) & 0xFF);
108 }
byte _dat0
Definition: UInt24.cs:70
byte _dat2
Definition: UInt24.cs:70
byte _dat1
Definition: UInt24.cs:70
◆ UInt24() [2/2]
BrawlLib.Internal.UInt24.UInt24 |
( |
byte |
v0, |
|
|
byte |
v1, |
|
|
byte |
v2 |
|
) |
| |
|
inline |
◆ operator int()
static implicit BrawlLib.Internal.UInt24.operator int |
( |
UInt24 |
val | ) |
|
|
inlinestatic |
84 {
85 return (int) val.Value;
86 }
◆ operator uint()
static implicit BrawlLib.Internal.UInt24.operator uint |
( |
UInt24 |
val | ) |
|
|
inlinestatic |
94 {
95 return val.Value;
96 }
◆ operator UInt24() [1/2]
static implicit BrawlLib.Internal.UInt24.operator UInt24 |
( |
int |
val | ) |
|
|
inlinestatic |
89 {
90 return new UInt24((uint) val);
91 }
UInt24(uint value)
Definition: UInt24.cs:103
◆ operator UInt24() [2/2]
static implicit BrawlLib.Internal.UInt24.operator UInt24 |
( |
uint |
val | ) |
|
|
inlinestatic |
◆ _dat0
byte BrawlLib.Internal.UInt24._dat0 |
◆ _dat1
byte BrawlLib.Internal.UInt24._dat1 |
◆ _dat2
byte BrawlLib.Internal.UInt24._dat2 |
◆ Address
VoidPtr BrawlLib.Internal.UInt24.Address |
|
get |
118 {
119 get
120 {
121 fixed (void* ptr = &this)
122 {
123 return ptr;
124 }
125 }
126 }
◆ Value
uint BrawlLib.Internal.UInt24.Value |
|
getset |
73 {
75 set
76 {
77 _dat2 = (byte) (value & 0xFF);
78 _dat1 = (byte) ((value >> 8) & 0xFF);
79 _dat0 = (byte) ((value >> 16) & 0xFF);
80 }
81 }
The documentation for this struct was generated from the following file:
- BrawlLib/Internal/UInt24.cs