- HuInfoXueZhanMid
- HuleInfo
- Item
- ItemGainRecord
- ItemGainRecords
- LiQiSuccess
- Mail.I18nContext
- MonthTicketInfo
- MuyuInfo
- NetworkEndpoint
- NewRoundOpenedTiles
- NoTilePlayerInfo
- NoTileScoreInfo
- NotifyAFKResult
- NotifyAccountChallengeTaskUpdate
- NotifyAccountLevelChange
- NotifyAccountLogout
- NotifyAccountRandomTaskUpdate
- NotifyAccountUpdate
- NotifyActivityChange
- NotifyActivityPeriodTaskUpdate
- NotifyActivityPoint
- NotifyActivityPoint.ActivityPoint
- NotifyActivityReward
- NotifyActivityReward.ActivityReward
- NotifyActivityRewardV2
- NotifyActivityRewardV2.ActivityReward
- NotifyActivityTaskUpdate
- NotifyAnnouncementUpdate
- NotifyAnotherLogin
- NotifyClientMessage
- NotifyContestGameEnd
- NotifyContestGameStart
- NotifyContestManagerKick
- NotifyContestMatchingPlayer
- NotifyContestMatchingPlayerLock
- NotifyContestNoticeUpdate
- NotifyCustomContestAccountMsg
- NotifyCustomContestState
- NotifyCustomContestSystemMsg
- NotifyDailyTaskUpdate
- NotifyDeleteMail
- NotifyEndGameVote
- NotifyEndGameVote.VoteResult
- NotifyFriendChange
- NotifyFriendStateChange
- NotifyFriendViewChange
- NotifyGameBroadcast
- NotifyGameEndResult
- NotifyGameFinishReward
- NotifyGameFinishReward.CharacterGift
- NotifyGameFinishReward.LevelChange
- NotifyGameFinishReward.MainCharacter
- NotifyGameFinishReward.MatchChest
- NotifyGamePause
- NotifyGameTerminate
- NotifyGiftSendRefresh
- NotifyLeaderboardPoint
- NotifyLeaderboardPoint.LeaderboardPoint
- NotifyMatchGameStart
- NotifyMatchTimeout
- NotifyNewComment
- NotifyNewFriendApply
- NotifyNewGame
- NotifyNewMail
- NotifyObserveData
- NotifyPayResult
- NotifyPayResult.ResourceModify
- NotifyPlayerConnectionState
- NotifyPlayerLoadGameReady
- NotifyReviveCoinUpdate
- NotifyRollingNotice
- NotifyRoomGameStart
- NotifyRoomKickOut
- NotifyRoomPlayerDressing
- NotifyRoomPlayerDressing.AccountDressingState
- NotifyRoomPlayerReady
- NotifyRoomPlayerReady.AccountReadyState
- NotifyRoomPlayerUpdate
- NotifyServerSetting
- NotifyShopUpdate
- NotifyVipLevelChange
- OpenResult
- OptionalOperation
- OptionalOperationList
- PaymentSetting
- PaymentSetting.AlipayData
- PaymentSetting.WechatData
- PaymentSettingV2
- PaymentSettingV2.PaymentMaintain
- PaymentSettingV2.PaymentSettingUnit
- PlayerBaseView
- PlayerGameView
- PlayerLeaving
- RecordAnGangAddGang
- RecordAnalysisedData
- RecordBaBei
- RecordBaBeiInfo
- RecordChangeTile
- RecordChangeTile.ChangeTile
- RecordChangeTile.TingPai
- RecordChiPengGang
- RecordCollectedData
- RecordDealTile
- RecordDiscardTile
- RecordGame
- RecordGame.AccountInfo
- RecordGangInfo
- RecordHule
- RecordHuleInfo
- RecordHuleInfo.RecordFanInfo
- RecordHuleXueZhanEnd
- RecordHuleXueZhanMid
- RecordHulesInfo
- RecordLiqiInfo
- RecordLiuJu
- RecordLiujuInfo
- RecordNewRound
- RecordNewRound.TingPai
- RecordNoTile
- RecordNoTileInfo
- RecordNoTilePlayerInfo
- RecordPeiPaiInfo
- RecordRoundInfo
- RecordTingPaiInfo
- RewardPlusResult
- RewardPlusResult.Exchange
- RewardSlot
- RollingNotice
- Room
- ServerSettings
- ShopInfo
- TaskProgress
- TingPaiDiscardInfo
- TingPaiInfo
- ViewSlot
- Wrapper
- ZHPShop
- ZHPShop.RefreshCount
HuInfoXueZhanMid
Field | Type | Label | Description |
seat | uint32 | ||
hand_count | uint32 | ||
hand | string | repeated | |
ming | string | repeated | |
hu_tile | string | ||
zimo | bool | ||
yiman | bool | ||
count | uint32 | ||
fans | FanInfo | repeated | |
fu | uint32 | ||
title_id | uint32 |
HuleInfo
Field | Type | Label | Description |
hand | string | repeated | 和了時の手牌にゃ. |
ming | string | repeated | 和了時の副露牌にゃ. shunzi(X,Y,Z)": チー, "kezi(X,Y,Z)": ポン, "minggang(X,Y,Z,W)": 明槓, "angang(X,Y,Z,W)": 暗槓 |
hu_tile | string | 上がり牌にゃ. | |
seat | uint32 | 和了者の席にゃ.ここ参照にゃ. | |
zimo | bool | 自摸和かどうかのフラグにゃ. | |
qinjia | bool | 和了者が親かどうかのフラグにゃ. | |
liqi | bool | 和了者が立直していたかどうかのフラグにゃ. | |
doras | string | repeated | 表ドラ表示牌にゃ. |
li_doras | string | repeated | 裏ドラ表示牌にゃ. |
yiman | bool | 役満かどうかのフラグにゃ.ただし数え役満の場合は false になるにゃ. | |
count | uint32 | yiman フィールドが false の場合は翻数, yiman フィールドが true の場合は 1: 役満, 2: 2倍役満, 3: 3倍役満, ... | |
fans | FanInfo | repeated | 役にゃ. |
fu | uint32 | 符にゃ. | |
title | string | ||
point_rong | uint32 | 栄和の場合の支払い点数にゃ. | |
point_zimo_qin | uint32 | 自摸和の場合の子の支払い点数にゃ. | |
point_zimo_xian | uint32 | 子の自摸和の場合の親の支払い点数にゃ. | |
title_id | uint32 | 0: 満貫未満, 1: 満貫, 2: 跳満, 3: 倍満, 4: 三倍満, 5: 役満, 6: 二倍役満, 7: 三倍役満, ..., 11: 数え役満 | |
point_sum | uint32 | 得点にゃ? 和了の演出で右下に表示される数字に一致することが多いが詳細不明の値になることがあるにゃ. | |
dadian | uint32 |
Item
Field | Type | Label | Description |
item_id | uint32 | ||
stack | uint32 |
ItemGainRecord
Field | Type | Label | Description |
item_id | uint32 | ||
count | uint32 |
ItemGainRecords
Field | Type | Label | Description |
record_time | uint32 | ||
limit_source_id | uint32 | ||
records | ItemGainRecord | repeated |
LiQiSuccess
Field | Type | Label | Description |
seat | uint32 | 立直者の席にゃ.ここ参照にゃ. | |
score | int32 | 立直成立後の立直者の点数にゃ. | |
liqibang | uint32 | 立直棒の種類を表す ID にゃ. | |
failed | bool |
Field | Type | Label | Description |
mail_id | uint32 | ||
state | uint32 | ||
take_attachment | bool | ||
title | string | ||
content | string | ||
attachments | RewardSlot | repeated | |
create_time | uint32 | ||
expire_time | uint32 | ||
reference_id | uint32 | ||
title_i18n | Mail.I18nContext | repeated | |
content_i18n | Mail.I18nContext | repeated |
Mail.I18nContext
Field | Type | Label | Description |
lang | string | ||
context | string |
MonthTicketInfo
Field | Type | Label | Description |
id | uint32 | ||
end_time | uint32 | 開運御守の有効期限(UNIX 時間)にゃ. | |
last_pay_time | uint32 | 開運御守の輝石を最後に受け取った時間(UNIX 時間)にゃ. |
MuyuInfo
Field | Type | Label | Description |
seat | uint32 | ||
count | uint32 | ||
count_max | uint32 | ||
id | uint32 |
NetworkEndpoint
Field | Type | Label | Description |
family | string | ||
address | string | ||
port | uint32 |
NewRoundOpenedTiles
Field | Type | Label | Description |
seat | uint32 | ||
tiles | string | repeated | |
count | uint32 | repeated |
NoTilePlayerInfo
Field | Type | Label | Description |
tingpai | bool | 聴牌かどうかのフラグにゃ. | |
hand | string | repeated | 聴牌時の手牌にゃ.不聴の場合は空配列にゃ. |
tings | TingPaiInfo | repeated | 聴牌時の詳細情報にゃ. |
already_hule | bool |
NoTileScoreInfo
Field | Type | Label | Description |
seat | uint32 | 流し満貫達成者が居ない場合は0にゃ.流し満貫達成者が居る場合はその席にゃ.ここ参照にゃ. | |
old_scores | int32 | repeated | 清算前の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ. |
delta_scores | int32 | repeated | 点数収支にゃ.0要素目が起家の点数収支で,以下,反時計回りにゃ.全員不聴,全員聴牌の場合は空配列にゃ. |
hand | string | repeated | 流し満貫達成者の手牌にゃ.通常の荒牌平局では空配列にゃ.流し満貫の達成に手牌は関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ. |
ming | string | repeated | 流し満貫達成者の副露牌にゃ.shunzi(X,Y,Z)": チー, "kezi(X,Y,Z)": ポン, "minggang(X,Y,Z,W)": 明槓, "angang(X,Y,Z,W)": 暗槓.流し満貫の達成に副露牌は関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ. |
doras | string | repeated | 流し満貫達成時の表ドラ表示牌にゃ.常の荒牌平局では空配列にゃ.流し満貫にドラは関係ないが,和了の演出を流用しているために便宜上必要と思われるにゃ. |
score | uint32 | 流し満貫達成時の達成者の得点にゃ.通常の荒牌平局では0にゃ.流し満貫達成の演出(和了の演出を流用)で右下に表示される数字にゃ. |
NotifyAFKResult
Field | Type | Label | Description |
type | uint32 | ||
ban_end_time | uint32 | ||
game_uuid | string |
NotifyAccountChallengeTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated | |
level | uint32 | ||
refresh_count | uint32 | ||
match_count | uint32 | ||
ticket_id | uint32 | ||
rewarded_season | uint32 | repeated |
NotifyAccountLevelChange
Field | Type | Label | Description |
origin | AccountLevel | ||
final | AccountLevel | ||
type | uint32 |
NotifyAccountLogout
Field | Type | Label | Description |
NotifyAccountRandomTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated |
NotifyAccountUpdate
Field | Type | Label | Description |
update | AccountUpdate | アカウント情報の更新通知にゃ. |
NotifyActivityChange
Field | Type | Label | Description |
new_activities | Activity | repeated | |
end_activities | uint32 | repeated |
NotifyActivityPeriodTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated |
NotifyActivityPoint
Field | Type | Label | Description |
activity_points | NotifyActivityPoint.ActivityPoint | repeated |
NotifyActivityPoint.ActivityPoint
Field | Type | Label | Description |
activity_id | uint32 | ||
point | uint32 |
NotifyActivityReward
Field | Type | Label | Description |
activity_reward | NotifyActivityReward.ActivityReward | repeated |
NotifyActivityReward.ActivityReward
Field | Type | Label | Description |
activity_id | uint32 | ||
rewards | RewardSlot | repeated |
NotifyActivityRewardV2
Field | Type | Label | Description |
activity_reward | NotifyActivityRewardV2.ActivityReward | repeated |
NotifyActivityRewardV2.ActivityReward
Field | Type | Label | Description |
activity_id | uint32 | ||
rewards | RewardSlot | repeated |
NotifyActivityTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated |
NotifyAnnouncementUpdate
Field | Type | Label | Description |
announcements | Announcement | repeated | |
sort | uint32 | repeated | |
lang | string |
NotifyAnotherLogin
Field | Type | Label | Description |
NotifyClientMessage
Field | Type | Label | Description |
sender | PlayerBaseView | ||
type | uint32 | ||
content | string |
NotifyContestGameEnd
Field | Type | Label | Description |
unique_id | uint32 | ||
game_uuid | string |
NotifyContestGameStart
Field | Type | Label | Description |
unique_id | uint32 | ||
game_info | ContestGameInfo |
NotifyContestManagerKick
Field | Type | Label | Description |
reason | uint32 |
NotifyContestMatchingPlayer
Field | Type | Label | Description |
unique_id | uint32 | ||
type | uint32 | ||
account_id | uint32 | ||
nickname | string |
NotifyContestMatchingPlayerLock
Field | Type | Label | Description |
unique_id | uint32 | ||
type | uint32 | ||
account_id | uint32 | ||
manager_id | uint32 |
NotifyContestNoticeUpdate
Field | Type | Label | Description |
unique_id | uint32 | ||
notice_type | uint32 | ||
content | string |
NotifyCustomContestAccountMsg
Field | Type | Label | Description |
unique_id | uint32 | ||
account_id | uint32 | ||
sender | string | ||
content | string | ||
verified | uint32 |
NotifyCustomContestState
Field | Type | Label | Description |
unique_id | uint32 | ||
state | uint32 |
NotifyCustomContestSystemMsg
Field | Type | Label | Description |
unique_id | uint32 | 大会の unique_id にゃ | |
type | uint32 | 1: 対局開始のメッセージを表すにゃ? | |
uuid | string | 対局の UUID にゃ | |
game_start | CustomizedContestGameStart | 開始された対局の情報にゃ | |
game_end | CustomizedContestGameEnd |
NotifyDailyTaskUpdate
Field | Type | Label | Description |
progresses | TaskProgress | repeated | |
max_daily_task_count | uint32 | ||
refresh_count | uint32 |
NotifyDeleteMail
Field | Type | Label | Description |
mail_id_list | uint32 | repeated |
NotifyEndGameVote
Field | Type | Label | Description |
results | NotifyEndGameVote.VoteResult | repeated | |
start_time | uint32 | ||
duration_time | uint32 |
NotifyEndGameVote.VoteResult
Field | Type | Label | Description |
account_id | uint32 | ||
yes | bool |
NotifyFriendChange
Field | Type | Label | Description |
account_id | uint32 | アカウント ID にゃ. | |
type | uint32 | 1: 友人申請同意を意味するにゃ? | |
friend | Friend | 友人の情報にゃ. |
NotifyFriendStateChange
Field | Type | Label | Description |
target_id | uint32 | ||
active_state | AccountActiveState |
NotifyFriendViewChange
Field | Type | Label | Description |
target_id | uint32 | ||
base | PlayerBaseView |
NotifyGameBroadcast
Field | Type | Label | Description |
seat | uint32 | ||
content | string |
対局中に対局者の誰かがスタンプを送った時に雀魂 API サーバからクライアントへ非同期的に送られてくるにゃ.この場合, seat フィールドにはスタンプを送った対局者の席(ここ参照), content には {"emo":5} のような文字列 (JSON?) が入っているにゃ.
NotifyGameEndResult
Field | Type | Label | Description |
result | GameEndResult |
NotifyGameFinishReward
Field | Type | Label | Description |
mode_id | uint32 | ||
level_change | NotifyGameFinishReward.LevelChange | ||
match_chest | NotifyGameFinishReward.MatchChest | ||
main_character | NotifyGameFinishReward.MainCharacter | ||
character_gift | NotifyGameFinishReward.CharacterGift |
NotifyGameFinishReward.CharacterGift
Field | Type | Label | Description |
origin | uint32 | ||
final | uint32 | ||
add | uint32 | ||
is_graded | bool |
NotifyGameFinishReward.LevelChange
Field | Type | Label | Description |
origin | AccountLevel | ||
final | AccountLevel | ||
type | uint32 |
NotifyGameFinishReward.MainCharacter
Field | Type | Label | Description |
level | uint32 | ||
exp | uint32 | ||
add | uint32 |
NotifyGameFinishReward.MatchChest
Field | Type | Label | Description |
chest_id | uint32 | ||
origin | uint32 | ||
final | uint32 | ||
is_graded | bool | ||
rewards | RewardSlot | repeated |
NotifyGamePause
Field | Type | Label | Description |
paused | bool |
NotifyGameTerminate
Field | Type | Label | Description |
reason | string |
NotifyGiftSendRefresh
Field | Type | Label | Description |
NotifyLeaderboardPoint
Field | Type | Label | Description |
leaderboard_points | NotifyLeaderboardPoint.LeaderboardPoint | repeated |
NotifyLeaderboardPoint.LeaderboardPoint
Field | Type | Label | Description |
leaderboard_id | uint32 | ||
point | uint32 |
NotifyMatchGameStart
Field | Type | Label | Description |
game_url | string | ||
connect_token | string | ||
game_uuid | string | ||
match_mode_id | uint32 | ||
location | string |
NotifyMatchTimeout
Field | Type | Label | Description |
NotifyNewComment
Field | Type | Label | Description |
NotifyNewFriendApply
Field | Type | Label | Description |
account_id | uint32 | ||
apply_time | uint32 | ||
removed_id | uint32 |
NotifyNewGame
Field | Type | Label | Description |
game_uuid | string | ||
player_list | string | repeated |
NotifyNewMail
Field | Type | Label | Description |
NotifyObserveData
Field | Type | Label | Description |
unit | GameLiveUnit |
NotifyPayResult
Field | Type | Label | Description |
pay_result | uint32 | ||
order_id | string | ||
goods_id | uint32 | ||
new_month_ticket | uint32 | ||
resource_modify | NotifyPayResult.ResourceModify | repeated |
NotifyPayResult.ResourceModify
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 | ||
final | uint32 |
NotifyPlayerConnectionState
Field | Type | Label | Description |
seat | uint32 | ||
state | enum |
NotifyPlayerLoadGameReady
Field | Type | Label | Description |
ready_id_list | uint32 | repeated |
NotifyReviveCoinUpdate
Field | Type | Label | Description |
has_gained | bool |
NotifyRollingNotice
Field | Type | Label | Description |
notice | RollingNotice |
NotifyRoomGameStart
Field | Type | Label | Description |
game_url | string | ||
connect_token | string | ||
game_uuid | string | 対局の UUID にゃ | |
location | string |
NotifyRoomKickOut
Field | Type | Label | Description |
NotifyRoomPlayerDressing
Field | Type | Label | Description |
account_id | uint32 | ||
dressing | bool | ||
account_list | NotifyRoomPlayerDressing.AccountDressingState | ||
seq | uint32 |
NotifyRoomPlayerDressing.AccountDressingState
Field | Type | Label | Description |
account_id | uint32 | ||
dressing | bool |
NotifyRoomPlayerReady
Field | Type | Label | Description |
account_id | uint32 | ||
ready | bool | ||
account_list | NotifyRoomPlayerReady.AccountReadyState | ||
seq | uint32 |
NotifyRoomPlayerReady.AccountReadyState
Field | Type | Label | Description |
account_id | uint32 | ||
ready | bool |
NotifyRoomPlayerUpdate
Field | Type | Label | Description |
update_list | PlayerBaseView | repeated | |
remove_list | uint32 | repeated | |
owner_id | uint32 | ||
robot_count | uint32 | ||
player_list | PlayerBaseView | repeated | |
seq | uint32 |
NotifyServerSetting
Field | Type | Label | Description |
settings | ServerSettings |
NotifyShopUpdate
Field | Type | Label | Description |
shop_info | ShopInfo |
NotifyVipLevelChange
Field | Type | Label | Description |
gift_limit | uint32 | ||
friend_max_count | uint32 | ||
zhp_free_refresh_limit | uint32 | ||
zhp_cost_refresh_limit | uint32 | ||
buddy_bonus | float | ||
record_collect_limit | uint32 |
OpenResult
Field | Type | Label | Description |
reward | RewardSlot | ||
replace | RewardSlot |
OptionalOperation
Field | Type | Label | Description |
type | uint32 | (下記参照にゃ) | |
combination | string | repeated | (下記参照にゃ) |
change_tiles | string | repeated | |
change_tile_states | int32 | repeated |
- 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
Field | Type | Label | Description |
seat | uint32 | 選択肢が表示される席にゃ.ここ参照にゃ. | |
operation_list | OptionalOperation | repeated | 表示される選択肢にゃ. |
time_add | uint32 | 選択肢表示時の残り追加考慮時間(ミリ秒)にゃ. | |
time_fixed | uint32 | 選択肢表示時の残り基本考慮時間(ミリ秒)にゃ. |
PaymentSetting
Field | Type | Label | Description |
open_payment | uint32 | ||
payment_info_show_type | uint32 | ||
payment_info | string | ||
PaymentSetting.WechatData | |||
alipay | PaymentSetting.AlipayData |
PaymentSetting.AlipayData
Field | Type | Label | Description |
disable_create | bool | ||
payment_source_platform | uint32 |
PaymentSetting.WechatData
Field | Type | Label | Description |
disable_create | bool | ||
payment_source_platform | uint32 | ||
enable_credit | bool |
PaymentSettingV2
Field | Type | Label | Description |
open_payment | uint32 | ||
payment_platforms | PaymentSettingV2.PaymentSettingUnit | repeated |
PaymentSettingV2.PaymentMaintain
Field | Type | Label | Description |
start_time | uint32 | ||
end_time | uint32 | ||
goods_click_action | uint32 | ||
goods_click_text | string |
PaymentSettingV2.PaymentSettingUnit
Field | Type | Label | Description |
platform | string | ||
is_show | bool | ||
goods_click_action | uint32 | ||
goods_click_text | string | ||
maintain | PaymentSettingV2.PaymentMaintain |
PlayerBaseView
Field | Type | Label | Description |
account_id | uint32 | アカウント ID にゃ. | |
avatar_id | uint32 | ||
title | uint32 | 称号 ID にゃ.ここ参照にゃ. | |
nickname | string | プレイヤー名にゃ. | |
level | AccountLevel | 四麻の段位情報にゃ. | |
level3 | AccountLevel | 三麻の段位情報にゃ. | |
avatar_frame | uint32 | アイコンフレームの ID にゃ.ここ参照にゃ. | |
verified | uint32 | 公認プレイヤーフラグにゃ. 0: 一般アカウント 1: にくきゅうま~く付アカウント 2: プロ雀士認証マーク | |
is_banned | uint32 |
PlayerGameView
Field | Type | Label | Description |
account_id | uint32 | アカウント ID にゃ. | |
avatar_id | uint32 | ||
title | uint32 | 称号 ID にゃ.ここ参照にゃ. | |
nickname | string | プレイヤー名にゃ. | |
level | AccountLevel | 四麻の段位情報にゃ. | |
character | Character | キャラクタ情報にゃ. | |
level3 | AccountLevel | 三麻の段位情報にゃ. | |
avatar_frame | uint32 | アイコンフレームの ID にゃ.ここ参照にゃ. | |
verified | uint32 | 公認プレイヤーフラグにゃ. 0: 一般アカウント, 1: にくきゅうま~く付アカウント, 2: プロ雀士認証マーク | |
views | ViewSlot | repeated |
PlayerLeaving
Field | Type | Label | Description |
seat | uint32 |
RecordAnGangAddGang
Field | Type | Label | Description |
seat | uint32 | 暗槓・加槓をした者の席にゃ.ここ参照にゃ. | |
type | uint32 | 2: 加槓, 3: 暗槓 | |
tiles | string | 暗槓・加槓の対象牌にゃ. | |
doras | string | repeated | 槓ドラ後めくりの槓(段位戦では大明槓と加槓)による嶺上牌自摸でさらに加槓または暗槓した場合,前者の槓に対する槓ドラはこのタイミングでめくられるので,その場合の表ドラ表示牌にゃ.新旧の全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
operations | OptionalOperationList | repeated | 暗槓・加槓に対して他家に表示される選択肢にゃ.槍槓による栄和の選択肢しかありえないにゃ. |
muyu | MuyuInfo |
RecordAnalysisedData
Field | Type | Label | Description |
round_infos | RecordRoundInfo | repeated |
RecordBaBei
Field | Type | Label | Description |
seat | uint32 | ||
doras | string | repeated | |
operations | OptionalOperationList | repeated | |
moqie | bool | ||
tile_state | uint32 | ||
muyu | MuyuInfo |
RecordBaBeiInfo
Field | Type | Label | Description |
seat | uint32 | ||
is_zi_mo | bool | ||
is_chong | bool | ||
is_bei | bool |
RecordChangeTile
Field | Type | Label | Description |
doras | string | repeated | |
tingpai | RecordChangeTile.TingPai | repeated | |
change_tile_infos | RecordChangeTile.ChangeTile | repeated | |
operation | OptionalOperationList | ||
change_type | uint32 |
RecordChangeTile.ChangeTile
Field | Type | Label | Description |
in_tiles | string | repeated | |
in_tile_states | int32 | repeated | |
out_tiles | string | repeated | |
out_tile_states | int32 | repeated |
RecordChangeTile.TingPai
Field | Type | Label | Description |
seat | uint32 | ||
tingpais1 | TingPaiInfo | repeated |
RecordChiPengGang
Field | Type | Label | Description |
seat | uint32 | チー・ポン・大明槓をした者の席にゃ.ここ参照にゃ. | |
type | uint32 | 0: チー, 1: ポン, 2: 大明槓 | |
tiles | string | repeated | チー・ポン・大明槓の対象牌にゃ.最後の要素が鳴いた牌でそれ以外が手牌にあった牌にゃ. |
froms | uint32 | repeated | チー・ポン・大明槓の対象牌がどの席から出たかの情報にゃ.最後の要素が鳴いた牌を打牌した者の席,それ以外が鳴いた者の席にゃ.各要素の値の意味はここ参照にゃ. |
liqi | LiQiSuccess | 直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の鳴きの時に立直成立の確定情報があるにゃ. | |
zhenting | bool | repeated | フリテン情報にゃ? 誰か詳細調査をお願いにゃ. |
operation | OptionalOperationList | 鳴いた者に対して表示される選択肢にゃ. | |
tile_states | uint32 | repeated | |
muyu | MuyuInfo |
RecordCollectedData
Field | Type | Label | Description |
uuid | string | 牌譜の UUID にゃ. | |
remarks | string | 牌譜ブックマークのタイトルにゃ. | |
start_time | uint32 | 対局の開始時間(UNIX 時間)にゃ. | |
end_time | uint32 | 対局の終了時間(UNIX 時間)にゃ. |
RecordDealTile
Field | Type | Label | Description |
seat | uint32 | 自摸者の席にゃ.ここ参照にゃ. | |
tile | string | 自摸牌にゃ. | |
left_tile_count | uint32 | 残り自摸回数にゃ. | |
liqi | LiQiSuccess | 直前の立直が成立した時に存在するフィールドにゃ.立直宣言の打牌をロンされると立直不成立となることから,打牌時には立直の成立を確定できないので直後の自摸時に立直成立の確定情報があるにゃ. | |
doras | string | repeated | 槓ドラ即めくりの槓(段位戦では暗槓)による嶺上牌自摸における表ドラ表示牌にゃ.新旧全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
zhenting | bool | repeated | フリテン情報にゃ? 誰か詳細調査をお願いにゃ. |
operation | OptionalOperationList | 自摸時に自摸者に表示される選択肢にゃ. | |
tile_state | uint32 | ||
muyu | MuyuInfo |
RecordDiscardTile
Field | Type | Label | Description |
seat | uint32 | 打牌した者の席にゃ.ここ参照にゃ. | |
tile | string | 打牌した牌にゃ. | |
is_liqi | bool | 立直宣言かどうかのフラグにゃ. | |
moqie | bool | 自摸切りかどうかのフラグにゃ. | |
zhenting | bool | repeated | フリテン情報にゃ? 誰か詳細を調査してほしいにゃ. |
tingpais | TingPaiInfo | repeated | 打牌者の聴牌情報にゃ. |
doras | string | repeated | 嶺上牌自摸後の打牌かつ槓ドラ後めくり(段位戦では大明槓と加槓)の場合の表ドラ表示牌にゃ.新旧全ての表ドラ表示牌を含むにゃ.それ以外では空配列にゃ. |
is_wliqi | bool | ダブル立直宣言かどうかのフラグにゃ. | |
operations | OptionalOperationList | repeated | 打牌に対して他家に表示される選択肢にゃ. |
tile_state | uint32 | ||
muyu | MuyuInfo |
RecordGame
Field | Type | Label | Description |
uuid | string | 対局のUUIDにゃ. | |
start_time | uint32 | 対局開始時間 (Unix 時間?) にゃ. | |
end_time | uint32 | 対局終了時間 (Unix 時間?) にゃ. | |
config | GameConfig | 対局のルール情報にゃ. | |
accounts | RecordGame.AccountInfo | repeated | 対局者のアカウント情報にゃ. CPU は含まれないにゃ. |
result | GameEndResult | 対局の結果情報にゃ. |
RecordGame.AccountInfo
Field | Type | Label | Description |
account_id | uint32 | アカウント ID にゃ. | |
seat | uint32 | 対象の対局者の席にゃ.ここ参照にゃ. | |
nickname | string | プレイヤー名にゃ. | |
avatar_id | uint32 | ||
character | Character | キャラクタ情報にゃ. | |
title | uint32 | 称号にゃ.ここ参照にゃ. | |
level | AccountLevel | 四麻の段位情報にゃ. | |
level3 | AccountLevel | 三麻の段位情報にゃ. | |
avatar_frame | uint32 | アイコンフレームの ID にゃ.ここ参照にゃ. | |
verified | uint32 | 公認プレイヤーフラグにゃ. 0: 一般アカウント, 1: にくきゅうま~く付アカウント, 2: プロ雀士認証マーク | |
views | ViewSlot | repeated | 装飾品の情報にゃ. |
RecordGangInfo
Field | Type | Label | Description |
seat | uint32 | ||
type | uint32 | ||
pai | string | ||
is_dora | bool | ||
xun | uint32 |
RecordHule
Field | Type | Label | Description |
hules | HuleInfo | repeated | 和了の詳細情報にゃ.ダブロン・トリプルロンでは要素数が2以上になるにゃ. |
old_scores | int32 | repeated | 点数清算前の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ. |
delta_scores | int32 | repeated | 点数収支にゃ. |
wait_timeout | uint32 | ||
scores | int32 | repeated | 点数清算後の各家の持ち点にゃ.0要素目が起家の持ち点で,以下,反時計回りにゃ. |
gameend | GameEnd | ||
doras | string | repeated | |
muyu | MuyuInfo |
RecordHuleInfo
Field | Type | Label | Description |
hand | string | repeated | |
ming | string | repeated | |
hu_tile | string | ||
seat | uint32 | ||
zimo | bool | ||
qinjia | bool | ||
liqi | bool | ||
doras | string | repeated | |
li_doras | string | repeated | |
yiman | bool | ||
count | uint32 | ||
fans | RecordHuleInfo.RecordFanInfo | repeated | |
fu | uint32 | ||
point_zimo_qin | uint32 | ||
point_zimo_xian | uint32 | ||
title_id | uint32 | ||
point_sum | uint32 | ||
dadian | uint32 | ||
is_jue_zhang | bool | ||
xun | uint32 | ||
ting_type | uint32 |
RecordHuleInfo.RecordFanInfo
Field | Type | Label | Description |
val | uint32 | ||
id | uint32 |
RecordHuleXueZhanEnd
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 |
RecordHuleXueZhanMid
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 | repeated |
RecordHulesInfo
Field | Type | Label | Description |
seat | int32 | ||
hules | RecordHuleInfo | repeated |
RecordLiqiInfo
Field | Type | Label | Description |
seat | uint32 | ||
score | uint32 | ||
is_w | bool | ||
is_zhen_ting | bool | ||
xun | uint32 | ||
is_success | bool |
RecordLiuJu
Field | Type | Label | Description |
type | uint32 | 途中流局の原因にゃ. 1: 九種九牌, 2: 四風連打, 3: 四槓散了, 4: 四家立直 | |
gameend | GameEnd | ||
seat | uint32 | 九種九牌では宣言者の席にゃ.ここ参照にゃ.それ以外では0にゃ. | |
tiles | string | repeated | 九種九牌では宣言者の手牌にゃ.それ以外では空配列にゃ. |
liqi | LiQiSuccess | 四家立直では直前の立直が成立しているけれどこのフィールドは存在しないにゃ.次局の開始時に最後の立直者の点数が1000点減って供託本数が1本増えるにゃ. | |
allplayertiles | string | repeated | 四家立直では全員の手牌にゃ.0要素目が起家の手牌を | で区切った文字列で,以下,反時計周りにゃ.それ以外では空配列にゃ. |
muyu | MuyuInfo | ||
hules_history | HuleInfo | repeated |
RecordLiujuInfo
Field | Type | Label | Description |
seat | uint32 | ||
type | uint32 |
RecordNewRound
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本場, ... | |
dora | string | ||
scores | int32 | repeated | 開局時の各家の持ち点にゃ.0要素目が起家の持ち点で以下反時計回りにゃ. |
liqibang | uint32 | 供託の本数にゃ. | |
tiles0 | string | repeated | 起家の配牌にゃ.子の場合の要素数は13にゃ.親の場合は要素数14でどの牌が第一自摸牌かは特定されないにゃ. |
tiles1 | string | repeated | 起家の下家の配牌にゃ.以下,上に同じにゃ. |
tiles2 | string | repeated | 起家の対面の配牌にゃ.以下,上に同じにゃ. |
tiles3 | string | repeated | 起家の上家の配牌にゃ.以下,上に同じにゃ. |
tingpai | RecordNewRound.TingPai | repeated | 配牌時の各家の聴牌情報にゃ. |
operation | OptionalOperationList | 配牌時の親の選択肢表示にゃ. | |
md5 | string | 牌山コードにゃ. | |
paishan | string | 牌山にゃ. | |
left_tile_count | uint32 | 残り自摸回数にゃ. | |
doras | string | repeated | 表ドラ表示牌にゃ. |
opens | NewRoundOpenedTiles | repeated | |
muyu | MuyuInfo | ||
operations | OptionalOperationList | repeated |
RecordNewRound.TingPai
Field | Type | Label | Description |
seat | uint32 | 対象の対局者の席にゃ.ここ参照にゃ. | |
tingpais1 | TingPaiInfo | repeated | 聴牌情報にゃ. |
RecordNoTile
Field | Type | Label | Description |
liujumanguan | bool | 流し満貫が成立しているかどうかのフラグにゃ. | |
players | NoTilePlayerInfo | repeated | 荒牌平局時の各対局者の不聴・聴牌情報にゃ. |
scores | NoTileScoreInfo | repeated | 荒牌平局時の各対局者の持ち点移動情報にゃ.流し満貫達成者が複数居る場合のみ要素が2以上になるにゃ.それ以外では要素数は1にゃ. |
gameend | bool | ||
muyu | MuyuInfo | ||
hules_history | HuleInfo | repeated |
RecordNoTileInfo
Field | Type | Label | Description |
liujumanguan | bool | ||
players | RecordNoTilePlayerInfo | repeated |
RecordNoTilePlayerInfo
Field | Type | Label | Description |
tingpai | bool | ||
hand | string | repeated | |
tings | RecordTingPaiInfo | repeated | |
liuman | bool |
RecordPeiPaiInfo
Field | Type | Label | Description |
dora_count | uint32 | ||
r_dora_count | uint32 | ||
bei_count | uint32 |
RecordRoundInfo
Field | Type | Label | Description |
name | string | ||
chang | uint32 | ||
ju | uint32 | ||
ben | uint32 | ||
scores | uint32 | repeated | |
liqi_infos | RecordLiqiInfo | repeated | |
gang_infos | RecordGangInfo | repeated | |
peipai_infos | RecordPeiPaiInfo | repeated | |
babai_infos | RecordBaBeiInfo | repeated | |
hules_info | RecordHulesInfo | ||
liuju_info | RecordLiujuInfo | ||
no_tile_info | RecordNoTileInfo |
RecordTingPaiInfo
Field | Type | Label | Description |
tile | string | ||
haveyi | bool | ||
yiman | bool | ||
count | uint32 | ||
fu | uint32 | ||
biao_dora_count | uint32 | ||
yiman_zimo | bool | ||
count_zimo | uint32 | ||
fu_zimo | uint32 |
RewardPlusResult
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 | ||
exchange | RewardPlusResult.Exchange |
RewardPlusResult.Exchange
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 | ||
exchange | uint32 |
RewardSlot
Field | Type | Label | Description |
id | uint32 | ||
count | uint32 |
RollingNotice
Field | Type | Label | Description |
id | uint32 | ||
content | string | ||
start_time | uint32 | ||
end_time | uint32 | ||
repeat_interval | uint32 | ||
lang | string |
Room
Field | Type | Label | Description |
room_id | uint32 | ||
owner_id | uint32 | ||
mode | GameMode | ||
max_player_count | uint32 | ||
persons | PlayerGameView | repeated | |
ready_list | uint32 | repeated | |
is_playing | bool | ||
public_live | bool | ||
robot_count | uint32 | ||
tournament_id | uint32 | ||
seq | uint32 |
ServerSettings
Field | Type | Label | Description |
payment_setting | PaymentSetting | ||
payment_setting_v2 | PaymentSettingV2 |
ShopInfo
TaskProgress
Field | Type | Label | Description |
id | uint32 | ||
counter | uint32 | ||
achieved | bool | ||
rewarded | bool | ||
failed | bool |
TingPaiDiscardInfo
Field | Type | Label | Description |
tile | string | ||
zhenting | bool | ||
infos | TingPaiInfo | repeated |
TingPaiInfo
Field | Type | Label | Description |
tile | string | 上がり牌にゃ. | |
haveyi | bool | 役があるかどうか (1翻があるか) のフラグにゃ. | |
yiman | bool | ロンの場合に役満かどうかのフラグにゃ. | |
count | uint32 | ロンの場合のドラを除いた確定翻数にゃ. | |
fu | uint32 | ロンの場合の符にゃ. | |
biao_dora_count | uint32 | 表ドラの枚数にゃ. | |
yiman_zimo | bool | 自摸和の場合に役満かどうかのフラグにゃ. | |
count_zimo | uint32 | 自摸和の場合のドラを除いた確定翻数にゃ. | |
fu_zimo | uint32 | 自摸和の場合の符にゃ. |
ViewSlot
Field | Type | Label | Description |
slot | uint32 | 装飾品の種類にゃ. 0: 立直棒, 1:和了演出, 2: 立直演出, 4: 立直BGM, ... | |
item_id | uint32 |
Wrapper
Field | Type | Label | Description |
name | string | (下記参照にゃ.) | |
data | bytes | (下記参照にゃ.) |
雀魂 API サーバとやり取りされる各 WebSocket メッセージは,その0バイト目が 0x01 の場合はその WebSocket メッセージの1バイト目から最後までが,0バイト目が 0x02 か 0x03 の場合はその 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
Field | Type | Label | Description |
goods | uint32 | repeated | |
buy_records | BuyRecord | repeated | |
free_refresh | ZHPShop.RefreshCount | ||
cost_refresh | ZHPShop.RefreshCount |
ZHPShop.RefreshCount
Field | Type | Label | Description |
count | uint32 | ||
limit | uint32 |