Added documentation for opcode get_servernumber.

This commit is contained in:
jtuu 2020-08-02 14:19:27 +03:00
parent 6d5aca2914
commit cb1cfeab96
2 changed files with 4 additions and 12 deletions

View File

@ -1655,6 +1655,7 @@ opcodes:
- code: 0xe7
mnemonic: get_servernumber
doc: Returns the index of the player who is the leader of the party.
params:
- type: reg_tup_ref
reg_tup:

View File

@ -3041,18 +3041,9 @@ export const OP_GET_SLOTNUMBER = (OPCODES[0xe6] = new_opcode(
export const OP_GET_SERVERNUMBER = (OPCODES[0xe7] = new_opcode(
0xe7,
"get_servernumber",
undefined,
[
new_param(
{
kind: Kind.RegTupRef,
register_tuples: [new_param(TYPE_DWORD, undefined, ParamAccess.Write)],
},
undefined,
undefined,
),
],
undefined,
"Returns the index of the player who is the leader of the party.",
[new_param({ kind: Kind.RegTupRef, register_tuples: [new_param(TYPE_DWORD, undefined, ParamAccess.Write)] }, undefined, undefined)],
undefined
));
export const OP_SET_EVENTFLAG2 = (OPCODES[0xe8] = new_opcode(
0xe8,