mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-27 22:32:58 +00:00
up 修复跨服经济
This commit is contained in:
1 parent
52e61e92cb
commit
e6222371b2
3 files changed
+15
-9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user