Calla-Site/wwwroot/scripts/game.js
/**
     * Returns a serialized representation of the current avatar,
     * if such a representation exists.
     * @returns {string}
     **/
Returns a serialized representation of the current avatar,
if such a representation exists.
@returns {string}
Returns a serialized representation of the current avatar if such a representation exists . @returns { string }
get avatarID() {
        switch (this.avatarMode) {
            case AvatarMode.emoji:
                return { value: this.avatarEmoji.value, desc: this.avatarEmoji.desc };
            case AvatarMode.photo:
                return this.avatarImage;
            default:
                return null;
        }
    }
get avatarID ( ) { switch ( this . avatarMode ) { case AvatarMode . emoji : return { value : this . avatarEmoji . value , desc : this . avatarEmoji . desc } ; case AvatarMode . photo : return this . avatarImage ; default : return null ; } }
Returns a serialized representation of the current avatar,
 if such a representation exists.
Returns a serialized representation of the current avatar if such a representation exists .