PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
ClientData.php
1<?php
2
3/*
4 * This file is part of BedrockProtocol.
5 * Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6 *
7 * BedrockProtocol is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 */
12
13declare(strict_types=1);
14
15namespace pocketmine\network\mcpe\protocol\types\login;
16
20final class ClientData{
21
26 public array $AnimatedImageData;
27
29 public string $ArmSize;
30
32 public string $CapeData;
33
35 public string $CapeId;
36
38 public int $CapeImageHeight;
39
41 public int $CapeImageWidth;
42
44 public bool $CapeOnClassicSkin;
45
47 public int $ClientRandomId;
48
51
54
57
59 public string $DeviceId;
60
62 public string $DeviceModel;
63
65 public int $DeviceOS;
66
68 public string $GameVersion;
69
71 public int $GuiScale;
72
74 public bool $IsEditorMode;
75
77 public string $LanguageCode;
78
79 public bool $OverrideSkin;
80
85 public array $PersonaPieces;
86
88 public bool $PersonaSkin;
89
94 public array $PieceTintColors;
95
97 public string $PlatformOfflineId;
98
100 public string $PlatformOnlineId;
101
102 public string $PlatformUserId = ""; //xbox-only, apparently
103
105 public string $PlayFabId;
106
108 public bool $PremiumSkin = false;
109
111 public string $SelfSignedId;
112
114 public string $ServerAddress;
115
117 public string $SkinAnimationData;
118
120 public string $SkinColor;
121
123 public string $SkinData;
124
126 public string $SkinGeometryData;
127
130
132 public string $SkinId;
133
136
138 public int $SkinImageWidth;
139
141 public string $SkinResourcePatch;
142
144 public string $ThirdPartyName;
145
148
150 public bool $TrustedSkin;
151
153 public int $UIProfile;
154}