mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Conversations: Conversation actor improvements
* Store NoActorObject in database * Support adding player as conversation actor using database * Send actor id in packets Co-authored-by: funjoker <funjoker109@gmail.com> Closes #27911
This commit is contained in:
7
sql/updates/world/master/2022_04_19_00_world.sql
Normal file
7
sql/updates/world/master/2022_04_19_00_world.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE `conversation_actors`
|
||||
ADD `NoActorObject` TINYINT(3) UNSIGNED NULL DEFAULT '0' AFTER `CreatureDisplayInfoId`,
|
||||
ADD `ActivePlayerObject` TINYINT(3) UNSIGNED NULL DEFAULT '0' AFTER `NoActorObject`;
|
||||
|
||||
DELETE FROM `conversation_actors` WHERE `ConversationId`=13254 AND `Idx`=1;
|
||||
INSERT INTO `conversation_actors` (`ConversationId`,`ConversationActorId`,`ConversationActorGuid`,`Idx`,`CreatureId`,`CreatureDisplayInfoId`,`NoActorObject`,`ActivePlayerObject`,`VerifiedBuild`) VALUES
|
||||
(13254,0,0,1,0,0,0,1,40120);
|
||||
Reference in New Issue
Block a user