mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
20 lines
434 B
C#
20 lines
434 B
C#
using QSB.Messaging;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QSB.HUD.Messages;
|
|
|
|
internal class ChatMessage : QSBMessage<string>
|
|
{
|
|
public ChatMessage(string msg) : base(msg) { }
|
|
|
|
public override void OnReceiveLocal() => OnReceiveRemote();
|
|
|
|
public override void OnReceiveRemote()
|
|
{
|
|
MultiplayerHUDManager.Instance.RegisterMessage(Data);
|
|
}
|
|
} |