| 171 | |
| 172 | // Adds object to the update results. |
| 173 | API_FUNCTION() void AddObject(ScriptingObject* obj) |
| 174 | { |
| 175 | Entry& e = _entries.AddOne(); |
| 176 | e.Object = obj; |
| 177 | e.TargetClients = NetworkClientsMask::All; |
| 178 | } |
| 179 | |
| 180 | // Adds object to the update results. Defines specific clients to receive the update (server-only, unused on client). Mask matches NetworkManager::Clients. |
| 181 | API_FUNCTION() void AddObject(ScriptingObject* obj, NetworkClientsMask targetClients) |
no test coverage detected