Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BungieClan {
- constructor(id, json) {
- this._id = id;
- this._name = json.Response.detail.name;
- this._created = json.Response.detail.creationDate;
- this._public = json.Response.detail.isPublic;
- this._memberc = json.Response.detail.memberCount;
- this._groupType = json.Response.detail.groupType;
- this._about = json.Response.detail.about;
- this._motto = json.Response.detail.motto;
- this._allowchat = json.Response.detail.allowChat;
- this._isDefaultPostPublic = json.Response.detail.isDefaultPostPublic;
- this._locale = json.Response.detail.locale;
- this._defaultPublicity = json.Response.detail.defaultPublicity;
- this._bannerPath = json.Response.detail.bannerPath;
- this._avatarPath = json.Response.detail.avatarPath;
- this._founderName = json.Response.founder.destinyUserInfo.displayName;
- this._founderId = json.Response.founder.destinyUserInfo.membershipId;
- this._json = json;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement