コード例 #1
0
 public PropHook(string targetPropName, string hookPropName, CExpr <Card> hookCard, CalcDelegate onCalc = null) : base(targetPropName, default)
 {
     propName          = targetPropName;
     this.hookCard     = hookCard;
     this.hookPropName = hookPropName;
     this.onCalc       = onCalc;
 }
コード例 #2
0
 public PropHook(string targetPropName, string hookPropName, CExpr <Card> hookCard, CalcDelegate onCalc = null)
 {
     propertyName      = targetPropName;
     value             = default;
     this.hookCard     = hookCard;
     this.hookPropName = hookPropName;
     this.onCalc       = onCalc;
 }