◆ attack_event()
Event EventFactory::attack_event |
( |
| ) |
|
|
static |
Evento de ataque.
- Devuelve
- Event
◆ chat_event()
Event EventFactory::chat_event |
( |
std::string |
message, |
|
|
int |
target_x, |
|
|
int |
target_y, |
|
|
int |
inventory_slot |
|
) |
| |
|
static |
Evento de chat.
- Parámetros
-
message | Mensaje o comando a enviar |
target_x | Coordenada X del target en el mapa. |
target_y | Coordenada Y del target en el mapa. |
inventory_slot | Slot del inventario seleccionado. |
- Devuelve
- Event
◆ connect_event()
Event EventFactory::connect_event |
( |
std::string |
character_name, |
|
|
std::string |
password |
|
) |
| |
|
static |
Evento de conexion.
- Parámetros
-
character_name | Nombre del personaje |
password | Contrasenia. No usada por ahora. |
- Devuelve
- Event
◆ create_event()
Event EventFactory::create_event |
( |
std::string |
name, |
|
|
class_type_t |
class_type, |
|
|
race_type_t |
race_type |
|
) |
| |
|
static |
Evento de creacion de personaje.
- Parámetros
-
name | Nombre del personaje |
class_type | Clase del personaje |
race_type | Raza del personaje |
- Devuelve
- Event
◆ disconnect()
Event EventFactory::disconnect |
( |
| ) |
|
|
static |
Evento de desconexion.
- Devuelve
- Event
◆ drop_item_event()
Event EventFactory::drop_item_event |
( |
SlotId |
slot | ) |
|
|
static |
Evento de tirar un item al suelo.
- Parámetros
-
slot | Slot del cual se desea tirar un item. |
- Devuelve
- Event
◆ inventory_event()
Event EventFactory::inventory_event |
( |
SlotId |
slot | ) |
|
|
static |
Evento de uso del inventario.
- Parámetros
-
slot | Slot sobre el cual ejecutar la accion. |
- Devuelve
- Event
◆ movement_event()
Event EventFactory::movement_event |
( |
mov_action_t |
action, |
|
|
direction_t |
direction |
|
) |
| |
|
static |
Evento de movimiento.
- Parámetros
-
action | Accion (empezar o detener) |
direction | Direccion del movimiento. |
- Devuelve
- Event
◆ pickup_event()
Event EventFactory::pickup_event |
( |
| ) |
|
|
static |
Evento de levantar items del suelo.
- Devuelve
- Event
◆ unequip_event()
Event EventFactory::unequip_event |
( |
SlotId |
slot | ) |
|
|
static |
Evento de desequipar.
- Parámetros
-
slot | Slot que se quiere desequipar el item. |
- Devuelve
- Event
La documentación para esta clase fue generada a partir de los siguientes ficheros:
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/client/network/event_factory.h
- /home/nicolas/Taller/TP FINAL - ARGENTUM/repo/client/network/event_factory.cpp