◆ BUInt24() [1/2]
BrawlLib.Internal.BUInt24.BUInt24 |
( |
uint |
value | ) |
|
|
inline |
42 {
43 _dat2 = (byte) (value & 0xFF);
44 _dat1 = (byte) ((value >> 8) & 0xFF);
45 _dat0 = (byte) ((value >> 16) & 0xFF);
46 }
byte _dat0
Definition: UInt24.cs:8
byte _dat1
Definition: UInt24.cs:8
byte _dat2
Definition: UInt24.cs:8
◆ BUInt24() [2/2]
BrawlLib.Internal.BUInt24.BUInt24 |
( |
byte |
v0, |
|
|
byte |
v1, |
|
|
byte |
v2 |
|
) |
| |
|
inline |
◆ operator BUInt24() [1/2]
static implicit BrawlLib.Internal.BUInt24.operator BUInt24 |
( |
int |
val | ) |
|
|
inlinestatic |
27 {
29 }
BUInt24(uint value)
Definition: UInt24.cs:41
◆ operator BUInt24() [2/2]
static implicit BrawlLib.Internal.BUInt24.operator BUInt24 |
( |
uint |
val | ) |
|
|
inlinestatic |
◆ operator int()
static implicit BrawlLib.Internal.BUInt24.operator int |
( |
BUInt24 |
val | ) |
|
|
inlinestatic |
22 {
23 return (int) val.Value;
24 }
◆ operator uint()
static implicit BrawlLib.Internal.BUInt24.operator uint |
( |
BUInt24 |
val | ) |
|
|
inlinestatic |
32 {
33 return val.Value;
34 }
◆ _dat0
byte BrawlLib.Internal.BUInt24._dat0 |
◆ _dat1
byte BrawlLib.Internal.BUInt24._dat1 |
◆ _dat2
byte BrawlLib.Internal.BUInt24._dat2 |
◆ Address
VoidPtr BrawlLib.Internal.BUInt24.Address |
|
get |
56 {
57 get
58 {
59 fixed (void* ptr = &this)
60 {
61 return ptr;
62 }
63 }
64 }
◆ Value
uint BrawlLib.Internal.BUInt24.Value |
|
getset |
11 {
13 set
14 {
15 _dat2 = (byte) (value & 0xFF);
16 _dat1 = (byte) ((value >> 8) & 0xFF);
17 _dat0 = (byte) ((value >> 16) & 0xFF);
18 }
19 }
The documentation for this struct was generated from the following file:
- BrawlLib/Internal/UInt24.cs