예제 #1
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean move(
     Object from,
     Object to,
     Object by,
     double amount,
     Collection<String> categories,
     String message) {
   if (disabled()) return false;
   return mixin.move(accountId(from), accountId(to), accountId(by), amount, categories, message);
 }
예제 #2
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean create(Object account) {
   if (disabled()) return false;
   return mixin.create(accountId(account));
 }
예제 #3
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean exists(Object account) {
   if (disabled()) return false;
   return mixin.exists(accountId(account));
 }
예제 #4
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static String plural() {
   if (disabled()) return "plural";
   return mixin.plural();
 }
예제 #5
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static String singular() {
   if (disabled()) return "singular";
   return mixin.singular();
 }
예제 #6
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static String format(double amount) {
   if (disabled()) return String.valueOf(amount);
   return mixin.format(amount);
 }
예제 #7
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean enabled() {
   if (mixin == null) return false;
   return mixin.enabled();
 }
예제 #8
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean move(Object from, Object to, Object by, double amount) {
   if (disabled()) return false;
   return mixin.move(accountId(from), accountId(to), accountId(by), amount);
 }
예제 #9
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean set(
     Object account, Object by, double amount, Collection<String> categories) {
   if (disabled()) return false;
   return mixin.set(accountId(account), accountId(by), amount, categories);
 }
예제 #10
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean set(
     Object account, Object by, double amount, String category, String message) {
   if (disabled()) return false;
   return mixin.set(accountId(account), accountId(by), amount, category, message);
 }
예제 #11
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean despawn(Object from, Object by, double amount) {
   if (disabled()) return false;
   return mixin.despawn(accountId(from), accountId(by), amount);
 }
예제 #12
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean despawn(
     Object from, Object by, double amount, Collection<String> categories) {
   if (disabled()) return false;
   return mixin.despawn(accountId(from), accountId(by), amount, categories);
 }
예제 #13
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean despawn(
     Object from, Object by, double amount, String category, String message) {
   if (disabled()) return false;
   return mixin.despawn(accountId(from), accountId(by), amount, category, message);
 }
예제 #14
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean spawn(Object to, Object by, double amount) {
   if (disabled()) return false;
   return mixin.spawn(accountId(to), accountId(by), amount);
 }
예제 #15
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static double get(Object account) {
   if (disabled()) return 0D;
   return mixin.get(accountId(account));
 }
예제 #16
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean has(Object account, double amount) {
   if (disabled()) return false;
   return mixin.has(accountId(account), amount);
 }
예제 #17
0
파일: Money.java 프로젝트: RyanSayer/mcore
 public static boolean set(Object account, Object by, double amount) {
   if (disabled()) return false;
   return mixin.set(accountId(account), accountId(by), amount);
 }