mirror of
https://github.com/Steffo99/better-tee.git
synced 2024-11-22 15:24:18 +00:00
22 lines
379 B
C#
22 lines
379 B
C#
|
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
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|