データ型(H~Z,Req・Resを除く)一覧にゃ

Last-modified: 2024-02-03 (土) 06:26:06

HuInfoXueZhanMid

FieldTypeLabelDescription
seatuint32
hand_countuint32
handstringrepeated
mingstringrepeated
hu_tilestring
zimobool
yimanbool
countuint32
fansFanInforepeated
fuuint32
title_iduint32

HuleInfo

FieldTypeLabelDescription
handstringrepeated和了時の手牌にゃ.
mingstringrepeated和了時の副露牌にゃ. shunzi(X,Y,Z)": チー, "kezi(X,Y,Z)": ポン, "minggang(X,Y,Z,W)": 明槓, "angang(X,Y,Z,W)": 暗槓
hu_tilestring上がり牌にゃ.
seatuint32和了者の席にゃ.ここ参照にゃ.
zimobool自摸和かどうかのフラグにゃ.
qinjiabool和了者が親かどうかのフラグにゃ.
liqibool和了者が立直していたかどうかのフラグにゃ.
dorasstringrepeated表ドラ表示牌にゃ.
li_dorasstringrepeated裏ドラ表示牌にゃ.
yimanbool役満かどうかのフラグにゃ.ただし数え役満の場合は false になるにゃ.
countuint32yiman フィールドが false の場合は翻数, yiman フィールドが true の場合は 1: 役満, 2: 2倍役満, 3: 3倍役満, ...
fansFanInforepeated役にゃ.
fuuint32符にゃ.
titlestring
point_ronguint32栄和の場合の支払い点数にゃ.
point_zimo_qinuint32自摸和の場合の子の支払い点数にゃ.
point_zimo_xianuint32子の自摸和の場合の親の支払い点数にゃ.
title_iduint320: 満貫未満, 1: 満貫, 2: 跳満, 3: 倍満, 4: 三倍満, 5: 役満, 6: 二倍役満, 7: 三倍役満, ..., 11: 数え役満
point_sumuint32得点にゃ? 和了の演出で右下に表示される数字に一致することが多いが詳細不明の値になることがあるにゃ.
dadianuint32

Item

FieldTypeLabelDescription
item_iduint32
stackuint32

ItemGainRecord

FieldTypeLabelDescription
item_iduint32
countuint32

ItemGainRecords

FieldTypeLabelDescription
record_timeuint32
limit_source_iduint32
recordsItemGainRecordrepeated

LiQiSuccess

FieldTypeLabelDescription
seatuint32立直者の席にゃ.ここ参照にゃ.
scoreint32立直成立後の立直者の点数にゃ.
liqibanguint32立直棒の種類を表す ID にゃ.
failedbool

Mail

FieldTypeLabelDescription
mail_iduint32
stateuint32
take_attachmentbool
titlestring
contentstring
attachmentsRewardSlotrepeated
create_timeuint32
expire_timeuint32
reference_iduint32
title_i18nMail.I18nContextrepeated
content_i18nMail.I18nContextrepeated

Mail.I18nContext

FieldTypeLabelDescription
langstring
contextstring

MonthTicketInfo

FieldTypeLabelDescription
iduint32
end_timeuint32開運御守の有効期限(UNIX 時間)にゃ.
last_pay_timeuint32開運御守の輝石を最後に受け取った時間(UNIX 時間)にゃ.

MuyuInfo

FieldTypeLabelDescription
seatuint32
countuint32
count_maxuint32
iduint32

NetworkEndpoint

FieldTypeLabelDescription
familystring
addressstring
portuint32

NewRoundOpenedTiles

FieldTypeLabelDescription
seatuint32
tilesstringrepeated
countuint32repeated

NoTilePlayerInfo

FieldTypeLabelDescription
tingpaibool聴牌かどうかのフラグにゃ.
handstringrepeated聴牌時の手牌にゃ.不聴の場合は空配列にゃ.
tingsTingPaiInforepeated聴牌時の詳細情報にゃ.
already_hulebool

NoTileScoreInfo

FieldTypeLabelDescription
seatuint32流し満貫達成者が居ない場合は0にゃ.流し満貫達成者が居る場合はその席にゃ.ここ参照にゃ.
old_scoresint32repeated清算前の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ.
delta_scoresint32repeated点数収支にゃ.0要素目が起家の点数収支で,以下,反時計回りにゃ.全員不聴,全員聴牌の場合は空配列にゃ.
handstringrepeated流し満貫達成者の手牌にゃ.通常の荒牌平局では空配列にゃ.流し満貫の達成に手牌は関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ.
mingstringrepeated流し満貫達成者の副露牌にゃ.shunzi(X,Y,Z)": チー, "kezi(X,Y,Z)": ポン, "minggang(X,Y,Z,W)": 明槓, "angang(X,Y,Z,W)": 暗槓.流し満貫の達成に副露牌は関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ.
dorasstringrepeated流し満貫達成時の表ドラ表示牌にゃ.常の荒牌平局では空配列にゃ.流し満貫にドラは関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ.
scoreuint32流し満貫達成時の達成者の得点にゃ.通常の荒牌平局では0にゃ.流し満貫達成の演出(和了の演出を流用)で右下に表示される数字にゃ.

NotifyAFKResult

FieldTypeLabelDescription
typeuint32
ban_end_timeuint32
game_uuidstring

NotifyAccountChallengeTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated
leveluint32
refresh_countuint32
match_countuint32
ticket_iduint32
rewarded_seasonuint32repeated

NotifyAccountLevelChange

FieldTypeLabelDescription
originAccountLevel
finalAccountLevel
typeuint32

NotifyAccountLogout

FieldTypeLabelDescription

NotifyAccountRandomTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated

NotifyAccountUpdate

FieldTypeLabelDescription
updateAccountUpdateアカウント情報の更新通知にゃ.

NotifyActivityChange

FieldTypeLabelDescription
new_activitiesActivityrepeated
end_activitiesuint32repeated

NotifyActivityPeriodTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated

NotifyActivityPoint

FieldTypeLabelDescription
activity_pointsNotifyActivityPoint.ActivityPointrepeated

NotifyActivityPoint.ActivityPoint

FieldTypeLabelDescription
activity_iduint32
pointuint32

NotifyActivityReward

FieldTypeLabelDescription
activity_rewardNotifyActivityReward.ActivityRewardrepeated

NotifyActivityReward.ActivityReward

FieldTypeLabelDescription
activity_iduint32
rewardsRewardSlotrepeated

NotifyActivityRewardV2

FieldTypeLabelDescription
activity_rewardNotifyActivityRewardV2.ActivityRewardrepeated

NotifyActivityRewardV2.ActivityReward

FieldTypeLabelDescription
activity_iduint32
rewardsRewardSlotrepeated

NotifyActivityTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated

NotifyAnnouncementUpdate

FieldTypeLabelDescription
announcementsAnnouncementrepeated
sortuint32repeated
langstring

NotifyAnotherLogin

FieldTypeLabelDescription

NotifyClientMessage

FieldTypeLabelDescription
senderPlayerBaseView
typeuint32
contentstring

NotifyContestGameEnd

FieldTypeLabelDescription
unique_iduint32
game_uuidstring

NotifyContestGameStart

FieldTypeLabelDescription
unique_iduint32
game_infoContestGameInfo

NotifyContestManagerKick

FieldTypeLabelDescription
reasonuint32

NotifyContestMatchingPlayer

FieldTypeLabelDescription
unique_iduint32
typeuint32
account_iduint32
nicknamestring

NotifyContestMatchingPlayerLock

FieldTypeLabelDescription
unique_iduint32
typeuint32
account_iduint32
manager_iduint32

NotifyContestNoticeUpdate

FieldTypeLabelDescription
unique_iduint32
notice_typeuint32
contentstring

NotifyCustomContestAccountMsg

FieldTypeLabelDescription
unique_iduint32
account_iduint32
senderstring
contentstring
verifieduint32

NotifyCustomContestState

FieldTypeLabelDescription
unique_iduint32
stateuint32

NotifyCustomContestSystemMsg

FieldTypeLabelDescription
unique_iduint32大会の unique_id にゃ
typeuint321: 対局開始のメッセージを表すにゃ?
uuidstring対局の UUID にゃ
game_startCustomizedContestGameStart開始された対局の情報にゃ
game_endCustomizedContestGameEnd

NotifyDailyTaskUpdate

FieldTypeLabelDescription
progressesTaskProgressrepeated
max_daily_task_countuint32
refresh_countuint32

NotifyDeleteMail

FieldTypeLabelDescription
mail_id_listuint32repeated

NotifyEndGameVote

FieldTypeLabelDescription
resultsNotifyEndGameVote.VoteResultrepeated
start_timeuint32
duration_timeuint32

NotifyEndGameVote.VoteResult

FieldTypeLabelDescription
account_iduint32
yesbool

NotifyFriendChange

FieldTypeLabelDescription
account_iduint32アカウント ID にゃ.
typeuint321: 友人申請同意を意味するにゃ?
friendFriend友人の情報にゃ.

NotifyFriendStateChange

FieldTypeLabelDescription
target_iduint32
active_stateAccountActiveState

NotifyFriendViewChange

FieldTypeLabelDescription
target_iduint32
basePlayerBaseView

NotifyGameBroadcast

FieldTypeLabelDescription
seatuint32
contentstring

対局中に対局者の誰かがスタンプを送った時に雀魂 API サーバからクライアントへ非同期的に送られてくるにゃ.この場合, seat フィールドにはスタンプを送った対局者の席(ここ参照), content には {"emo":5} のような文字列 (JSON?) が入っているにゃ.

NotifyGameEndResult

FieldTypeLabelDescription
resultGameEndResult

NotifyGameFinishReward

NotifyGameFinishReward.CharacterGift

FieldTypeLabelDescription
originuint32
finaluint32
adduint32
is_gradedbool

NotifyGameFinishReward.LevelChange

FieldTypeLabelDescription
originAccountLevel
finalAccountLevel
typeuint32

NotifyGameFinishReward.MainCharacter

FieldTypeLabelDescription
leveluint32
expuint32
adduint32

NotifyGameFinishReward.MatchChest

FieldTypeLabelDescription
chest_iduint32
originuint32
finaluint32
is_gradedbool
rewardsRewardSlotrepeated

NotifyGamePause

FieldTypeLabelDescription
pausedbool

NotifyGameTerminate

FieldTypeLabelDescription
reasonstring

NotifyGiftSendRefresh

FieldTypeLabelDescription

NotifyLeaderboardPoint

FieldTypeLabelDescription
leaderboard_pointsNotifyLeaderboardPoint.LeaderboardPointrepeated

NotifyLeaderboardPoint.LeaderboardPoint

FieldTypeLabelDescription
leaderboard_iduint32
pointuint32

NotifyMatchGameStart

FieldTypeLabelDescription
game_urlstring
connect_tokenstring
game_uuidstring
match_mode_iduint32
locationstring

NotifyMatchTimeout

FieldTypeLabelDescription

NotifyNewComment

FieldTypeLabelDescription

NotifyNewFriendApply

FieldTypeLabelDescription
account_iduint32
apply_timeuint32
removed_iduint32

NotifyNewGame

FieldTypeLabelDescription
game_uuidstring
player_liststringrepeated

NotifyNewMail

FieldTypeLabelDescription
mailMail

NotifyObserveData

FieldTypeLabelDescription
unitGameLiveUnit

NotifyPayResult

FieldTypeLabelDescription
pay_resultuint32
order_idstring
goods_iduint32
new_month_ticketuint32
resource_modifyNotifyPayResult.ResourceModifyrepeated

NotifyPayResult.ResourceModify

FieldTypeLabelDescription
iduint32
countuint32
finaluint32

NotifyPlayerConnectionState

FieldTypeLabelDescription
seatuint32
stateenum

NotifyPlayerLoadGameReady

FieldTypeLabelDescription
ready_id_listuint32repeated

NotifyReviveCoinUpdate

FieldTypeLabelDescription
has_gainedbool

NotifyRollingNotice

FieldTypeLabelDescription
noticeRollingNotice

NotifyRoomGameStart

FieldTypeLabelDescription
game_urlstring
connect_tokenstring
game_uuidstring対局の UUID にゃ
locationstring

NotifyRoomKickOut

FieldTypeLabelDescription

NotifyRoomPlayerDressing

FieldTypeLabelDescription
account_iduint32
dressingbool
account_listNotifyRoomPlayerDressing.AccountDressingState
sequint32

NotifyRoomPlayerDressing.AccountDressingState

FieldTypeLabelDescription
account_iduint32
dressingbool

NotifyRoomPlayerReady

FieldTypeLabelDescription
account_iduint32
readybool
account_listNotifyRoomPlayerReady.AccountReadyState
sequint32

NotifyRoomPlayerReady.AccountReadyState

FieldTypeLabelDescription
account_iduint32
readybool

NotifyRoomPlayerUpdate

FieldTypeLabelDescription
update_listPlayerBaseViewrepeated
remove_listuint32repeated
owner_iduint32
robot_countuint32
player_listPlayerBaseViewrepeated
sequint32

NotifyServerSetting

FieldTypeLabelDescription
settingsServerSettings

NotifyShopUpdate

FieldTypeLabelDescription
shop_infoShopInfo

NotifyVipLevelChange

FieldTypeLabelDescription
gift_limituint32
friend_max_countuint32
zhp_free_refresh_limituint32
zhp_cost_refresh_limituint32
buddy_bonusfloat
record_collect_limituint32

OpenResult

FieldTypeLabelDescription
rewardRewardSlot
replaceRewardSlot

OptionalOperation

FieldTypeLabelDescription
typeuint32(下記参照にゃ)
combinationstringrepeated(下記参照にゃ)
change_tilesstringrepeated
change_tile_statesint32repeated
type == 1
打牌の選択肢にゃ.立直後はこの選択肢は存在しないにゃ. combination は鳴いた際の打牌では食い替えで打牌が禁止される牌にゃ.それ以外では combination 空配列にゃ.
type == 2
チーの選択肢にゃ. combination はチーの対象となる手牌2つを | で区切った文字列にゃ.
type == 3
ポンの選択肢にゃ. combination はポンの対象となる手牌2つを | で区切った文字列にゃ.
type == 4
暗槓の選択肢にゃ. combination は暗槓の対象牌4つを | で区切った文字列にゃ.
type == 5
大明槓の選択肢にゃ. combination は大明槓の対象となる手牌3つを | で区切った文字列にゃ.
type == 6
加槓の選択肢にゃ. combination は加槓の対象牌4つを | で区切った文字列にゃ.
type == 7
立直の選択肢にゃ. combination は立直のために打牌する牌の候補にゃ.
type == 8
自摸和の選択肢にゃ. combination は空配列にゃ.
type == 9
栄和の選択肢にゃ. combination は空配列にゃ.
type == 10
九種九牌の選択肢にゃ. combination は空配列にゃ.

OptionalOperationList

FieldTypeLabelDescription
seatuint32選択肢が表示される席にゃ.ここ参照にゃ.
operation_listOptionalOperationrepeated表示される選択肢にゃ.
time_adduint32選択肢表示時の残り追加考慮時間(ミリ秒)にゃ.
time_fixeduint32選択肢表示時の残り基本考慮時間(ミリ秒)にゃ.

PaymentSetting

FieldTypeLabelDescription
open_paymentuint32
payment_info_show_typeuint32
payment_infostring
wechatPaymentSetting.WechatData
alipayPaymentSetting.AlipayData

PaymentSetting.AlipayData

FieldTypeLabelDescription
disable_createbool
payment_source_platformuint32

PaymentSetting.WechatData

FieldTypeLabelDescription
disable_createbool
payment_source_platformuint32
enable_creditbool

PaymentSettingV2

FieldTypeLabelDescription
open_paymentuint32
payment_platformsPaymentSettingV2.PaymentSettingUnitrepeated

PaymentSettingV2.PaymentMaintain

FieldTypeLabelDescription
start_timeuint32
end_timeuint32
goods_click_actionuint32
goods_click_textstring

PaymentSettingV2.PaymentSettingUnit

FieldTypeLabelDescription
platformstring
is_showbool
goods_click_actionuint32
goods_click_textstring
maintainPaymentSettingV2.PaymentMaintain

PlayerBaseView

FieldTypeLabelDescription
account_iduint32アカウント ID にゃ.
avatar_iduint32
titleuint32称号 ID にゃ.ここ参照にゃ.
nicknamestringプレイヤー名にゃ.
levelAccountLevel四麻の段位情報にゃ.
level3AccountLevel三麻の段位情報にゃ.
avatar_frameuint32アイコンフレームの ID にゃ.ここ参照にゃ.
verifieduint32公認プレイヤーフラグにゃ.
0: 一般アカウント
1: にくきゅうま~く付アカウント
2: プロ雀士認証マーク
is_banneduint32

PlayerGameView

FieldTypeLabelDescription
account_iduint32アカウント ID にゃ.
avatar_iduint32
titleuint32称号 ID にゃ.ここ参照にゃ.
nicknamestringプレイヤー名にゃ.
levelAccountLevel四麻の段位情報にゃ.
characterCharacterキャラクタ情報にゃ.
level3AccountLevel三麻の段位情報にゃ.
avatar_frameuint32アイコンフレームの ID にゃ.ここ参照にゃ.
verifieduint32公認プレイヤーフラグにゃ. 0: 一般アカウント, 1: にくきゅうま~く付アカウント, 2: プロ雀士認証マーク
viewsViewSlotrepeated

PlayerLeaving

FieldTypeLabelDescription
seatuint32

RecordAnGangAddGang

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

RecordAnalysisedData

FieldTypeLabelDescription
round_infosRecordRoundInforepeated

RecordBaBei

FieldTypeLabelDescription
seatuint32
dorasstringrepeated
operationsOptionalOperationListrepeated
moqiebool
tile_stateuint32
muyuMuyuInfo

RecordBaBeiInfo

FieldTypeLabelDescription
seatuint32
is_zi_mobool
is_chongbool
is_beibool

RecordChangeTile

FieldTypeLabelDescription
dorasstringrepeated
tingpaiRecordChangeTile.TingPairepeated
change_tile_infosRecordChangeTile.ChangeTilerepeated
operationOptionalOperationList
change_typeuint32

RecordChangeTile.ChangeTile

FieldTypeLabelDescription
in_tilesstringrepeated
in_tile_statesint32repeated
out_tilesstringrepeated
out_tile_statesint32repeated

RecordChangeTile.TingPai

FieldTypeLabelDescription
seatuint32
tingpais1TingPaiInforepeated

RecordChiPengGang

FieldTypeLabelDescription
seatuint32チー・ポン・大明槓をした者の席にゃ.ここ参照にゃ.
typeuint320: チー, 1: ポン, 2: 大明槓
tilesstringrepeatedチー・ポン・大明槓の対象牌にゃ.最後の要素が鳴いた牌でそれ以外が手牌にあった牌にゃ.
fromsuint32repeatedチー・ポン・大明槓の対象牌がどの席から出たかの情報にゃ.最後の要素が鳴いた牌を打牌した者の席,それ以外が鳴いた者の席にゃ.各要素の値の意味はここ参照にゃ.
liqiLiQiSuccess直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の鳴きの時に立直成立の確定情報があるにゃ.
zhentingboolrepeatedフリテン情報にゃ? 誰か詳細調査をお願いにゃ.
operationOptionalOperationList鳴いた者に対して表示される選択肢にゃ.
tile_statesuint32repeated
muyuMuyuInfo

RecordCollectedData

FieldTypeLabelDescription
uuidstring牌譜の UUID にゃ.
remarksstring牌譜ブックマークのタイトルにゃ.
start_timeuint32対局の開始時間(UNIX 時間)にゃ.
end_timeuint32対局の終了時間(UNIX 時間)にゃ.

RecordDealTile

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

RecordDiscardTile

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

RecordGame

FieldTypeLabelDescription
uuidstring対局のUUIDにゃ.
start_timeuint32対局開始時間 (Unix 時間?) にゃ.
end_timeuint32対局終了時間 (Unix 時間?) にゃ.
configGameConfig対局のルール情報にゃ.
accountsRecordGame.AccountInforepeated対局者のアカウント情報にゃ. CPU は含まれないにゃ.
resultGameEndResult対局の結果情報にゃ.

RecordGame.AccountInfo

FieldTypeLabelDescription
account_iduint32アカウント ID にゃ. 
seatuint32対象の対局者の席にゃ.ここ参照にゃ.
nicknamestringプレイヤー名にゃ.
avatar_iduint32
characterCharacterキャラクタ情報にゃ.
titleuint32称号にゃ.ここ参照にゃ.
levelAccountLevel四麻の段位情報にゃ.
level3AccountLevel三麻の段位情報にゃ.
avatar_frameuint32アイコンフレームの ID にゃ.ここ参照にゃ.
verifieduint32公認プレイヤーフラグにゃ. 0: 一般アカウント, 1: にくきゅうま~く付アカウント, 2: プロ雀士認証マーク
viewsViewSlotrepeated装飾品の情報にゃ.

RecordGangInfo

FieldTypeLabelDescription
seatuint32
typeuint32
paistring
is_dorabool
xunuint32

RecordHule

FieldTypeLabelDescription
hulesHuleInforepeated和了の詳細情報にゃ.ダブロン・トリプルロンでは要素数が2以上になるにゃ.
old_scoresint32repeated点数清算前の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ.
delta_scoresint32repeated点数収支にゃ.
wait_timeoutuint32
scoresint32repeated点数清算後の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ.
gameendGameEnd
dorasstringrepeated
muyuMuyuInfo

RecordHuleInfo

FieldTypeLabelDescription
handstringrepeated
mingstringrepeated
hu_tilestring
seatuint32
zimobool
qinjiabool
liqibool
dorasstringrepeated
li_dorasstringrepeated
yimanbool
countuint32
fansRecordHuleInfo.RecordFanInforepeated
fuuint32
point_zimo_qinuint32
point_zimo_xianuint32
title_iduint32
point_sumuint32
dadianuint32
is_jue_zhangbool
xunuint32
ting_typeuint32

RecordHuleInfo.RecordFanInfo

FieldTypeLabelDescription
valuint32
iduint32

RecordHuleXueZhanEnd

FieldTypeLabelDescription
hulesHuInfoXueZhanMidrepeated
old_scoresint32repeated
delta_scoresint32repeated
scoresint32repeated
wait_timeoutuint32
gameendGameEnd
dorasstringrepeated
muyuMuyuInfo
hules_historyHuleInforepeated

RecordHuleXueZhanMid

FieldTypeLabelDescription
hulesHuInfoXueZhanMidrepeated
old_scoresint32repeated
delta_scoresint32repeated
scoresint32repeated
dorasstringrepeated
muyuMuyuInfo
liqiLiQiSuccess
zhentingboolrepeated

RecordHulesInfo

FieldTypeLabelDescription
seatint32
hulesRecordHuleInforepeated

RecordLiqiInfo

FieldTypeLabelDescription
seatuint32
scoreuint32
is_wbool
is_zhen_tingbool
xunuint32
is_successbool

RecordLiuJu

FieldTypeLabelDescription
typeuint32途中流局の原因にゃ. 1: 九種九牌, 2: 四風連打, 3: 四槓散了, 4: 四家立直
gameendGameEnd
seatuint32九種九牌では宣言者の席にゃ.ここ参照にゃ.それ以外では0にゃ.
tilesstringrepeated九種九牌では宣言者の手牌にゃ.それ以外では空配列にゃ.
liqiLiQiSuccess四家立直では直前の立直が成立しているけれどこのフィールドは存在しないにゃ.次局の開始時に最後の立直者の点数が1000点減って供託本数が1本増えるにゃ.
allplayertilesstringrepeated四家立直では全員の手牌にゃ.0要素目が起家の手牌を | で区切った文字列で,以下,反時計周りにゃ.それ以外では空配列にゃ.
muyuMuyuInfo
hules_historyHuleInforepeated

RecordLiujuInfo

FieldTypeLabelDescription
seatuint32
typeuint32

RecordNewRound

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

RecordNewRound.TingPai

FieldTypeLabelDescription
seatuint32対象の対局者の席にゃ.ここ参照にゃ.
tingpais1TingPaiInforepeated聴牌情報にゃ.

RecordNoTile

FieldTypeLabelDescription
liujumanguanbool流し満貫が成立しているかどうかのフラグにゃ.
playersNoTilePlayerInforepeated荒牌平局時の各対局者の不聴・聴牌情報にゃ.
scoresNoTileScoreInforepeated荒牌平局時の各対局者の持ち点移動情報にゃ.流し満貫達成者が複数居る場合のみ要素が2以上になるにゃ.それ以外では要素数は1にゃ.
gameendbool
muyuMuyuInfo
hules_historyHuleInforepeated

RecordNoTileInfo

FieldTypeLabelDescription
liujumanguanbool
playersRecordNoTilePlayerInforepeated

RecordNoTilePlayerInfo

FieldTypeLabelDescription
tingpaibool
handstringrepeated
tingsRecordTingPaiInforepeated
liumanbool

RecordPeiPaiInfo

FieldTypeLabelDescription
dora_countuint32
r_dora_countuint32
bei_countuint32

RecordRoundInfo

FieldTypeLabelDescription
namestring
changuint32
juuint32
benuint32
scoresuint32repeated
liqi_infosRecordLiqiInforepeated
gang_infosRecordGangInforepeated
peipai_infosRecordPeiPaiInforepeated
babai_infosRecordBaBeiInforepeated
hules_infoRecordHulesInfo
liuju_infoRecordLiujuInfo
no_tile_infoRecordNoTileInfo

RecordTingPaiInfo

FieldTypeLabelDescription
tilestring
haveyibool
yimanbool
countuint32
fuuint32
biao_dora_countuint32
yiman_zimobool
count_zimouint32
fu_zimouint32

RewardPlusResult

FieldTypeLabelDescription
iduint32
countuint32
exchangeRewardPlusResult.Exchange

RewardPlusResult.Exchange

FieldTypeLabelDescription
iduint32
countuint32
exchangeuint32

RewardSlot

FieldTypeLabelDescription
iduint32
countuint32

RollingNotice

FieldTypeLabelDescription
iduint32
contentstring
start_timeuint32
end_timeuint32
repeat_intervaluint32
langstring

Room

FieldTypeLabelDescription
room_iduint32
owner_iduint32
modeGameMode
max_player_countuint32
personsPlayerGameViewrepeated
ready_listuint32repeated
is_playingbool
public_livebool
robot_countuint32
tournament_iduint32
sequint32

ServerSettings

FieldTypeLabelDescription
payment_settingPaymentSetting
payment_setting_v2PaymentSettingV2

ShopInfo

FieldTypeLabelDescription
zhpZHPShop
buy_recordsBuyRecordrepeated
last_refresh_timeuint32

TaskProgress

FieldTypeLabelDescription
iduint32
counteruint32
achievedbool
rewardedbool
failedbool

TingPaiDiscardInfo

FieldTypeLabelDescription
tilestring
zhentingbool
infosTingPaiInforepeated

TingPaiInfo

FieldTypeLabelDescription
tilestring上がり牌にゃ.
haveyibool役があるかどうか (1翻があるか) のフラグにゃ.
yimanboolロンの場合に役満かどうかのフラグにゃ.
countuint32ロンの場合のドラを除いた確定翻数にゃ.
fuuint32ロンの場合の符にゃ.
biao_dora_countuint32表ドラの枚数にゃ.
yiman_zimobool自摸和の場合に役満かどうかのフラグにゃ.
count_zimouint32自摸和の場合のドラを除いた確定翻数にゃ.
fu_zimouint32自摸和の場合の符にゃ.

ViewSlot

FieldTypeLabelDescription
slotuint32装飾品の種類にゃ. 0: 立直棒, 1:和了演出, 2: 立直演出, 4: 立直BGM, ...
item_iduint32

Wrapper

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

雀魂 API サーバとやり取りされる各 WebSocket メッセージは,その0バイト目が 0x01 の場合はその WebSocket メッセージの1バイト目から最後までが,0バイト目が 0x020x03 の場合はその WebSocket メッセージの3バイト目から最後までが,この Wrapper メッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.以下, WebSocket メッセージの0バイト目の値に従って以下のようになるにゃ.

WebSocket メッセージの0バイト目が 0x01 の場合
name フィールドにはデータ型(A~G)一覧にゃもしくはデータ型(H~Z,Req・Resを除く)一覧にゃに挙げられているいずれかのメッセージ型の名前が入っているにゃ. data フィールドのバイト列はそのメッセージ型の Protocol Buffers メッセージとしてデコードできるにゃ.
WebSocket メッセージの0バイト目が 0x02 の場合
name フィールドにはAPI一覧にゃに挙げられているいずれかのメソッドの名前が入っているにゃ. data フィールドのバイト列はそのメソッドのリクエストデータ型の Protocol Buffers メッセージとしてデコードできるにゃ.
WebSocket メッセージの0バイト目が 0x03 の場合
name フィールドは空文字列にゃ. WebSocket メッセージの1バイト目と2バイト目がメッセージ番号で,同じメッセージ番号で0バイト目が 0x02 の WebSocket メッセージがクライアントからサーバへ送られているはずにゃ.そのクライアントからサーバへ送られている WebSocket メッセージを Wrapper メッセージ型としてデコードした時の name フィールドに入っているメソッド名に対応するメソッドのレスポンスメッセージ型で data フィールドのバイト列はデコードできるにゃ.

ZHPShop

FieldTypeLabelDescription
goodsuint32repeated
buy_recordsBuyRecordrepeated
free_refreshZHPShop.RefreshCount
cost_refreshZHPShop.RefreshCount

ZHPShop.RefreshCount

FieldTypeLabelDescription
countuint32
limituint32