first commit

This commit is contained in:
2025-07-06 00:23:46 +02:00
commit 38f50c8819
1788 changed files with 112878 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using UnityEngine;
namespace NitroxClient.GameLogic.ChatUI
{
public class ChatLogEntry
{
public string PlayerName { get; }
public string MessageText { get; set; }
public Color32 PlayerColor { get; }
public string Time { get; set; }
public GameObject EntryObject { get; set; }
public ChatLogEntry(string playerName, string messageText, Color32 playerColor)
{
PlayerName = playerName;
MessageText = messageText;
PlayerColor = playerColor;
UpdateTime();
}
public void UpdateTime() => Time = DateTime.Now.ToString("HH:mm");
}
}