rpcClient

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 CheckLeagueNameUnique(name, sName string) uint32

func CheckUserNameUnique

func CheckUserNameUnique(name string) bool

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 ReportServerInfo(info *proto.ST_Server_PB, kingLeague, king string, serverinitime uint64, powerLimit int32, kingSid uint32)

func RequestGetLuakyStarCfgs

func RequestGetLuakyStarCfgs() *proto.ST_CS2GS_GetLuckyStar_Response

func RequestGetMail

func RequestGetMail(mailId uint64) (int32, []byte)

func RequestGetOfferGiftPack

func RequestGetOfferGiftPack() *proto.ST_CS2GS_GetOfferGift_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 RequestTranslateLanguage

func RequestTranslateLanguage(languageID uint32, content string) interface{}

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 StartNewActivity

func StartNewActivity(ActivityID uint32)

申请开始一个新活动

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL