Ejemplo n.º 1
0
 public override bool Equals(object par1Obj)
 {
     if (base.Equals(par1Obj))
     {
         NBTTagLong nbttaglong = (NBTTagLong)par1Obj;
         return(Data == nbttaglong.Data);
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Stores a new NBTTagLong with the given long value into the map with the given string key.
 /// </summary>
 public virtual void SetLong(string par1Str, long par2)
 {
     TagMap[par1Str] = new NBTTagLong(par1Str, par2);
 }