Exemple #1
0
 public void TryAddMarkExCondition()
 {
     ACM.Add(new ExCondition(!IsIn(), Util.GetStr("AC_无法操作的标记") + "\n" + GetListStr()).NoTrans());
 }
Exemple #2
0
 public virtual bool IsCanRemoveLoan(LoanData data)
 {
     ACM.Reset(SelfBaseUnit);
     ACM.Add(new ExCondition(IsLoanExpire(data), "AC_债务没有到期"));
     return(ACM.IsTrue());
 }
Exemple #3
0
 public virtual bool IsCanPayLoan(LoanData data)
 {
     ACM.Reset(SelfBaseUnit);
     ACM.Add(new ExCondition(IsGoldEnough(data), "AC_金币不够", data.Gold));
     return(ACM.IsTrue());
 }
Exemple #4
0
 public virtual bool IsCanPayLoan()
 {
     ACM.Reset(SelfBaseUnit);
     ACM.Add(new ExCondition(IsHaveLoan(), "AC_没有债务"));
     return(ACM.IsTrue());
 }
Exemple #5
0
 public virtual bool IsCanAddLoan()
 {
     ACM.Reset(SelfBaseUnit);
     ACM.Add(new ExCondition(!IsInMaxLoan(), "AC_超出贷款上限", UIUtil.FractionCol(CurLoan, MaxLoan)));
     return(ACM.IsTrue());
 }