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