diff options
| author | megamage <none@none> | 2009-04-05 16:25:00 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-05 16:25:00 -0500 |
| commit | 5acc0c057b247142a85cc94363afefa8fdefa5a1 (patch) | |
| tree | 7e7625f9945d0fed30c661b133dff363b03489fb /src/game/Player.cpp | |
| parent | 81ef5e632fcfe9a565eebfea9556bde78c0a22e3 (diff) | |
[7612] Move SMSG_TRIGGER_CINEMATIC and SMSG_TRIGGER_MOVIE to functions and use its instead explicit packet creating. Author: NoFantasy
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index e0f2a162b8d..a56403cc97f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5568,6 +5568,20 @@ void Player::SendDirectMessage(WorldPacket *data) GetSession()->SendPacket(data); } +void Player::SendCinematicStart(uint32 CinematicSequenceId) +{ + WorldPacket data(SMSG_TRIGGER_CINEMATIC, 4); + data << uint32(CinematicSequenceId); + SendDirectMessage(&data); +} + +void Player::SendMovieStart(uint32 MovieId) +{ + WorldPacket data(SMSG_TRIGGER_MOVIE, 4); + data << uint32(MovieId); + SendDirectMessage(&data); +} + void Player::CheckExploreSystem() { if (!isAlive()) |
