
The data structures defined by this contract.
-
{ "name": "checkwin", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "instanceID", "type": "name" } ] } -
{ "name": "claim", "base": "", "fields": [ { "name": "username", "type": "name" } ] } Table row type of config
{ "name": "config_info", "base": "", "fields": [ { "name": "contractself", "type": "name" }, { "name": "voidcontract", "type": "name" }, { "name": "elementcontract", "type": "name" }, { "name": "eoscontract", "type": "name" }, { "name": "casual_reward", "type": "uint8" }, { "name": "comp_reward", "type": "uint8" }, { "name": "champ_reward", "type": "uint8" }, { "name": "game_fee", "type": "uint32" }, { "name": "feerecipient", "type": "name" }, { "name": "void_stake_price", "type": "asset" }, { "name": "elem_stake_price", "type": "asset" }, { "name": "void_price", "type": "asset" }, { "name": "elem_price", "type": "asset" }, { "name": "eos_price", "type": "asset" } ] }-
{ "name": "escape", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "instanceID", "type": "name" } ] } -
{ "name": "findgame", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "league", "type": "string" } ] } -
{ "name": "game", "base": "", "fields": [ { "name": "game_lobby_id", "type": "name" }, { "name": "game_instance_id", "type": "string" }, { "name": "player_opponent", "type": "string" }, { "name": "life_player", "type": "uint8" }, { "name": "max_life_player", "type": "uint8" }, { "name": "attack_player", "type": "uint8" }, { "name": "defense_player", "type": "uint8" }, { "name": "pot_def_boost", "type": "uint8" }, { "name": "speed_player", "type": "uint8" }, { "name": "loot_in_play", "type": "uint8[]" }, { "name": "inv_player", "type": "uint8[]" }, { "name": "player_gold", "type": "uint8" }, { "name": "selected_item_player", "type": "uint8" }, { "name": "life_lost_player", "type": "uint8" }, { "name": "rounds_survived", "type": "uint8" }, { "name": "scenario_choice_idx", "type": "uint16" }, { "name": "instance_code", "type": "uint16" }, { "name": "instance_scene", "type": "uint16" }, { "name": "loot_to_equip", "type": "uint16" }, { "name": "waiting_on_players", "type": "uint16" }, { "name": "player_turn_id", "type": "uint64" }, { "name": "elims", "type": "uint64" }, { "name": "loot_found", "type": "bool" }, { "name": "in_pvp", "type": "bool" }, { "name": "ready_to_resolve", "type": "string" }, { "name": "opponent_resolve", "type": "string" } ] } Action parameter in getcredits
{ "name": "getcredits", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "sponsor", "type": "name" }, { "name": "cointype", "type": "string" }, { "name": "creditamount", "type": "uint8" } ] }Table row type of instances
{ "name": "instance_info", "base": "", "fields": [ { "name": "instanceID", "type": "name" }, { "name": "instance_code", "type": "uint64" }, { "name": "instance_lobby", "type": "uint64" }, { "name": "cooperation_factor", "type": "uint8" }, { "name": "loot_factor", "type": "uint8" }, { "name": "instance_scene", "type": "uint8" }, { "name": "scene_data", "type": "scene" }, { "name": "player_escaped", "type": "bool" }, { "name": "is_pvp", "type": "bool" }, { "name": "opponent_id", "type": "string" }, { "name": "pvp_reward", "type": "uint8" }, { "name": "p1_choice", "type": "string" }, { "name": "p2_choice", "type": "string" } ] }Action parameter in instancejoin
{ "name": "instancejoin", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "instanceID", "type": "name" } ] }-
{ "name": "leavegame", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "instanceID", "type": "name" } ] } Table row type of lobbies
{ "name": "lobby_info", "base": "", "fields": [ { "name": "LobbyID", "type": "name" }, { "name": "isLobbyOpen", "type": "bool" }, { "name": "isLobbyReady", "type": "bool" }, { "name": "StakeRequirement", "type": "uint16" }, { "name": "party_slotToFill", "type": "uint16" }, { "name": "pvp_count", "type": "int32" }, { "name": "pvp_ids", "type": "string[]" }, { "name": "pvp_instance", "type": "uint64" }, { "name": "pve_instance", "type": "uint64" }, { "name": "current_party", "type": "uint64[]" }, { "name": "PlayersLeft", "type": "uint16" }, { "name": "PlayersToGo", "type": "uint16" }, { "name": "PlayersToGoProxy", "type": "uint16" }, { "name": "lobby_limit", "type": "uint64" }, { "name": "time_until_dq", "type": "uint64" }, { "name": "time_stamp", "type": "uint64" }, { "name": "lobby_turn_id", "type": "uint64" }, { "name": "winner_reward", "type": "asset" }, { "name": "lobby_league", "type": "string" }, { "name": "winner_name", "type": "name" }, { "name": "nextInstance", "type": "uint16" } ] }-
{ "name": "login", "base": "", "fields": [ { "name": "username", "type": "name" } ] } -
{ "name": "lootequip", "base": "", "fields": [ { "name": "username", "type": "name" } ] } -
{ "name": "lootroll", "base": "", "fields": [ { "name": "username", "type": "name" } ] } -
{ "name": "pveaction", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" }, { "name": "instanceID", "type": "name" }, { "name": "choice", "type": "string" }, { "name": "opponentID", "type": "name" } ] } Struct property of instance_info
{ "name": "scene", "base": "", "fields": [ { "name": "npc_type", "type": "uint8" }, { "name": "npc_attack", "type": "uint8" }, { "name": "npc_defense", "type": "uint8" }, { "name": "npc_gold", "type": "uint8" }, { "name": "npc_speed", "type": "uint8" }, { "name": "npc_loot", "type": "uint8" }, { "name": "npc_loot_factor", "type": "uint8" }, { "name": "npc_cooperation", "type": "uint8" }, { "name": "npc_price", "type": "uint8" }, { "name": "npc_coop_loot", "type": "uint8" }, { "name": "escape_factor", "type": "bool" }, { "name": "scenario_name", "type": "string" } ] }-
{ "name": "seed", "base": "", "fields": [ { "name": "key", "type": "uint64" }, { "name": "value", "type": "uint32" } ] } Action parameter in setconfigs
{ "name": "setconfigs", "base": "", "fields": [ { "name": "contractself", "type": "name" }, { "name": "voidcontract", "type": "name" }, { "name": "elementcontract", "type": "name" }, { "name": "eoscontract", "type": "name" }, { "name": "casual_reward", "type": "uint8" }, { "name": "comp_reward", "type": "uint8" }, { "name": "champ_reward", "type": "uint8" }, { "name": "game_fee", "type": "uint32" }, { "name": "feerecipient", "type": "name" }, { "name": "void_stake_price", "type": "asset" }, { "name": "elem_stake_price", "type": "asset" }, { "name": "void_price", "type": "asset" }, { "name": "elem_price", "type": "asset" }, { "name": "eos_price", "type": "asset" } ] }Action parameter in sponsorconfig
{ "name": "sponsorconfig", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "sponsorname", "type": "name" }, { "name": "allowopensponsors", "type": "bool" } ] }-
{ "name": "startgame", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "LobbyID", "type": "name" } ] } -
{ "name": "user_info", "base": "", "fields": [ { "name": "username", "type": "name" }, { "name": "sponsorname", "type": "name" }, { "name": "delegatedsponsor", "type": "name" }, { "name": "lobbyCode", "type": "uint64" }, { "name": "gamesplayed", "type": "uint64" }, { "name": "sponsorCredits", "type": "uint64" }, { "name": "compCredits", "type": "uint64" }, { "name": "champCredits", "type": "uint64" }, { "name": "WinCount", "type": "uint64" }, { "name": "player_instance", "type": "uint64" }, { "name": "time_stamp", "type": "uint64" }, { "name": "pvp_id_connector", "type": "uint16" }, { "name": "turns_played", "type": "uint16" }, { "name": "player_slot", "type": "uint16" }, { "name": "dead", "type": "bool" }, { "name": "escaped", "type": "bool" }, { "name": "inGame", "type": "bool" }, { "name": "inCombat", "type": "bool" }, { "name": "hostinglobby", "type": "bool" }, { "name": "hireable", "type": "bool" }, { "name": "game_data", "type": "game" }, { "name": "claimablevoid", "type": "asset" }, { "name": "claimableelem", "type": "asset" }, { "name": "claimableeos", "type": "asset" }, { "name": "stakedvoid", "type": "asset" }, { "name": "stakedelem", "type": "asset" }, { "name": "lifetime_earnings", "type": "asset" }, { "name": "cashouttimer", "type": "uint64" } ] }