Skip to content

Commit

Permalink
Add gameplayer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandoDrRobot committed Sep 4, 2024
1 parent fc069bc commit 0758965
Show file tree
Hide file tree
Showing 15 changed files with 1,853 additions and 0 deletions.
459 changes: 459 additions & 0 deletions manifests/dev/base/abis/models/bytebeasts-Game-e91217d7.json

Large diffs are not rendered by default.

407 changes: 407 additions & 0 deletions manifests/dev/base/abis/models/bytebeasts-GameId-344511d3.json

Large diffs are not rendered by default.

439 changes: 439 additions & 0 deletions manifests/dev/base/abis/models/bytebeasts-GamePlayer-596ef4a1.json

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions manifests/dev/base/models/bytebeasts-Game-e91217d7.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
kind = "DojoModel"
class_hash = "0x14996dadc46ccc2e22fa71e614ea4a158f91fd919429d00a0e36a4a4314bdd8"
original_class_hash = "0x14996dadc46ccc2e22fa71e614ea4a158f91fd919429d00a0e36a4a4314bdd8"
abi = "manifests/dev/base/abis/models/bytebeasts-Game-e91217d7.json"
tag = "bytebeasts-Game"
manifest_name = "bytebeasts-Game-e91217d7"

[[members]]
name = "game_id"
type = "u128"
key = true

[[members]]
name = "player_1"
type = "ContractAddress"
key = false

[[members]]
name = "player_2"
type = "ContractAddress"
key = false

[[members]]
name = "player_3"
type = "ContractAddress"
key = false

[[members]]
name = "player_4"
type = "ContractAddress"
key = false

[[members]]
name = "status"
type = "GameStatus"
key = false

[[members]]
name = "is_private"
type = "bool"
key = false
16 changes: 16 additions & 0 deletions manifests/dev/base/models/bytebeasts-GameId-344511d3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
kind = "DojoModel"
class_hash = "0x6a3b296e3483766bd71a615fe01cf34ec0300356ed2971289fa54b236f47958"
original_class_hash = "0x6a3b296e3483766bd71a615fe01cf34ec0300356ed2971289fa54b236f47958"
abi = "manifests/dev/base/abis/models/bytebeasts-GameId-344511d3.json"
tag = "bytebeasts-GameId"
manifest_name = "bytebeasts-GameId-344511d3"

[[members]]
name = "id"
type = "u32"
key = true

[[members]]
name = "game_id"
type = "u128"
key = false
56 changes: 56 additions & 0 deletions manifests/dev/base/models/bytebeasts-GamePlayer-596ef4a1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
kind = "DojoModel"
class_hash = "0x62792f6e33268b9969eb392c92b70ef6729e674fd204b324f22a2615c1d22a7"
original_class_hash = "0x62792f6e33268b9969eb392c92b70ef6729e674fd204b324f22a2615c1d22a7"
abi = "manifests/dev/base/abis/models/bytebeasts-GamePlayer-596ef4a1.json"
tag = "bytebeasts-GamePlayer"
manifest_name = "bytebeasts-GamePlayer-596ef4a1"

[[members]]
name = "address"
type = "ContractAddress"
key = true

[[members]]
name = "game_id"
type = "u128"
key = true

[[members]]
name = "beast_1"
type = "u8"
key = false

[[members]]
name = "beast_2"
type = "u8"
key = false

[[members]]
name = "beast_3"
type = "u8"
key = false

[[members]]
name = "beast_4"
type = "u8"
key = false

[[members]]
name = "bag_id"
type = "u8"
key = false

[[members]]
name = "active_mount"
type = "u8"
key = false

[[members]]
name = "mounts"
type = "Array<u8>"
key = false

[[members]]
name = "position"
type = "Array<u8>"
key = false
Loading

0 comments on commit 0758965

Please sign in to comment.