Package com.treescrub.spedran.data
Class UserAssets
- java.lang.Object
-
- com.treescrub.spedran.data.UserAssets
-
public class UserAssets extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Link>getAvatar()Gets aLinkto the user's custom avatar.Optional<Link>getIcon()Gets aLinkto the user's custom icon.Optional<Link>getSupporterIcon()Gets aLinkto the user's custom supporter icon.
-
-
-
Method Detail
-
getIcon
public Optional<Link> getIcon()
Gets aLinkto the user's custom icon.
The icon is shown next to the username on the user's profile, on comments, and on forum posts.- Returns:
- an
Optionalwith aLinkto an image, empty if a custom image is not set
-
getSupporterIcon
public Optional<Link> getSupporterIcon()
Gets aLinkto the user's custom supporter icon.
The supporter icon is a second icon next to the username.- Returns:
- an
Optionalwith aLinkto an image, empty if a custom image is not set
-
-