BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrawlLib.Internal.Event Class Reference

Public Member Functions

void SetEventEvent (long v)
 
long GetEventEvent ()
 
void ResolveEventEvent ()
 

Public Attributes

string eventId
 
long pParameters
 
long lParameters
 
Param[] parameters
 
long eventEvent
 

Member Function Documentation

◆ GetEventEvent()

long BrawlLib.Internal.Event.GetEventEvent ( )
inline
15 {
16 return eventEvent;
17 }
long eventEvent
Definition: Event.cs:43

◆ ResolveEventEvent()

void BrawlLib.Internal.Event.ResolveEventEvent ( )
inline
22 {
23 eventId = eventEvent.ToString("X");
24 eventId = eventId.PadLeft(8, '0');
25 if (eventId.Length > 8)
26 {
27 eventId = eventId.Substring(eventId.Length - 8);
28 }
29
30 lParameters = (eventEvent & 0xFF00) / 0x100;
31
32 Array.Resize(ref parameters, (int) lParameters);
33 for (int i = 0; i < lParameters; i++)
34 {
35 parameters[i] = new Param();
36 }
37 }
string eventId
Definition: Event.cs:39
Param[] parameters
Definition: Event.cs:42
long lParameters
Definition: Event.cs:41

◆ SetEventEvent()

void BrawlLib.Internal.Event.SetEventEvent ( long  v)
inline
9 {
10 eventEvent = v;
12 }
void ResolveEventEvent()
Definition: Event.cs:21

Member Data Documentation

◆ eventEvent

long BrawlLib.Internal.Event.eventEvent

◆ eventId

string BrawlLib.Internal.Event.eventId

◆ lParameters

long BrawlLib.Internal.Event.lParameters

◆ parameters

Param [] BrawlLib.Internal.Event.parameters

◆ pParameters

long BrawlLib.Internal.Event.pParameters

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