Skip to content

Instantly share code, notes, and snippets.

@johnX9 johnX9/item_struct.cpp
Last active May 31, 2018

What would you like to do?
//@abi table item i64
struct item {
uint64_t item_id;
string name;
uint64_t power;
uint64_t health;
string ability;
uint64_t level_up;
uint64_t primary_key() const { return item_id; }
EOSLIB_SERIALIZE(item, (item_id)(name)(power)(health)(ability)(level_up))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.