CrosshairGameController class
megatron.CrosshairGameController
Inheritance
Base: game.ui.WidgetGameController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
bulletSpreedBlackboardId | red.CallbackObject? | scripted |
crosshairStateBlackboardId | red.CallbackObject? | scripted |
leftPart | WeakHandle<ink.ImageWidget> | scripted |
rightPart | WeakHandle<ink.ImageWidget> | scripted |
nearCenterPart | WeakHandle<ink.ImageWidget> | scripted |
farCenterPart | WeakHandle<ink.ImageWidget> | scripted |
bufferedSpread | Vector2 | scripted |
orgSideSize | Vector2 | scripted |
minSpread | float | scripted |
gameplaySpreadMultiplier | float | scripted |
crosshairState | game.PSMCrosshairStates | scripted |
Functions
bool OnInitialize()RTTIbool OnUninitialize()RTTIbool OnPlayerAttach(game.Object playerGameObject)RTTIbool OnPlayerDetach(game.Object playerGameObject)RTTIvoid RegisterPSMListeners(game.Object playerPuppet)RTTIvoid UnregisterPSMListeners(game.Object playerPuppet)RTTIbool OnBulletSpreadChanged(Vector2 spread)RTTIbool OnPSMCrosshairStateChanged(int value)RTTIvoid OnCrosshairStateChange(game.PSMCrosshairStates oldState, game.PSMCrosshairStates newState)RTTIvoid ColapseCrosshair(bool full, float duration)RTTIvoid ExpandCrosshair(bool full, float duration)RTTIvoid OnState_HipFire()RTTIvoid OnState_Aim()RTTIvoid OnState_Reload()RTTIvoid OnState_Sprint()RTTIgame.IBlackboard? GetUIActiveWeaponBlackboard()RTTI