PixelPlaceJS-new - v3.4.3
    Preparing search index...

    Type Alias UserProfilePacket

    UserProfilePacket:
        | {
            color: number;
            golden: boolean;
            halloween: boolean;
            lastActivity: number;
            name: string;
            online: true;
            painting: number;
            rainbow: boolean;
            slug: string;
            username: string;
            x: number;
            xmas: boolean;
            y: number;
        }
        | { online: false }

    Represents a user profile.

    Type Declaration

    • {
          color: number;
          golden: boolean;
          halloween: boolean;
          lastActivity: number;
          name: string;
          online: true;
          painting: number;
          rainbow: boolean;
          slug: string;
          username: string;
          x: number;
          xmas: boolean;
          y: number;
      }
      • color: number

        The user's color.

      • golden: boolean

        Whether the user is top 5 golden bars.

      • halloween: boolean

        Whether the user has the Halloween effect.

      • lastActivity: number

        The user's last activity timestamp.

      • name: string

        The user's name.

      • online: true

        Whether the user is online. This will be true if all other values are set.

      • painting: number

        The user's current painting.

      • rainbow: boolean

        Whether the user has the rainbow effect.

      • slug: string

        The name of the canvas of the user.

      • username: string

        The user's username.

      • x: number

        The user's x-coordinate.

      • xmas: boolean

        Whether the user has the Christmas effect.

      • y: number

        The user's y-coordinate.

    • { online: false }
      • online: false

        Whether the user is online. This will be false if all other values aren't set.