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

Public Member Functions

override string ToString ()
 

Static Public Member Functions

static implicit operator ulong (bulong val)
 
static implicit operator bulong (ulong val)
 
static operator long (bulong val)
 
static operator bulong (long val)
 

Public Attributes

ulong _data
 

Properties

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

Member Function Documentation

◆ operator bulong() [1/2]

static BrawlLib.Internal.bulong.operator bulong ( long  val)
inlineexplicitstatic
305 {
306 return new bulong {_data = (ulong) val.Reverse()};
307 }
ulong _data
Definition: BigEndianTypes.cs:287

◆ operator bulong() [2/2]

static implicit BrawlLib.Internal.bulong.operator bulong ( ulong  val)
inlinestatic
295 {
296 return new bulong {_data = val.Reverse()};
297 }

◆ operator long()

static BrawlLib.Internal.bulong.operator long ( bulong  val)
inlineexplicitstatic
300 {
301 return (long) val._data.Reverse();
302 }

◆ operator ulong()

static implicit BrawlLib.Internal.bulong.operator ulong ( bulong  val)
inlinestatic
290 {
291 return val._data.Reverse();
292 }

◆ ToString()

override string BrawlLib.Internal.bulong.ToString ( )
inline
329 {
330 return Value.ToString();
331 }
ulong Value
Definition: BigEndianTypes.cs:326

Member Data Documentation

◆ _data

ulong BrawlLib.Internal.bulong._data

Property Documentation

◆ Address

VoidPtr BrawlLib.Internal.bulong.Address
get
310 {
311 get
312 {
313 fixed (void* p = &this)
314 {
315 return p;
316 }
317 }
318 }

◆ OffsetAddress

VoidPtr BrawlLib.Internal.bulong.OffsetAddress
getset
321 {
322 get => Address + Value;
323 set => _data = ((ulong) (value - Address)).Reverse();
324 }
VoidPtr Address
Definition: BigEndianTypes.cs:310

◆ Value

ulong BrawlLib.Internal.bulong.Value
get

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