Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::BattleCompleted Struct Reference

Fired when a battle finishes. More...

#include <Battle.hpp>

Public Member Functions

 BattleCompleted (battle::Battle::Type type, battle::Result &&result)
 Construct a new Battle Completed event. More...
 

Public Attributes

const battle::Battle::Type type
 The type of battle that was completed. More...
 
const battle::Result result
 The result of the battle. More...
 

Detailed Description

Fired when a battle finishes.

Definition at line 36 of file Battle.hpp.

Constructor & Destructor Documentation

◆ BattleCompleted()

core::event::BattleCompleted::BattleCompleted ( battle::Battle::Type  type,
battle::Result &&  result 
)
inline

Construct a new Battle Completed event.

Parameters
typeThe type of battle that was completed
resultThe result of the battle

Definition at line 43 of file Battle.hpp.

Member Data Documentation

◆ result

const battle::Result core::event::BattleCompleted::result

The result of the battle.

Definition at line 51 of file Battle.hpp.

◆ type

const battle::Battle::Type core::event::BattleCompleted::type

The type of battle that was completed.

Definition at line 48 of file Battle.hpp.


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