Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Conf CSO2Conf Locales CSO2Locales )
Functions ¶
func SetLocales ¶ added in v0.3.10
func SetLocales()
Types ¶
type CSO2Conf ¶
type CSO2Conf struct {
PORT uint32
HolePunchPort uint32
EnableRedis uint32
EnableDataBase uint32
UseJson uint32
MaxUsers uint32
EnableShop uint32
UnlockAllWeapons uint32
UnlockAllSkills uint32
RedisIP string
RedisPort uint32
DebugLevel uint32
LogFile uint32
EnableConsole uint32
EnableRegister uint32
EnableMail uint32
REGPort uint32
REGEmail string
REGPassWord string
REGSMTPaddr string
LocaleFile string
}
type CSO2Locales ¶ added in v0.3.10
type CSO2Locales struct {
GAME_ROOM_LEAVE_EARLY string
GAME_SERVER_ERROR string
GAME_LOGIN_ALREADY string
GAME_LOGIN_ERROR string
GAME_ROOM_COUNT_MODE_ERROR string
GAME_ROOM_JOIN_ERROR string
}
func (*CSO2Locales) InitLocales ¶ added in v0.3.10
func (locales *CSO2Locales) InitLocales(path string) bool
Click to show internal directories.
Click to hide internal directories.