/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.mojang.authlib.GameProfile
 *  net.minecraft.class_2561
 *  net.minecraft.class_303
 *  org.spongepowered.asm.mixin.Final
 *  org.spongepowered.asm.mixin.Mixin
 *  org.spongepowered.asm.mixin.Shadow
 *  org.spongepowered.asm.mixin.Unique
 */
package meteordevelopment.meteorclient.mixin;

import com.mojang.authlib.GameProfile;
import meteordevelopment.meteorclient.mixininterface.IChatHudLine;
import net.minecraft.class_2561;
import net.minecraft.class_303;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.Unique;

@Mixin(value={class_303.class})
public abstract class ChatHudLineMixin
implements IChatHudLine {
    @Shadow
    @Final
    private class_2561 comp_893;
    @Unique
    private int id;
    @Unique
    private GameProfile sender;

    @Override
    public String meteor$getText() {
        return this.comp_893.getString();
    }

    @Override
    public int meteor$getId() {
        return this.id;
    }

    @Override
    public void meteor$setId(int id) {
        this.id = id;
    }

    @Override
    public GameProfile meteor$getSender() {
        return this.sender;
    }

    @Override
    public void meteor$setSender(GameProfile profile) {
        this.sender = profile;
    }
}

