Argentum Online - Cliente
|
|
1 #ifndef __EVENT_FACTORY_H
2 #define __EVENT_FACTORY_H
6 #include "../../include/event.h"
7 #include "../../include/types.h"
9 #ifndef MOVEMENT_ACTION_T
10 #define MOVEMENT_ACTION_T
11 enum mov_action_t { START, STOP };
16 enum direction_t { UP, DOWN, LEFT, RIGHT };
32 std::string password);
43 static Event chat_event(std::string message,
int target_x,
int target_y,
89 race_type_t race_type);
115 static Event use_ability_event(
int target_x,
int target_y);
static Event create_event(std::string name, class_type_t class_type, race_type_t race_type)
Evento de creacion de personaje.
Definition: event_factory.cpp:58
static Event drop_item_event(SlotId slot)
Evento de tirar un item al suelo.
Definition: event_factory.cpp:72
static Event movement_event(mov_action_t action, direction_t direction)
Evento de movimiento.
Definition: event_factory.cpp:37
static Event unequip_event(SlotId slot)
Evento de desequipar.
Definition: event_factory.cpp:77
static Event disconnect()
Evento de desconexion.
Definition: event_factory.cpp:43
static Event attack_event()
Evento de ataque.
Definition: event_factory.cpp:48
static Event chat_event(std::string message, int target_x, int target_y, int inventory_slot)
Evento de chat.
Definition: event_factory.cpp:24
Definition: event_factory.h:19
static Event connect_event(std::string character_name, std::string password)
Evento de conexion.
Definition: event_factory.cpp:16
static Event pickup_event()
Evento de levantar items del suelo.
Definition: event_factory.cpp:67
static Event inventory_event(SlotId slot)
Evento de uso del inventario.
Definition: event_factory.cpp:53