UNPKG

@bscotch/stitch

Version:

Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.

23 lines 493 B
export class GameMakerUser { data; constructor(data) { this.data = data; } get userEmail() { return this.data.login; } /** * The 'name' part of the user email, used to * construct the local username and directory. */ get userName() { return this.userEmail?.split('@')[0]; } get userId() { return this.data.userID; } toJSON() { return this.data; } } //# sourceMappingURL=GameMakerUser.js.map