------------------------------------------------------------------------
| 18 | |
| 19 | //------------------------------------------------------------------------ |
| 20 | CScriptBind_ItemSystem::CScriptBind_ItemSystem(ISystem* pSystem, CItemSystem* pItemSystem, IGameFramework* pGameFramework) |
| 21 | : m_pItemSystem(pItemSystem), |
| 22 | m_pGameFramework(pGameFramework) |
| 23 | { |
| 24 | Init(pSystem->GetIScriptSystem(), pSystem); |
| 25 | SetGlobalName("ItemSystem"); |
| 26 | |
| 27 | RegisterGlobals(); |
| 28 | RegisterMethods(); |
| 29 | |
| 30 | m_pEquipmentManager = static_cast<CEquipmentManager*>(pItemSystem->GetIEquipmentManager()); |
| 31 | } |
| 32 | |
| 33 | //------------------------------------------------------------------------ |
| 34 | CScriptBind_ItemSystem::~CScriptBind_ItemSystem() |
nothing calls this directly
no test coverage detected