WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
CharDetailsEvent.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------*\
2| This file is part of WoW Model Viewer |
3| |
4| WoW Model Viewer is free software: you can redistribute it and/or |
5| modify it under the terms of the GNU General Public License as |
6| published by the Free Software Foundation, either version 3 of the |
7| License, or (at your option) any later version. |
8| |
9| WoW Model Viewer is distributed in the hope that it will be useful, |
10| but WITHOUT ANY WARRANTY; without even the implied warranty of |
11| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12| GNU General Public License for more details. |
13| |
14| You should have received a copy of the GNU General Public License |
15| along with WoW Model Viewer. |
16| If not, see <http://www.gnu.org/licenses/>. |
17\*----------------------------------------------------------------------*/
18
19/*
20 * Event.h
21 *
22 * Created on: 4 january 2015
23 * Copyright: 2015 , WoW Model Viewer (http://wowmodelviewer.net)
24 */
25
26#pragma once
27
28#include "Event.h"
29
31class CharDetailsEvent : public Event
32{
33public:
36 {
37 CHOICE_LIST_CHANGED = 0x10000001
38 };
39
47
52
53private:
55};
Event fired when character detail customisation options change.
CharDetailsEvent(Observable *obs, EventType type)
Construct a CharDetailsEvent.
EventType
Event types specific to character detail changes.
@ CHOICE_LIST_CHANGED
A customisation choice list was modified.
uint getCustomizationOptionId() const
Get the customisation option ID associated with this event.
void setCustomizationOptionId(const uint id)
Set the customisation option ID associated with this event.
Lightweight event object carrying a type tag and sender reference.
Definition Event.h:9
EventType type() const
Definition Event.h:20
Subject in the Observer pattern; maintains a list of Observer subscribers.
Definition Observable.h:12
unsigned int uint
Definition types.h:36