|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | RifleChambering (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | RifleEjectCasing (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
void | RifleReChambering (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | RemoveNewMagazineFromInventory (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponAttachMagazine (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
void | WeaponChamberFromAttMag (Weapon_Base w=NULL, WeaponStateBase parent=NULL, int action=-1, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponChamberFromInnerMag (Weapon_Base w=NULL, WeaponStateBase parent=NULL, int action=-1, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponChamberFromAttMagOnExit (Weapon_Base w=NULL, WeaponStateBase parent=NULL, int action=-1, int actionType=-1) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
| source of the cartridge
|
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override bool | IsWaitingForActionFinish () |
| waiting for active animation action/actionType finish
|
|
void | WeaponChambering (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
bool | FindNextFreeMuzzle (int currentMuzzle, out int nextMuzzle) |
|
override void | OnEntry (WeaponEventBase e) |
|
void | WeaponMagnumChambering (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int startActionType=-1, int endActionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override bool | IsWaitingForActionFinish () |
|
void | LoopedChambering (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int startActionType=-1, int endActionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | LoopedChamberingEjectLast (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int startActionType=-1, int endActionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponCharging (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override bool | IsWaitingForActionFinish () |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnEntry (WeaponEventBase e) |
| destination of the cartridge
|
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override void | OnEntry (WeaponEventBase e) |
| destination of the cartridge
|
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponChargingInnerMag (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponChargingMultiple (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponChargingStretch (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponDetachingMag (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponEjectBullet (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponEjectCasing (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override void | OnEntry (WeaponEventBase e) |
|
void | WeaponEjectCasingMultiMuzzle (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override void | OnEntry (WeaponEventBase e) |
|
override bool | IsWaitingForActionFinish () |
|
void | WeaponEjectAllMuzzles (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override void | OnEntry (WeaponEventBase e) |
|
override bool | IsWaitingForActionFinish () |
|
void | WeaponFireAndChamberNext (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnUpdate (float dt) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
void | WeaponFireAndChamberNextFromInnerMag (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnUpdate (float dt) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponFireLast (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponRechamber (Weapon_Base w=NULL, WeaponStateBase parent=NULL, int actionEject=-1, int actionTypeEject=-1, int actionLoad=-1, int actionTypeLoad=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | DetachOldMagazine (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | AttachNewMagazine (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
|
override bool | IsWaitingForActionFinish () |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override bool | IsWaitingForActionFinish () |
|
void | WeaponReplacingMagAndChamberNext (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override void | OnAbort (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
void | WeaponStartAction (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
| specific action sub-type
|
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
void | WeaponStateBase (Weapon_Base w=NULL, WeaponStateBase parent=NULL) |
| internal state id used for load/restore
|
|
void | SetParentState (WeaponStateBase parent) |
| allows construction of hierarchical state machine
|
|
WeaponStateBase | GetParentState () |
|
bool | HasFSM () |
|
WeaponFSM | GetFSM () |
|
void | SetInternalStateID (int i) |
|
int | GetInternalStateID () |
|
bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
bool | ProcessEvent (WeaponEventBase e) |
|
void | AddTransition (WeaponTransition t) |
| adds transition into m_fsm transition table
|
|
void | OnEntry (WeaponEventBase e) |
|
void | OnUpdate (float dt) |
|
void | OnAbort (WeaponEventBase e) |
|
void | OnExit (WeaponEventBase e) |
|
bool | IsWaitingForActionFinish () |
|
bool | IsIdle () |
| idle state does not expect any animation events
|
|
bool | IsBoltOpen () |
|
void | OnSubMachineChanged (WeaponStateBase src, WeaponStateBase dst) |
| called when sub-machine has changed its state
|
|
void | OnStateChanged (WeaponStateBase src, WeaponStateBase dst) |
| called on current state when state machine has changed its state
|
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
override bool | SaveCurrentFSMState (ParamsWriteContext ctx) |
|
override bool | LoadCurrentFSMState (ParamsReadContext ctx, int version) |
|
override bool | IsWaitingForActionFinish () |
|
void | WeaponUnjamming (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int actionType=-1) |
|
override void | OnEntry (WeaponEventBase e) |
|
override void | OnExit (WeaponEventBase e) |
|
represent weapon state base
Class comes with entry/update/abort/exit hooks that can be overriden in custom states
Class is ready for hierarchic composition, i.e. this state having a sub-machine running under hood. If no m_fsm member is configured, class acts as ordinary plain finite machine state.