BVB Source Codes

CRYENGINE Show FlowVehicleTurret.h Source code

Return Download CRYENGINE: download FlowVehicleTurret.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #pragma once
  4.  
  5. #include "FlowVehicleBase.h"
  6.  
  7. class CFlowVehicleTurret
  8.         : public CFlowVehicleBase
  9. {
  10. public:
  11.  
  12.         CFlowVehicleTurret(SActivationInfo* pActivationInfo)
  13.         {
  14.                 Init(pActivationInfo);
  15.         }
  16.  
  17.         ~CFlowVehicleTurret() { Delete(); }
  18.  
  19.         // CFlowBaseNode
  20.         virtual IFlowNodePtr Clone(SActivationInfo* pActivationInfo);
  21.         virtual void         GetConfiguration(SFlowNodeConfig& nodeConfig);
  22.         virtual void         ProcessEvent(EFlowEvent flowEvent, SActivationInfo* pActivationInfo);
  23.         virtual void         Serialize(SActivationInfo* pActivationInfo, TSerialize ser);
  24.         // ~CFlowBaseNode
  25.  
  26.         // IVehicleEventListener
  27.         virtual void OnVehicleEvent(EVehicleEvent event, const SVehicleEventParams& params);
  28.         // ~IVehicleEventListener
  29.  
  30.         virtual void GetMemoryUsage(ICrySizer* s) const
  31.         {
  32.                 s->Add(*this);
  33.         }
  34.  
  35. protected:
  36.  
  37.         enum EInputs
  38.         {
  39.                 eIn_Trigger,
  40.                 eIn_Seat,
  41.                 eIn_AimPos,
  42.         };
  43.  
  44.         enum EOutputs
  45.         {
  46.                 eOut_Success,
  47.         };
  48. };
  49.  
downloadFlowVehicleTurret.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top