![]() |
EasyTalk API
|
Defines attributes for a character, such as their name, icons, and portrayal images/spritesheets. More...
Public Member Functions | |
AnimatableDisplayImage | GetIconSprite (string id) |
Returns the character's icon which has the specified ID, if it exists. | |
AnimatableDisplayImage | GetPortrayalSprite (string id) |
Returns the character's portrait which has the specified ID, if it exists. | |
Properties | |
string | CharacterName [get, set] |
Gets or sets the name of the character. | |
List< AnimatableDisplayImage > | IconsSprites [get] |
GEts the List of icons for the character. | |
List< AnimatableDisplayImage > | PortrayalSprites [get] |
Gets the List of portraits for the character. | |
Private Attributes | |
string | characterName |
The name of the character. | |
List< AnimatableDisplayImage > | iconsSprites = new List<AnimatableDisplayImage>() |
A collection of displayable icons for the character. | |
List< AnimatableDisplayImage > | portrayalSprites = new List<AnimatableDisplayImage>() |
A collection of displayable portraits for the character. | |
Defines attributes for a character, such as their name, icons, and portrayal images/spritesheets.
AnimatableDisplayImage EasyTalk.Character.CharacterDefinition.GetIconSprite | ( | string | id | ) |
Returns the character's icon which has the specified ID, if it exists.
id | The ID of the icon to retrieve. |
AnimatableDisplayImage EasyTalk.Character.CharacterDefinition.GetPortrayalSprite | ( | string | id | ) |
Returns the character's portrait which has the specified ID, if it exists.
id | The ID of the portrait to retrieve. |
|
private |
The name of the character.
|
private |
A collection of displayable icons for the character.
|
private |
A collection of displayable portraits for the character.
|
getset |
Gets or sets the name of the character.
|
get |
GEts the List of icons for the character.
|
get |
Gets the List of portraits for the character.