last version

shiva::event

On this page you will find information about the different events that can be sent and received in shiva

Purpose

The purpose of this module is to give users the opportunity to interact through events in their program, whether in C++ or in a scripting language.

Events

Event Name

Description

trigger an event that add a system in the system manager

triggers an event after the complete loading of plugged systems

triggers an event after the complete loading resource of a scene or program

triggers an event that indicates that an uncorrectable error has occurred

triggers an event that indicates the end of the program

triggers an event that indicates the beginning of the program

triggers an event if the user presses a key on his keyboard

triggers an event if the user release a key on his keyboard

triggers an event that indicates the change from one scene to another

All events are default constructible.

add_base_system

add_base_system(std::unique_ptr<shiva::ecs::base_system> system_ptr_ = nullptr) noexcept

after_load_systems_plugins

This event has no constructor

after_load_resources

This event has no constructor

fatal_error_occured

fatal_error_occured(std::error_code ec) noexcept;

quit_game

quit_game(int return_value) noexcept;

start_game

This event has no constructor

key_pressed

key_pressed(shiva::input::keyboard::TKey key) noexcept;

key_released

key_released(shiva::input::keyboard::TKey key) noexcept;

change_scene

change_scene(const char* scene_name_ = nullptr) noexcept;

Last updated