moving stuff yes

This commit is contained in:
Zaxiure
2024-09-25 01:13:04 +02:00
parent 778c10a9ce
commit 910a9fa2cf
4 changed files with 22 additions and 4 deletions

View File

@ -3,6 +3,7 @@ import { io, Socket } from 'socket.io-client'
import type { Asset, Character, Notification, User } from '@/types'
import config from '@/config'
import { useCookies } from '@vueuse/integrations/useCookies'
import { BehaviorSubject } from 'rxjs'
export const useGameStore = defineStore('game', {
state: () => ({

View File

@ -4,7 +4,8 @@ import type { ExtendedCharacter, Zone } from '@/types'
export const useZoneStore = defineStore('zone', {
state: () => ({
zone: null as Zone | null,
characters: [] as ExtendedCharacter[]
characters: [] as ExtendedCharacter[],
characterLoaded: false,
}),
getters: {
getCharacterById: (state) => {