22 public UuidInterface $uuid;
23 public int $actorUniqueId;
24 public string $username;
26 public string $xboxUserId;
27 public string $platformChatId =
"";
28 public int $buildPlatform = DeviceOS::UNKNOWN;
29 public bool $isTeacher =
false;
30 public bool $isHost =
false;
31 public bool $isSubClient =
false;
33 public static function createRemovalEntry(UuidInterface $uuid) :
PlayerListEntry{
40 public static function createAdditionEntry(
45 string $xboxUserId =
"",
46 string $platformChatId =
"",
47 int $buildPlatform = -1,
48 bool $isTeacher =
false,
50 bool $isSubClient =
false
54 $entry->actorUniqueId = $actorUniqueId;
55 $entry->username = $username;
56 $entry->skinData = $skinData;
57 $entry->xboxUserId = $xboxUserId;
58 $entry->platformChatId = $platformChatId;
59 $entry->buildPlatform = $buildPlatform;
60 $entry->isTeacher = $isTeacher;
61 $entry->isHost = $isHost;
62 $entry->isSubClient = $isSubClient;