Last active
May 31, 2018 20:06
-
-
Save johnX9/4704cb3991b9ca0dab49a76b49330d2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@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