Skip to content

Commit

Permalink
created basic models and all of them sozo build properly
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandoDrRobot committed Aug 14, 2024
1 parent d3875c9 commit 2cb1ab4
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 2,906 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,48 +319,46 @@
},
{
"type": "impl",
"name": "positionImpl",
"interface_name": "dojo_starter::models::position::Iposition"
"name": "mtImpl",
"interface_name": "bytebeasts::models::mt::Imt"
},
{
"type": "struct",
"name": "dojo_starter::models::position::Vec2",
"name": "bytebeasts::models::mt::Mt",
"members": [
{
"name": "x",
"name": "mt_id",
"type": "core::integer::u32"
},
{
"name": "y",
"name": "mt_name",
"type": "core::felt252"
},
{
"name": "mt_type",
"type": "core::integer::u32"
}
]
},
{
"type": "struct",
"name": "dojo_starter::models::position::Position",
"members": [
},
{
"name": "player",
"type": "core::starknet::contract_address::ContractAddress"
"name": "mt_power",
"type": "core::integer::u32"
},
{
"name": "vec",
"type": "dojo_starter::models::position::Vec2"
"name": "mt_accuracy",
"type": "core::integer::u32"
}
]
},
{
"type": "interface",
"name": "dojo_starter::models::position::Iposition",
"name": "bytebeasts::models::mt::Imt",
"items": [
{
"type": "function",
"name": "ensure_abi",
"inputs": [
{
"name": "model",
"type": "dojo_starter::models::position::Position"
"type": "bytebeasts::models::mt::Mt"
}
],
"outputs": [],
Expand All @@ -370,7 +368,7 @@
},
{
"type": "event",
"name": "dojo_starter::models::position::position::Event",
"name": "bytebeasts::models::mt::mt::Event",
"kind": "enum",
"variants": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,34 +319,38 @@
},
{
"type": "impl",
"name": "userImpl",
"interface_name": "dojo_starter::models::user::Iuser"
"name": "potionImpl",
"interface_name": "bytebeasts::models::potion::Ipotion"
},
{
"type": "struct",
"name": "dojo_starter::models::user::User",
"name": "bytebeasts::models::potion::Potion",
"members": [
{
"name": "user_id",
"type": "core::starknet::contract_address::ContractAddress"
"name": "potion_id",
"type": "core::integer::u32"
},
{
"name": "name",
"type": "core::starknet::contract_address::ContractAddress"
"name": "potion_name",
"type": "core::felt252"
},
{
"name": "potion_effect",
"type": "core::integer::u32"
}
]
},
{
"type": "interface",
"name": "dojo_starter::models::user::Iuser",
"name": "bytebeasts::models::potion::Ipotion",
"items": [
{
"type": "function",
"name": "ensure_abi",
"inputs": [
{
"name": "model",
"type": "dojo_starter::models::user::User"
"type": "bytebeasts::models::potion::Potion"
}
],
"outputs": [],
Expand All @@ -356,7 +360,7 @@
},
{
"type": "event",
"name": "dojo_starter::models::user::user::Event",
"name": "bytebeasts::models::potion::potion::Event",
"kind": "enum",
"variants": []
}
Expand Down

This file was deleted.

Loading

0 comments on commit 2cb1ab4

Please sign in to comment.