| 70 | } |
| 71 | |
| 72 | void ExtensionState::BootstrapLua() |
| 73 | { |
| 74 | ExtensionStateBase::BootstrapLua(); |
| 75 | |
| 76 | LuaClientPin lua(*this); |
| 77 | auto gameState = GetStaticSymbols().GetClientState(); |
| 78 | if (gameState |
| 79 | && (*gameState == GameState::LoadLevel |
| 80 | || (*gameState == GameState::LoadModule && WasStatLoadTriggered()) |
| 81 | || *gameState == GameState::LoadSession |
| 82 | || *gameState == GameState::Paused |
| 83 | || *gameState == GameState::PrepareRunning |
| 84 | || *gameState == GameState::Running)) { |
| 85 | lua->OnModuleResume(); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | void ExtensionState::FireInputEvents() |
| 90 | { |
nothing calls this directly
no test coverage detected