mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
20 lines
431 B
C#
20 lines
431 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.WriteMessage(Data);
|
|
}
|
|
} |