Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Reward{
- u8 tag;
- union{
- //Nothing
- //Coins
- Positive num;
- //Str
- String id;
- } payload;
- }
- struct LootReward{
- u8 tag;
- union{
- //Nothing
- //Coins
- Positive num;
- //Str
- String id;
- //Exp
- Positive amount;
- } payload;
- };
- struct ExtendPast255Tags{
- u8 tag;
- union{
- //Nothing
- //Coins
- Positive num;
- //Str
- String id;
- //Exp
- Positive amount;
- struct {
- u16 extra_tag;
- union{
- //constructors past 255th
- } payload;
- } extra;
- } payload;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement