File size: 1,434 Bytes
d46f4a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package com.mojang.realmsclient.dto;

import com.google.gson.annotations.SerializedName;
import java.util.UUID;
import javax.annotation.Nullable;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

@OnlyIn(Dist.CLIENT)
public class PlayerInfo extends ValueObject implements ReflectionBasedSerialization {
    @SerializedName("name")
    @Nullable
    private String name;
    @SerializedName("uuid")
    private UUID uuid;
    @SerializedName("operator")
    private boolean operator;
    @SerializedName("accepted")
    private boolean accepted;
    @SerializedName("online")
    private boolean online;

    public String getName() {
        return this.name == null ? "" : this.name;
    }

    public void setName(String p_87449_) {
        this.name = p_87449_;
    }

    public UUID getUuid() {
        return this.uuid;
    }

    public void setUuid(UUID p_300492_) {
        this.uuid = p_300492_;
    }

    public boolean isOperator() {
        return this.operator;
    }

    public void setOperator(boolean p_87451_) {
        this.operator = p_87451_;
    }

    public boolean getAccepted() {
        return this.accepted;
    }

    public void setAccepted(boolean p_87456_) {
        this.accepted = p_87456_;
    }

    public boolean getOnline() {
        return this.online;
    }

    public void setOnline(boolean p_87459_) {
        this.online = p_87459_;
    }
}