Example #1
0
File: db.go Project: mysll/flynet
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)
}
Example #2
0
File: area.go Project: mysll/flynet
func (t *AreaBridge) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("GetAreaBak", t.GetAreaBak)
	s.RegisterCallback("AddPlayerBak", t.AddPlayerBak)
	s.RegisterCallback("RemovePlayerBak", t.RemovePlayerBak)
}
Example #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)
}
Example #4
0
func (t *Session) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("GetBaseAndId", t.GetBaseAndId)
}
Example #5
0
func (t *Account) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Login", t.Login)
}
Example #6
0
func (t *PlayerList) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("UpdatePlayer", t.UpdatePlayer)
	s.RegisterCallback("GetPlayerBase", t.GetPlayerBase)
}
Example #7
0
func (t *TeleportHelper) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("TeleportPlayerByBase", t.TeleportPlayerByBase)
	s.RegisterCallback("SyncBaseWithSceneData", t.SyncBaseWithSceneData)
}
Example #8
0
func (t *Account) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("SelectUser", t.SelectUser)
	s.RegisterCallback("CreatePlayer", t.CreatePlayer)
	s.RegisterCallback("Login", t.Login)
}
Example #9
0
func (t *Login) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("AddClient", t.AddClient)
	s.RegisterCallback("SwitchPlayer", t.SwitchPlayer)
}
Example #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)
}
Example #11
0
func (t *S2CHelper) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Call", t.Call)
}
Example #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)
}
Example #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)
}
Example #14
0
func (t *TaskLogic) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("Submit", t.Submit)
}
Example #15
0
File: sync.go Project: mysll/flynet
func (t *Sync) RegisterCallback(s rpc.Servicer) {
	s.RegisterCallback("SyncPlayer", t.SyncPlayer)
}