Documentation ¶
Index ¶
- Variables
- func ActivityGM(cmd string)
- func ChangeLeagueName(name, sName, newName, newSName string)
- func ChangeUserName(name, newName string)
- func CheckLeagueNameUnique(name, sName string) uint32
- func CheckUserNameUnique(name string) bool
- func CloseActivity(activityID uint32)
- func DeleteLeagueName(name, sname string)
- func GetServerInfoList() *proto.ST_CS2GS_Sync_ServerList
- func InitGlobalServerConn()
- func Initialize()
- func PingCenterServer()
- func PingGMServer()
- func PingUniqueServer()
- func ReportServerInfo(info *proto.ST_Server_PB, kingLeague, king string, serverinitime uint64, ...)
- func RequestGetGiftPackConfigs() *proto.ST_CS2GS_GetGiftPackConfigs_Response
- func RequestGetLuakyStarCfgs() *proto.ST_CS2GS_GetLuckyStar_Response
- func RequestGetMail(mailId uint64) (int32, []byte)
- func RequestGetOfferGiftPack() *proto.ST_CS2GS_GetOfferGift_Response
- func RequestGetStrongestCommander() *proto.ST_CS2GS_GetStrongestCommanderInfo_Response
- func RequestGetTransferBattle() *proto.ST_CS2GS_GetTransferBattleInfo_Response
- func RequestQueryAccountBindInfo(uid uint64, queryType uint32, idToken, secret string) *proto.ST_QueryAccountBoundResponse
- func RequestSwitchAccount(uid uint64, queryType uint32, idToken, secret string) *proto.ST_SwitchAccountResponse
- func RequestSyncAccountInfo(uid uint64) *proto.ST_SyncAccountDetailsResponse
- func RequestSyncSCStage(num, stage, subStage uint32)
- func RequestSyncTBStage(sid, num, stage uint32)
- func RequestTranslateLanguage(languageID uint32, content string) interface{}
- func RequestUpdateAccountInfo(uid uint64, updateType uint32, idToken, secret string) *proto.ST_UpdateAccountDetailsResponse
- func RequestUpsertMail(pb *proto.ST_MailDB_PB) int32
- func SendMsgToActivityServer(message interface{}) interface{}
- func SendMsgToCenterServer(message interface{}) interface{}
- func SendMsgToGameServer(message interface{}, rpcAddr string) interface{}
- func SendMsgToGlobalServer(message interface{}) interface{}
- func SendMsgToLoginServer(message interface{}) interface{}
- func SendMsgToMailServer(message interface{}) interface{}
- func SendMsgToUniqueServer(message interface{}) interface{}
- func StartNewActivity(ActivityID uint32)
- func SyncServerInfo(info *proto.ST_Server_PB)
- func TryConnectActivityServer(myID uint32, myHost string, myPort uint32) *proto.ST_AS2GS_Activity_InfoList
- func UpdateActivityStage(activityID uint32)
- func UpdateServerNames()
Constants ¶
This section is empty.
Variables ¶
View Source
var LgServerClient proto.LoginServerClient
Functions ¶
func ActivityGM ¶
func ActivityGM(cmd string)
func ChangeLeagueName ¶
func ChangeLeagueName(name, sName, newName, newSName string)
func ChangeUserName ¶
func ChangeUserName(name, newName string)
func CheckLeagueNameUnique ¶
func CheckUserNameUnique ¶
func CloseActivity ¶
func CloseActivity(activityID uint32)
func DeleteLeagueName ¶
func DeleteLeagueName(name, sname string)
func GetServerInfoList ¶
func GetServerInfoList() *proto.ST_CS2GS_Sync_ServerList
func InitGlobalServerConn ¶
func InitGlobalServerConn()
func Initialize ¶
func Initialize()
func PingCenterServer ¶
func PingCenterServer()
func PingGMServer ¶
func PingGMServer()
func PingUniqueServer ¶
func PingUniqueServer()
func ReportServerInfo ¶
func RequestGetGiftPackConfigs ¶
func RequestGetGiftPackConfigs() *proto.ST_CS2GS_GetGiftPackConfigs_Response
func RequestGetLuakyStarCfgs ¶
func RequestGetLuakyStarCfgs() *proto.ST_CS2GS_GetLuckyStar_Response
func RequestGetMail ¶
func RequestGetOfferGiftPack ¶
func RequestGetOfferGiftPack() *proto.ST_CS2GS_GetOfferGift_Response
func RequestGetStrongestCommander ¶
func RequestGetStrongestCommander() *proto.ST_CS2GS_GetStrongestCommanderInfo_Response
func RequestGetTransferBattle ¶
func RequestGetTransferBattle() *proto.ST_CS2GS_GetTransferBattleInfo_Response
func RequestQueryAccountBindInfo ¶
func RequestQueryAccountBindInfo(uid uint64, queryType uint32, idToken, secret string) *proto.ST_QueryAccountBoundResponse
func RequestSwitchAccount ¶
func RequestSwitchAccount(uid uint64, queryType uint32, idToken, secret string) *proto.ST_SwitchAccountResponse
func RequestSyncAccountInfo ¶
func RequestSyncAccountInfo(uid uint64) *proto.ST_SyncAccountDetailsResponse
func RequestSyncSCStage ¶
func RequestSyncSCStage(num, stage, subStage uint32)
func RequestSyncTBStage ¶
func RequestSyncTBStage(sid, num, stage uint32)
func RequestUpdateAccountInfo ¶
func RequestUpdateAccountInfo(uid uint64, updateType uint32, idToken, secret string) *proto.ST_UpdateAccountDetailsResponse
func RequestUpsertMail ¶
func RequestUpsertMail(pb *proto.ST_MailDB_PB) int32
func SendMsgToActivityServer ¶
func SendMsgToActivityServer(message interface{}) interface{}
func SendMsgToCenterServer ¶
func SendMsgToCenterServer(message interface{}) interface{}
func SendMsgToGameServer ¶
func SendMsgToGameServer(message interface{}, rpcAddr string) interface{}
func SendMsgToGlobalServer ¶
func SendMsgToGlobalServer(message interface{}) interface{}
func SendMsgToLoginServer ¶
func SendMsgToLoginServer(message interface{}) interface{}
func SendMsgToMailServer ¶
func SendMsgToMailServer(message interface{}) interface{}
func SendMsgToUniqueServer ¶
func SendMsgToUniqueServer(message interface{}) interface{}
func SyncServerInfo ¶
func SyncServerInfo(info *proto.ST_Server_PB)
func TryConnectActivityServer ¶
func TryConnectActivityServer(myID uint32, myHost string, myPort uint32) *proto.ST_AS2GS_Activity_InfoList
func UpdateActivityStage ¶
func UpdateActivityStage(activityID uint32)
func UpdateServerNames ¶
func UpdateServerNames()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.