BVB Source Codes

CRYENGINE Show ScriptBind_ActorSystem.h Source code

Return Download CRYENGINE: download ScriptBind_ActorSystem.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. /*************************************************************************
  4.    -------------------------------------------------------------------------
  5.    $Id$
  6.    $DateTime$
  7.    Description: Exposes basic Actor System to the Script System.
  8.  
  9.    -------------------------------------------------------------------------
  10.    History:
  11.    - 21:9:2004   3:00 : Created by Mathieu Pinard
  12.  
  13. *************************************************************************/
  14. #ifndef __SCRIPTBIND_ACTORSYSTEM_H__
  15. #define __SCRIPTBIND_ACTORSYSTEM_H__
  16.  
  17. #if _MSC_VER > 1000
  18.         #pragma once
  19. #endif
  20.  
  21. #include <CryScriptSystem/IScriptSystem.h>
  22. #include <CryScriptSystem/ScriptHelpers.h>
  23.  
  24. struct IActorSystem;
  25. struct IGameFramework;
  26.  
  27. class CScriptBind_ActorSystem :
  28.         public CScriptableBase
  29. {
  30. public:
  31.         CScriptBind_ActorSystem(ISystem* pSystem, IGameFramework* pGameFW);
  32.         virtual ~CScriptBind_ActorSystem();
  33.  
  34.         void         Release() { delete this; };
  35.  
  36.         virtual void GetMemoryUsage(ICrySizer* pSizer) const
  37.         {
  38.                 pSizer->AddObject(this, sizeof(*this));
  39.         }
  40.  
  41.         //! <code>ActorSystem.CreateActor( channelId, actorParams )</code>
  42.         //!             <param name="channelId">Identifier for the network channel.</param>
  43.         //!             <param name="actorParams">Parameters for the actor.</param>
  44.         //! <description>Creates an actor.</description>
  45.         int CreateActor(IFunctionHandler* pH, int channelId, SmartScriptTable actorParams);
  46.  
  47. private:
  48.         void RegisterGlobals();
  49.         void RegisterMethods();
  50.  
  51.         ISystem*        m_pSystem;
  52.         IGameFramework* m_pGameFW;
  53. };
  54.  
  55. #endif //__SCRIPTBIND_ACTORSYSTEM_H__
  56.  
downloadScriptBind_ActorSystem.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