![]() |
ORK Framework
2.22.0
API Documentation
|
Public Member Functions | |
CombatantClass (Combatant owner) | |
void | Clear () |
int | GetLevel (int classID) |
void | Init (int classID, int classLevel) |
void | Change (int classID, bool unequipAll, bool forgetAbilities, bool learnAbilities, bool resetClassLevel, bool removeOldBonus, bool statusBonus, bool resetAtkAttrStart, bool resetDefAttrStart) |
Changes the combatant's class. More... | |
string | ForceLevelUp () |
string | LevelUp () |
DataObject | SaveGame () |
Used to save the data - you need to add the data to a ORKFramework.DataObject. More... | |
void | LoadGame (DataObject data) |
Used to load the data - you need to get the data from the ORKFramework.DataObject. More... | |
Properties | |
LevelChanged | LevelChanged |
ClassChanged | Changed |
Class | Current [get] |
int | ID [get] |
int | Level [get] |
int | MaxLevel [get] |
void ORKFramework.Combatants.CombatantClass.Change | ( | int | classID, |
bool | unequipAll, | ||
bool | forgetAbilities, | ||
bool | learnAbilities, | ||
bool | resetClassLevel, | ||
bool | removeOldBonus, | ||
bool | statusBonus, | ||
bool | resetAtkAttrStart, | ||
bool | resetDefAttrStart | ||
) |
Changes the combatant's class.
classID | The ID (index) of the class. |
unequipAll | true if all equipmeht should be unequipped before changing class; otherwise, false . |
forgetAbilities | true if the abilities learned from the previous class should be forgotten; otherwise, false . |
learnAbilities | true if the abilities of the new class should be learned; otherwise, false . |
resetClassLevel | true if the class level of the new class should be reset to the start class level; otherwise, false . |
removeOldBonus | true if the bonuses of the previous class should be forgotten; otherwise, false . |
statusBonus | true if the bonuses of the new class should be learned; otherwise, false . |
resetAtkAttrStart | true if the attack attribute start values of the previous class should be forgotten; otherwise, false . |
resetDefAttrStart | true if the defence attribute start values of the previous class should be forgotten; otherwise, false . |
void ORKFramework.Combatants.CombatantClass.LoadGame | ( | DataObject | data | ) |
Used to load the data - you need to get the data from the ORKFramework.DataObject.
data | A ORKFramework.DataObject containing the data. |
Implements ORKFramework.ISaveData.
DataObject ORKFramework.Combatants.CombatantClass.SaveGame | ( | ) |
Used to save the data - you need to add the data to a ORKFramework.DataObject.
Implements ORKFramework.ISaveData.