internal LuaVMWrapper(IMainThreadExecutor executor, IGlobalMemory memory) { m_executor = executor; m_memory = memory; m_executor.RegisterFunctions(c_functions); m_luaTop = m_executor[c_getTop, -1](); }
internal FunctionsAccessor(IMainThreadExecutor executor, IGlobalMemory memory, ILuaScriptExecutor scriptExecutor) { m_executor = executor; m_memory = memory; m_luaExecutor = scriptExecutor; m_buffer = m_memory.AllocateAutoScalingShared(c_dataBufferSize); }
internal ObjectManager(IGlobalMemory memory, IGameFunctions functions, IAggregatedFunctions aggregatedFunctions) { m_functions = functions; m_aggregatedFunctions = aggregatedFunctions; m_memory = memory; var pObjManager = m_memory.Read <int>(c_staticClientConnection) + c_objManagerOffset; var objManager = m_memory.Read <int>(pObjManager); m_objListStart = m_memory.Read <int>(objManager + c_firstObjOffset); m_pPlayerGuid = objManager + c_playerGuidOffset; }
internal ObjectsEnumerator(IGlobalMemory memory, int first) { m_first = first; m_memory = memory; }
internal ObjectsEnumerable(IGlobalMemory memory, int first) { m_enumerator = new ObjectsEnumerator(memory, first); }
internal SpellBook(IGlobalMemory memory) { m_memory = memory; }