WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
CharDetailsEvent Class Reference

Event fired when character detail customisation options change. More...

#include <CharDetailsEvent.h>

Inheritance diagram for CharDetailsEvent:
[legend]
Collaboration diagram for CharDetailsEvent:
[legend]

Public Types

enum  EventType { CHOICE_LIST_CHANGED = 0x10000001 }
 Event types specific to character detail changes. More...
 
- Public Types inherited from Event
enum  EventType { DESTROYED = 0x00000000 }
 

Public Member Functions

 CharDetailsEvent (Observable *obs, EventType type)
 Construct a CharDetailsEvent.
 
void setCustomizationOptionId (const uint id)
 Set the customisation option ID associated with this event.
 
uint getCustomizationOptionId () const
 Get the customisation option ID associated with this event.
 
- Public Member Functions inherited from Event
 Event (Observable *, EventType)
 
virtual ~Event ()=default
 
EventType type () const
 
void setType (EventType type)
 
Observablesender ()
 

Private Attributes

uint customizationOptionId_
 

Detailed Description

Event fired when character detail customisation options change.

Definition at line 31 of file CharDetailsEvent.h.

Member Enumeration Documentation

◆ EventType

Event types specific to character detail changes.

Enumerator
CHOICE_LIST_CHANGED 

A customisation choice list was modified.

Definition at line 35 of file CharDetailsEvent.h.

Constructor & Destructor Documentation

◆ CharDetailsEvent()

CharDetailsEvent::CharDetailsEvent ( Observable obs,
EventType  type 
)
inline

Construct a CharDetailsEvent.

Parameters
obsThe observable that fired the event.
typeThe event type.

Definition at line 43 of file CharDetailsEvent.h.

Member Function Documentation

◆ getCustomizationOptionId()

uint CharDetailsEvent::getCustomizationOptionId ( ) const
inline

Get the customisation option ID associated with this event.

Definition at line 51 of file CharDetailsEvent.h.

◆ setCustomizationOptionId()

void CharDetailsEvent::setCustomizationOptionId ( const uint  id)
inline

Set the customisation option ID associated with this event.

Definition at line 49 of file CharDetailsEvent.h.

Member Data Documentation

◆ customizationOptionId_

uint CharDetailsEvent::customizationOptionId_
private

Definition at line 54 of file CharDetailsEvent.h.


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