mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-22 17:12:15 -05:00
Update MediaWiki page 'Class Check'
This commit is contained in:
parent
21680a599d
commit
06c1bdeda0
@ -1,5 +1,33 @@
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
|
== Request Types ==
|
||||||
|
|
||||||
|
{| border=2px
|
||||||
|
! Opcode
|
||||||
|
! Name
|
||||||
|
! Description
|
||||||
|
|-
|
||||||
|
! 0
|
||||||
|
! Fetch Numeric Field
|
||||||
|
! Fetches the value of a numeric field.
|
||||||
|
|-
|
||||||
|
! 1
|
||||||
|
! Update Numeric Field
|
||||||
|
! Updates the value of a numeric field.
|
||||||
|
|-
|
||||||
|
! 2
|
||||||
|
! Get Field Modifiers
|
||||||
|
! Gets the modifiers of a field.
|
||||||
|
|-
|
||||||
|
! 3
|
||||||
|
! Invoke Method
|
||||||
|
! Invokes a method and sends back its return object.
|
||||||
|
|-
|
||||||
|
! 4
|
||||||
|
! Get Method Modifiers
|
||||||
|
! Gets the modifiers of a method.
|
||||||
|
|}
|
||||||
|
|
||||||
== Return Codes ==
|
== Return Codes ==
|
||||||
|
|
||||||
All the return codes are in descending priority by numerical order. For opcode 0, there are cases where a numeric value is sent to the server on fetch requests. This value is always a dword. For a method invoke request, there isn't a value that is sent to the server. It is just assumed that there wasn't a return object from the invoked method.
|
All the return codes are in descending priority by numerical order. For opcode 0, there are cases where a numeric value is sent to the server on fetch requests. This value is always a dword. For a method invoke request, there isn't a value that is sent to the server. It is just assumed that there wasn't a return object from the invoked method.
|
||||||
|
Loading…
Reference in New Issue
Block a user