This commit is contained in:
2024-07-09 01:11:53 +02:00
parent fd0a8a3d3b
commit f1a3d6b6e5
3 changed files with 61 additions and 30 deletions

View File

@ -76,6 +76,7 @@ export type Zone = {
width: number
height: number
tiles: any // Using 'any' for Json type, consider using a more specific type if possible
zoneEventTiles: ZoneEventTile[]
zoneObjects: ZoneObject[]
characters: Character[]
chats: Chat[]
@ -93,6 +94,15 @@ export type ZoneObject = {
position_y: number
}
export type ZoneEventTile = {
id: number
zoneId: number
zone: Zone
type: "WARP" | "NPC" | "ITEM"
position_x: number
position_y: number
}
export type Chat = {
id: number
characterId: number