import { useUserinfoStore } from "@/stores/UserinfoStore" export async function collectQuotes(): Promise { const userInfoStore = useUserinfoStore() await this.callApi('/api/collectQuotes', { g: userInfoStore.gameId, }) } export async function startGame(): Promise { const userInfoStore = useUserinfoStore() await this.callApi('/api/startGame', { g: userInfoStore.gameId, }) } export async function continueGame(): Promise { const userInfoStore = useUserinfoStore() await this.callApi('/api/continueGame', { g: userInfoStore.gameId, }) } export async function resetGame(): Promise { const userInfoStore = useUserinfoStore() await this.callApi('/api/resetGame', { g: userInfoStore.gameId, }) } export async function finishGame(): Promise { const userInfoStore = useUserinfoStore() await this.callApi('/api/finishGame', { g: userInfoStore.gameId, }) }