23 public UuidInterface $uuid;
24 public int $actorUniqueId;
25 public string $username;
27 public string $xboxUserId;
28 public string $platformChatId =
"";
29 public int $buildPlatform = DeviceOS::UNKNOWN;
30 public bool $isTeacher =
false;
31 public bool $isHost =
false;
32 public bool $isSubClient =
false;
33 public ?
Color $color =
null;
35 public static function createRemovalEntry(UuidInterface $uuid) :
PlayerListEntry{
42 public static function createAdditionEntry(
47 string $xboxUserId =
"",
48 string $platformChatId =
"",
49 int $buildPlatform = -1,
50 bool $isTeacher =
false,
52 bool $isSubClient =
false,
57 $entry->actorUniqueId = $actorUniqueId;
58 $entry->username = $username;
59 $entry->skinData = $skinData;
60 $entry->xboxUserId = $xboxUserId;
61 $entry->platformChatId = $platformChatId;
62 $entry->buildPlatform = $buildPlatform;
63 $entry->isTeacher = $isTeacher;
64 $entry->isHost = $isHost;
65 $entry->isSubClient = $isSubClient;
66 $entry->color = $color;