rswiki-book/Class-Check.mediawiki
2015-06-13 00:12:23 -04:00

26 lines
764 B
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.
== 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.
|}