|
|
@ -59,15 +59,16 @@ func GetSrcRoomByLevel(ctx *node.Proxy, gameID, agentID, srcRoomLevel int32) *ga |
|
|
|
} |
|
|
|
|
|
|
|
// GetSrcRoom 获取桌子控制的配置
|
|
|
|
func GetTableCtrlConfig(ctx *node.Proxy, gameID int64, roomLevel string) *gamepb.FetchGameTableTotalsReply { |
|
|
|
func GetTableCtrlConfig(ctx *node.Proxy, gameID int64, roomLevel string, TableType int64) *gamepb.FetchGameTableTotalsReply { |
|
|
|
client, err := gameservice.NewClient(ctx.NewServiceClient) |
|
|
|
if err != nil { |
|
|
|
return nil |
|
|
|
} |
|
|
|
|
|
|
|
reply, err := client.FetchGameTableTotals(context.Background(), &gamepb.FetchGameTableTotalsArgs{ |
|
|
|
GameId: gameID, |
|
|
|
RoomId: roomLevel, |
|
|
|
GameId: gameID, |
|
|
|
RoomId: roomLevel, |
|
|
|
TableType: TableType, |
|
|
|
}) |
|
|
|
return reply |
|
|
|
} |
|
|
|