Files
AllMusic/core/sql/IEconomy.java
T

13 lines
308 B
Java
Raw Normal View History

2024-04-19 09:46:54 +08:00
package com.coloryr.allmusic.server.core.sql;
2023-01-03 18:31:35 +08:00
public interface IEconomy {
2026-03-29 18:48:47 +08:00
/**
* 检查有没有足够的钱
* @param name 玩家名字
* @param cost 数量
* @return true为有足够的钱
*/
2023-01-03 18:31:35 +08:00
boolean check(String name, int cost);
boolean cost(String name, int cost);
}