Merge remote-tracking branch 'upstream/master' into master
This commit is contained in:
@@ -395,4 +395,16 @@ public final class ScriptID
|
||||
*/
|
||||
@ScriptArguments(integer = 14, string = 3)
|
||||
public static final int CHATBOX_BUILD_LINE_WITH_CLAN = 4483;
|
||||
|
||||
/**
|
||||
* Drag callback for the camera zoom slider in the options side panel.
|
||||
*/
|
||||
@ScriptArguments(integer = 3)
|
||||
public static final int ZOOM_SLIDER_ONDRAG = 833;
|
||||
|
||||
/**
|
||||
* Drag callback for the camera zoom slider in the settings.
|
||||
*/
|
||||
@ScriptArguments(integer = 6)
|
||||
public static final int SETTINGS_ZOOM_SLIDER_ONDRAG = 3896;
|
||||
}
|
||||
@@ -1584,6 +1584,7 @@ public final class SpriteID
|
||||
public static final int HEALTHBAR_DEFAULT_BACK_140PX = 2189;
|
||||
public static final int HEALTHBAR_DEFAULT_FRONT_160PX = 2190;
|
||||
public static final int HEALTHBAR_DEFAULT_BACK_160PX = 2191;
|
||||
public static final int TAB_CLAN_CHAT = 2307;
|
||||
public static final int WIKI_DESELECTED = 2420;
|
||||
public static final int WIKI_SELECTED = 2421;
|
||||
public static final int FRIENDS_CHAT_RANK_SMILEY_FRIEND = 2825;
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Adam <Adam@sigterm.info>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.api.events;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import lombok.Value;
|
||||
import net.runelite.api.clan.ClanChannel;
|
||||
|
||||
/**
|
||||
* An event fired when the local player joins or leaves a clan channel.
|
||||
*/
|
||||
@Value
|
||||
public class ClanChannelChanged
|
||||
{
|
||||
/**
|
||||
* The clan channel
|
||||
*/
|
||||
@Nullable
|
||||
private final ClanChannel clanChannel;
|
||||
/**
|
||||
* Whether or not this was the guest clan channel
|
||||
*/
|
||||
private boolean guest;
|
||||
}
|
||||
Reference in New Issue
Block a user