mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
housing placard script, gridania mb script, opcodes
This commit is contained in:
parent
8ab826f212
commit
1789a21b96
3 changed files with 41 additions and 0 deletions
|
@ -228,8 +228,11 @@ namespace Packets {
|
|||
|
||||
LinkshellListHandler = 0x00F4, // updated 4.3
|
||||
|
||||
SearchMarketboard = 0x0103, // updated 4.3
|
||||
|
||||
FcInfoReqHandler = 0x011A, // updated 4.2
|
||||
|
||||
ReqMarketWishList = 0x012C, // updated 4.3
|
||||
|
||||
ReqJoinNoviceNetwork = 0x0129, // updated 4.2
|
||||
|
||||
|
|
19
src/servers/Scripts/common/CmnDefHousingSignboard.cpp
Normal file
19
src/servers/Scripts/common/CmnDefHousingSignboard.cpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include <ScriptObject.h>
|
||||
#include <Actor/Player.h>
|
||||
|
||||
class CmnDefHousingSignboard : public EventScript
|
||||
{
|
||||
public:
|
||||
CmnDefHousingSignboard() : EventScript( 721031 )
|
||||
{}
|
||||
|
||||
void Scene00000( Entity::Player& player )
|
||||
{
|
||||
player.playScene( getId(), 0, 0x2000, 0, 1 );
|
||||
}
|
||||
|
||||
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
||||
{
|
||||
Scene00000( player );
|
||||
}
|
||||
};
|
19
src/servers/Scripts/common/CmnDefMarketBoardGridania.cpp
Normal file
19
src/servers/Scripts/common/CmnDefMarketBoardGridania.cpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#include <ScriptObject.h>
|
||||
#include <Actor/Player.h>
|
||||
|
||||
class CmnDefMarketBoardGridania : public EventScript
|
||||
{
|
||||
public:
|
||||
CmnDefMarketBoardGridania() : EventScript( 0xB0027 )
|
||||
{}
|
||||
|
||||
void Scene00000( Entity::Player& player )
|
||||
{
|
||||
player.playScene( getId(), 0, 0x2000, 0, 1 );
|
||||
}
|
||||
|
||||
void onTalk( uint32_t eventId, Entity::Player& player, uint64_t actorId ) override
|
||||
{
|
||||
Scene00000( player );
|
||||
}
|
||||
};
|
Loading…
Add table
Reference in a new issue