player@netobj.ddnet.tw
I'd need to instead add a new netobj called player2 AND keep the code for the old netobj too?SnapInvalidateItem(int SnapID, int Index)
, the client interface gets a new function SnapReplaceItem(int SnapID, int Index, void *pItem, int ItemSize);
. in the snap sanity check loop, this function is called at the appropriate places when a old netobj is detecteddatasrc/{network,datatypes}.py
datasrc/network.py
SnapReplaceItem
sounds about rightabsl::flat_hash_map<K, std::unique_ptr<V>>
instead of absl::node_hash_map<K, V>
.Input.m_Hook = 0
). Made a demo how it currently looks:
!client_demo
Looks a bit ugly in the client :/ (sorry for the gif, experimented a bit with video recording and editing)