![]() |
ORK Framework
2.34.1
API Documentation
|
Public Member Functions | |
virtual void | AddLoot (IShortcut item) |
Adds loot to the battle loot. More... | |
virtual void | AddExperience (int statusID, int exp, int level, int classLevel, Combatant forCombatant) |
Adds experience to the battle loot. More... | |
virtual void | ChangeExperience (int statusID, float change, FormulaOperator op, Combatant forCombatant) |
Changes the current experience in the battle loot. More... | |
virtual void | AddNormalStatusValue (int statusID, int value) |
Adds a 'Normal' type status value reward to the battle loot. More... | |
virtual void | ChangeNormalStatusValue (int statusID, float change, FormulaOperator op) |
Changes the current 'Normal' type status value reward in the battle loot. More... | |
virtual void | GetGainsFrom (Combatant combatant) |
Collects the loot, experience and 'Normal' type status value rewards of a combatant. More... | |
virtual void | CollectGains (bool collectLoot, bool collectExp, bool showGains, float autoClose, bool autoCloseControlable, bool useItemBox, bool itemBoxAddType, string itemBoxID, BaseEvent baseEvent, int next, bool immediateCollection) |
Collects the current battle loot. More... | |
virtual void | ShowMissFlyingText (string info, Combatant combatant, GameObject targetObject, IContentSimple content) |
virtual void | ShowBlockFlyingText (string info, Combatant combatant, GameObject targetObject, IContentSimple content) |
virtual void | ShowCastCancelFlyingText (string info, Combatant combatant, GameObject targetObject, IContentSimple content) |
virtual void | ShowLevelUpFlyingText (string info, Combatant combatant, GameObject targetObject) |
virtual void | ShowClassLevelUpFlyingText (string info, Combatant combatant, GameObject targetObject) |
|
virtual |
Adds experience to the battle loot.
statusID | The ID of the status value. |
exp | The experience that will be added. |
level | The level of the source combatant. |
classLevel | The class level of the source combatant. |
forCombatant | The combatant the experience is for, or null if not for a specific combatant. |
|
virtual |
Adds loot to the battle loot.
item | The loot item/equipment that will be added |
|
virtual |
Adds a 'Normal' type status value reward to the battle loot.
statusID | The ID of the status value. |
value | The value that will be added. |
|
virtual |
Changes the current experience in the battle loot.
statusID | The ID of the status value. |
change | The value used to change the experience. |
op | The operator used, e.g. add or multiply. |
forCombatant | The combatant who's experience will be changed, or null if not using a specific combatant. |
|
virtual |
Changes the current 'Normal' type status value reward in the battle loot.
statusID | The ID of the status value. |
change | The value used to change the reward. |
op | The operator used, e.g. add or multiply. |
|
virtual |
Collects the current battle loot.
collectLoot | Loot will be collected (e.g. items, equipment, etc.). |
collectExp | Experience and 'Normal' type status value rewards will be collected. |
showGains | The loot dialogue will be displayed. |
autoClose | The auto close time for the loot dialoge, use a value below 0 to not use auto closing. |
autoCloseControlable | true if auto close loot dialogues can still be accepted to close them sooner. |
useItemBox | Store the loot into an item box. |
itemBoxAddType | Use the item stacking options when storing loot in an item box. |
itemBoxID | The box ID of the item box. |
baseEvent | The event that started the loot collection, or null if no event was used or should be notified. |
next | The index of the event node that should be started after the loot collection finished. |
immediateCollection | true if this loot collection is an immediate collection (i.e. not at the end of the battle). |
|
virtual |
Collects the loot, experience and 'Normal' type status value rewards of a combatant.
combatant | The combatant. |