package com.adealink.weparty.playmate.manager

import com.adealink.frame.base.Rlt
import com.adealink.frame.frame.IBaseFrame
import com.adealink.weparty.module.playmate.data.PlaymateCategoryData
import com.adealink.weparty.module.playmate.data.UserPlaymateCategoryData

interface IPlaymateManager : IBaseFrame<IPlaymateListener> {

    suspend fun pullAllCategory(): Map<String, PlaymateCategoryData>

    suspend fun getUserPlaymateCategory(uid: String, cache: Boolean): Rlt<List<UserPlaymateCategoryData>>

}