public override bool Equals(object par1Obj) { if (base.Equals(par1Obj)) { NBTTagDouble nbttagdouble = (NBTTagDouble)par1Obj; return(Data == nbttagdouble.Data); } else { return(false); } }
/// <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); }