Search in sources :

Example 1 with MapRegionChanged

use of net.runelite.api.events.MapRegionChanged in project runelite by runelite.

the class RSClientMixin method mapRegionsChanged.

@FieldHook("mapRegions")
@Inject
public static void mapRegionsChanged(int idx) {
    MapRegionChanged regionChanged = new MapRegionChanged();
    regionChanged.setIndex(idx);
    eventBus.post(regionChanged);
}
Also used : MapRegionChanged(net.runelite.api.events.MapRegionChanged) Inject(net.runelite.api.mixins.Inject) FieldHook(net.runelite.api.mixins.FieldHook)

Aggregations

MapRegionChanged (net.runelite.api.events.MapRegionChanged)1 FieldHook (net.runelite.api.mixins.FieldHook)1 Inject (net.runelite.api.mixins.Inject)1