package com.remax.visualnovel.event.modular

import com.remax.visualnovel.entity.response.Wallet
import com.pengxr.modular.eventbus.facade.annotation.EventGroup

/**
 * Created by HJW on 2023/5/18
 * 用户钱包相关的事件，比如充值
 */
@EventGroup(moduleName = "wallet", autoClear = true)
interface WalletEvents {

    /**
     * 充值成功
     */
    fun chargeSucceeded()

    /**
     * 钱包余额更新成功
     */
    fun buffBalanceUpdateSucceeded(): Wallet?

    /**
     * google订阅成功
     */
    fun onGoogleSubSucceeded(): String?
}