new Achievement(name, desc, icon, hide)
Achievement class
Parameters:
Name | Type | Description |
---|---|---|
name | string | Name of Achievement |
desc | string | Description of Achievement |
icon | string | Path to icon image |
hide | number | Hide levels : 0=show, 1=hide description, 2=hide, 3=secret (doesn't count toward achievement total) |
- Source
Methods
UpdateLocale() → {void}
Updates the localization for Achievement
- Source
Returns:
- Type:
- void