Exemple #1
0
func (t *DbBridge) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("LookLetterBack", t.LookLetterBack)
	s.RegisterCallback("CreateRoleBack", t.CreateRoleBack)
	s.RegisterCallback("RoleInUse", t.RoleInUse)
	s.RegisterCallback("SelectUserBak", t.SelectUserBak)
	s.RegisterCallback("SavePlayerBak", t.SavePlayerBak)
	s.RegisterCallback("UpdateUserInfo", t.UpdateUserInfo)
}
Exemple #2
0
func (t *AreaBridge) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("GetAreaBak", t.GetAreaBak)
	s.RegisterCallback("AddPlayerBak", t.AddPlayerBak)
	s.RegisterCallback("RemovePlayerBak", t.RemovePlayerBak)
}
Exemple #3
0
func (t *LetterSystem) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("DeleteAllLetter", t.DeleteAllLetter)
	s.RegisterCallback("DeleteLetter", t.DeleteLetter)
	s.RegisterCallback("RecvAppendix", t.RecvAppendix)
	s.RegisterCallback("ReadLetter", t.ReadLetter)
}
Exemple #4
0
func (t *Session) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("GetBaseAndId", t.GetBaseAndId)
}
Exemple #5
0
func (t *Account) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Login", t.Login)
}
Exemple #6
0
func (t *PlayerList) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("UpdatePlayer", t.UpdatePlayer)
	s.RegisterCallback("GetPlayerBase", t.GetPlayerBase)
}
Exemple #7
0
func (t *TeleportHelper) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("TeleportPlayerByBase", t.TeleportPlayerByBase)
	s.RegisterCallback("SyncBaseWithSceneData", t.SyncBaseWithSceneData)
}
Exemple #8
0
func (t *Account) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("SelectUser", t.SelectUser)
	s.RegisterCallback("CreatePlayer", t.CreatePlayer)
	s.RegisterCallback("Login", t.Login)
}
Exemple #9
0
func (t *Login) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("AddClient", t.AddClient)
	s.RegisterCallback("SwitchPlayer", t.SwitchPlayer)
}
Exemple #10
0
func (t *Account) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("CheckAccount", t.CheckAccount)
	s.RegisterCallback("ClearStatus", t.ClearStatus)
	s.RegisterCallback("LoadUser", t.LoadUser)
	s.RegisterCallback("CreateUser", t.CreateUser)
	s.RegisterCallback("GetUserInfo", t.GetUserInfo)
	s.RegisterCallback("ClearPlayerStatus", t.ClearPlayerStatus)
	s.RegisterCallback("SavePlayer", t.SavePlayer)
}
Exemple #11
0
func (t *S2CHelper) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Call", t.Call)
}
Exemple #12
0
func (t *Database) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("RecvLetter", t.RecvLetter)
	s.RegisterCallback("LookLetter", t.LookLetter)
	s.RegisterCallback("QueryLetter", t.QueryLetter)
	s.RegisterCallback("SendSystemLetter", t.SendSystemLetter)
	s.RegisterCallback("Log", t.Log)
	s.RegisterCallback("Count", t.Count)
	s.RegisterCallback("InsertRows", t.InsertRows)
	s.RegisterCallback("InsertRow", t.InsertRow)
	s.RegisterCallback("DeleteRow", t.DeleteRow)
	s.RegisterCallback("UpdateRow", t.UpdateRow)
	s.RegisterCallback("QueryRow", t.QueryRow)
	s.RegisterCallback("QueryRows", t.QueryRows)
	s.RegisterCallback("QuerySql", t.QuerySql)
	s.RegisterCallback("ExecSql", t.ExecSql)
	s.RegisterCallback("SaveObject", t.SaveObject)
	s.RegisterCallback("UpdateObject", t.UpdateObject)
	s.RegisterCallback("LoadObject", t.LoadObject)
	s.RegisterCallback("LoadObjectByName", t.LoadObjectByName)
	s.RegisterCallback("DeleteObject", t.DeleteObject)
}
Exemple #13
0
func (gd *GlobalDataHelper) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("CreateGlobalData", gd.CreateGlobalData)
	//数据操作
	s.RegisterCallback("GlobalDataAdd", gd.GlobalDataAdd)
	s.RegisterCallback("GlobalDataSet", gd.GlobalDataSet)
	s.RegisterCallback("GlobalDataSetGrid", gd.GlobalDataSetGrid)
	s.RegisterCallback("GlobalDataSetRow", gd.GlobalDataSetRow)
	s.RegisterCallback("GlobalDataAddRow", gd.GlobalDataAddRow)
	s.RegisterCallback("GlobalDataAddRowValues", gd.GlobalDataAddRowValues)
	s.RegisterCallback("GlobalDataDelRow", gd.GlobalDataDelRow)
	s.RegisterCallback("GlobalDataClearRecord", gd.GlobalDataClearRecord)

	//更新
	s.RegisterCallback("GlobalDataAddData", gd.GlobalDataAddData)
	s.RegisterCallback("GlobalDataUpdate", gd.GlobalDataUpdate)
	s.RegisterCallback("GlobalDataRecAppend", gd.GlobalDataRecAppend)
	s.RegisterCallback("GlobalDataRecDelete", gd.GlobalDataRecDelete)
	s.RegisterCallback("GlobalDataRecClear", gd.GlobalDataRecClear)
	s.RegisterCallback("GlobalDataRecModify", gd.GlobalDataRecModify)
	s.RegisterCallback("GlobalDataRecSetRow", gd.GlobalDataRecSetRow)
}
Exemple #14
0
func (t *TaskLogic) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Submit", t.Submit)
}
Exemple #15
0
func (t *Sync) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("SyncPlayer", t.SyncPlayer)
}