1
Fork 0
mirror of https://github.com/Steffo99/better-tee.git synced 2024-11-22 15:24:18 +00:00
better-tee/Assets/Code/Common/ConnectedPlayer.cs

22 lines
379 B
C#
Raw Normal View History

2019-09-19 10:28:02 +00:00
using System;
[Serializable]
public class ConnectedPlayerData {
public string name;
public int id;
}
public class ConnectedPlayer {
public string name;
public int id;
public ConnectedPlayerData Data {
get {
return new ConnectedPlayerData {
name = this.name,
id = this.id
};
}
}
}