| 1802 | } |
| 1803 | |
| 1804 | std::optional<NetId> ServerEntitySystemHelpers::EntityToNetId(EntityHandle entity) const |
| 1805 | { |
| 1806 | auto& repl = GetStaticSymbols().GetEoCServer()->GameServer->Replication; |
| 1807 | auto netId = repl.EntityToNetId.try_get(entity); |
| 1808 | return netId ? *netId : std::optional<NetId>{}; |
| 1809 | } |
| 1810 | |
| 1811 | EntityWorld* ClientEntitySystemHelpers::GetEntityWorld() const |
| 1812 | { |
nothing calls this directly
no test coverage detected