sui
sui copied to clipboard
[sui-adapter][sui-framework] Add child_count to object::Info
- Added a count of children to objects
- The count is incremented in each call to transfer_to_object and transfer_to_object_id
- The count is decremented in the adapter when children are transferred away or deleted
- The count must be zero when an object is deleted or frozen