[][src]Struct cetkaik_full_state_transition::Config

pub struct Config {
    pub step_tam_is_a_hand: bool,
    pub tam_itself_is_tam_hue: bool,
    pub moving_tam_immediately_after_tam_has_moved: Consequence,
    pub tam_mun_mok: Consequence,
    pub failure_to_complete_the_move_means_exempt_from_kut2_tam2: bool,
}

Describes the minor differences between the numerous rule variants. /細かなルール差を吸収するための型。

Fields

step_tam_is_a_hand: bool

Describes whether the Stepping of Tam2 is considered a hand. If false, the Stepping of Tam2 results in the immediate subtraction of 5 points and does not trigger the taxot / tymok unless another hand is simultaneously created. /撃皇が役であるかどうかのフラグ。falseである場合、撃皇は即時5点減点であり、同時に他の役が成立していない限り終季・再行の判定を発生させない。

tam_itself_is_tam_hue: bool

Described whether the square that Tam2 itself is in is considered as a tam2 hue. This matters only when you are stepping a Tam2. /皇のあるマス自身が皇処になるかどうかのフラグ。撃皇をするときにのみ関係のあるフラグ。

moving_tam_immediately_after_tam_has_moved: Consequence

hsjoihs 2020/02/18 「@SY 皇をもとの位置に戻す皇再来と、相手が動かした後の皇動かしによる皇再来を言い分けたいときってどうするんだろう(cerke_onlineは後者のみを禁じており、前者に関しては無罰則)」 SY 2020/02/18 - 2020/02/19 「前者は皇無行とかっぽそう。後者が狭義の皇再来なのかもしれん。ただややこしい」

tam_mun_mok: Consequence

hsjoihs 2020/02/18 「@SY 皇をもとの位置に戻す皇再来と、相手が動かした後の皇動かしによる皇再来を言い分けたいときってどうするんだろう(cerke_onlineは後者のみを禁じており、前者に関しては無罰則)」 SY 2020/02/18 - 2020/02/19 「前者は皇無行とかっぽそう。後者が狭義の皇再来なのかもしれん。ただややこしい」

failure_to_complete_the_move_means_exempt_from_kut2_tam2: bool

入水判定や踏越え判定に失敗したときに、撃皇が免除されるかどうか

Implementations

impl Config[src]

#[must_use]pub fn cerke_online_alpha() -> Config[src]

Cerke Online α版での config 設定。

#[must_use]pub fn strict_y1_huap1() -> Config[src]

厳密官定での config 設定。

Trait Implementations

impl Clone for Config[src]

impl Copy for Config[src]

impl Debug for Config[src]

impl Eq for Config[src]

impl Hash for Config[src]

impl PartialEq<Config> for Config[src]

impl StructuralEq for Config[src]

impl StructuralPartialEq for Config[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,