up 修复跨服经济

This commit is contained in:
Color_yr committed 2026-03-29 18:48:47 +08:00
1 parent 52e61e92cb
commit e6222371b2
3 files changed
+15 -9

No files matched your search

+6
View File
@@ -1,6 +1,12 @@
package com.coloryr.allmusic.server.core.sql;
public interface IEconomy {
/**
* 检查有没有足够的钱
* @param name 玩家名字
* @param cost 数量
* @return true为有足够的钱
*/
boolean check(String name, int cost);
boolean cost(String name, int cost);