| 488 | } |
| 489 | |
| 490 | void NpcScriptState::exportState(const NpcAIState& state, json& j) const |
| 491 | { |
| 492 | j["symIndex"] = state.symIndex; |
| 493 | j["symLoop"] = state.symLoop; |
| 494 | j["symEnd"] = state.symEnd; |
| 495 | j["phase"] = (int)state.phase; |
| 496 | j["valid"] = state.valid; |
| 497 | j["name"] = state.name; |
| 498 | j["stateTime"] = state.stateTime; |
| 499 | j["prgState"] = (int)state.prgState; |
| 500 | j["isRoutineState"] = state.isRoutineState; |
| 501 | } |
| 502 | |
| 503 | void NpcScriptState::exportScriptState(json& j) |
| 504 | { |
nothing calls this directly
no outgoing calls
no test coverage detected