データ型(A~G)一覧にゃ

Last-modified: 2024-02-03 (土) 05:26:33

Account

FieldTypeLabelDescription
account_iduint32
nicknamestring
login_timeuint32
logout_timeuint32
room_iduint32
anti_addictionAntiAddiction
titleuint32
signaturestring
emailstring
email_verifyuint32
golduint32
diamonduint32
avatar_iduint32
vipuint32
birthdayint32
phonestring
phone_verifyuint32
platform_diamondAccount.PlatformDiamondrepeated
levelAccountLevel
level3AccountLevel
avatar_frameuint32
skin_ticketuint32
platform_skin_ticketAccount.PlatformSkinTicketrepeated
verifieduint32
challenge_levelsAccount.ChallengeLevelrepeated
achievement_countAccount.AchievementCountrepeated

Account.AchievementCount

FieldTypeLabelDescription
rareuint32
countuint32

Account.ChallengeLevel

FieldTypeLabelDescription
seasonuint32
leveluint32
rankuint32

Account.PlatformDiamond

FieldTypeLabelDescription
iduint32
countuint32

Account.PlatformSkinTicket

FieldTypeLabelDescription
iduint32
countuint32

AccountActiveState

FieldTypeLabelDescription
account_iduint32
login_timeuint32ログイン時間 (Unix 時間)にゃ.
logout_timeuint32ログアウト時間 (Unix 時間)にゃ.
is_onlinebool
playingAccountPlayingGame

AccountCacheView

FieldTypeLabelDescription
cache_versionuint32
account_iduint32
nicknamestring
login_timeuint32
logout_timeuint32
is_onlinebool
room_iduint32
titleuint32
avatar_iduint32
vipuint32
levelAccountLevel
playing_gameAccountPlayingGame
level3AccountLevel
avatar_frameuint32
verifieduint32
ban_deadlineuint32
comment_banuint32
ban_stateuint32

AccountDetailStatistic

FieldTypeLabelDescription
game_modeAccountStatisticByGameModerepeated
fanAccountStatisticByFanrepeated
liujumanguanuint32
fan_achievedAccountFanAchievedrepeated

AccountDetailStatisticByCategory

FieldTypeLabelDescription
categoryuint32
detail_statisticAccountDetailStatistic

AccountDetailStatisticV2

FieldTypeLabelDescription
friend_room_statisticAccountDetailStatistic
rank_statisticAccountDetailStatisticV2.RankStatistic
customized_contest_statisticAccountDetailStatisticV2.CustomizedContestStatistic
leisure_match_statisticAccountDetailStatistic
challenge_match_statisticAccountDetailStatisticV2.ChallengeStatistic
activity_match_statisticAccountDetailStatistic
ab_match_statisticAccountDetailStatistic

AccountDetailStatisticV2.ChallengeStatistic

FieldTypeLabelDescription
all_seasonAccountDetailStatistic
season_data_listAccountDetailStatisticV2.ChallengeStatistic.SeasonDatarepeated

AccountDetailStatisticV2.ChallengeStatistic.SeasonData

FieldTypeLabelDescription
season_iduint32
statisticAccountDetailStatistic

AccountDetailStatisticV2.CustomizedContestStatistic

FieldTypeLabelDescription
total_statisticAccountDetailStatistic
month_statisticAccountDetailStatistic
month_refresh_timeuint32

AccountDetailStatisticV2.RankStatistic

FieldTypeLabelDescription
total_statisticAccountDetailStatisticV2.RankStatistic.RankData
month_statisticAccountDetailStatisticV2.RankStatistic.RankData
month_refresh_timeuint32

AccountDetailStatisticV2.RankStatistic.RankData

FieldTypeLabelDescription
all_level_statisticAccountDetailStatistic
level_data_listAccountDetailStatisticV2.RankStatistic.RankData.RankLevelDatarepeated

AccountDetailStatisticV2.RankStatistic.RankData.RankLevelData

FieldTypeLabelDescription
rank_leveluint32
statisticAccountDetailStatistic

AccountFanAchieved

FieldTypeLabelDescription
mahjong_categoryuint32
fanAccountStatisticByFanrepeated
liujumanguanuint32

AccountLevel

FieldTypeLabelDescription
iduint32段位 ID にゃ.ここ参照にゃ.
scoreuint32段位戦昇段ポイントにゃ.

AccountMahjongStatistic

FieldTypeLabelDescription
final_position_countsuint32repeated
recent_roundAccountMahjongStatistic.RoundSummary
recent_huAccountMahjongStatistic.HuSummary
highest_huAccountMahjongStatistic.HighestHuRecord
recent_20_hu_summaryAccountMahjongStatistic.Liqi20Summary
recent_10_hu_summaryAccountMahjongStatistic.LiQi10Summary
recent_10_game_resultAccountMahjongStatistic.GameResultrepeated

AccountMahjongStatistic.GameResult

FieldTypeLabelDescription
rankuint32
final_pointint32

AccountMahjongStatistic.HighestHuRecord

FieldTypeLabelDescription
fanshuuint32
doranumuint32
titlestring
handsstringrepeated
mingstringrepeated
hupaistring
title_iduint32

AccountMahjongStatistic.HuSummary

FieldTypeLabelDescription
total_countuint32
dora_round_countuint32
total_fanuint32

AccountMahjongStatistic.LiQi10Summary

FieldTypeLabelDescription
total_xuanshanguint32
total_fanshuuint32

AccountMahjongStatistic.Liqi20Summary

FieldTypeLabelDescription
total_countuint32
total_lidora_countuint32
average_hu_pointuint32

AccountMahjongStatistic.RoundSummary

FieldTypeLabelDescription
total_countuint32
rong_countuint32
zimo_countuint32
fangchong_countuint32

AccountOwnerData

FieldTypeLabelDescription
unlock_charactersuint32repeated

AccountPlayingGame

FieldTypeLabelDescription
game_uuidstring
categoryuint32
metaGameMetaData

AccountSetting

FieldTypeLabelDescription
keyuint32
valueuint32

AccountShiLian

FieldTypeLabelDescription
stepuint32
stateuint32

AccountStatisticByFan

FieldTypeLabelDescription
fan_iduint32
sumuint32

AccountStatisticByGameMode

FieldTypeLabelDescription
modeuint32
game_count_sumuint32
game_final_positionuint32repeated
fly_countuint32
gold_earn_sumfloat
round_count_sumuint32
dadian_sumfloat
round_endAccountStatisticByGameMode.RoundEndDatarepeated
ming_count_sumuint32
liqi_count_sumuint32
xun_count_sumuint32
highest_lianzhuanguint32
score_earn_sumuint32
rank_scoreAccountStatisticByGameMode.RankScorerepeated

AccountStatisticByGameMode.RankScore

FieldTypeLabelDescription
rankuint32
score_sumint32
countuint32

AccountStatisticByGameMode.RoundEndData

FieldTypeLabelDescription
typeuint32
sumuint32

AccountStatisticData

FieldTypeLabelDescription
mahjong_categoryuint32
game_categoryuint32
statisticAccountMahjongStatistic
game_typeuint32

AccountUpdate

FieldTypeLabelDescription
numericalAccountUpdate.NumericalUpdaterepeated
characterAccountUpdate.CharacterUpdate
bagBagUpdate
achievementAccountUpdate.AchievementUpdate実績の情報にゃ.
shilianAccountShiLian
daily_taskAccountUpdate.DailyTaskUpdate
titleAccountUpdate.TitleUpdate
new_recharged_listuint32repeated
activity_taskAccountUpdate.TaskUpdate
activity_flip_taskAccountUpdate.TaskUpdate
activity_period_taskAccountUpdate.TaskUpdate
activity_random_taskAccountUpdate.TaskUpdate
challengeAccountUpdate.AccountChallengeUpdate
ab_matchAccountUpdate.AccountABMatchUpdate

AccountUpdate.AccountABMatchUpdate

FieldTypeLabelDescription
match_iduint32
match_countuint32
buy_in_countuint32
pointuint32
rewardedbool
match_max_pointAccountUpdate.AccountABMatchUpdate.MatchPointrepeated
quitbool

AccountUpdate.AccountABMatchUpdate.MatchPoint

FieldTypeLabelDescription
match_iduint32
pointuint32

AccountUpdate.AccountChallengeUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated
leveluint32
refresh_countuint32
match_countuint32
ticket_iduint32
task_listuint32repeated
rewarded_seasonuint32repeated

AccountUpdate.AchievementUpdate

FieldTypeLabelDescription
progressesAchievementProgressrepeated
rewarded_groupuint32repeated

AccountUpdate.CharacterUpdate

FieldTypeLabelDescription
charactersCharacterrepeated
skinsuint32repeated
finished_endingsuint32repeated
rewarded_endingsuint32repeated

AccountUpdate.DailyTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated
task_listuint32repeated

AccountUpdate.NumericalUpdate

FieldTypeLabelDescription
iduint32
finaluint32

AccountUpdate.TaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated
task_listuint32repeated

AccountUpdate.TitleUpdate

FieldTypeLabelDescription
new_titlesuint32repeated
remove_titlesuint32repeated

AchievementProgress

FieldTypeLabelDescription
iduint32実績 ID にゃ.
counteruint32実績のカウンターにゃ.
achievedboolfalse: 未完成
true: 完成済
rewardedbool
achieved_timeuint32

ActionAnGangAddGang

FieldTypeLabelDescription
seatuint32暗槓もしくは加槓をした対局者の席にゃ.ここ参照にゃ.
typeuint322: 加槓, 3: 暗槓
tilesstring槓の対象牌にゃ.
operationOptionalOperationList他家の槓の場合で,それに対して自家が槍槓できるならその選択肢の情報がここに入るにゃ.
dorasstringrepeated槓ドラ後めくりの槓(段位戦では大明槓と加槓)による嶺上牌自摸でさらに加槓または暗槓した場合,前者の槓に対する槓ドラはこのタイミングでめくられるので,その場合の表ドラ表示牌にゃ.新旧の全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ.
zhentingbool
tingpaisTingPaiInforepeated自家が暗槓もしくは加槓した場合の,自家の聴牌情報にゃ.
muyuMuyuInfo

ActionBaBei

FieldTypeLabelDescription
seatuint32
operationOptionalOperationList
dorasstringrepeated
zhentingbool
tingpaisTingPaiInforepeated
moqiebool
tile_stateuint32
muyuMuyuInfo

ActionChangeTile

FieldTypeLabelDescription
in_tilesstringrepeated
in_tile_statesint32repeated
out_tilesstringrepeated
out_tile_statesint32repeated
dorasstringrepeated
tingpais0TingPaiDiscardInforepeated
tingpais1TingPaiInforepeated
operationOptionalOperationList
change_typeuint32

ActionChiPengGang

FieldTypeLabelDescription
seatuint32チー,ポン,もしくは大明槓をした対局者の席にゃ.ここ参照にゃ.
typeuint320: チー, 1: ポン, 2: 大明槓
tilesstringrepeatedチー・ポン・大明槓の対象牌にゃ.最後の要素が鳴いた牌でそれ以外が手牌にあった牌にゃ.
fromsuint32repeatedチー・ポン・大明槓の対象牌がどの席から出たかの情報にゃ.最後の要素が鳴いた牌を打牌した者の席,それ以外が鳴いた者の席にゃ.各要素の値の意味はここ参照にゃ.
liqiLiQiSuccess直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の鳴きの時に立直成立の確定情報があるにゃ.
operationOptionalOperationList自家がチー・ポン・大明槓した場合の,鳴いた後の打牌時の選択肢情報にゃ.
zhentingbool
tingpaisTingPaiDiscardInforepeated自家がチー・ポン・大明槓した場合の,自家の聴牌情報にゃ.
tile_statesuint32repeated
muyuMuyuInfo

ActionDealTile

FieldTypeLabelDescription
seatuint32自摸した対局者の席にゃ.ここ参照にゃ.
tilestring自摸した牌にゃ.
left_tile_countuint32残り自摸回数にゃ.
operationOptionalOperationList自家が自摸した場合の,自摸後の打牌時の選択肢情報にゃ.
liqiLiQiSuccess直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の自摸時に立直成立の確定情報があるにゃ.
dorasstringrepeated嶺上牌の自摸かつ槓ドラ即めくり(段位戦では暗槓)の場合の表ドラ表示牌にゃ.新旧の全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ.
zhentingbool
tingpaisTingPaiDiscardInforepeated自家が自摸した場合の,自家の聴牌情報にゃ.
tile_stateuint32
muyuMuyuInfo

ActionDiscardTile

FieldTypeLabelDescription
seatuint32打牌した対局者の席にゃ.ここ参照にゃ.
tilestring打牌した牌にゃ.
is_liqibool立直宣言かどうかのフラグにゃ.
operationOptionalOperationList他家の打牌の場合で,それに対して自家に表示される選択肢の情報にゃ.
moqiebool自摸切りかどうかのフラグにゃ.
zhentingbool
tingpaisTingPaiInforepeated自家が打牌した場合の,自家の聴牌情報にゃ.
dorasstringrepeated嶺上牌自摸後の打牌かつ槓ドラ後めくり(段位戦では大明槓と加槓)の場合の表ドラ表示牌にゃ.新旧全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ.
is_wliqiboolダブル立直宣言かどうかのフラグにゃ.
tile_stateuint32
muyuMuyuInfo

ActionHule

FieldTypeLabelDescription
hulesHuleInforepeated和了の詳細情報にゃ.
old_scoresint32repeated清算前の各家の持ち点にゃ.0要素目が起家のもので,以下,反時計回りにゃ.
delta_scoresint32repeated和了による各家の持ち点の増減にゃ.0要素目が起家のもので,以下,反時計回りにゃ.
wait_timeoutuint32
scoresint32repeated清算後の各家の持ち点にゃ.0要素目が起家のもので,以下,反時計回りにゃ.
gameendGameEnd
dorasstringrepeated
muyuMuyuInfo

ActionHuleXueZhanEnd

FieldTypeLabelDescription
hulesHuInfoXueZhanMidrepeated
old_scoresint32repeated
delta_scoresint32repeated
scoresint32repeated
wait_timeoutuint32
gameendGameEnd
dorasstringrepeated
muyuMuyuInfo
hules_historyHuleInforepeated

ActionHuleXueZhanMid

FieldTypeLabelDescription
hulesHuInfoXueZhanMidrepeated
old_scoresint32repeated
delta_scoresint32repeated
scoresint32repeated
dorasstringrepeated
muyuMuyuInfo
liqiLiQiSuccess
zhentingbool

ActionLiuJu

FieldTypeLabelDescription
typeuint32途中流局の原因にゃ.1: 九種九牌, 2: 四風連打, 3: 四槓散了, 4: 四家立直
gameendGameEnd
seatuint32九種九牌では宣言者の席にゃ.ここ参照にゃ.それ以外では0にゃ.
tilesstringrepeated九種九牌では宣言者の手牌にゃ.それ以外では空配列にゃ.
liqiLiQiSuccess
allplayertilesstringrepeated
muyuMuyuInfo
hules_historyHuleInforepeated

ActionMJStart

FieldTypeLabelDescription

ActionNewRound

FieldTypeLabelDescription
changuint32局の「場」を表すにゃ. 0: 東場, 1: 南場, 2: 西場
juuint32各場の何局目かを表すにゃ. 0: 1局目, 1: 2局目, 2: 3局目, 3: 4局目
benuint32何本場かを表すにゃ. 0: 0本場, 1: 1本場, 2: 2本場, ...
tilesstringrepeated自家の配牌にゃ.親の場合は要素数14でどの牌が第一自摸牌かは特定されないにゃ.
dorastring
scoresint32repeated開局時の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ.
operationOptionalOperationList自分が親の場合の,打牌時の選択肢情報にゃ.
liqibanguint32供託の本数にゃ.
tingpais0TingPaiDiscardInforepeated
tingpais1TingPaiInforepeated
albool
md5string牌山コードにゃ.
left_tile_countuint32残り自摸回数にゃ.
dorasstringrepeated表ドラ表示牌にゃ.
opensNewRoundOpenedTilesrepeated
muyuMuyuInfo

ActionNoTile

FieldTypeLabelDescription
liujumanguanbool
playersNoTilePlayerInforepeated
scoresNoTileScoreInforepeated
gameendbool
muyuMuyuInfo
hules_historyHuleInforepeated

ActionPrototype

FieldTypeLabelDescription
stepuint32(下記参照にゃ.)
namestring(下記参照にゃ.)
databytes(下記参照にゃ.)

対局の進行,例えば,対局が開始した,プレイヤーの誰かが牌を自模った,プレイヤーの誰かが打牌した,プレイヤーの誰かが鳴いた,プレイヤーの誰かが上がった,等に伴って雀魂 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

FieldTypeLabelDescription
activity_iduint32
start_timeuint32
end_timeuint32
typestring

ActivityAccumulatedPointData

FieldTypeLabelDescription
activity_iduint32
pointint32
gained_reward_listuint32repeated

ActivityRankPointData

FieldTypeLabelDescription
leaderboard_iduint32
pointint32
gained_rewardbool
gainable_timeuint32

Announcement

FieldTypeLabelDescription
iduint32
titlestring
contentstring

AntiAddiction

FieldTypeLabelDescription
online_durationuint32

Bag

FieldTypeLabelDescription
itemsItemrepeated
daily_gain_recordItemGainRecordsrepeated

BagUpdate

FieldTypeLabelDescription
update_itemsItemrepeated
update_daily_gain_recordItemGainRecordsrepeated

BillShortcut

FieldTypeLabelDescription
iduint32
countuint32
deal_priceuint32

BillingGoods

FieldTypeLabelDescription
idstring
namestring
descstring
iconstring
resource_iduint32
resource_countuint32

BillingProduct

FieldTypeLabelDescription
goodsBillingGoods
currency_codestring
currency_priceuint32
sort_weightuint32

BuyRecord

FieldTypeLabelDescription
iduint32
countuint32

ChangeNicknameRecord

FieldTypeLabelDescription
fromstring
tostring
timeuint32

Character

FieldTypeLabelDescription
chariduint32キャラクタ ID にゃ.
leveluint32絆レベルにゃ.
expuint32絆ポイントにゃ.
viewsViewSlotrepeated
skinuint32
is_upgradedboolキャラクタと契約済みかどうかのフラグにゃ.
extra_emojiuint32repeated追加スタンプにゃ.

ChestData

FieldTypeLabelDescription
chest_iduint32
total_open_countuint32
consume_countuint32
face_black_countuint32

ChestDataV2

FieldTypeLabelDescription
chest_iduint32
total_open_countuint32
face_black_countuint32

ClientDeviceInfo

FieldTypeLabelDescription
platformstring
hardwarestring
osstring
os_versionstring
is_browserbool
softwarestring
sale_platformstring
hardware_vendorstring
model_numberstring

ClientVersionInfo

FieldTypeLabelDescription
resourcestring
packagestring

CommentItem

FieldTypeLabelDescription
comment_iduint32
timestampuint32
commenterPlayerBaseView
contentstring
is_banneduint32

ContestDetailRule

FieldTypeLabelDescription
init_pointuint32
fandianuint32
can_jifeibool
tianbian_valueuint32
liqibang_valueuint32
changbang_valueuint32
noting_fafu_1uint32
noting_fafu_2uint32
noting_fafu_3uint32
have_liujumanguanbool
have_qieshangmanguanbool
have_biao_dorabool
have_gang_biao_dorabool
ming_dora_immediately_openbool
have_li_dorabool
have_gang_li_dorabool
have_sifengliandabool
have_sigangsanlebool
have_sijializhibool
have_jiuzhongjiupaibool
have_sanjiahelebool
have_toutiaobool
have_helelianzhuangbool
have_helezhongjubool
have_tingpailianzhuangbool
have_tingpaizhongjubool
have_yifabool
have_nanruxirubool
jingsuanyuandianuint32
shunweima_2int32
shunweima_3int32
shunweima_4int32
bianjietishibool
ai_leveluint32
have_zimosunbool
disable_multi_yukamanbool
guyi_modeuint32
disable_leijiyimanbool

ContestDetailRuleV2

FieldTypeLabelDescription
game_ruleContestDetailRule
extra_ruleContestDetailRuleV2.ExtraRule

ContestDetailRuleV2.ExtraRule

FieldTypeLabelDescription
required_leveluint32
max_game_countuint32

ContestGameInfo

FieldTypeLabelDescription
game_uuidstring
playersContestGameInfo.Playerrepeated
start_timeuint32
end_timeuint32

ContestGameInfo.Player

FieldTypeLabelDescription
account_iduint32
nicknamestring

ContestMatchingPlayer

FieldTypeLabelDescription
account_iduint32
nicknamestring
controllerContestMatchingPlayer.Controller

ContestMatchingPlayer.Controller

FieldTypeLabelDescription
account_iduint32
nicknamestring

ContestPlayerInfo

FieldTypeLabelDescription
account_iduint32
nicknamestring

CustomizedContest

FieldTypeLabelDescription
unique_iduint32
creator_iduint32
contest_iduint32
contest_namestring
stateuint32
create_timeuint32
start_timeuint32
finish_timeuint32
openbool
rank_ruleuint32
deadlineuint32
auto_matchbool
auto_disable_end_chatbool
contest_typeuint32
hidden_zonesuint32repeated
banned_zonesuint32repeated

CustomizedContestAbstract

FieldTypeLabelDescription
unique_iduint32
contest_iduint32大会 ID にゃ
contest_namestring大会名にゃ
stateuint32
creator_iduint32
create_timeuint32
start_timeuint32開始時間にゃ
finish_timeuint32終了時間にゃ
openboolfalse: 非公開にゃ
true: 公開にゃ
public_noticestring

CustomizedContestBase

FieldTypeLabelDescription
unique_iduint32
contest_iduint32大会 ID にゃ
contest_namestring大会名にゃ
stateuint32
creator_iduint32
create_timeuint32
start_timeuint32開始時間にゃ
finish_timeuint32終了時間にゃ
openboolfalse: 非公開にゃ
true: 公開にゃ
contest_typeuint32

CustomizedContestDetail

FieldTypeLabelDescription
unique_iduint32
contest_iduint32大会 ID にゃ
contest_namestring大会名にゃ
stateuint32
creator_iduint32
create_timeuint32
start_timeuint32開始時間にゃ
finish_timeuint32終了時間にゃ
openboolfalse: 非公開にゃ
true: 公開にゃ
rank_ruleuint32
game_modeGameMode大会ルールにゃ
private_noticestringお知らせにゃ
observer_switchuint32
emoji_switchuint32

CustomizedContestExtend

FieldTypeLabelDescription
unique_iduint32大会の unique_id にゃ
public_noticestring大会の詳細にゃ

CustomizedContestGameEnd

FieldTypeLabelDescription
playersCustomizedContestGameEnd.Itemrepeated

CustomizedContestGameEnd.Item

FieldTypeLabelDescription
account_iduint32
nicknamestring
total_pointint32

CustomizedContestGameStart

FieldTypeLabelDescription
playersCustomizedContestGameStart.Itemrepeated大会の対局の対局者情報にゃ

CustomizedContestGameStart.Item

FieldTypeLabelDescription
account_iduint32
nicknamestringユーザー名にゃ

CustomizedContestPlayerReport

FieldTypeLabelDescription
rank_ruleuint32
rankuint32
pointint32
game_ranksuint32repeated
total_game_countuint32

Error

FieldTypeLabelDescription
codeuint32
u32_paramsuint32repeated
str_paramsstringrepeated
json_paramstring

ExchangeRecord

FieldTypeLabelDescription
exchange_iduint32
countuint32

ExecuteReward

FieldTypeLabelDescription
rewardRewardSlot
replaceRewardSlot
replace_countuint32

FaithData

FieldTypeLabelDescription
faith_iduint32
total_open_countuint32
consume_countuint32
modify_countint32

FanInfo

FieldTypeLabelDescription
namestring
valuint32役毎の翻数にゃ.裏ドラの場合に0がありうるにゃ.
iduint32役 ID にゃ.ここ参照にゃ.

Friend

FieldTypeLabelDescription
basePlayerBaseView友人の情報にゃ.
stateAccountActiveState友人の状態にゃ.

GameConfig

FieldTypeLabelDescription
categoryuint321: 友人戦, 2: 段位戦
modeGameMode対局のモード,ルールに関する情報にゃ.
metaGameMetaData対局のメタ情報にゃ.

GameConnectInfo

FieldTypeLabelDescription
connect_tokenstring
game_uuidstring
locationstring

GameDetailRecords

FieldTypeLabelDescription
recordsbytesrepeated(下記参照にゃ)

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

FieldTypeLabelDescription
time_fixeduint32基本考慮時間にゃ.単位は秒にゃ.
time_adduint32追加考慮時間にゃ.単位は秒にゃ.
dora_countuint32赤ドラの枚数にゃ.
shiduanuint32喰いタンの有無にゃ. 0: 喰いタン無し, 1: 喰いタンあり
init_pointuint32配給原点にゃ.
fandianuint321位必要点数にゃ.
can_jifeibool飛びの有無にゃ.
tianbian_valueuint32天辺にゃ.
liqibang_valueuint32立直棒点数にゃ.
changbang_valueuint32積み棒点数にゃ.
noting_fafu_1uint32不聴罰符の点数(一人聴牌)にゃ.
noting_fafu_2uint32不聴罰符の点数(二人聴牌)にゃ.
noting_fafu_3uint32不聴罰符の点数(三人聴牌)にゃ.
have_liujumanguanbool流し満貫の有無にゃ.
have_qieshangmanguanbool切り上げ満貫の有無にゃ.
have_biao_doraboolドラの有無にゃ.
have_gang_biao_doraboolカンドラの有無にゃ.
ming_dora_immediately_openboolカンドラ即めくりの有無にゃ.
have_li_dorabool裏ドラの有無にゃ.
have_gang_li_doraboolカン裏ドラの有無にゃ.
have_sifengliandabool四風連打流局の有無にゃ.
have_sigangsanlebool四槓散了流局の有無にゃ.
have_sijializhibool四家立直流局の有無にゃ.
have_jiuzhongjiupaibool九種九牌流局の有無にゃ.
have_sanjiahelebool三家和の有無にゃ.
have_toutiaobool頭跳ねの有無にゃ.
have_helelianzhuangbool和了連荘の有無にゃ.
have_helezhongjubool和了終局の有無にゃ.
have_tingpailianzhuangbool聴牌連荘の有無にゃ.
have_tingpaizhongjubool聴牌終局の有無にゃ.
have_yifabool一発の有無にゃ.
have_nanruxirubool南入/西入の有無にゃ.
jingsuanyuandianuint32精算原点にゃ.
shunweima_2int322位の順位ウマにゃ.
shunweima_3int323位の順位ウマにゃ.
shunweima_4int324位の順位ウマにゃ.
bianjietishibool便利表示の有無にゃ. false: 便利表示なし, true: 便利表示あり
ai_leveluint32CPU レベルにゃ. 1: 簡単, 2: 普通
have_zimosunboolツモ損の有無にゃ.
disable_multi_yukamanbool役満の複合の有無にゃ.
fanfuuint32翻数縛りにゃ. 1: 1翻縛り, 2: 2翻縛り, 4: 4翻縛り
guyi_modeuint32ローカル役の有無にゃ.
dora3_modeuint32ドラ3モードにゃ.
begin_open_modeuint32配牌公開モードにゃ.
jiuchao_modeuint32明鏡の戦にゃ.
muyu_modeuint32龍の割目にゃ.
open_handuint32手牌表示の有無にゃ. 0: 手牌表示なし, 1: 手牌表示あり
xuezhandaodiuint32修羅の戦にゃ.
huansanzhanguint32牌交換の有無にゃ.
chuanmauint32赤血の戦にゃ.
reveal_discarduint32闇夜の戦にゃ.
field_spell_modeuint32幻界の戦にゃ.
disable_leijiyimanbool数え役満の有無にゃ.

GameEnd

FieldTypeLabelDescription
scoresint32repeated

GameEndAction

FieldTypeLabelDescription
stateuint32

GameEndResult

FieldTypeLabelDescription
playersGameEndResult.PlayerItemrepeated対局による各対局者の点数,段位戦昇段ポイント,コインの収支情報にゃ.

GameEndResult.PlayerItem

FieldTypeLabelDescription
seatuint32対象の対局者の席にゃ.ここ参照にゃ.
total_pointint32ウマ・オカを含めた点数収支にゃ.
part_point_1int32ウマ・オカを除いた点数収支にゃ.
part_point_2int32
grading_scoreint32段位戦昇段ポイントの収支にゃ.
goldint32コインの収支にゃ.

GameFinalSnapshot

FieldTypeLabelDescription
uuidstring
stateuint32
categoryuint32
modeGameMode
metaGameMetaData
calculate_paramGameFinalSnapshot.CalculateParam
create_timeuint32
start_timeuint32
finish_timeuint32
seatsGameFinalSnapshot.GameSeatrepeated
roundsGameRoundSnapshotrepeated
account_viewsPlayerGameViewrepeated
final_playersGameFinalSnapshot.FinalPlayerrepeated
afk_infoGameFinalSnapshot.AFKInforepeated

GameFinalSnapshot.AFKInfo

FieldTypeLabelDescription
deal_tile_countuint32
moqie_countuint32
seatuint32

GameFinalSnapshot.CalculateParam

FieldTypeLabelDescription
init_pointuint32
jingsuanyuandianuint32
rank_pointsint32repeated

GameFinalSnapshot.FinalPlayer

FieldTypeLabelDescription
seatuint32
total_pointint32
part_point_1int32
part_point_2int32
grading_scoreint32
goldint32

GameFinalSnapshot.GameSeat

FieldTypeLabelDescription
typeuint32
account_iduint32
notify_endpointNetworkEndpoint
client_addressstring
is_connectedbool

GameLiveHead

FieldTypeLabelDescription
uuidstring対局の UUID にゃ.
start_timeuint32対局の開始時間 (Unix 時間?) にゃ.
game_configGameConfig対局のモードやルール設定にゃ.
playersPlayerGameViewrepeated対局者の情報にゃ.
seat_listuint32repeated

GameLiveSegment

FieldTypeLabelDescription
actionsGameLiveUnitrepeated

GameLiveSegmentUri

FieldTypeLabelDescription
segment_iduint32
segment_uristring

GameLiveUnit

FieldTypeLabelDescription
timestampuint32
action_categoryuint32
action_databytes

GameMetaData

FieldTypeLabelDescription
room_iduint32友人戦の部屋番号にゃ.友人戦でない場合は0にゃ.
mode_iduint32ゲームメタモード ID にゃ.ここ参照にゃ.
contest_uiduint32

GameMode

FieldTypeLabelDescription
modeuint321: 東風戦, 2: 半荘戦, 4: 一局戦
aiboolCPU が参加しているかどうかのフラグにゃ.
extendinfostring
detail_ruleGameDetailRule対局の詳細なルールの情報にゃ.
testing_environmentGameTestingEnvironmentSet
game_settingGameSetting

GameNewRoundState

FieldTypeLabelDescription
seat_statesuint32repeated

GameNoopAction

FieldTypeLabelDescription

GameRestore

FieldTypeLabelDescription
snapshotGameSnapshot
actionsActionPrototyperepeated
passed_waiting_timeuint32
game_stateuint32
start_timeuint32
last_pause_time_msuint32

GameRoundHuData

FieldTypeLabelDescription
hupaiGameRoundHuData.HuPai
fansGameRoundHuData.Fanrepeated
scoreuint32
xunuint32
title_iduint32
fan_sumuint32
fu_sumuint32
yakuman_countuint32
biao_dora_countuint32
red_dora_countuint32
li_dora_countuint32
babei_countuint32
xuan_shang_countuint32

GameRoundHuData.Fan

FieldTypeLabelDescription
iduint32
countuint32
fanuint32

GameRoundHuData.HuPai

FieldTypeLabelDescription
tilestring
seatuint32
liqiuint32

GameRoundPlayer

FieldTypeLabelDescription
scoreint32
rankuint32
resultGameRoundPlayerResult

GameRoundPlayerResult

FieldTypeLabelDescription
typeuint32
handsstringrepeated
mingstringrepeated
liqi_typeuint32
is_fulubool
is_liujumanguanbool
lian_zhuanguint32
huGameRoundHuData

GameRoundSnapshot

FieldTypeLabelDescription
juuint32
benuint32
playersGameRoundPlayerrepeated

GameRuleSetting

FieldTypeLabelDescription
round_typeuint32
shiduanbool
dora_countuint32
thinking_typeuint32
use_detail_rulebool
detail_rule_v2ContestDetailRuleV2

GameSetting

FieldTypeLabelDescription
emoji_switchuint32

GameSnapshot

FieldTypeLabelDescription
changuint32
juuint32
benuint32
index_playeruint32
left_tile_countuint32
handsstringrepeated
dorasstringrepeated
liqibanguint32
playersGameSnapshot.PlayerSnapshotrepeated
zhentingbool

GameSnapshot.PlayerSnapshot

FieldTypeLabelDescription
scoreint32
liqipositionint32
tilenumuint32
qipaisstringrepeated
mingsGameSnapshot.PlayerSnapshot.Fulurepeated

GameSnapshot.PlayerSnapshot.Fulu

FieldTypeLabelDescription
typeuint32
tilestringrepeated
fromuint32repeated

GameTestingEnvironmentSet

FieldTypeLabelDescription
paixinguint32
left_countuint32