| 1759 | } |
| 1760 | |
| 1761 | void EntitySystemHelpersBase::ClearSystemUpdateHooks() |
| 1762 | { |
| 1763 | for (unsigned i = 0; i < systemHooks_.size(); i++) { |
| 1764 | if (systemHooks_[i].OriginalUpdateProc != nullptr) { |
| 1765 | auto& system = GetEntityWorld()->Systems.Systems[i]; |
| 1766 | system.UpdateProc = systemHooks_[i].OriginalUpdateProc; |
| 1767 | } |
| 1768 | } |
| 1769 | |
| 1770 | systemToId_.clear(); |
| 1771 | systemHooks_.clear(); |
| 1772 | } |
| 1773 | |
| 1774 | |
| 1775 | void ServerEntitySystemHelpers::Setup() |
nothing calls this directly
no test coverage detected