mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 05:20:24 -07:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
|
|
@ -1,124 +0,0 @@
|
|||
public class ServerProt {
|
||||
/// map
|
||||
public static final int UPDATE_CURRENT_LOCATION = 26;
|
||||
public static final int CLEAR_GROUND_ITEMS = 112;
|
||||
public static final int UPDATE_SCENE_GRAPH = 162;
|
||||
public static final int DYNAMIC_SCENE_GRAPH = 214;
|
||||
public static final int BATCH_LOCATION_PACKET = 230;
|
||||
|
||||
// TODO: these are the batched packets that modify projectiles, locs, etc.
|
||||
public static final int LOCATION_PACKET_14 = 14;
|
||||
public static final int LOCATION_PACKET_16 = 16;
|
||||
public static final int LOCATION_PACKET_17 = 17;
|
||||
public static final int LOCATION_PACKET_20 = 20;
|
||||
public static final int LOCATION_PACKET_33 = 33;
|
||||
public static final int LOCATION_PACKET_97 = 97;
|
||||
public static final int LOCATION_PACKET_104 = 104;
|
||||
public static final int LOCATION_PACKET_121 = 121;
|
||||
public static final int LOCATION_PACKET_135 = 135;
|
||||
public static final int LOCATION_PACKET_179 = 179;
|
||||
public static final int LOCATION_PACKET_195 = 195;
|
||||
public static final int LOCATION_PACKET_202 = 202;
|
||||
public static final int LOCATION_PACKET_240 = 240;
|
||||
|
||||
/// updates
|
||||
public static final int NPC_INFO = 32; // NXT naming
|
||||
public static final int PLAYER_INFO = 225; // NXT naming
|
||||
|
||||
/// var{p,c,bit}
|
||||
public static final int VARBIT_SMALL = 37; // NXT naming
|
||||
public static final int VARBIT_LARGE = 84; // NXT naming
|
||||
public static final int VARP_SMALL = 60; // NXT naming
|
||||
public static final int VARP_LARGE = 226; // NXT naming
|
||||
public static final int CLIENT_SETVARC_SMALL = 65; // NXT naming
|
||||
public static final int CLIENT_SETVARC_LARGE = 69; // NXT naming
|
||||
public static final int RESET_CLIENT_VARCACHE = 89; // NXT naming (?)
|
||||
public static final int FORCE_VARP_REFRESH = 128;
|
||||
|
||||
/// chat
|
||||
public static final int MESSAGE_GAME = 70; // NXT naming
|
||||
public static final int IF_SETCOLOUR = 2; // NXT naming
|
||||
public static final int CHAT_FILTER_SETTINGS = 232; // NXT naming
|
||||
|
||||
public static final int MESSAGE_PRIVATE = 0; // NXT naming
|
||||
public static final int MESSAGE_QUICKCHAT_PRIVATE = 247; // NXT naming
|
||||
|
||||
public static final int MESSAGE_PRIVATE_ECHO = 71; // NXT naming
|
||||
public static final int MESSAGE_QUICKCHAT_PRIVATE_ECHO = 141; // NXT naming
|
||||
|
||||
public static final int MESSAGE_CLANCHANNEL = 54; // NXT naming
|
||||
public static final int CLAN_QUICK_CHAT = 81;
|
||||
|
||||
/// {friends,ignore,clan} packets
|
||||
public static final int JOIN_CLAN_CHAT = 55;
|
||||
public static final int FRIENDLIST_LOADED = 197; // NXT naming (?)
|
||||
|
||||
public static final int UPDATE_FRIENDLIST = 62; // NXT naming (?)
|
||||
public static final int UPDATE_IGNORELIST = 126; // NXT naming
|
||||
|
||||
/// interfaces
|
||||
public static final int IF_SETHIDE = 21; // NXT naming (?)
|
||||
public static final int IF_SETANIM = 36; // NXT naming (?)
|
||||
public static final int IF_SETOBJECT = 50; // NXT naming
|
||||
public static final int IF_SETPLAYERHEAD = 66; // NXT naming (?) - double check if this is correct or if it's IF_SETPLAYERMODEL_SELF etc
|
||||
public static final int IF_SETNPCHEAD = 73; // NXT naming
|
||||
public static final int IF_SETMODEL = 130; // NXT naming
|
||||
public static final int IF_SETPOSITION = 119; // NXT naming
|
||||
public static final int IF_SETANGLE = 132; // NXT naming
|
||||
public static final int IF_OPENSUB = 145; // NXT naming (?)
|
||||
public static final int IF_CLOSESUB = 149; // NXT naming (?)
|
||||
public static final int IF_OPENTOP = 155; // NXT naming (?)
|
||||
public static final int SET_INTERFACE_SETTINGS = 165;
|
||||
public static final int IF_SETSCROLLPOS = 220; // NXT naming
|
||||
// none of these are exactly NXT naming, need to identify differences and when one would be used over the other
|
||||
public static final int IF_SETTEXT1 = 171;
|
||||
public static final int IF_SETTEXT2 = 48;
|
||||
public static final int IF_SETTEXT3 = 123;
|
||||
// no clue on original names... yet
|
||||
public static final int WIDGETSTRUCT_SETTING = 9;
|
||||
public static final int INTERFACE_ANIMATE_ROTATE = 207;
|
||||
public static final int GAME_FRAME_UNK = 209;
|
||||
public static final int DELETE_INVENTORY = 191;
|
||||
public static final int SWITCH_WIDGET = 176;
|
||||
public static final int GENERATE_CHAT_HEAD_FROM_BODY = 111;
|
||||
|
||||
/// inventory
|
||||
public static final int INTERFACE_ITEMS_CLEAR = 144;
|
||||
public static final int UPDATE_INV_PARTIAL = 22; // NXT naming
|
||||
public static final int UPDATE_INV_FULL = 105; // NXT naming
|
||||
|
||||
/// misc
|
||||
public static final int LOGOUT = 86; // NXT naming
|
||||
public static final int UPDATE_RUNENERGY = 234; // NXT naming
|
||||
public static final int UPDATE_RUNWEIGHT = 159; // NXT naming (?)
|
||||
public static final int UPDATE_REBOOT_TIMER = 85; // NXT naming
|
||||
public static final int UPDATE_STAT = 38; // NXT naming
|
||||
public static final int MIDI_SONG = 4; // NXT naming
|
||||
public static final int MIDI_JINGLE = 208; // NXT naming
|
||||
public static final int SYNTH_SOUND = 172; // NXT naming
|
||||
public static final int HINT_ARROW = 217; // NXT naming (?)
|
||||
public static final int UPDATE_UID192 = 169; // NXT naming (?)
|
||||
public static final int URL_OPEN = 42; // NXT naming
|
||||
public static final int CAM_RESET = 24; // NXT naming
|
||||
public static final int CAM_SHAKE = 27; // NXT naming
|
||||
public static final int SPOTANIM_SPECIFIC = 56; // NXT naming
|
||||
public static final int NPC_ANIM_SPECIFIC = 102; // NXT naming
|
||||
public static final int CAM_LOOKAT = 125; // NXT naming
|
||||
public static final int RESET_ANIMS = 131; // NXT naming
|
||||
public static final int LAST_LOGIN_INFO = 164; // NXT naming (?)
|
||||
public static final int CAM_FORCEANGLE = 187; // NXT naming
|
||||
public static final int LOC_ANIM_SPECIFIC = 235; // NXT naming
|
||||
|
||||
// TODO:
|
||||
public static final int RUN_CS2 = 115;
|
||||
public static final int SET_INTERACTION = 44;
|
||||
public static final int GRAND_EXCHANGE_OFFERS = 116;
|
||||
public static final int CLEAR_MINIMAP_FLAG = 153;
|
||||
public static final int SET_MINIMAP_STATE = 192;
|
||||
public static final int REFLECTION_CHEAT_CHECK = 114;
|
||||
public static final int TELEPORT_LOCAL_PLAYER = 13;
|
||||
public static final int SET_SETTINGS_STRING = 142;
|
||||
public static final int SET_WALK_TEXT = 160;
|
||||
public static final int CAMERA_DETACH = 154;
|
||||
public static final int UPDATE_CLAN = 196;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue