public class PlayerInfo extends ValueObject implements ReflectionBasedSerialization {
12
@SerializedName("name")
13
public final String name;
14
@SerializedName("uuid")
15
@JsonAdapter(UUIDTypeAdapter.class)
16
public final UUID uuid;
17
@SerializedName("operator")
18
public boolean operator;
19
@SerializedName("accepted")
20
public final boolean accepted;
21
@SerializedName("online")
22
public final boolean online;
23
24
public PlayerInfo(final String name, final UUID uuid, final boolean operator, final boolean accepted, final boolean online) {
25
this.name = name;
26
this.uuid = uuid;
27
this.operator = operator;
28
this.accepted = accepted;
29
this.online = online;
30
}
31
}
32
Decompiled Minecraft 26.3 source of PlayerInfo (com/mojang/realmsclient/dto/PlayerInfo.java) with Mojang official mappings, stored verbatim on the site.