Documentation ¶
Overview ¶
Package dofustyp is a library of basic data types for Dofus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChatChannels = map[ChatChannel]string{ ChatChannelInfo: "Info", ChatChannelPublic: "Public", ChatChannelPrivate: "Private", ChatChannelGroup: "Group", ChatChannelTeam: "Team", ChatChannelGuild: "Guild", ChatChannelAlignment: "Alignment", ChatChannelRecruitment: "Recruitment", ChatChannelTrading: "Trading", ChatChannelNewbies: "Newbies", ChatChannelAdmin: "Admin", }
View Source
var Communities = map[Community]string{ CommunityFrenchSpeaking: "French-speaking", CommunityUnitedKingdomAndIreland: "United Kingdom & Ireland", CommunityInternational: "International", CommunityGerman: "German", CommunitySpanishSpeaking: "Spanish-speaking", CommunityRussian: "Russian", CommunityBrazilian: "Brazilian", CommunityDutch: "Dutch", CommunityItalian: "Italian", CommunityJapanese: "Japanese", CommunityDebug: "Debug", }
View Source
var ErrInvalidValue = errors.New("invalid value")
View Source
var Genders = map[Gender]string{ GenderMale: "Male", GenderFemale: "Female", }
Functions ¶
This section is empty.
Types ¶
type AccountName ¶
type AccountName string
func (AccountName) Validate ¶
func (n AccountName) Validate() error
type ChatChannel ¶
type ChatChannel rune
const ( ChatChannelInfo ChatChannel = 'i' ChatChannelPublic ChatChannel = '*' ChatChannelPrivate ChatChannel = 'p' ChatChannelGroup ChatChannel = '$' ChatChannelTeam ChatChannel = '#' ChatChannelGuild ChatChannel = '%' ChatChannelAlignment ChatChannel = '!' ChatChannelRecruitment ChatChannel = '?' ChatChannelTrading ChatChannel = ':' ChatChannelNewbies ChatChannel = '^' ChatChannelAdmin ChatChannel = '@' )
func (ChatChannel) String ¶
func (a ChatChannel) String() string
func (ChatChannel) Validate ¶
func (a ChatChannel) Validate() error
Click to show internal directories.
Click to hide internal directories.