Ejemplo n.º 1
0
        public override void Clear()
        {
            base.Clear();

            Whitelist.Clear();
            Blacklist.Clear();

            Port                 = 80;
            MaxConnections       = 500;
            MaxSendBufferSize    = 32;
            MaxReceiveBufferSize = 32;

            UseWhitelist   = false;
            WebServer      = true;
            DirectoryIndex = true;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Local UI reset function for working CI object
 /// </summary>
 public void Reset()
 {
     //CurrentCryptoItem = new CryptoItem();
     NewCryptoItem = new CryptoItem();
     MetaDataURI   = "";
     Whitelist.Clear();
     MeltValue          = 0;
     MeltFee            = 0;
     NumToMint          = 1;
     NumToMelt          = 0;
     TotalItems         = 0;
     InitialItems       = 1;
     EnjValue           = 0;
     State              = CryptoItemState.MAIN;
     IsEditingWhitelist = false;
     ScrollIndex        = Vector2.zero;
     Address            = "";
     UpdateEnjPerItem();
 }