コード例 #1
0
ファイル: Voucher.cs プロジェクト: KingKizile/RocketEmulator
 public Voucher(string Code, string Type, int Value, int CurrentUses, int MaxUses)
 {
     this._code        = Code;
     this._type        = VoucherUtility.GetType(Type);
     this._value       = Value;
     this._currentUses = CurrentUses;
     this._maxUses     = MaxUses;
 }
コード例 #2
0
 internal Voucher(string code, string type, int value, int currentUses, int maxUses)
 {
     Code        = code;
     Type        = VoucherUtility.GetType(type);
     Value       = value;
     CurrentUses = currentUses;
     MaxUses     = maxUses;
 }