V-Gears 0
Free Final Fantasy VII engine.
GameData::STATUS_EFFECT_MODE Class Reference

How a status effect modifier attack or item can act. More...

#include <GameData.h>

Static Public Member Functions

static std::string to_string (const unsigned int id)
 Retrieves a descriptive string from an mode ID. More...
 

Static Public Attributes

static const unsigned int INFLICT = 0
 Inflicts status changes. More...
 
static const unsigned int CURE = 1
 Cures status changes. More...
 
static const unsigned int TOGGLE = 2
 Toggles status changes. More...
 

Detailed Description

How a status effect modifier attack or item can act.

Member Function Documentation

◆ to_string()

static std::string GameData::STATUS_EFFECT_MODE::to_string ( const unsigned int  id)
inlinestatic

Retrieves a descriptive string from an mode ID.

Parameters
[in]idMode ID.
Returns
Mode lowercase description. "unknown_effect_mode" for unknown modes.

Member Data Documentation

◆ CURE

const unsigned int GameData::STATUS_EFFECT_MODE::CURE = 1
static

Cures status changes.

◆ INFLICT

const unsigned int GameData::STATUS_EFFECT_MODE::INFLICT = 0
static

Inflicts status changes.

◆ TOGGLE

const unsigned int GameData::STATUS_EFFECT_MODE::TOGGLE = 2
static

Toggles status changes.

If the target doesn't have the status change, inflict it. If the target already has the status change, cure it.


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