make some stuff public

This commit is contained in:
_nebula 2023-07-28 00:45:39 +01:00
parent 34e5590490
commit d53eacb0e5
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ using UnityEngine;
namespace QSB.HUD.Messages;
internal class ChatMessage : QSBMessage<(string message, Color color)>
public class ChatMessage : QSBMessage<(string message, Color color)>
{
public ChatMessage(string msg, Color color) : base((msg, color)) { }

View File

@ -45,7 +45,7 @@ public abstract class QSBMessage
public abstract class QSBMessage<D> : QSBMessage
{
protected D Data { get; private set; }
public D Data { get; private set; }
protected QSBMessage(D data) => Data = data;
public override void Serialize(NetworkWriter writer)