Loc Add Change V2
Loc add-change v2 packet is used to either add or change a loc in the world. The client will add a new loc if none exists by this description, or overwrites an old one with the same layer (layer is obtained through the shape property of the loc).
Constructors
Properties
the right-click options enabled on this loc. Use the net.rsprot.protocol.game.outgoing.util.OpFlags helper object to create these bitpacked values which can be passed into it.
a map of mini menu ops to override the defaults with. If the map is null or empty, the ops will not be overridden and the ones provided in the respective cache config will be used. If the map has entries, all the cache ops are ignored and the provided map is used. Note that only ops 1-5 will actually be used, any other values get ignored by the client. As such, if a map is provided that has no keys of value 1-5, all the ops will simply be hidden.