fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
32 lines (31 loc) • 718 B
TypeScript
import Base from '../Base';
import type Client from '../Client';
import type User from './user/User';
import type { CreatorCodeData } from '../../resources/structs';
/**
* Represents a Support-A-Creator code
*/
declare class CreatorCode extends Base {
/**
* The Support-A-Creator code (slug)
*/
code: string;
/**
* The code's owner
*/
owner: User;
/**
* Whether the code is enabled
*/
isEnabled: boolean;
/**
* Whether the code is verified
*/
isVerified: boolean;
/**
* @param client The main client
* @param data The creator code data
*/
constructor(client: Client, data: CreatorCodeData);
}
export default CreatorCode;