Documentation
¶
Index ¶
- Constants
- func CreateText(data map[string]interface{}) entities.GameText
- func GetActiveTextLanguages() []entities.Language
- func GetText(textId string) (entities.GameText, bool)
- func GetTextLanguages() []entities.Language
- func UpdateText(textId string, data map[string]interface{}) entities.GameText
- func ValidateText(data map[string]interface{}) (bool, map[string]string)
Constants ¶
View Source
const STATUS_ACTIVE = 2
View Source
const STATUS_DISABLED = 0
View Source
const STATUS_SUBMITTED = 1
View Source
const TEXT_MAX_LENGTH = 240
View Source
const TEXT_MIN_LENGTH = 160
Variables ¶
This section is empty.
Functions ¶
func CreateText ¶
func GetActiveTextLanguages ¶
Retrieves list of languages that are actually used by texts in game
func GetTextLanguages ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.