Skip to content

Organizer

Brandon Cooke edited this page Aug 6, 2019 · 1 revision

Organizer

An Organizer is an individual or organization in Smash.gg that organizes a tournament and is the owner of a Tournament's webpage in smash.gg

let org = new Organizer(7000, 'info@recursion.gg', '123-456-7890', '@recursiongg', 'This is where info goes lul');

console.log(org.getName());
console.log(org.getTwitter());

Constructor

Organizer(
    id: number | null,
    email: string | null,
    phone: string | null,
    twitter: string | null,
    info: string | null
);

Getters

  • getId()
    • gets the numeric id of the organizer
    • number | null
  • getEmail()
    • gets the email string of the organizer
    • string | null
  • getPhone()
    • gets the phone number string of the organizer
    • string | null
  • getTwitter()
    • gets the twitter handle string of the organizer
    • string | null
  • getInfo()
    • gets the information string of the organizer
    • string | null

Clone this wiki locally