MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ScriptReader

Method ScriptReader

MonaServer/sources/ScriptReader.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24using namespace Mona;
25
26ScriptReader::ScriptReader(lua_State *pState, UInt32 count) : _pState(pState), _start(lua_gettop(pState)) {
27 if ((int)count > _start)
28 count = _start;
29 ++_start;
30 _start -= count;
31 _current = _start;
32 _end = _current + count;
33}
34
35#if defined(_DEBUG)
36UInt32 ScriptReader::read(DataWriter& writer, UInt32 count) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected