public static WorldItem GetWorldItemPacket(Item item)
 {
     return(WorldItemPackets.GetOrAdd(
                item,
                value =>
     {
         var packet = new WorldItem(value);
         packet.SetStatic();
         return packet;
     }
                ));
 }
Example #2
0
		public void SwitchID(NetState state, bool multi, WorldItem p)
		{
			RewriteID(state, multi, p, 7);
		}
Example #3
0
		public bool SwitchID(bool multi, WorldItem p)
		{
			return RewriteID(multi, p, 7);
		}