Difference between revisions of "Game Opcodes:General Data Packet"
(→Attention) |
(→General Notifications) |
||
Line 38: | Line 38: | ||
=== General Notifications === | === General Notifications === | ||
+ | |||
+ | If the first argument sent is just a number, it does various operations based on the value given. | ||
+ | |||
+ | 1: openCautionInformDialogWidget - Shows a red [[Inform Dialog]]. | ||
+ | 2: openTutorialSuccessWidget - Shows a success widget when a player completes a tutorial objective. | ||
+ | 3: openPublicEffectWidget - Shows a unique effect based on the arguments. | ||
+ | 4: openTutorialWidget - Shows a tutorial widget in the top left corner. | ||
+ | 5: closeTutorialWidget - Closes an open tutorial widget. | ||
+ | 7: cancelTutorialMode - Stops the tutorial mode if active, closing all widgets. | ||
+ | 8: closeRaidDungeonExecutionWidget | ||
+ | 9: startTutorialMode - Starts tutorial mode. | ||
+ | 10: openPublicInformLongDialogWidget - Shows a normal [[Inform Dialog]] that lasts 7 seconds instead of 5. | ||
== Debug Actor Data == | == Debug Actor Data == |
Revision as of 18:22, 27 March 2018
Sends Lua Parameters to an actor's script. This calls the "onReceiveDataPacket" function in any actor script that overrides it, providing the sent data.
- Opcode - 0x133
- Source - Server
- Data Size - 0xC0 bytes
- Requirements - None
Contents
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x00 | Lua Parameters | 192 Bytes | data | The data to send to the actor. |
Player Actor Data
Requested Data
This is used to return various information the client may request.
- qtdata
- qtmap
- activegl
- glhist
Attention
Used to show a Inform Dialog with it's text set to a Sheet message.
"attention" String | Sheet Owner Actor | emptyString | SheetID | args |
General Notifications
If the first argument sent is just a number, it does various operations based on the value given.
1: openCautionInformDialogWidget - Shows a red Inform Dialog. 2: openTutorialSuccessWidget - Shows a success widget when a player completes a tutorial objective. 3: openPublicEffectWidget - Shows a unique effect based on the arguments. 4: openTutorialWidget - Shows a tutorial widget in the top left corner. 5: closeTutorialWidget - Closes an open tutorial widget. 7: cancelTutorialMode - Stops the tutorial mode if active, closing all widgets. 8: closeRaidDungeonExecutionWidget 9: startTutorialMode - Starts tutorial mode. 10: openPublicInformLongDialogWidget - Shows a normal Inform Dialog that lasts 7 seconds instead of 5.
Debug Actor Data
Print Log
Print Disp
Print Overhead
Ping
Visual Layout
Game Opcode layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | data | |||||||||||||||
0x10 | ||||||||||||||||
0x20 | ||||||||||||||||
0x30 | ||||||||||||||||
0x40 | ||||||||||||||||
0x50 | ||||||||||||||||
0x60 | ||||||||||||||||
0x70 | ||||||||||||||||
0x80 | ||||||||||||||||
0x90 | ||||||||||||||||
0xA0 | ||||||||||||||||
0xB0 |