20 lines
557 B
C#
20 lines
557 B
C#
using Tiger.Communication.Messages.Interfaces;
|
|
using Tiger.Communication.Messages.Types;
|
|
|
|
namespace Tiger.Communication.Messages.Outgoing.Notifications;
|
|
|
|
public class HabboBroadcastMessageComposer : IMessageComposer
|
|
{
|
|
private readonly string _welcomeMessage;
|
|
|
|
public HabboBroadcastMessageComposer(string welcomeMessage)
|
|
{
|
|
_welcomeMessage = welcomeMessage;
|
|
}
|
|
|
|
public OutgoingHeaders Header => OutgoingHeaders.GenericAlert;
|
|
public void Compose(ServerMessage message)
|
|
{
|
|
message.AppendString(_welcomeMessage);
|
|
}
|
|
} |