예제 #1
0
 public override bool Equals(object par1Obj)
 {
     if (base.Equals(par1Obj))
     {
         NBTTagDouble nbttagdouble = (NBTTagDouble)par1Obj;
         return(Data == nbttagdouble.Data);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 /// <summary>
 /// Stores a new NBTTagDouble with the given double value into the map with the given string key.
 /// </summary>
 public virtual void SetDouble(string par1Str, double par2)
 {
     TagMap[par1Str] = new NBTTagDouble(par1Str, par2);
 }