游戏王残局简化版

Annotation For single_doc/三个绑定函数.md
Login

Annotation For single_doc/三个绑定函数.md

Origin for each line in single_doc/三个绑定函数.md from check-in 8f3a6c70d8:

e1b217bace 2023-09-09    1: % 三个绑定函数
e1b217bace 2023-09-09    2: 
e1b217bace 2023-09-09    3: # PreSummon
e1b217bace 2023-09-09    4: 
e1b217bace 2023-09-09    5: Debug.PreSummon(卡, 召唤类型[, 从哪个区域特召到场上])
e1b217bace 2023-09-09    6: 
e1b217bace 2023-09-09    7: <details>
e1b217bace 2023-09-09    8: <summary>
e1b217bace 2023-09-09    9: 补充
e1b217bace 2023-09-09   10: </summary>
e1b217bace 2023-09-09   11: 
e1b217bace 2023-09-09   12: ~~~
580b09114c 2023-09-09   13: ● void Debug.PreSummon(Card c, int sum_type[, int sum_location=0])
580b09114c 2023-09-09   14: 设置卡片 c 的召唤信息:以 sum_type 方法(通常召唤、特殊召唤等)[从 sum_location]出场
e1b217bace 2023-09-09   15: ~~~
e1b217bace 2023-09-09   16: 
e1b217bace 2023-09-09   17: </details>
e1b217bace 2023-09-09   18: 
e1b217bace 2023-09-09   19: 召唤类型的可选值:
e1b217bace 2023-09-09   20: 
580b09114c 2023-09-09   21: 1. SUMMON_TYPE_NORMAL
8f3a6c70d8 2023-09-18   22: 
580b09114c 2023-09-09   23: 1. SUMMON_TYPE_ADVANCE
8f3a6c70d8 2023-09-18   24: 
580b09114c 2023-09-09   25: 1. SUMMON_TYPE_DUAL
8f3a6c70d8 2023-09-18   26: 
580b09114c 2023-09-09   27: 1. SUMMON_TYPE_FLIP
8f3a6c70d8 2023-09-18   28: 
580b09114c 2023-09-09   29: 1. SUMMON_TYPE_SPECIAL
8f3a6c70d8 2023-09-18   30: 
580b09114c 2023-09-09   31: 1. SUMMON_TYPE_FUSION
8f3a6c70d8 2023-09-18   32: 
580b09114c 2023-09-09   33: 1. SUMMON_TYPE_RITUAL
8f3a6c70d8 2023-09-18   34: 
580b09114c 2023-09-09   35: 1. SUMMON_TYPE_SYNCHRO
8f3a6c70d8 2023-09-18   36: 
580b09114c 2023-09-09   37: 1. SUMMON_TYPE_XYZ
8f3a6c70d8 2023-09-18   38: 
580b09114c 2023-09-09   39: 1. SUMMON_TYPE_PENDULUM
8f3a6c70d8 2023-09-18   40: 
580b09114c 2023-09-09   41: 1. SUMMON_TYPE_LINK
580b09114c 2023-09-09   42: 
580b09114c 2023-09-09   43: <details>
580b09114c 2023-09-09   44: <summary>
580b09114c 2023-09-09   45: 补充
580b09114c 2023-09-09   46: </summary>
e1b217bace 2023-09-09   47: 
e1b217bace 2023-09-09   48: ~~~
e1b217bace 2023-09-09   49: --Summon Type --召唤类型
8f3a6c70d8 2023-09-18   50: 
580b09114c 2023-09-09   51: SUMMON_TYPE_NORMAL		=0x10000000 --通常召唤(EFFECT_SUMMON_PROC,EFFECT_SET_PROC 可用 Value 修改數值)
8f3a6c70d8 2023-09-18   52: 
e1b217bace 2023-09-09   53: SUMMON_TYPE_ADVANCE		=0x11000000 --上级召唤
8f3a6c70d8 2023-09-18   54: 
e1b217bace 2023-09-09   55: SUMMON_TYPE_DUAL		=0x12000000	--再度召唤(二重)
8f3a6c70d8 2023-09-18   56: 
e1b217bace 2023-09-09   57: SUMMON_TYPE_FLIP		=0x20000000	--翻转召唤
8f3a6c70d8 2023-09-18   58: 
580b09114c 2023-09-09   59: SUMMON_TYPE_SPECIAL		=0x40000000	--特殊召唤(EFFECT_SPSUMMON_PROC,EFFECT_SPSUMMON_PROC_G 可用 Value 修改數值)
8f3a6c70d8 2023-09-18   60: 
e1b217bace 2023-09-09   61: SUMMON_TYPE_FUSION		=0x43000000	--融合召唤
8f3a6c70d8 2023-09-18   62: 
e1b217bace 2023-09-09   63: SUMMON_TYPE_RITUAL		=0x45000000	--仪式召唤
8f3a6c70d8 2023-09-18   64: 
e1b217bace 2023-09-09   65: SUMMON_TYPE_SYNCHRO		=0x46000000	--同调召唤
8f3a6c70d8 2023-09-18   66: 
e1b217bace 2023-09-09   67: SUMMON_TYPE_XYZ			=0x49000000	--超量召唤
8f3a6c70d8 2023-09-18   68: 
e1b217bace 2023-09-09   69: SUMMON_TYPE_PENDULUM	=0x4a000000 --灵摆召唤
8f3a6c70d8 2023-09-18   70: 
e1b217bace 2023-09-09   71: SUMMON_TYPE_LINK		=0x4c000000 --连接召唤
e1b217bace 2023-09-09   72: ~~~
e1b217bace 2023-09-09   73: 
580b09114c 2023-09-09   74: </details>
580b09114c 2023-09-09   75: 
580b09114c 2023-09-09   76: 从哪个区域特召到场上的可选值:
580b09114c 2023-09-09   77: 
580b09114c 2023-09-09   78: 1. LOCATION_DECK
8f3a6c70d8 2023-09-18   79: 
580b09114c 2023-09-09   80: 1. LOCATION_HAND
8f3a6c70d8 2023-09-18   81: 
580b09114c 2023-09-09   82: 1. LOCATION_GRAVE
8f3a6c70d8 2023-09-18   83: 
580b09114c 2023-09-09   84: 1. LOCATION_REMOVED
8f3a6c70d8 2023-09-18   85: 
580b09114c 2023-09-09   86: 1. LOCATION_EXTRA
580b09114c 2023-09-09   87: 
580b09114c 2023-09-09   88: <details>
580b09114c 2023-09-09   89: <summary>
580b09114c 2023-09-09   90: 补充
580b09114c 2023-09-09   91: </summary>
580b09114c 2023-09-09   92: 
580b09114c 2023-09-09   93: ~~~
580b09114c 2023-09-09   94: LOCATION_DECK		=0x01		--卡组
8f3a6c70d8 2023-09-18   95: 
580b09114c 2023-09-09   96: LOCATION_HAND		=0x02		--手牌
8f3a6c70d8 2023-09-18   97: 
580b09114c 2023-09-09   98: LOCATION_MZONE		=0x04		--主要怪兽区(0~4)+额外怪兽区(5~6)
8f3a6c70d8 2023-09-18   99: 
580b09114c 2023-09-09  100: LOCATION_SZONE		=0x08		--魔陷区(0~4)+场地区(5)
8f3a6c70d8 2023-09-18  101: 
580b09114c 2023-09-09  102: LOCATION_GRAVE		=0x10		--墓地
8f3a6c70d8 2023-09-18  103: 
580b09114c 2023-09-09  104: LOCATION_REMOVED	=0x20		--除外区
8f3a6c70d8 2023-09-18  105: 
580b09114c 2023-09-09  106: LOCATION_EXTRA		=0x40		--额外
8f3a6c70d8 2023-09-18  107: 
580b09114c 2023-09-09  108: LOCATION_OVERLAY	=0x80		--超量素材
8f3a6c70d8 2023-09-18  109: 
580b09114c 2023-09-09  110: LOCATION_ONFIELD	=0x0c		--场上(LOCATION_MZONE+LOCATION_SZONE)
580b09114c 2023-09-09  111: ~~~
580b09114c 2023-09-09  112: 
580b09114c 2023-09-09  113: </details>
580b09114c 2023-09-09  114: 
580b09114c 2023-09-09  115: 可参考 X-LV-48 。
580b09114c 2023-09-09  116: 
580b09114c 2023-09-09  117: # PreEquip
580b09114c 2023-09-09  118: 
8f3a6c70d8 2023-09-18  119: Debug.PreEquip(装备魔法卡, 怪兽卡)
580b09114c 2023-09-09  120: 
580b09114c 2023-09-09  121: <details>
580b09114c 2023-09-09  122: <summary>
580b09114c 2023-09-09  123: 补充
580b09114c 2023-09-09  124: </summary>
580b09114c 2023-09-09  125: 
580b09114c 2023-09-09  126: ~~~
580b09114c 2023-09-09  127: ● bool Debug.PreEquip(Card equip_card, Card target)
8f3a6c70d8 2023-09-18  128: 
580b09114c 2023-09-09  129: 为 target 添加装备 equip_card ,返回值表示是否成功
580b09114c 2023-09-09  130: ~~~
580b09114c 2023-09-09  131: 
580b09114c 2023-09-09  132: </details>
580b09114c 2023-09-09  133: 
580b09114c 2023-09-09  134: 可参考 NH-04 。
580b09114c 2023-09-09  135: 
580b09114c 2023-09-09  136: # PreSetTarget
580b09114c 2023-09-09  137: 
580b09114c 2023-09-09  138: Debug.PreSetTarget(保护卡, 被保护的卡)
580b09114c 2023-09-09  139: 
580b09114c 2023-09-09  140: <details>
580b09114c 2023-09-09  141: <summary>
580b09114c 2023-09-09  142: 补充
580b09114c 2023-09-09  143: </summary>
580b09114c 2023-09-09  144: 
580b09114c 2023-09-09  145: ~~~
580b09114c 2023-09-09  146: ● void Debug.PreSetTarget(Card c, Card target)
8f3a6c70d8 2023-09-18  147: 
580b09114c 2023-09-09  148: 把 target 选为 c 的永续对象
580b09114c 2023-09-09  149: ~~~
4ee6c17ee4 2023-09-09  150: 
4ee6c17ee4 2023-09-09  151: </details>
4ee6c17ee4 2023-09-09  152: 
4ee6c17ee4 2023-09-09  153: <details>
4ee6c17ee4 2023-09-09  154: <summary>
4ee6c17ee4 2023-09-09  155: 警告
4ee6c17ee4 2023-09-09  156: </summary>
4ee6c17ee4 2023-09-09  157: 
4ee6c17ee4 2023-09-09  158: 必须在布局完成之后再使用。
580b09114c 2023-09-09  159: 
580b09114c 2023-09-09  160: </details>
e1b217bace 2023-09-09  161: 
580b09114c 2023-09-09  162: 可参考 NH-04 。