PocketMine-MP 5.43.2 git-c9e7b3ab9bd2149f206392522e8eb7e9d8d68cfa
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\clientdata;
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 bool $FilterProfanity;
69
71 public string $GameVersion;
72
74 public int $GraphicsMode;
75
77 public int $GuiScale;
78
80 public bool $IsEditorMode;
81
83 public string $LanguageCode;
84
86 public int $MaxViewDistance;
87
89 public int $MemoryTier;
90
91 public bool $OverrideSkin;
92
93 public string $PartyId;
94 public bool $IsPartyLeader;
95
100 public array $PersonaPieces;
101
103 public bool $PersonaSkin;
104
109 public array $PieceTintColors;
110
112 public string $PlatformOfflineId;
113
115 public string $PlatformOnlineId;
116
118 public int $PlatformType;
119
120 public string $PlatformUserId = ""; //xbox-only, apparently
121
123 public bool $PremiumSkin = false;
124
126 public string $SelfSignedId;
127
129 public string $ServerAddress;
130
132 public string $SkinAnimationData;
133
135 public string $SkinColor;
136
138 public string $SkinData;
139
141 public string $SkinGeometryData;
142
145
147 public string $SkinId;
148
151
153 public int $SkinImageWidth;
154
156 public string $SkinResourcePatch;
157
159 public string $ThirdPartyName;
160
162 public bool $TrustedSkin;
163
165 public int $UIProfile;
166}