PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
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
80 public int $MaxViewDistance;
81
83 public int $MemoryTier;
84
85 public bool $OverrideSkin;
86
91 public array $PersonaPieces;
92
94 public bool $PersonaSkin;
95
100 public array $PieceTintColors;
101
103 public string $PlatformOfflineId;
104
106 public string $PlatformOnlineId;
107
109 public int $PlatformType;
110
111 public string $PlatformUserId = ""; //xbox-only, apparently
112
114 public string $PlayFabId;
115
117 public bool $PremiumSkin = false;
118
120 public string $SelfSignedId;
121
123 public string $ServerAddress;
124
126 public string $SkinAnimationData;
127
129 public string $SkinColor;
130
132 public string $SkinData;
133
135 public string $SkinGeometryData;
136
139
141 public string $SkinId;
142
145
147 public int $SkinImageWidth;
148
150 public string $SkinResourcePatch;
151
153 public string $ThirdPartyName;
154
157
159 public bool $TrustedSkin;
160
162 public int $UIProfile;
163}