Interface NeoFpsInputActions.ICombatActions
Interface to implement callback methods for all input action callbacks associated with input actions defined by "Combat" which allows adding and removing callbacks.
Namespace: NeoFPS
Assembly: NeoFPS.dll
Syntax
public interface ICombatActions
Methods
OnAbility(InputAction.CallbackContext)
Method invoked when associated input action "Ability" is either
Declaration
void OnAbility(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnAim(InputAction.CallbackContext)
Method invoked when associated input action "Aim" is either
Declaration
void OnAim(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnAimToggle(InputAction.CallbackContext)
Method invoked when associated input action "Aim Toggle" is either
Declaration
void OnAimToggle(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnFlashlight(InputAction.CallbackContext)
Method invoked when associated input action "Flashlight" is either
Declaration
void OnFlashlight(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnOpticsBrightnessDown(InputAction.CallbackContext)
Method invoked when associated input action "Optics Brightness Down" is either
Declaration
void OnOpticsBrightnessDown(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnOpticsBrightnessUp(InputAction.CallbackContext)
Method invoked when associated input action "Optics Brightness Up" is either
Declaration
void OnOpticsBrightnessUp(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnPrimaryFire(InputAction.CallbackContext)
Method invoked when associated input action "Primary Fire" is either
Declaration
void OnPrimaryFire(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnQuickMelee(InputAction.CallbackContext)
Method invoked when associated input action "Quick Melee" is either
Declaration
void OnQuickMelee(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnQuickThrow(InputAction.CallbackContext)
Method invoked when associated input action "Quick Throw" is either
Declaration
void OnQuickThrow(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnReload(InputAction.CallbackContext)
Method invoked when associated input action "Reload" is either
Declaration
void OnReload(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnSecondaryFire(InputAction.CallbackContext)
Method invoked when associated input action "Secondary Fire" is either
Declaration
void OnSecondaryFire(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
OnSwitchWeaponModes(InputAction.CallbackContext)
Method invoked when associated input action "Switch Weapon Modes" is either
Declaration
void OnSwitchWeaponModes(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |