yolkbot
    Preparing search index...

    Class Account

    Represents an account. Includes the VIP status, owned items, loadout, and more.

    Index

    Accessors

    Constructors

    Methods

    Properties

    adminRoles: number = 0

    The account's admin permissions

    bot: Bot

    The Bot attached to the Account instance

    A ChiknWinner instance with the account hooked up

    eggBalance: number = 0

    The account's egg balance

    email: string = ''

    The account's email, if it was signed in with one

    emailVerified: boolean = false

    Is the account email verified?

    firebase: {
        expiresIn: string;
        idToken: string;
        localId: string;
        refreshToken: string;
    } = ...

    The Firebase authentication information

    firebaseId: string = ''

    The ID in Firebase's database

    id: number = 0

    The ID in the game's database; used for authentication

    isAged: boolean = false

    Was the account created before 5/1/24? (acts as chat bypass)

    isCG: boolean = false

    Is the account linked to CG?

    loadout: RawAccountLoadout = ...

    The account's loadout (comsetics on the eggs in-game)

    ownedItemIds: number[] = []

    An array of item IDs that the account owns

    password: string = ''

    The account's password, if it was signed in with one

    rawLoginData: RawLoginData

    Raw socket output for the login data

    renewSessionInterval: Timeout | null = null

    The renew session interval, provided Intents has RENEW_SESSION

    session: number = 0

    A session number

    sessionId: string = ''

    A session UUID

    shop: Shop

    A Shop instance with the account hooked up

    vip: boolean = false

    Is the account a VIP?