public CoinBankMap() { this._id = this.id; this._CT = this.CT; this._coinBankVal = this.coinBankVal; this._totalCoinString = this.totalCoinString; }
public CoinOrderMap() { this._id = this.id; this._OT = this.OT; this._CT = this.CT; this._coinBankVal = this.coinBankVal; this._perCoin = this.perCoin; this._coinsToBeTraded = this.coinsToBeTraded; }
protected override void initializeComponents() { base.initializeComponents(); damage = 0; knockBack = 0; velocity = 0; sprR = gameObject.GetComponent <SpriteRenderer>(); Type = (coinType)Random.Range(0, 4); Debug.Log(Type); chooseCoinType(); }
public string coinTypeEnumToString(coinType value) { switch (value) { case coinType.Bitcoin: return("Bitcoin"); case coinType.Litecoin: return("Litecoin"); default: return(null); } }
private void addAccounts(coinType CT, RepoMapConnect primaryAccount) { RepoMapConnect coinBank = new RepoMapConnect(databaseTable.CoinBank); if (CT == coinType.Bitcoin) { primaryAccount.map.coinBankVal1 = func.randomCharacterSet(20); coinBank.map.coinBankVal = primaryAccount.map.coinBankVal1; } else if (CT == coinType.Litecoin) { primaryAccount.map.coinBankVal2 = func.randomCharacterSet(20); coinBank.map.coinBankVal = primaryAccount.map.coinBankVal2; } primaryAccount.repo.executeData(primaryAccount.map, sqlStatementType.Update); coinBank.map.CT = CT; coinBank.map.totalCoinString = "2NgR99HxbtgzdA7kweJzQ6TZdsshYf"; coinBank.repo.executeData(coinBank.map, sqlStatementType.Insert); btnLitecoinBank.Enabled = false; }