- Account
- Account.AchievementCount
- Account.ChallengeLevel
- Account.PlatformDiamond
- Account.PlatformSkinTicket
- AccountActiveState
- AccountCacheView
- AccountDetailStatistic
- AccountDetailStatisticByCategory
- AccountDetailStatisticV2
- AccountDetailStatisticV2.ChallengeStatistic
- AccountDetailStatisticV2.ChallengeStatistic.SeasonData
- AccountDetailStatisticV2.CustomizedContestStatistic
- AccountDetailStatisticV2.RankStatistic
- AccountDetailStatisticV2.RankStatistic.RankData
- AccountDetailStatisticV2.RankStatistic.RankData.RankLevelData
- AccountFanAchieved
- AccountLevel
- AccountMahjongStatistic
- AccountMahjongStatistic.GameResult
- AccountMahjongStatistic.HighestHuRecord
- AccountMahjongStatistic.HuSummary
- AccountMahjongStatistic.LiQi10Summary
- AccountMahjongStatistic.Liqi20Summary
- AccountMahjongStatistic.RoundSummary
- AccountOwnerData
- AccountPlayingGame
- AccountSetting
- AccountShiLian
- AccountStatisticByFan
- AccountStatisticByGameMode
- AccountStatisticByGameMode.RankScore
- AccountStatisticByGameMode.RoundEndData
- AccountStatisticData
- AccountUpdate
- AccountUpdate.AccountABMatchUpdate
- AccountUpdate.AccountABMatchUpdate.MatchPoint
- AccountUpdate.AccountChallengeUpdate
- AccountUpdate.AchievementUpdate
- AccountUpdate.CharacterUpdate
- AccountUpdate.DailyTaskUpdate
- AccountUpdate.NumericalUpdate
- AccountUpdate.TaskUpdate
- AccountUpdate.TitleUpdate
- AchievementProgress
- ActionAnGangAddGang
- ActionBaBei
- ActionChangeTile
- ActionChiPengGang
- ActionDealTile
- ActionDiscardTile
- ActionHule
- ActionHuleXueZhanEnd
- ActionHuleXueZhanMid
- ActionLiuJu
- ActionMJStart
- ActionNewRound
- ActionNoTile
- ActionPrototype
- Activity
- ActivityAccumulatedPointData
- ActivityRankPointData
- Announcement
- AntiAddiction
- Bag
- BagUpdate
- BillShortcut
- BillingGoods
- BillingProduct
- BuyRecord
- ChangeNicknameRecord
- Character
- ChestData
- ChestDataV2
- ClientDeviceInfo
- ClientVersionInfo
- CommentItem
- ContestDetailRule
- ContestDetailRuleV2
- ContestDetailRuleV2.ExtraRule
- ContestGameInfo
- ContestGameInfo.Player
- ContestMatchingPlayer
- ContestMatchingPlayer.Controller
- ContestPlayerInfo
- CustomizedContest
- CustomizedContestAbstract
- CustomizedContestBase
- CustomizedContestDetail
- CustomizedContestExtend
- CustomizedContestGameEnd
- CustomizedContestGameEnd.Item
- CustomizedContestGameStart
- CustomizedContestGameStart.Item
- CustomizedContestPlayerReport
- Error
- ExchangeRecord
- ExecuteReward
- FaithData
- FanInfo
- Friend
- GameConfig
- GameConnectInfo
- GameDetailRecords
- GameDetailRule
- GameEnd
- GameEndAction
- GameEndResult
- GameEndResult.PlayerItem
- GameFinalSnapshot
- GameFinalSnapshot.AFKInfo
- GameFinalSnapshot.CalculateParam
- GameFinalSnapshot.FinalPlayer
- GameFinalSnapshot.GameSeat
- GameLiveHead
- GameLiveSegment
- GameLiveSegmentUri
- GameLiveUnit
- GameMetaData
- GameMode
- GameNewRoundState
- GameNoopAction
- GameRestore
- GameRoundHuData
- GameRoundHuData.Fan
- GameRoundHuData.HuPai
- GameRoundPlayer
- GameRoundPlayerResult
- GameRoundSnapshot
- GameRuleSetting
- GameSetting
- GameSnapshot
- GameSnapshot.PlayerSnapshot
- GameSnapshot.PlayerSnapshot.Fulu
- GameTestingEnvironmentSet
Account
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string | ||
login_time | uint32 | ||
logout_time | uint32 | ||
room_id | uint32 | ||
anti_addiction | AntiAddiction | ||
title | uint32 | ||
signature | string | ||
string | |||
email_verify | uint32 | ||
gold | uint32 | ||
diamond | uint32 | ||
avatar_id | uint32 | ||
vip | uint32 | ||
birthday | int32 | ||
phone | string | ||
phone_verify | uint32 | ||
platform_diamond | Account.PlatformDiamond | repeated | |
level | AccountLevel | ||
level3 | AccountLevel | ||
avatar_frame | uint32 | ||
skin_ticket | uint32 | ||
platform_skin_ticket | Account.PlatformSkinTicket | repeated | |
verified | uint32 | ||
challenge_levels | Account.ChallengeLevel | repeated | |
achievement_count | Account.AchievementCount | repeated |
Account.AchievementCount
Field | Type | Label | Description |
rare | uint32 | ||
count | uint32 |
Account.ChallengeLevel
Field | Type | Label | Description |
season | uint32 | ||
level | uint32 | ||
rank | uint32 |
Account.PlatformDiamond
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 |
Account.PlatformSkinTicket
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 |
AccountActiveState
Field | Type | Label | Description |
account_id | uint32 | ||
login_time | uint32 | ログイン時間 (Unix 時間)にゃ. | |
logout_time | uint32 | ログアウト時間 (Unix 時間)にゃ. | |
is_online | bool | ||
playing | AccountPlayingGame |
AccountCacheView
Field | Type | Label | Description |
cache_version | uint32 | ||
account_id | uint32 | ||
nickname | string | ||
login_time | uint32 | ||
logout_time | uint32 | ||
is_online | bool | ||
room_id | uint32 | ||
title | uint32 | ||
avatar_id | uint32 | ||
vip | uint32 | ||
level | AccountLevel | ||
playing_game | AccountPlayingGame | ||
level3 | AccountLevel | ||
avatar_frame | uint32 | ||
verified | uint32 | ||
ban_deadline | uint32 | ||
comment_ban | uint32 | ||
ban_state | uint32 |
AccountDetailStatistic
Field | Type | Label | Description |
game_mode | AccountStatisticByGameMode | repeated | |
fan | AccountStatisticByFan | repeated | |
liujumanguan | uint32 | ||
fan_achieved | AccountFanAchieved | repeated |
AccountDetailStatisticByCategory
Field | Type | Label | Description |
category | uint32 | ||
detail_statistic | AccountDetailStatistic |
AccountDetailStatisticV2
Field | Type | Label | Description |
friend_room_statistic | AccountDetailStatistic | ||
rank_statistic | AccountDetailStatisticV2.RankStatistic | ||
customized_contest_statistic | AccountDetailStatisticV2.CustomizedContestStatistic | ||
leisure_match_statistic | AccountDetailStatistic | ||
challenge_match_statistic | AccountDetailStatisticV2.ChallengeStatistic | ||
activity_match_statistic | AccountDetailStatistic | ||
ab_match_statistic | AccountDetailStatistic |
AccountDetailStatisticV2.ChallengeStatistic
Field | Type | Label | Description |
all_season | AccountDetailStatistic | ||
season_data_list | AccountDetailStatisticV2.ChallengeStatistic.SeasonData | repeated |
AccountDetailStatisticV2.ChallengeStatistic.SeasonData
Field | Type | Label | Description |
season_id | uint32 | ||
statistic | AccountDetailStatistic |
AccountDetailStatisticV2.CustomizedContestStatistic
Field | Type | Label | Description |
total_statistic | AccountDetailStatistic | ||
month_statistic | AccountDetailStatistic | ||
month_refresh_time | uint32 |
AccountDetailStatisticV2.RankStatistic
Field | Type | Label | Description |
total_statistic | AccountDetailStatisticV2.RankStatistic.RankData | ||
month_statistic | AccountDetailStatisticV2.RankStatistic.RankData | ||
month_refresh_time | uint32 |
AccountDetailStatisticV2.RankStatistic.RankData
Field | Type | Label | Description |
all_level_statistic | AccountDetailStatistic | ||
level_data_list | AccountDetailStatisticV2.RankStatistic.RankData.RankLevelData | repeated |
AccountDetailStatisticV2.RankStatistic.RankData.RankLevelData
Field | Type | Label | Description |
rank_level | uint32 | ||
statistic | AccountDetailStatistic |
AccountFanAchieved
Field | Type | Label | Description |
mahjong_category | uint32 | ||
fan | AccountStatisticByFan | repeated | |
liujumanguan | uint32 |
AccountLevel
Field | Type | Label | Description |
id | uint32 | 段位 ID にゃ.ここ参照にゃ. | |
score | uint32 | 段位戦昇段ポイントにゃ. |
AccountMahjongStatistic
Field | Type | Label | Description |
final_position_counts | uint32 | repeated | |
recent_round | AccountMahjongStatistic.RoundSummary | ||
recent_hu | AccountMahjongStatistic.HuSummary | ||
highest_hu | AccountMahjongStatistic.HighestHuRecord | ||
recent_20_hu_summary | AccountMahjongStatistic.Liqi20Summary | ||
recent_10_hu_summary | AccountMahjongStatistic.LiQi10Summary | ||
recent_10_game_result | AccountMahjongStatistic.GameResult | repeated |
AccountMahjongStatistic.GameResult
Field | Type | Label | Description |
rank | uint32 | ||
final_point | int32 |
AccountMahjongStatistic.HighestHuRecord
Field | Type | Label | Description |
fanshu | uint32 | ||
doranum | uint32 | ||
title | string | ||
hands | string | repeated | |
ming | string | repeated | |
hupai | string | ||
title_id | uint32 |
AccountMahjongStatistic.HuSummary
Field | Type | Label | Description |
total_count | uint32 | ||
dora_round_count | uint32 | ||
total_fan | uint32 |
AccountMahjongStatistic.LiQi10Summary
Field | Type | Label | Description |
total_xuanshang | uint32 | ||
total_fanshu | uint32 |
AccountMahjongStatistic.Liqi20Summary
Field | Type | Label | Description |
total_count | uint32 | ||
total_lidora_count | uint32 | ||
average_hu_point | uint32 |
AccountMahjongStatistic.RoundSummary
Field | Type | Label | Description |
total_count | uint32 | ||
rong_count | uint32 | ||
zimo_count | uint32 | ||
fangchong_count | uint32 |
AccountOwnerData
Field | Type | Label | Description |
unlock_characters | uint32 | repeated |
AccountPlayingGame
Field | Type | Label | Description |
game_uuid | string | ||
category | uint32 | ||
meta | GameMetaData |
AccountSetting
Field | Type | Label | Description |
key | uint32 | ||
value | uint32 |
AccountShiLian
Field | Type | Label | Description |
step | uint32 | ||
state | uint32 |
AccountStatisticByFan
Field | Type | Label | Description |
fan_id | uint32 | ||
sum | uint32 |
AccountStatisticByGameMode
Field | Type | Label | Description |
mode | uint32 | ||
game_count_sum | uint32 | ||
game_final_position | uint32 | repeated | |
fly_count | uint32 | ||
gold_earn_sum | float | ||
round_count_sum | uint32 | ||
dadian_sum | float | ||
round_end | AccountStatisticByGameMode.RoundEndData | repeated | |
ming_count_sum | uint32 | ||
liqi_count_sum | uint32 | ||
xun_count_sum | uint32 | ||
highest_lianzhuang | uint32 | ||
score_earn_sum | uint32 | ||
rank_score | AccountStatisticByGameMode.RankScore | repeated |
AccountStatisticByGameMode.RankScore
Field | Type | Label | Description |
rank | uint32 | ||
score_sum | int32 | ||
count | uint32 |
AccountStatisticByGameMode.RoundEndData
Field | Type | Label | Description |
type | uint32 | ||
sum | uint32 |
AccountStatisticData
Field | Type | Label | Description |
mahjong_category | uint32 | ||
game_category | uint32 | ||
statistic | AccountMahjongStatistic | ||
game_type | uint32 |
AccountUpdate
Field | Type | Label | Description |
numerical | AccountUpdate.NumericalUpdate | repeated | |
character | AccountUpdate.CharacterUpdate | ||
bag | BagUpdate | ||
achievement | AccountUpdate.AchievementUpdate | 実績の情報にゃ. | |
shilian | AccountShiLian | ||
daily_task | AccountUpdate.DailyTaskUpdate | ||
title | AccountUpdate.TitleUpdate | ||
new_recharged_list | uint32 | repeated | |
activity_task | AccountUpdate.TaskUpdate | ||
activity_flip_task | AccountUpdate.TaskUpdate | ||
activity_period_task | AccountUpdate.TaskUpdate | ||
activity_random_task | AccountUpdate.TaskUpdate | ||
challenge | AccountUpdate.AccountChallengeUpdate | ||
ab_match | AccountUpdate.AccountABMatchUpdate |
AccountUpdate.AccountABMatchUpdate
Field | Type | Label | Description |
match_id | uint32 | ||
match_count | uint32 | ||
buy_in_count | uint32 | ||
point | uint32 | ||
rewarded | bool | ||
match_max_point | AccountUpdate.AccountABMatchUpdate.MatchPoint | repeated | |
quit | bool |
AccountUpdate.AccountABMatchUpdate.MatchPoint
Field | Type | Label | Description |
match_id | uint32 | ||
point | uint32 |
AccountUpdate.AccountChallengeUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated | |
level | uint32 | ||
refresh_count | uint32 | ||
match_count | uint32 | ||
ticket_id | uint32 | ||
task_list | uint32 | repeated | |
rewarded_season | uint32 | repeated |
AccountUpdate.AchievementUpdate
Field | Type | Label | Description |
progresses | AchievementProgress | repeated | |
rewarded_group | uint32 | repeated |
AccountUpdate.CharacterUpdate
Field | Type | Label | Description |
characters | Character | repeated | |
skins | uint32 | repeated | |
finished_endings | uint32 | repeated | |
rewarded_endings | uint32 | repeated |
AccountUpdate.DailyTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated | |
task_list | uint32 | repeated |
AccountUpdate.NumericalUpdate
Field | Type | Label | Description |
id | uint32 | ||
final | uint32 |
AccountUpdate.TaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated | |
task_list | uint32 | repeated |
AccountUpdate.TitleUpdate
Field | Type | Label | Description |
new_titles | uint32 | repeated | |
remove_titles | uint32 | repeated |
AchievementProgress
Field | Type | Label | Description |
id | uint32 | 実績 ID にゃ. | |
counter | uint32 | 実績のカウンターにゃ. | |
achieved | bool | false: 未完成 true: 完成済 | |
rewarded | bool | ||
achieved_time | uint32 |
ActionAnGangAddGang
Field | Type | Label | Description |
seat | uint32 | 暗槓もしくは加槓をした対局者の席にゃ.ここ参照にゃ. | |
type | uint32 | 2: 加槓, 3: 暗槓 | |
tiles | string | 槓の対象牌にゃ. | |
operation | OptionalOperationList | 他家の槓の場合で,それに対して自家が槍槓できるならその選択肢の情報がここに入るにゃ. | |
doras | string | repeated | 槓ドラ後めくりの槓(段位戦では大明槓と加槓)による嶺上牌自摸でさらに加槓または暗槓した場合,前者の槓に対する槓ドラはこのタイミングでめくられるので,その場合の表ドラ表示牌にゃ.新旧の全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
zhenting | bool | ||
tingpais | TingPaiInfo | repeated | 自家が暗槓もしくは加槓した場合の,自家の聴牌情報にゃ. |
muyu | MuyuInfo |
ActionBaBei
Field | Type | Label | Description |
seat | uint32 | ||
operation | OptionalOperationList | ||
doras | string | repeated | |
zhenting | bool | ||
tingpais | TingPaiInfo | repeated | |
moqie | bool | ||
tile_state | uint32 | ||
muyu | MuyuInfo |
ActionChangeTile
Field | Type | Label | Description |
in_tiles | string | repeated | |
in_tile_states | int32 | repeated | |
out_tiles | string | repeated | |
out_tile_states | int32 | repeated | |
doras | string | repeated | |
tingpais0 | TingPaiDiscardInfo | repeated | |
tingpais1 | TingPaiInfo | repeated | |
operation | OptionalOperationList | ||
change_type | uint32 |
ActionChiPengGang
Field | Type | Label | Description |
seat | uint32 | チー,ポン,もしくは大明槓をした対局者の席にゃ.ここ参照にゃ. | |
type | uint32 | 0: チー, 1: ポン, 2: 大明槓 | |
tiles | string | repeated | チー・ポン・大明槓の対象牌にゃ.最後の要素が鳴いた牌でそれ以外が手牌にあった牌にゃ. |
froms | uint32 | repeated | チー・ポン・大明槓の対象牌がどの席から出たかの情報にゃ.最後の要素が鳴いた牌を打牌した者の席,それ以外が鳴いた者の席にゃ.各要素の値の意味はここ参照にゃ. |
liqi | LiQiSuccess | 直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の鳴きの時に立直成立の確定情報があるにゃ. | |
operation | OptionalOperationList | 自家がチー・ポン・大明槓した場合の,鳴いた後の打牌時の選択肢情報にゃ. | |
zhenting | bool | ||
tingpais | TingPaiDiscardInfo | repeated | 自家がチー・ポン・大明槓した場合の,自家の聴牌情報にゃ. |
tile_states | uint32 | repeated | |
muyu | MuyuInfo |
ActionDealTile
Field | Type | Label | Description |
seat | uint32 | 自摸した対局者の席にゃ.ここ参照にゃ. | |
tile | string | 自摸した牌にゃ. | |
left_tile_count | uint32 | 残り自摸回数にゃ. | |
operation | OptionalOperationList | 自家が自摸した場合の,自摸後の打牌時の選択肢情報にゃ. | |
liqi | LiQiSuccess | 直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の自摸時に立直成立の確定情報があるにゃ. | |
doras | string | repeated | 嶺上牌の自摸かつ槓ドラ即めくり(段位戦では暗槓)の場合の表ドラ表示牌にゃ.新旧の全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
zhenting | bool | ||
tingpais | TingPaiDiscardInfo | repeated | 自家が自摸した場合の,自家の聴牌情報にゃ. |
tile_state | uint32 | ||
muyu | MuyuInfo |
ActionDiscardTile
Field | Type | Label | Description |
seat | uint32 | 打牌した対局者の席にゃ.ここ参照にゃ. | |
tile | string | 打牌した牌にゃ. | |
is_liqi | bool | 立直宣言かどうかのフラグにゃ. | |
operation | OptionalOperationList | 他家の打牌の場合で,それに対して自家に表示される選択肢の情報にゃ. | |
moqie | bool | 自摸切りかどうかのフラグにゃ. | |
zhenting | bool | ||
tingpais | TingPaiInfo | repeated | 自家が打牌した場合の,自家の聴牌情報にゃ. |
doras | string | repeated | 嶺上牌自摸後の打牌かつ槓ドラ後めくり(段位戦では大明槓と加槓)の場合の表ドラ表示牌にゃ.新旧全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
is_wliqi | bool | ダブル立直宣言かどうかのフラグにゃ. | |
tile_state | uint32 | ||
muyu | MuyuInfo |
ActionHule
Field | Type | Label | Description |
hules | HuleInfo | repeated | 和了の詳細情報にゃ. |
old_scores | int32 | repeated | 清算前の各家の持ち点にゃ.0要素目が起家のもので,以下,反時計回りにゃ. |
delta_scores | int32 | repeated | 和了による各家の持ち点の増減にゃ.0要素目が起家のもので,以下,反時計回りにゃ. |
wait_timeout | uint32 | ||
scores | int32 | repeated | 清算後の各家の持ち点にゃ.0要素目が起家のもので,以下,反時計回りにゃ. |
gameend | GameEnd | ||
doras | string | repeated | |
muyu | MuyuInfo |
ActionHuleXueZhanEnd
Field | Type | Label | Description |
hules | HuInfoXueZhanMid | repeated | |
old_scores | int32 | repeated | |
delta_scores | int32 | repeated | |
scores | int32 | repeated | |
wait_timeout | uint32 | ||
gameend | GameEnd | ||
doras | string | repeated | |
muyu | MuyuInfo | ||
hules_history | HuleInfo | repeated |
ActionHuleXueZhanMid
Field | Type | Label | Description |
hules | HuInfoXueZhanMid | repeated | |
old_scores | int32 | repeated | |
delta_scores | int32 | repeated | |
scores | int32 | repeated | |
doras | string | repeated | |
muyu | MuyuInfo | ||
liqi | LiQiSuccess | ||
zhenting | bool |
ActionLiuJu
Field | Type | Label | Description |
type | uint32 | 途中流局の原因にゃ.1: 九種九牌, 2: 四風連打, 3: 四槓散了, 4: 四家立直 | |
gameend | GameEnd | ||
seat | uint32 | 九種九牌では宣言者の席にゃ.ここ参照にゃ.それ以外では0にゃ. | |
tiles | string | repeated | 九種九牌では宣言者の手牌にゃ.それ以外では空配列にゃ. |
liqi | LiQiSuccess | ||
allplayertiles | string | repeated | |
muyu | MuyuInfo | ||
hules_history | HuleInfo | repeated |
ActionMJStart
Field | Type | Label | Description |
ActionNewRound
Field | Type | Label | Description |
chang | uint32 | 局の「場」を表すにゃ. 0: 東場, 1: 南場, 2: 西場 | |
ju | uint32 | 各場の何局目かを表すにゃ. 0: 1局目, 1: 2局目, 2: 3局目, 3: 4局目 | |
ben | uint32 | 何本場かを表すにゃ. 0: 0本場, 1: 1本場, 2: 2本場, ... | |
tiles | string | repeated | 自家の配牌にゃ.親の場合は要素数14でどの牌が第一自摸牌かは特定されないにゃ. |
dora | string | ||
scores | int32 | repeated | 開局時の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ. |
operation | OptionalOperationList | 自分が親の場合の,打牌時の選択肢情報にゃ. | |
liqibang | uint32 | 供託の本数にゃ. | |
tingpais0 | TingPaiDiscardInfo | repeated | |
tingpais1 | TingPaiInfo | repeated | |
al | bool | ||
md5 | string | 牌山コードにゃ. | |
left_tile_count | uint32 | 残り自摸回数にゃ. | |
doras | string | repeated | 表ドラ表示牌にゃ. |
opens | NewRoundOpenedTiles | repeated | |
muyu | MuyuInfo |
ActionNoTile
Field | Type | Label | Description |
liujumanguan | bool | ||
players | NoTilePlayerInfo | repeated | |
scores | NoTileScoreInfo | repeated | |
gameend | bool | ||
muyu | MuyuInfo | ||
hules_history | HuleInfo | repeated |
ActionPrototype
Field | Type | Label | Description |
step | uint32 | (下記参照にゃ.) | |
name | string | (下記参照にゃ.) | |
data | bytes | (下記参照にゃ.) |
対局の進行,例えば,対局が開始した,プレイヤーの誰かが牌を自模った,プレイヤーの誰かが打牌した,プレイヤーの誰かが鳴いた,プレイヤーの誰かが上がった,等に伴って雀魂 API サーバからクライアントへ非同期的に送られてくるメッセージにゃ. step フィールドの値は,各局の最初に送られてくる ActionPrototype メッセージでは0で,以下,各 ActionPrototype メッセージ毎に1ずつ増えていくにゃ. name フィールドには "ActionAnGangAddGang", "ActionChiPengGang", "ActionDealTile", "ActionDiscardTile", "ActionHule", "ActionLiuJu", "ActionMJStart", "ActionNewRound", "ActionNoTile" のいずれかの文字列が入っているにゃ. ActionPrototype メッセージが送られてくるタイミングと data フィールドに入っているバイト列の意味は, name フィールドの値に従って以下の通りにゃ. この "data" フィールドは Protocol Buffers なのにメッセージの型名を含んでいないにゃ.
- ActionAnGangAddGang
- プレイヤーの誰かが暗槓もしくは加槓した時にゃ. data フィールドのバイト列は ActionAnGangAddGang メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionChiPengGang
- プレイヤーの誰かがチー・ポン・大明槓のいずれかをした時にゃ. data フィールドのバイト列は ActionChiPengGang メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionDealTile
- プレイヤーの誰かが牌を自模った時にゃ.嶺上牌を自模った時も含むにゃ. data フィールドのバイト列は ActionDealTile メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionDiscardTile
- プレイヤーの誰かが打牌した時にゃ. data フィールドのバイト列は ActionDiscardTile メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionHule
- プレイヤーの誰かが和了した時にゃ. data フィールドのバイト列は ActionHule メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionLiuJu
- 途中流局した時にゃ. data フィールドのバイト列は ActionLiuJu メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionMJStart
- 各試合の開始時(東一局0本場の開局時)にゃ. data フィールドのバイト列は ActionMJStart メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionNewRound
- 各局の開始時にゃ.東一局0本場の開局時は name フィールドが "ActionMJStart" になっている ActionPrototype メッセージが step == 0 として送られた直後に, name フィールドがこの文字列になっている ActionPrototype メッセージが step == 1 として送られてくるにゃ. data フィールドのバイト列は ActionNewRound メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
- ActionNoTile
- 荒牌平局によって局が終了した時にゃ. data フィールドのバイト列は ActionNoTile メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
Activity
Field | Type | Label | Description |
activity_id | uint32 | ||
start_time | uint32 | ||
end_time | uint32 | ||
type | string |
ActivityAccumulatedPointData
Field | Type | Label | Description |
activity_id | uint32 | ||
point | int32 | ||
gained_reward_list | uint32 | repeated |
ActivityRankPointData
Field | Type | Label | Description |
leaderboard_id | uint32 | ||
point | int32 | ||
gained_reward | bool | ||
gainable_time | uint32 |
Announcement
Field | Type | Label | Description |
id | uint32 | ||
title | string | ||
content | string |
AntiAddiction
Field | Type | Label | Description |
online_duration | uint32 |
Bag
Field | Type | Label | Description |
items | Item | repeated | |
daily_gain_record | ItemGainRecords | repeated |
BagUpdate
Field | Type | Label | Description |
update_items | Item | repeated | |
update_daily_gain_record | ItemGainRecords | repeated |
BillShortcut
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 | ||
deal_price | uint32 |
BillingGoods
Field | Type | Label | Description |
id | string | ||
name | string | ||
desc | string | ||
icon | string | ||
resource_id | uint32 | ||
resource_count | uint32 |
BillingProduct
Field | Type | Label | Description |
goods | BillingGoods | ||
currency_code | string | ||
currency_price | uint32 | ||
sort_weight | uint32 |
BuyRecord
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 |
ChangeNicknameRecord
Field | Type | Label | Description |
from | string | ||
to | string | ||
time | uint32 |
Character
Field | Type | Label | Description |
charid | uint32 | キャラクタ ID にゃ. | |
level | uint32 | 絆レベルにゃ. | |
exp | uint32 | 絆ポイントにゃ. | |
views | ViewSlot | repeated | |
skin | uint32 | ||
is_upgraded | bool | キャラクタと契約済みかどうかのフラグにゃ. | |
extra_emoji | uint32 | repeated | 追加スタンプにゃ. |
ChestData
Field | Type | Label | Description |
chest_id | uint32 | ||
total_open_count | uint32 | ||
consume_count | uint32 | ||
face_black_count | uint32 |
ChestDataV2
Field | Type | Label | Description |
chest_id | uint32 | ||
total_open_count | uint32 | ||
face_black_count | uint32 |
ClientDeviceInfo
Field | Type | Label | Description |
platform | string | ||
hardware | string | ||
os | string | ||
os_version | string | ||
is_browser | bool | ||
software | string | ||
sale_platform | string | ||
hardware_vendor | string | ||
model_number | string |
ClientVersionInfo
Field | Type | Label | Description |
resource | string | ||
package | string |
CommentItem
Field | Type | Label | Description |
comment_id | uint32 | ||
timestamp | uint32 | ||
commenter | PlayerBaseView | ||
content | string | ||
is_banned | uint32 |
ContestDetailRule
Field | Type | Label | Description |
init_point | uint32 | ||
fandian | uint32 | ||
can_jifei | bool | ||
tianbian_value | uint32 | ||
liqibang_value | uint32 | ||
changbang_value | uint32 | ||
noting_fafu_1 | uint32 | ||
noting_fafu_2 | uint32 | ||
noting_fafu_3 | uint32 | ||
have_liujumanguan | bool | ||
have_qieshangmanguan | bool | ||
have_biao_dora | bool | ||
have_gang_biao_dora | bool | ||
ming_dora_immediately_open | bool | ||
have_li_dora | bool | ||
have_gang_li_dora | bool | ||
have_sifenglianda | bool | ||
have_sigangsanle | bool | ||
have_sijializhi | bool | ||
have_jiuzhongjiupai | bool | ||
have_sanjiahele | bool | ||
have_toutiao | bool | ||
have_helelianzhuang | bool | ||
have_helezhongju | bool | ||
have_tingpailianzhuang | bool | ||
have_tingpaizhongju | bool | ||
have_yifa | bool | ||
have_nanruxiru | bool | ||
jingsuanyuandian | uint32 | ||
shunweima_2 | int32 | ||
shunweima_3 | int32 | ||
shunweima_4 | int32 | ||
bianjietishi | bool | ||
ai_level | uint32 | ||
have_zimosun | bool | ||
disable_multi_yukaman | bool | ||
guyi_mode | uint32 | ||
disable_leijiyiman | bool |
ContestDetailRuleV2
Field | Type | Label | Description |
game_rule | ContestDetailRule | ||
extra_rule | ContestDetailRuleV2.ExtraRule |
ContestDetailRuleV2.ExtraRule
Field | Type | Label | Description |
required_level | uint32 | ||
max_game_count | uint32 |
ContestGameInfo
Field | Type | Label | Description |
game_uuid | string | ||
players | ContestGameInfo.Player | repeated | |
start_time | uint32 | ||
end_time | uint32 |
ContestGameInfo.Player
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string |
ContestMatchingPlayer
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string | ||
controller | ContestMatchingPlayer.Controller |
ContestMatchingPlayer.Controller
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string |
ContestPlayerInfo
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string |
CustomizedContest
Field | Type | Label | Description |
unique_id | uint32 | ||
creator_id | uint32 | ||
contest_id | uint32 | ||
contest_name | string | ||
state | uint32 | ||
create_time | uint32 | ||
start_time | uint32 | ||
finish_time | uint32 | ||
open | bool | ||
rank_rule | uint32 | ||
deadline | uint32 | ||
auto_match | bool | ||
auto_disable_end_chat | bool | ||
contest_type | uint32 | ||
hidden_zones | uint32 | repeated | |
banned_zones | uint32 | repeated |
CustomizedContestAbstract
Field | Type | Label | Description |
unique_id | uint32 | ||
contest_id | uint32 | 大会 ID にゃ | |
contest_name | string | 大会名にゃ | |
state | uint32 | ||
creator_id | uint32 | ||
create_time | uint32 | ||
start_time | uint32 | 開始時間にゃ | |
finish_time | uint32 | 終了時間にゃ | |
open | bool | false: 非公開にゃ true: 公開にゃ | |
public_notice | string |
CustomizedContestBase
Field | Type | Label | Description |
unique_id | uint32 | ||
contest_id | uint32 | 大会 ID にゃ | |
contest_name | string | 大会名にゃ | |
state | uint32 | ||
creator_id | uint32 | ||
create_time | uint32 | ||
start_time | uint32 | 開始時間にゃ | |
finish_time | uint32 | 終了時間にゃ | |
open | bool | false: 非公開にゃ true: 公開にゃ | |
contest_type | uint32 |
CustomizedContestDetail
Field | Type | Label | Description |
unique_id | uint32 | ||
contest_id | uint32 | 大会 ID にゃ | |
contest_name | string | 大会名にゃ | |
state | uint32 | ||
creator_id | uint32 | ||
create_time | uint32 | ||
start_time | uint32 | 開始時間にゃ | |
finish_time | uint32 | 終了時間にゃ | |
open | bool | false: 非公開にゃ true: 公開にゃ | |
rank_rule | uint32 | ||
game_mode | GameMode | 大会ルールにゃ | |
private_notice | string | お知らせにゃ | |
observer_switch | uint32 | ||
emoji_switch | uint32 |
CustomizedContestExtend
Field | Type | Label | Description |
unique_id | uint32 | 大会の unique_id にゃ | |
public_notice | string | 大会の詳細にゃ |
CustomizedContestGameEnd
Field | Type | Label | Description |
players | CustomizedContestGameEnd.Item | repeated |
CustomizedContestGameEnd.Item
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string | ||
total_point | int32 |
CustomizedContestGameStart
Field | Type | Label | Description |
players | CustomizedContestGameStart.Item | repeated | 大会の対局の対局者情報にゃ |
CustomizedContestGameStart.Item
Field | Type | Label | Description |
account_id | uint32 | ||
nickname | string | ユーザー名にゃ |
CustomizedContestPlayerReport
Field | Type | Label | Description |
rank_rule | uint32 | ||
rank | uint32 | ||
point | int32 | ||
game_ranks | uint32 | repeated | |
total_game_count | uint32 |
Error
Field | Type | Label | Description |
code | uint32 | ||
u32_params | uint32 | repeated | |
str_params | string | repeated | |
json_param | string |
ExchangeRecord
Field | Type | Label | Description |
exchange_id | uint32 | ||
count | uint32 |
ExecuteReward
Field | Type | Label | Description |
reward | RewardSlot | ||
replace | RewardSlot | ||
replace_count | uint32 |
FaithData
Field | Type | Label | Description |
faith_id | uint32 | ||
total_open_count | uint32 | ||
consume_count | uint32 | ||
modify_count | int32 |
FanInfo
Field | Type | Label | Description |
name | string | ||
val | uint32 | 役毎の翻数にゃ.裏ドラの場合に0がありうるにゃ. | |
id | uint32 | 役 ID にゃ.ここ参照にゃ. |
Friend
Field | Type | Label | Description |
base | PlayerBaseView | 友人の情報にゃ. | |
state | AccountActiveState | 友人の状態にゃ. |
GameConfig
Field | Type | Label | Description |
category | uint32 | 1: 友人戦, 2: 段位戦 | |
mode | GameMode | 対局のモード,ルールに関する情報にゃ. | |
meta | GameMetaData | 対局のメタ情報にゃ. |
GameConnectInfo
Field | Type | Label | Description |
connect_token | string | ||
game_uuid | string | ||
location | string |
GameDetailRecords
Field | Type | Label | Description |
records | bytes | repeated | (下記参照にゃ) |
records フィールドの各要素は Wrapper 型の Protocol Buffers メッセージとしてデコードできるにゃ.デコードした結果の Wrapper 型の name フィールドには ".lq.RecordNewRound", ".lq.RecordDealTile", ".lq.RecordDiscardTile", ".lq.RecordChiPengGang", ".lq.RecordAnGangAddGang", ".lq.RecordHule", ".lq.RecordNoTile", ".lq.RecordLiuJu" のいずれかの文字列が入っているにゃ.この文字列は Wrapper 型の data フィールドに入っているバイト列をデコードするための型を表しているにゃ.つまり,以下のどれかの型の Protocol Buffers メッセージとしてデコードできるにゃ.各型の意味は以下の通りにゃ. records フィールドの要素を順番に解析することで牌譜を完全に再現できるにゃ.
- RecordNewRound
- 対局開始にゃ. records フィールドの最初の要素はこれにゃ.
- RecordDealTile
- 自摸にゃ.
- RecordDiscardTile
- 打牌にゃ.
- RecordChiPengGang
- チー・ポン・大明槓にゃ.
- RecordAnGangAddGang
- 暗槓・加槓にゃ.
- RecordHule
- 和了にゃ. records フィールドの最後にしか現れないにゃ.
- RecordNoTile
- 荒牌平局にゃ. records フィールドの最後にしか現れないにゃ.
- RecordLiuJu
- 途中流局にゃ. records フィールドの最後にしか現れないにゃ.
GameDetailRule
Field | Type | Label | Description |
time_fixed | uint32 | 基本考慮時間にゃ.単位は秒にゃ. | |
time_add | uint32 | 追加考慮時間にゃ.単位は秒にゃ. | |
dora_count | uint32 | 赤ドラの枚数にゃ. | |
shiduan | uint32 | 喰いタンの有無にゃ. 0: 喰いタン無し, 1: 喰いタンあり | |
init_point | uint32 | 配給原点にゃ. | |
fandian | uint32 | 1位必要点数にゃ. | |
can_jifei | bool | 飛びの有無にゃ. | |
tianbian_value | uint32 | 天辺にゃ. | |
liqibang_value | uint32 | 立直棒点数にゃ. | |
changbang_value | uint32 | 積み棒点数にゃ. | |
noting_fafu_1 | uint32 | 不聴罰符の点数(一人聴牌)にゃ. | |
noting_fafu_2 | uint32 | 不聴罰符の点数(二人聴牌)にゃ. | |
noting_fafu_3 | uint32 | 不聴罰符の点数(三人聴牌)にゃ. | |
have_liujumanguan | bool | 流し満貫の有無にゃ. | |
have_qieshangmanguan | bool | 切り上げ満貫の有無にゃ. | |
have_biao_dora | bool | ドラの有無にゃ. | |
have_gang_biao_dora | bool | カンドラの有無にゃ. | |
ming_dora_immediately_open | bool | カンドラ即めくりの有無にゃ. | |
have_li_dora | bool | 裏ドラの有無にゃ. | |
have_gang_li_dora | bool | カン裏ドラの有無にゃ. | |
have_sifenglianda | bool | 四風連打流局の有無にゃ. | |
have_sigangsanle | bool | 四槓散了流局の有無にゃ. | |
have_sijializhi | bool | 四家立直流局の有無にゃ. | |
have_jiuzhongjiupai | bool | 九種九牌流局の有無にゃ. | |
have_sanjiahele | bool | 三家和の有無にゃ. | |
have_toutiao | bool | 頭跳ねの有無にゃ. | |
have_helelianzhuang | bool | 和了連荘の有無にゃ. | |
have_helezhongju | bool | 和了終局の有無にゃ. | |
have_tingpailianzhuang | bool | 聴牌連荘の有無にゃ. | |
have_tingpaizhongju | bool | 聴牌終局の有無にゃ. | |
have_yifa | bool | 一発の有無にゃ. | |
have_nanruxiru | bool | 南入/西入の有無にゃ. | |
jingsuanyuandian | uint32 | 精算原点にゃ. | |
shunweima_2 | int32 | 2位の順位ウマにゃ. | |
shunweima_3 | int32 | 3位の順位ウマにゃ. | |
shunweima_4 | int32 | 4位の順位ウマにゃ. | |
bianjietishi | bool | 便利表示の有無にゃ. false: 便利表示なし, true: 便利表示あり | |
ai_level | uint32 | CPU レベルにゃ. 1: 簡単, 2: 普通 | |
have_zimosun | bool | ツモ損の有無にゃ. | |
disable_multi_yukaman | bool | 役満の複合の有無にゃ. | |
fanfu | uint32 | 翻数縛りにゃ. 1: 1翻縛り, 2: 2翻縛り, 4: 4翻縛り | |
guyi_mode | uint32 | ローカル役の有無にゃ. | |
dora3_mode | uint32 | ドラ3モードにゃ. | |
begin_open_mode | uint32 | 配牌公開モードにゃ. | |
jiuchao_mode | uint32 | 明鏡の戦にゃ. | |
muyu_mode | uint32 | 龍の割目にゃ. | |
open_hand | uint32 | 手牌表示の有無にゃ. 0: 手牌表示なし, 1: 手牌表示あり | |
xuezhandaodi | uint32 | 修羅の戦にゃ. | |
huansanzhang | uint32 | 牌交換の有無にゃ. | |
chuanma | uint32 | 赤血の戦にゃ. | |
reveal_discard | uint32 | 闇夜の戦にゃ. | |
field_spell_mode | uint32 | 幻界の戦にゃ. | |
disable_leijiyiman | bool | 数え役満の有無にゃ. |
GameEnd
Field | Type | Label | Description |
scores | int32 | repeated |
GameEndAction
Field | Type | Label | Description |
state | uint32 |
GameEndResult
Field | Type | Label | Description |
players | GameEndResult.PlayerItem | repeated | 対局による各対局者の点数,段位戦昇段ポイント,コインの収支情報にゃ. |
GameEndResult.PlayerItem
Field | Type | Label | Description |
seat | uint32 | 対象の対局者の席にゃ.ここ参照にゃ. | |
total_point | int32 | ウマ・オカを含めた点数収支にゃ. | |
part_point_1 | int32 | ウマ・オカを除いた点数収支にゃ. | |
part_point_2 | int32 | ||
grading_score | int32 | 段位戦昇段ポイントの収支にゃ. | |
gold | int32 | コインの収支にゃ. |
GameFinalSnapshot
Field | Type | Label | Description |
uuid | string | ||
state | uint32 | ||
category | uint32 | ||
mode | GameMode | ||
meta | GameMetaData | ||
calculate_param | GameFinalSnapshot.CalculateParam | ||
create_time | uint32 | ||
start_time | uint32 | ||
finish_time | uint32 | ||
seats | GameFinalSnapshot.GameSeat | repeated | |
rounds | GameRoundSnapshot | repeated | |
account_views | PlayerGameView | repeated | |
final_players | GameFinalSnapshot.FinalPlayer | repeated | |
afk_info | GameFinalSnapshot.AFKInfo | repeated |
GameFinalSnapshot.AFKInfo
Field | Type | Label | Description |
deal_tile_count | uint32 | ||
moqie_count | uint32 | ||
seat | uint32 |
GameFinalSnapshot.CalculateParam
Field | Type | Label | Description |
init_point | uint32 | ||
jingsuanyuandian | uint32 | ||
rank_points | int32 | repeated |
GameFinalSnapshot.FinalPlayer
Field | Type | Label | Description |
seat | uint32 | ||
total_point | int32 | ||
part_point_1 | int32 | ||
part_point_2 | int32 | ||
grading_score | int32 | ||
gold | int32 |
GameFinalSnapshot.GameSeat
Field | Type | Label | Description |
type | uint32 | ||
account_id | uint32 | ||
notify_endpoint | NetworkEndpoint | ||
client_address | string | ||
is_connected | bool |
GameLiveHead
Field | Type | Label | Description |
uuid | string | 対局の UUID にゃ. | |
start_time | uint32 | 対局の開始時間 (Unix 時間?) にゃ. | |
game_config | GameConfig | 対局のモードやルール設定にゃ. | |
players | PlayerGameView | repeated | 対局者の情報にゃ. |
seat_list | uint32 | repeated |
GameLiveSegment
Field | Type | Label | Description |
actions | GameLiveUnit | repeated |
GameLiveSegmentUri
Field | Type | Label | Description |
segment_id | uint32 | ||
segment_uri | string |
GameLiveUnit
Field | Type | Label | Description |
timestamp | uint32 | ||
action_category | uint32 | ||
action_data | bytes |
GameMetaData
Field | Type | Label | Description |
room_id | uint32 | 友人戦の部屋番号にゃ.友人戦でない場合は0にゃ. | |
mode_id | uint32 | ゲームメタモード ID にゃ.ここ参照にゃ. | |
contest_uid | uint32 |
GameMode
Field | Type | Label | Description |
mode | uint32 | 1: 東風戦, 2: 半荘戦, 4: 一局戦 | |
ai | bool | CPU が参加しているかどうかのフラグにゃ. | |
extendinfo | string | ||
detail_rule | GameDetailRule | 対局の詳細なルールの情報にゃ. | |
testing_environment | GameTestingEnvironmentSet | ||
game_setting | GameSetting |
GameNewRoundState
Field | Type | Label | Description |
seat_states | uint32 | repeated |
GameNoopAction
Field | Type | Label | Description |
GameRestore
Field | Type | Label | Description |
snapshot | GameSnapshot | ||
actions | ActionPrototype | repeated | |
passed_waiting_time | uint32 | ||
game_state | uint32 | ||
start_time | uint32 | ||
last_pause_time_ms | uint32 |
GameRoundHuData
Field | Type | Label | Description |
hupai | GameRoundHuData.HuPai | ||
fans | GameRoundHuData.Fan | repeated | |
score | uint32 | ||
xun | uint32 | ||
title_id | uint32 | ||
fan_sum | uint32 | ||
fu_sum | uint32 | ||
yakuman_count | uint32 | ||
biao_dora_count | uint32 | ||
red_dora_count | uint32 | ||
li_dora_count | uint32 | ||
babei_count | uint32 | ||
xuan_shang_count | uint32 |
GameRoundHuData.Fan
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 | ||
fan | uint32 |
GameRoundHuData.HuPai
Field | Type | Label | Description |
tile | string | ||
seat | uint32 | ||
liqi | uint32 |
GameRoundPlayer
Field | Type | Label | Description |
score | int32 | ||
rank | uint32 | ||
result | GameRoundPlayerResult |
GameRoundPlayerResult
Field | Type | Label | Description |
type | uint32 | ||
hands | string | repeated | |
ming | string | repeated | |
liqi_type | uint32 | ||
is_fulu | bool | ||
is_liujumanguan | bool | ||
lian_zhuang | uint32 | ||
hu | GameRoundHuData |
GameRoundSnapshot
Field | Type | Label | Description |
ju | uint32 | ||
ben | uint32 | ||
players | GameRoundPlayer | repeated |
GameRuleSetting
Field | Type | Label | Description |
round_type | uint32 | ||
shiduan | bool | ||
dora_count | uint32 | ||
thinking_type | uint32 | ||
use_detail_rule | bool | ||
detail_rule_v2 | ContestDetailRuleV2 |
GameSetting
Field | Type | Label | Description |
emoji_switch | uint32 |
GameSnapshot
Field | Type | Label | Description |
chang | uint32 | ||
ju | uint32 | ||
ben | uint32 | ||
index_player | uint32 | ||
left_tile_count | uint32 | ||
hands | string | repeated | |
doras | string | repeated | |
liqibang | uint32 | ||
players | GameSnapshot.PlayerSnapshot | repeated | |
zhenting | bool |
GameSnapshot.PlayerSnapshot
Field | Type | Label | Description |
score | int32 | ||
liqiposition | int32 | ||
tilenum | uint32 | ||
qipais | string | repeated | |
mings | GameSnapshot.PlayerSnapshot.Fulu | repeated |
GameSnapshot.PlayerSnapshot.Fulu
Field | Type | Label | Description |
type | uint32 | ||
tile | string | repeated | |
from | uint32 | repeated |
GameTestingEnvironmentSet
Field | Type | Label | Description |
paixing | uint32 | ||
left_count | uint32 |