1

Without knowing the exact game logic I can't really answer your question but the following should at least show you how to nest objects. struct [[eosio::table]] user_t { struct card_skin_t { eosio::name name; uint8_t owned; } struct card_t { eosio::name card_name; eosio::name ...


1

I found the solution. The reference code is followed by boost manual. (https://www.boost.org/doc/libs/1_73_0/libs/multi_index/example/ip_allocator.cpp) Boost.MultiIndex supports special allocators such as those provided by Boost.Interprocess, which allows for multi_index_containers to be placed in shared memory. Chainbase database use shared memory. If ...


Only top voted, non community-wiki answers of a minimum length are eligible