mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-04-15 05:15:53 -05:00
- Rewrote networking based on tutorials from MLAPI Demo Project and Dapper Dino - Created Lobby UI based on the turorial from Dapper Dino - Linked Existing UI into using the new networking - Modified Lobby Settings to only allow 3 players - Added Field for players to enter their player name
12 lines
261 B
C#
12 lines
261 B
C#
public struct PlayerData {
|
|
|
|
public string PlayerName { get; private set; }
|
|
public ulong ClientId { get; private set; }
|
|
|
|
public PlayerData(string playerName, ulong clientId)
|
|
{
|
|
PlayerName = playerName;
|
|
ClientId = clientId;
|
|
}
|
|
}
|