Ejemplo n.º 1
0
 public override void NetRecieve(BinaryReader reader)
 {
     itemPrefix  = TLPrefixList.GetInstanceWithID(reader.ReadInt32());
     itemElement = (ElementType)reader.ReadInt32();
     itemSuffix  = TLSuffixList.GetInstanceWithID(reader.ReadInt32());
 }
Ejemplo n.º 2
0
 public override void Load(TagCompound tag)
 {
     itemPrefix  = TLPrefixList.GetInstanceWithID(tag.GetInt("WeaponPrefix"));
     itemElement = (ElementType)tag.GetInt("WeaponElement");
     itemSuffix  = TLSuffixList.GetInstanceWithID(tag.GetInt("WeaponSuffix"));
 }