mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Enum ToSentence improvements * Network.EnqueueSend improvements * Improve SerializePhysicsData * GameMessage improvements * GameEventMessage updates * more initial sizes * Few more GameMessages * few more
12 lines
452 B
C#
12 lines
452 B
C#
namespace ACE.Server.Network.GameEvent.Events
|
|
{
|
|
public class GameEventVictimNotification : GameEventMessage
|
|
{
|
|
public GameEventVictimNotification(Session session, string deathMessage)
|
|
: base(GameEventType.VictimNotification, GameMessageGroup.UIQueue, session, 120) // 120 is the max seen in retail pcaps
|
|
{
|
|
// sent to player when they die
|
|
Writer.WriteString16L(deathMessage);
|
|
}
|
|
}
|
|
}
|