public override bool Equals(object par1Obj) { if (base.Equals(par1Obj)) { NBTTagByte nbttagbyte = (NBTTagByte)par1Obj; return(Data == nbttagbyte.Data); } else { return(false); } }
/// <summary> /// Stores a new NBTTagByte with the given byte value into the map with the given string key. /// </summary> public virtual void SetByte(string par1Str, byte par2) { TagMap[par1Str] = new NBTTagByte(par1Str, par2); }