ServerConfiguration/Calla/Calla-Lib/game/bundle.js
/**
     * Returns the current avatar
     * @returns {BaseAvatar}
     **/
Returns the current avatar
@returns {BaseAvatar}
Returns the current avatar @returns { BaseAvatar }
get avatar() {
        switch (this.avatarMode) {
            case AvatarMode.emoji:
                return this._avatarEmoji;
            case AvatarMode.photo:
                return this._avatarImage;
            case AvatarMode.video:
                return this._avatarVideo;
            default:
                return null;
        }
    }
get avatar ( ) { switch ( this . avatarMode ) { case AvatarMode . emoji : return this . _avatarEmoji ; case AvatarMode . photo : return this . _avatarImage ; case AvatarMode . video : return this . _avatarVideo ; default : return null ; } }
Returns the current avatar
 @returns {BaseAvatar}
Returns the current avatar @returns { BaseAvatar }