mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-19 12:40:56 +00:00
rename to WriteMessage
This commit is contained in:
parent
053efa8c7e
commit
8f317512a4
@ -15,6 +15,6 @@ internal class ChatMessage : QSBMessage<string>
|
|||||||
|
|
||||||
public override void OnReceiveRemote()
|
public override void OnReceiveRemote()
|
||||||
{
|
{
|
||||||
MultiplayerHUDManager.Instance.RegisterMessage(Data);
|
MultiplayerHUDManager.Instance.WriteMessage(Data);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -72,7 +72,7 @@ internal class MultiplayerHUDManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
private List<string> _lines = new List<string>(new string[LINE_COUNT]);
|
private List<string> _lines = new List<string>(new string[LINE_COUNT]);
|
||||||
private ListStack<string> _messages = new(LINE_COUNT);
|
private ListStack<string> _messages = new(LINE_COUNT);
|
||||||
|
|
||||||
public void RegisterMessage(string message)
|
public void WriteMessage(string message)
|
||||||
{
|
{
|
||||||
/* Tricky problem to solve.
|
/* Tricky problem to solve.
|
||||||
* - 11 available lines for text to fit onto
|
* - 11 available lines for text to fit onto
|
||||||
|
Loading…
x
Reference in New Issue
Block a user