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

Public Member Functions

override string ToString ()
 

Static Public Member Functions

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

Public Attributes

long _data
 

Properties

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

Member Function Documentation

◆ operator blong() [1/2]

static implicit BrawlLib.Internal.blong.operator blong ( long  val)
inlinestatic
245 {
246 return new blong {_data = val.Reverse()};
247 }
long _data
Definition: BigEndianTypes.cs:237

◆ operator blong() [2/2]

static BrawlLib.Internal.blong.operator blong ( ulong  val)
inlineexplicitstatic
255 {
256 return new blong {_data = (long) val.Reverse()};
257 }

◆ operator long()

static implicit BrawlLib.Internal.blong.operator long ( blong  val)
inlinestatic
240 {
241 return val._data.Reverse();
242 }

◆ operator ulong()

static BrawlLib.Internal.blong.operator ulong ( blong  val)
inlineexplicitstatic
250 {
251 return (ulong) val._data.Reverse();
252 }

◆ ToString()

override string BrawlLib.Internal.blong.ToString ( )
inline
279 {
280 return Value.ToString();
281 }
long Value
Definition: BigEndianTypes.cs:276

Member Data Documentation

◆ _data

long BrawlLib.Internal.blong._data

Property Documentation

◆ Address

VoidPtr BrawlLib.Internal.blong.Address
get
260 {
261 get
262 {
263 fixed (void* p = &this)
264 {
265 return p;
266 }
267 }
268 }

◆ OffsetAddress

VoidPtr BrawlLib.Internal.blong.OffsetAddress
getset
271 {
272 get => Address + Value;
273 set => _data = ((long) (value - Address)).Reverse();
274 }
VoidPtr Address
Definition: BigEndianTypes.cs:260

◆ Value

long BrawlLib.Internal.blong.Value
get

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