Esempio n. 1
0
 public override bool Equals(object par1Obj)
 {
     if (base.Equals(par1Obj))
     {
         NBTTagInt nbttagint = (NBTTagInt)par1Obj;
         return(Data == nbttagint.Data);
     }
     else
     {
         return(false);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Stores a new NBTTagInt with the given integer value into the map with the given string key.
 /// </summary>
 public virtual void SetInteger(string par1Str, int par2)
 {
     TagMap[par1Str] = new NBTTagInt(par1Str, par2);
 }