mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Changed "SendRequestedInfo" to "SendDataPacket" as that's the actual name of the packet. Copied all the progress with the Limsa Opening director to Gridania and Uldah.
This commit is contained in:
parent
1bf25b2a2b
commit
7c25b14640
6 changed files with 101 additions and 74 deletions
|
@ -31,7 +31,7 @@ TUTORIAL_DEFEATENEMY = 18;
|
|||
--Helper functions
|
||||
|
||||
function showTutorialSuccessWidget(player, textId)
|
||||
player:SendRequestedInfo(2, nil, nil, textId);
|
||||
player:SendDataPacket(2, nil, nil, textId);
|
||||
end
|
||||
|
||||
function openTutorialWidget(player, controllerType, widgetId)
|
||||
|
@ -39,17 +39,17 @@ function openTutorialWidget(player, controllerType, widgetId)
|
|||
if (controllerType ~= CONTROLLER_GAMEPAD) then
|
||||
controllerType = CONTROLLER_KEYBOARD;
|
||||
end
|
||||
player:SendRequestedInfo(4, nil, nil, controllerType, widgetId);
|
||||
player:SendDataPacket(4, nil, nil, controllerType, widgetId);
|
||||
end
|
||||
|
||||
function closeTutorialWidget(player)
|
||||
player:SendRequestedInfo(5);
|
||||
player:SendDataPacket(5);
|
||||
end
|
||||
|
||||
function startTutorialMode(player)
|
||||
player:SendRequestedInfo(9);
|
||||
player:SendDataPacket(9);
|
||||
end
|
||||
|
||||
function endTutorialMode(player)
|
||||
player:SendRequestedInfo(7);
|
||||
player:SendDataPacket(7);
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue