#include <CombatAction.h>
List of all members.
Public Types |
enum | TYPE {
NO_ACTION,
STRATEGIC_DIRECTIVE,
ZONE_ASSIGNMENT,
SYSTEM_ASSIGNMENT,
MISSION_TEMPLATE,
COMBAT_EVENT,
INTEL_EVENT,
CAMPAIGN_SITUATION,
CAMPAIGN_ORDERS
} |
enum | STATUS {
PENDING,
ACTIVE,
SKIPPED,
FAILED,
COMPLETE
} |
Public Member Functions |
| CombatAction (int id, int type, int subtype, int team) |
| ~CombatAction () |
int | operator== (const CombatAction &a) const |
bool | IsAvailable () const |
void | FireAction () |
void | FailAction () |
void | AddRequirement (int action, int stat, bool not=false) |
void | AddRequirement (Combatant *c1, Combatant *c2, int comp, int score) |
void | AddRequirement (Combatant *c1, int group_type, int group_id, int comp, int score, int intel=0) |
int | Identity () const |
int | Type () const |
int | Subtype () const |
int | OpposingType () const |
int | GetIFF () const |
int | Status () const |
int | Source () const |
Point | Location () const |
const char * | System () const |
const char * | Region () const |
const char * | Filename () const |
const char * | ImageFile () const |
const char * | SceneFile () const |
int | Count () const |
int | ExecTime () const |
int | StartBefore () const |
int | StartAfter () const |
int | MinRank () const |
int | MaxRank () const |
int | Delay () const |
int | Probability () const |
int | AssetType () const |
int | AssetId () const |
List< Text > & | AssetKills () |
int | TargetType () const |
int | TargetId () const |
int | TargetIFF () const |
List< Text > & | TargetKills () |
const char * | GetText () const |
void | SetType (int t) |
void | SetSubtype (int s) |
void | SetOpposingType (int t) |
void | SetIFF (int t) |
void | SetStatus (int s) |
void | SetSource (int s) |
void | SetLocation (const Point &p) |
void | SetSystem (Text sys) |
void | SetRegion (Text rgn) |
void | SetFilename (Text f) |
void | SetImageFile (Text f) |
void | SetSceneFile (Text f) |
void | SetCount (int n) |
void | SetExecTime (int t) |
void | SetStartBefore (int s) |
void | SetStartAfter (int s) |
void | SetMinRank (int n) |
void | SetMaxRank (int n) |
void | SetDelay (int d) |
void | SetProbability (int n) |
void | SetAssetType (int t) |
void | SetAssetId (int n) |
void | SetTargetType (int t) |
void | SetTargetId (int n) |
void | SetTargetIFF (int n) |
void | SetText (Text t) |
Detailed Description
Definition at line 31 of file CombatAction.h.
Member Enumeration Documentation
- Enumerator:
PENDING |
|
ACTIVE |
|
SKIPPED |
|
FAILED |
|
COMPLETE |
|
Definition at line 49 of file CombatAction.h.
- Enumerator:
NO_ACTION |
|
STRATEGIC_DIRECTIVE |
|
ZONE_ASSIGNMENT |
|
SYSTEM_ASSIGNMENT |
|
MISSION_TEMPLATE |
|
COMBAT_EVENT |
|
INTEL_EVENT |
|
CAMPAIGN_SITUATION |
|
CAMPAIGN_ORDERS |
|
Definition at line 36 of file CombatAction.h.
Constructor & Destructor Documentation
CombatAction::CombatAction |
( |
int |
id, |
|
|
int |
type, |
|
|
int |
subtype, |
|
|
int |
team |
|
) |
| |
CombatAction::~CombatAction |
( |
| ) |
|
Member Function Documentation
void CombatAction::AddRequirement |
( |
int |
action, |
|
|
int |
stat, |
|
|
bool |
not = false |
|
) |
| |
void CombatAction::AddRequirement |
( |
Combatant * |
c1, |
|
|
int |
group_type, |
|
|
int |
group_id, |
|
|
int |
comp, |
|
|
int |
score, |
|
|
int |
intel = 0 |
|
) |
| |
int CombatAction::AssetId |
( |
| ) |
const |
|
inline |
List<Text>& CombatAction::AssetKills |
( |
| ) |
|
|
inline |
int CombatAction::AssetType |
( |
| ) |
const |
|
inline |
int CombatAction::Count |
( |
| ) |
const |
|
inline |
int CombatAction::Delay |
( |
| ) |
const |
|
inline |
int CombatAction::ExecTime |
( |
| ) |
const |
|
inline |
void CombatAction::FailAction |
( |
| ) |
|
const char* CombatAction::Filename |
( |
| ) |
const |
|
inline |
void CombatAction::FireAction |
( |
| ) |
|
int CombatAction::GetIFF |
( |
| ) |
const |
|
inline |
const char* CombatAction::GetText |
( |
| ) |
const |
|
inline |
int CombatAction::Identity |
( |
| ) |
const |
|
inline |
const char* CombatAction::ImageFile |
( |
| ) |
const |
|
inline |
bool CombatAction::IsAvailable |
( |
| ) |
const |
Point CombatAction::Location |
( |
| ) |
const |
|
inline |
int CombatAction::MaxRank |
( |
| ) |
const |
|
inline |
int CombatAction::MinRank |
( |
| ) |
const |
|
inline |
int CombatAction::operator== |
( |
const CombatAction & |
a | ) |
const |
|
inline |
int CombatAction::OpposingType |
( |
| ) |
const |
|
inline |
int CombatAction::Probability |
( |
| ) |
const |
|
inline |
const char* CombatAction::Region |
( |
| ) |
const |
|
inline |
const char* CombatAction::SceneFile |
( |
| ) |
const |
|
inline |
void CombatAction::SetAssetId |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetAssetType |
( |
int |
t | ) |
|
|
inline |
void CombatAction::SetCount |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetDelay |
( |
int |
d | ) |
|
|
inline |
void CombatAction::SetExecTime |
( |
int |
t | ) |
|
|
inline |
void CombatAction::SetFilename |
( |
Text |
f | ) |
|
|
inline |
void CombatAction::SetIFF |
( |
int |
t | ) |
|
|
inline |
void CombatAction::SetImageFile |
( |
Text |
f | ) |
|
|
inline |
void CombatAction::SetLocation |
( |
const Point & |
p | ) |
|
|
inline |
void CombatAction::SetMaxRank |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetMinRank |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetOpposingType |
( |
int |
t | ) |
|
|
inline |
void CombatAction::SetProbability |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetRegion |
( |
Text |
rgn | ) |
|
|
inline |
void CombatAction::SetSceneFile |
( |
Text |
f | ) |
|
|
inline |
void CombatAction::SetSource |
( |
int |
s | ) |
|
|
inline |
void CombatAction::SetStartAfter |
( |
int |
s | ) |
|
|
inline |
void CombatAction::SetStartBefore |
( |
int |
s | ) |
|
|
inline |
void CombatAction::SetStatus |
( |
int |
s | ) |
|
|
inline |
void CombatAction::SetSubtype |
( |
int |
s | ) |
|
|
inline |
void CombatAction::SetSystem |
( |
Text |
sys | ) |
|
|
inline |
void CombatAction::SetTargetId |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetTargetIFF |
( |
int |
n | ) |
|
|
inline |
void CombatAction::SetTargetType |
( |
int |
t | ) |
|
|
inline |
void CombatAction::SetText |
( |
Text |
t | ) |
|
|
inline |
void CombatAction::SetType |
( |
int |
t | ) |
|
|
inline |
int CombatAction::Source |
( |
| ) |
const |
|
inline |
int CombatAction::StartAfter |
( |
| ) |
const |
|
inline |
int CombatAction::StartBefore |
( |
| ) |
const |
|
inline |
int CombatAction::Status |
( |
| ) |
const |
|
inline |
int CombatAction::StatusFromName |
( |
const char * |
n | ) |
|
|
static |
int CombatAction::Subtype |
( |
| ) |
const |
|
inline |
const char* CombatAction::System |
( |
| ) |
const |
|
inline |
int CombatAction::TargetId |
( |
| ) |
const |
|
inline |
int CombatAction::TargetIFF |
( |
| ) |
const |
|
inline |
List<Text>& CombatAction::TargetKills |
( |
| ) |
|
|
inline |
int CombatAction::TargetType |
( |
| ) |
const |
|
inline |
int CombatAction::Type |
( |
| ) |
const |
|
inline |
int CombatAction::TypeFromName |
( |
const char * |
n | ) |
|
|
static |
static const char* CombatAction::TYPENAME |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: