Skip to content

Commit

Permalink
Merge pull request #81 from danielcdz/fix-scripts-for-actions
Browse files Browse the repository at this point in the history
Fix scripts not running
  • Loading branch information
danielcdz authored Oct 25, 2024
2 parents 4a3e7c6 + ccdcb76 commit 38a20c2
Show file tree
Hide file tree
Showing 30 changed files with 12,222 additions and 581 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,109 @@
{
"type": "impl",
"name": "ActionsImpl",
"interface_name": "bytebeasts::systems::actions::IActions"
"interface_name": "bytebeasts::systems::realms::IActions"
},
{
"type": "enum",
"name": "bytebeasts::models::game::GameStatus",
"variants": [
{
"name": "Pending",
"type": "()"
},
{
"name": "InProgress",
"type": "()"
},
{
"name": "Finished",
"type": "()"
}
]
},
{
"type": "enum",
"name": "core::bool",
"variants": [
{
"name": "False",
"type": "()"
},
{
"name": "True",
"type": "()"
}
]
},
{
"type": "struct",
"name": "bytebeasts::models::game::Game",
"members": [
{
"name": "game_id",
"type": "core::integer::u128"
},
{
"name": "player_1",
"type": "core::starknet::contract_address::ContractAddress"
},
{
"name": "player_2",
"type": "core::starknet::contract_address::ContractAddress"
},
{
"name": "player_3",
"type": "core::starknet::contract_address::ContractAddress"
},
{
"name": "player_4",
"type": "core::starknet::contract_address::ContractAddress"
},
{
"name": "status",
"type": "bytebeasts::models::game::GameStatus"
},
{
"name": "is_private",
"type": "core::bool"
}
]
},
{
"type": "interface",
"name": "bytebeasts::systems::actions::IActions",
"name": "bytebeasts::systems::realms::IActions",
"items": [
{
"type": "function",
"name": "setWorld",
"name": "create_initial_game_id",
"inputs": [],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "create_game",
"inputs": [],
"outputs": [
{
"type": "bytebeasts::models::game::Game"
}
],
"state_mutability": "external"
},
{
"type": "function",
"name": "join_game",
"inputs": [
{
"name": "game_id",
"type": "core::integer::u128"
},
{
"name": "player_2_address",
"type": "core::starknet::contract_address::ContractAddress"
}
],
"outputs": [],
"state_mutability": "external"
}
Expand All @@ -147,11 +240,11 @@
{
"type": "impl",
"name": "IDojoInitImpl",
"interface_name": "bytebeasts::systems::actions::actions::IDojoInit"
"interface_name": "bytebeasts::systems::realms::actions::IDojoInit"
},
{
"type": "interface",
"name": "bytebeasts::systems::actions::actions::IDojoInit",
"name": "bytebeasts::systems::realms::actions::IDojoInit",
"items": [
{
"type": "function",
Expand Down Expand Up @@ -211,7 +304,7 @@
},
{
"type": "event",
"name": "bytebeasts::systems::actions::actions::Event",
"name": "bytebeasts::systems::realms::actions::Event",
"kind": "enum",
"variants": [
{
Expand Down
Loading

0 comments on commit 38a20c2

Please sign in to comment.