2023-02-15 19:54:35 +08:00
|
|
|
---@class CardsMoveInfo
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public ids integer[]
|
|
|
|
---@field public from integer|null
|
|
|
|
---@field public to integer|null
|
|
|
|
---@field public toArea CardArea
|
|
|
|
---@field public moveReason CardMoveReason
|
|
|
|
---@field public proposer integer
|
|
|
|
---@field public skillName string|null
|
|
|
|
---@field public moveVisible boolean|null
|
|
|
|
---@field public specialName string|null
|
|
|
|
---@field public specialVisible boolean|null
|
2022-04-08 18:39:58 +08:00
|
|
|
|
2023-02-15 19:54:35 +08:00
|
|
|
---@class MoveInfo
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public cardId integer
|
|
|
|
---@field public fromArea CardArea
|
|
|
|
---@field public fromSpecialName string|null
|
2022-04-08 18:39:58 +08:00
|
|
|
|
2023-02-15 19:54:35 +08:00
|
|
|
---@class CardsMoveStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public moveInfo MoveInfo[]
|
|
|
|
---@field public from integer|null
|
|
|
|
---@field public to integer|null
|
|
|
|
---@field public toArea CardArea
|
|
|
|
---@field public moveReason CardMoveReason
|
|
|
|
---@field public proposer integer|null
|
|
|
|
---@field public skillName string|null
|
|
|
|
---@field public moveVisible boolean|null
|
|
|
|
---@field public specialName string|null
|
|
|
|
---@field public specialVisible boolean|null
|
2022-04-08 18:39:58 +08:00
|
|
|
|
2023-03-14 20:48:08 +08:00
|
|
|
---@class PindianResult
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public toCard Card
|
|
|
|
---@field public winner ServerPlayer|null
|
2023-03-14 20:48:08 +08:00
|
|
|
|
2023-02-15 19:54:35 +08:00
|
|
|
---@class HpChangedData
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public num integer
|
|
|
|
---@field public reason string
|
|
|
|
---@field public skillName string
|
|
|
|
---@field public damageEvent DamageStruct|null
|
2022-04-08 18:39:58 +08:00
|
|
|
|
2023-02-15 19:54:35 +08:00
|
|
|
---@class HpLostData
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public num integer
|
|
|
|
---@field public skillName string
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@alias DamageType integer
|
|
|
|
|
|
|
|
fk.NormalDamage = 1
|
|
|
|
fk.ThunderDamage = 2
|
|
|
|
fk.FireDamage = 3
|
|
|
|
|
|
|
|
---@class DamageStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from ServerPlayer|null
|
|
|
|
---@field public to ServerPlayer
|
|
|
|
---@field public damage integer
|
|
|
|
---@field public card Card
|
|
|
|
---@field public chain boolean
|
|
|
|
---@field public damageType DamageType
|
|
|
|
---@field public skillName string
|
|
|
|
---@field public beginnerOfTheDamage boolean|null
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class RecoverStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public who ServerPlayer
|
|
|
|
---@field public num integer
|
|
|
|
---@field public recoverBy ServerPlayer|null
|
|
|
|
---@field public skillName string|null
|
|
|
|
---@field public card Card|null
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class DyingStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public who integer
|
|
|
|
---@field public damage DamageStruct
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class DeathStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public who integer
|
|
|
|
---@field public damage DamageStruct
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class CardUseStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from integer
|
|
|
|
---@field public tos TargetGroup
|
|
|
|
---@field public card Card
|
|
|
|
---@field public toCard Card|null
|
|
|
|
---@field public responseToEvent CardUseStruct|null
|
|
|
|
---@field public nullifiedTargets interger[]|null
|
|
|
|
---@field public extraUse boolean|null
|
|
|
|
---@field public disresponsiveList integer[]|null
|
|
|
|
---@field public unoffsetableList integer[]|null
|
|
|
|
---@field public additionalDamage integer|null
|
|
|
|
---@field public customFrom integer|null
|
|
|
|
---@field public cardsResponded Card[]|null
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class AimStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from integer
|
|
|
|
---@field public card Card
|
|
|
|
---@field public tos AimGroup
|
|
|
|
---@field public to integer
|
|
|
|
---@field public subTargets integer[]|null
|
|
|
|
---@field public targetGroup TargetGroup|null
|
|
|
|
---@field public nullifiedTargets integer[]|null
|
|
|
|
---@field public firstTarget boolean
|
|
|
|
---@field public additionalDamage integer|null
|
|
|
|
---@field public disresponsive boolean|null
|
|
|
|
---@field public unoffsetableList boolean|null
|
|
|
|
---@field public additionalResponseTimes table<string, integer>|integer|null
|
|
|
|
---@field public fixedAddTimesResponsors integer[]
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class CardEffectEvent
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from integer
|
|
|
|
---@field public to integer
|
|
|
|
---@field public subTargets integer[]|null
|
|
|
|
---@field public tos TargetGroup
|
|
|
|
---@field public card Card
|
|
|
|
---@field public toCard Card|null
|
|
|
|
---@field public responseToEvent CardEffectEvent|null
|
|
|
|
---@field public nullifiedTargets interger[]|null
|
|
|
|
---@field public extraUse boolean|null
|
|
|
|
---@field public disresponsiveList integer[]|null
|
|
|
|
---@field public unoffsetableList integer[]|null
|
|
|
|
---@field public additionalDamage integer|null
|
|
|
|
---@field public customFrom integer|null
|
|
|
|
---@field public cardsResponded Card[]|null
|
|
|
|
---@field public disresponsive boolean|null
|
|
|
|
---@field public unoffsetable boolean|null
|
|
|
|
---@field public isCancellOut boolean|null
|
|
|
|
---@field public fixedResponseTimes table<string, integer>|integer|null
|
|
|
|
---@field public fixedAddTimesResponsors integer[]
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class SkillEffectEvent
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from integer
|
|
|
|
---@field public tos integer[]
|
|
|
|
---@field public cards integer[]
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class JudgeStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public who ServerPlayer
|
|
|
|
---@field public card Card
|
|
|
|
---@field public reason string
|
|
|
|
---@field public pattern string
|
2023-02-15 19:54:35 +08:00
|
|
|
|
|
|
|
---@class CardResponseEvent
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from integer
|
|
|
|
---@field public card Card
|
|
|
|
---@field public responseToEvent CardEffectEvent|null
|
|
|
|
---@field public skipDrop boolean|null
|
|
|
|
---@field public customFrom integer|null
|
2022-12-20 18:40:17 +08:00
|
|
|
|
2023-03-06 01:07:54 +08:00
|
|
|
---@class AskForCardUse
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public user ServerPlayer
|
|
|
|
---@field public cardName string
|
|
|
|
---@field public pattern string
|
|
|
|
---@field public result CardUseStruct
|
2023-03-06 01:07:54 +08:00
|
|
|
|
|
|
|
---@class AskForCardResponse
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public user ServerPlayer
|
|
|
|
---@field public cardName string
|
|
|
|
---@field public pattern string
|
|
|
|
---@field public result Card
|
2023-03-06 01:07:54 +08:00
|
|
|
|
2022-09-14 13:01:10 +08:00
|
|
|
---@alias CardMoveReason integer
|
2022-04-08 18:39:58 +08:00
|
|
|
|
|
|
|
fk.ReasonJustMove = 1
|
|
|
|
fk.ReasonDraw = 2
|
|
|
|
fk.ReasonDiscard = 3
|
|
|
|
fk.ReasonGive = 4
|
|
|
|
fk.ReasonPut = 5
|
|
|
|
fk.ReasonPutIntoDiscardPile = 6
|
|
|
|
fk.ReasonPrey = 7
|
|
|
|
fk.ReasonExchange = 8
|
2022-04-30 15:27:56 +08:00
|
|
|
fk.ReasonUse = 9
|
|
|
|
fk.ReasonResonpse = 10
|
2022-04-08 18:39:58 +08:00
|
|
|
|
2023-02-21 13:44:24 +08:00
|
|
|
---@class PindianStruct
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public from ServerPlayer
|
|
|
|
---@field public tos ServerPlayer[]
|
|
|
|
---@field public fromCard Card
|
|
|
|
---@field public results table<integer, PindianResult>
|
|
|
|
---@field public reason string
|
2023-02-21 13:44:24 +08:00
|
|
|
|
2023-02-15 19:54:35 +08:00
|
|
|
---@class LogMessage
|
2023-03-26 17:32:45 +08:00
|
|
|
---@field public type string
|
|
|
|
---@field public from integer
|
|
|
|
---@field public to integer[]
|
|
|
|
---@field public card integer[]
|
|
|
|
---@field public arg any
|
|
|
|
---@field public arg2 any
|
|
|
|
---@field public arg3 any
|