Commit 979e3104 authored by timel's avatar timel

fix: penetrate.json fmt

parent 61035821
{ {
"50":{ "50": {
"protoType":"move", "protoType": "move",
"fields":[ "fields": [
{ {
"fieldName":"code", "fieldName": "code",
"fieldType":"uint32" "fieldType": "uint32"
}, },
{ {
"fieldName":"from", "fieldName": "from",
"fieldType":"CardLocation" "fieldType": "CardLocation"
}, },
{ {
"fieldName":"to", "fieldName": "to",
"fieldType":"CardLocation" "fieldType": "CardLocation"
}, },
{ {
"fieldName":"reason", "fieldName": "reason",
"fieldType":"uint8" "fieldType": "uint8"
} }
] ]
}, },
"33":{ "33": {
"protoType":"shuffle_hand", "protoType": "shuffle_hand",
"fields":[ "fields": [
{ {
"fieldName":"player", "fieldName": "player",
"fieldType":"uint8" "fieldType": "uint8"
}, },
{ {
"fieldName":"hands", "fieldName": "hands",
"fieldType":"repeated", "fieldType": "repeated",
"repeatedType":"uint32" "repeatedType": "uint32"
} }
] ]
}, },
"53":{ "53": {
"protoType":"pos_change", "protoType": "pos_change",
"fields":[ "fields": [
{ {
"fieldName":"card_info", "fieldName": "card_info",
"fieldType":"CardInfo" "fieldType": "CardInfo"
}, },
{ {
"fieldName":"pre_position", "fieldName": "pre_position",
"fieldType":"CardPosition" "fieldType": "CardPosition"
}, },
{ {
"fieldName":"cur_position", "fieldName": "cur_position",
"fieldType":"CardPosition" "fieldType": "CardPosition"
} }
] ]
}, },
"13":{ "13": {
"protoType":"select_yes_no", "protoType": "select_yes_no",
"fields":[ "fields": [
{ {
"fieldName":"player", "fieldName": "player",
"fieldType":"uint8" "fieldType": "uint8"
}, },
{ {
"fieldName":"effect_description", "fieldName": "effect_description",
"fieldType":"uint32" "fieldType": "uint32"
} }
] ]
}, },
"54":{ "54": {
"protoType":"set", "protoType": "set",
"fields":[ "fields": []
},
] "55": {
}, "protoType": "swap",
"55":{ "fields": []
"protoType":"swap", },
"fields":[ "60": {
"protoType": "summoning",
] "fields": [
}, {
"60":{ "fieldName": "code",
"protoType":"summoning", "fieldType": "uint32"
"fields":[ },
{ {
"fieldName":"code", "fieldName": "location",
"fieldType":"uint32" "fieldType": "CardLocation"
}, }
{ ]
"fieldName":"location", },
"fieldType":"CardLocation" "61": {
} "protoType": "summoned",
] "fields": []
}, },
"61":{ "62": {
"protoType":"summoned", "protoType": "sp_summoning",
"fields":[ "fields": [
{
] "fieldName": "code",
}, "fieldType": "uint32"
"62":{ },
"protoType":"sp_summoning", {
"fields":[ "fieldName": "location",
{ "fieldType": "CardLocation"
"fieldName":"code", }
"fieldType":"uint32" ]
}, },
{ "63": {
"fieldName":"location", "protoType": "sp_summoned",
"fieldType":"CardLocation" "fields": []
} },
] "64": {
}, "protoType": "flip_summoning",
"63":{ "fields": [
"protoType":"sp_summoned", {
"fields":[ "fieldName": "code",
"fieldType": "uint32"
] },
}, {
"64":{ "fieldName": "location",
"protoType":"flip_summoning", "fieldType": "CardLocation"
"fields":[ }
{ ]
"fieldName":"code", },
"fieldType":"uint32" "65": {
}, "protoType": "flip_summoned",
{ "fields": []
"fieldName":"location", },
"fieldType":"CardLocation" "70": {
} "protoType": "chaining",
] "fields": [
}, {
"65":{ "fieldName": "code",
"protoType":"flip_summoned", "fieldType": "uint32"
"fields":[ },
{
] "fieldName": "location",
}, "fieldType": "CardLocation"
"70":{ }
"protoType":"chaining", ]
"fields":[ },
{ "112": {
"fieldName":"code", "protoType": "attack_disable",
"fieldType":"uint32" "fields": []
}, },
{ "73": {
"fieldName":"location", "protoType": "chain_solved",
"fieldType":"CardLocation" "fields": [
} {
] "fieldName": "solved_index",
}, "fieldType": "uint8"
"112":{ }
"protoType":"attack_disable", ]
"fields":[ },
"74": {
] "protoType": "chain_end",
}, "fields": []
"73":{ },
"protoType":"chain_solved", "75": {
"fields":[ "protoType": "chain_solved",
{ "fields": [
"fieldName":"solved_index", {
"fieldType":"uint8" "fieldName": "solved_index",
} "fieldType": "uint8"
] }
}, ]
"74":{ },
"protoType":"chain_end", "76": {
"fields":[ "protoType": "chain_solved",
"fields": [
] {
}, "fieldName": "solved_index",
"75":{ "fieldType": "uint8"
"protoType":"chain_solved", }
"fields":[ ]
{ },
"fieldName":"solved_index", "94": {
"fieldType":"uint8" "protoType": "lp_update",
} "fields": [
] {
}, "fieldName": "player",
"76":{ "fieldType": "uint8"
"protoType":"chain_solved", },
"fields":[ {
{ "fieldName": "new_lp",
"fieldName":"solved_index", "fieldType": "uint32"
"fieldType":"uint8" }
} ]
] },
}, "30": {
"94":{ "protoType": "confirm_cards",
"protoType":"lp_update", "fields": [
"fields":[ {
{ "fieldName": "player",
"fieldName":"player", "fieldType": "uint8"
"fieldType":"uint8" },
}, {
{ "fieldName": "cards",
"fieldName":"new_lp", "fieldType": "repeated",
"fieldType":"uint32" "repeatedType": "CardInfo"
} }
] ]
}, },
"30":{ "31": {
"protoType":"confirm_cards", "protoType": "confirm_cards",
"fields":[ "fields": [
{ {
"fieldName":"player", "fieldName": "player",
"fieldType":"uint8" "fieldType": "uint8"
}, },
{ {
"fieldName":"cards", "fieldName": "cards",
"fieldType":"repeated", "fieldType": "repeated",
"repeatedType":"CardInfo" "repeatedType": "CardInfo"
} }
] ]
}, },
"31":{ "83": {
"protoType":"confirm_cards", "protoType": "become_target",
"fields":[ "fields": [
{ {
"fieldName":"player", "fieldName": "locations",
"fieldType":"uint8" "fieldType": "repeated",
}, "repeatedType": "CardLocation"
{ }
"fieldName":"cards", ]
"fieldType":"repeated", },
"repeatedType":"CardInfo" "32": {
} "protoType": "shuffle_deck",
] "fields": [
}, {
"83":{ "fieldName": "player",
"protoType":"become_target", "fieldType": "uint8"
"fields":[ }
{ ]
"fieldName":"locations", },
"fieldType":"repeated", "132": {
"repeatedType":"CardLocation" "protoType": "rock_paper_scissors",
} "fields": [
] {
}, "fieldName": "player",
"32":{ "fieldType": "uint8"
"protoType":"shuffle_deck", }
"fields":[ ]
{ }
"fieldName":"player",
"fieldType":"uint8"
}
]
},
"132":{
"protoType":"rock_paper_scissors",
"fields":[
{
"fieldName":"player",
"fieldType":"uint8"
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment