-
Notifications
You must be signed in to change notification settings - Fork 458
Description
Is your feature request related to a problem? Please describe.
We have several places in our code where we relied on the old behavior of NetworkLists from before this change. For example, we would query the status of a value based on a primary key in a more complex NetworkSerializable struct. As such, the changes in #3587 broke considerable portions of our update logic. While the changes to 3587 definitely makes sense for the average user, letting power users override this default logic would be a great addition.
Describe the solution you'd like
Ideally, we would like to have some way of passing in an optional equality check for determining if a value update causes a network event. For example, having it take some kind of optional IComparer to use for checking. This way, we could implement a 'bytewise' equality for set operations as needed.
Describe alternatives you've considered
There are two main alternatives we have considered. One is to simply revert our NGO version back a release, and keep it locked until we have time to do a refactor. The second one is to assign that entry in the list 'default' before reassigning it to its new index.