2022-01-30 22:00:16 +01:00
|
|
|
package love.distributedrebirth.numberxd.base2t;
|
2022-01-28 11:19:52 +01:00
|
|
|
|
2022-02-01 16:27:06 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneName;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
2022-01-30 18:05:18 +01:00
|
|
|
|
2022-01-29 05:50:02 +01:00
|
|
|
/**
|
2022-01-31 13:40:01 +01:00
|
|
|
* The distribution by 6.
|
|
|
|
|
*
|
2022-01-30 14:50:21 +01:00
|
|
|
* NOTE: The sexi karlson-speaker is china design 3=6 and 6=9 and in quad space, zero is the result.
|
2022-01-29 05:50:02 +01:00
|
|
|
*
|
|
|
|
|
* @author willemtsade ©Δ∞ 仙上主天
|
|
|
|
|
*/
|
2022-02-01 16:27:06 +01:00
|
|
|
@BassBoneName("T06PartSeximal")
|
|
|
|
|
@BassBoneAlt1Info(name="ADFGVX cipher", website="https://en.wikipedia.org/wiki/ADFGVX_cipher")
|
2022-02-01 18:31:51 +01:00
|
|
|
public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
2022-01-28 11:19:52 +01:00
|
|
|
|
2022-01-30 19:42:26 +01:00
|
|
|
PART_1("˦","0","四","4","A"),
|
|
|
|
|
PART_2("˨","1","五","5","D"),
|
|
|
|
|
PART_3("꜓","2","六","6","F"),
|
|
|
|
|
PART_4("꜕","3","七","7","G"),
|
|
|
|
|
PART_5("꜊","4","八","8","V"),
|
|
|
|
|
PART_6("꜏","5","九","9","X"),
|
2022-01-28 11:19:52 +01:00
|
|
|
;
|
|
|
|
|
|
2022-01-31 20:13:41 +01:00
|
|
|
public static int LENGTH() { return values().length; };
|
2022-02-01 16:27:06 +01:00
|
|
|
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
2022-01-28 11:19:52 +01:00
|
|
|
|
2022-01-30 18:05:18 +01:00
|
|
|
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
2022-02-01 18:31:51 +01:00
|
|
|
getBBC().putInit(BassBoneStoreKey.ID_TONE, idTone);
|
|
|
|
|
getBBC().putInit(BassBoneStoreKey.ID_LETTER, idLetter);
|
|
|
|
|
getBBC().putInit(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
|
|
|
|
getBBC().putInit(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
|
|
|
|
getBBC().putInit(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
|
|
|
|
getBBC().getMapObject(BassBoneStoreKey.MAP_TONE);
|
|
|
|
|
getBBC().getMapObject(BassBoneStoreKey.MAP_CHINA);
|
2022-01-30 14:50:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-02-01 16:27:06 +01:00
|
|
|
public BassBoneCoffin getBBC() {
|
|
|
|
|
return bbc;
|
2022-01-28 11:19:52 +01:00
|
|
|
}
|
|
|
|
|
|
2022-02-01 18:31:51 +01:00
|
|
|
public T02PartBinary splitPartBinary() {
|
|
|
|
|
return T02PartBinary.values()[ordinal() & 1];
|
2022-01-29 12:48:53 +01:00
|
|
|
}
|
2022-01-30 14:50:21 +01:00
|
|
|
|
2022-02-01 18:31:51 +01:00
|
|
|
public T03PartTrit splitPartTrit() {
|
|
|
|
|
return T03PartTrit.values()[ordinal() >> 1];
|
2022-01-30 14:50:21 +01:00
|
|
|
}
|
2022-01-28 11:19:52 +01:00
|
|
|
}
|