Gift
data class Gift(val giftID: String = "", val name: String = "", val desc: String = "", val iconURL: String = "", val resourceURL: String = "", val level: Long = 0, val coins: Long = 0, val extensionInfo: Map<String, String> = emptyMap())
Gift data model, containing complete attribute information of a single gift.
Overview
Contains complete information about the gift including ID, name, description, icon, animation resource, etc.
| Property | Type | Description |
| giftID | String | Gift ID |
| name | String | Gift name |
| desc | String | Gift description |
| iconURL | String | Network URL of the gift icon image |
| resourceURL | String | Network URL of the gift animation resource file |
| level | Long | Gift level |
| coins | Long | Gift price (coins) |
| extensionInfo | Map<String, String> | Gift extension information |