示例#1
0
 public override bool Equals(object par1Obj)
 {
     if (base.Equals(par1Obj))
     {
         NBTTagByte nbttagbyte = (NBTTagByte)par1Obj;
         return(Data == nbttagbyte.Data);
     }
     else
     {
         return(false);
     }
 }
示例#2
0
 /// <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);
 }