rswiki-book/Class-Check.mediawiki

62 lines
1.3 KiB
Plaintext

The class check originated with the new Runescape engine update which took place around the 4xx revisions. It gives the Jagex servers the ability to check the modifiers, update, or fetch the value for a field. It also gives functionality to invoke a method with parameters and get it's return value, or check it's modifiers. Each of these functionalities are described with a request type. A class check request is built up with many of these request types.
== Response Return Codes ==
{| border=2px
! Opcode
! Description
|-
! 0
! Successfully executed the request.
|-
! -1
! ClassNotFoundException - On receive.
|-
! -2
! SecurityException - On receive.
|-
! -3
! NullPointerException - On receive.
|-
! -4
! Exception - On receive.
|-
! -5
! Throwable - On receive.
|-
! -10
! ClassNotFoundException - On send.
|-
! -11
! InvalidClassException - On send.
|-
! -12
! StreamCorruptedException - On send.
|-
! -13
! OptionalDataException - On send.
|-
! -14
! IllegalAccessException - On send.
|-
! -15
! IllegalArgumentException - On send.
|-
! -16
! InvocationTargetException - On send.
|-
! -17
! SecurityException - On send.
|-
! -18
! IOException - On send.
|-
! -19
! NullPointerException - On receive.
|-
! -20
! Exception - On receive.
|-
! -21
! Throwable - On receive.
|}