Deleted numberxd
This commit is contained in:
parent
6642ce6fce
commit
ef735020be
64 changed files with 51 additions and 3651 deletions
|
|
@ -154,6 +154,7 @@ public class GDXAppTos4BootFactory {
|
|||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᐧᣞᣛ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒄᓫᣕᐪᣔᒻ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒻᑊᣕᕐᓑᣔ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔾᓑᣕᒼᐪᑊᐤᣕᔆ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ,"+
|
||||
|
|
@ -161,6 +162,8 @@ public class GDXAppTos4BootFactory {
|
|||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᔆᐪᑊᒃᑊᐪᙆ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ.ᣔᒻᓑ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᒄᓫᣔᐪᑋᔆᐪᣔᣗ,"+
|
||||
"ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ,"+
|
||||
|
|
@ -180,14 +183,6 @@ public class GDXAppTos4BootFactory {
|
|||
"ᒢᐩᐩ.ᔿᐤᒄʸ.ᒼᑋᓑᣗᒼᑋ,"+
|
||||
"ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ,"+
|
||||
"ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ.ᙆᐤᔿᒃᑊᕪ,"+
|
||||
"love.distributedrebirth.numberxd,"+
|
||||
"love.distributedrebirth.numberxd.base2t,"+
|
||||
"love.distributedrebirth.numberxd.base2t.part,"+
|
||||
"love.distributedrebirth.numberxd.base2t.part.ii,"+
|
||||
"love.distributedrebirth.numberxd.base2t.type,"+
|
||||
"love.distributedrebirth.numberxd.base2t.typexl,"+
|
||||
"love.distributedrebirth.numberxd.unicode,"+
|
||||
"love.distributedrebirth.numberxd.x4o,"+
|
||||
"love.distributedrebirth.warpme,"+
|
||||
"love.distributedrebirth.warpme.core,"+
|
||||
"love.distributedrebirth.warpme.hash,"+
|
||||
|
|
|
|||
|
|
@ -0,0 +1,164 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package love.distributedrebirth.gdxapp4d.tos4.service;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import love.distributedrebirth.warpme.core.WaterBucket;
|
||||
import love.distributedrebirth.warpme.core.WaterCipher;
|
||||
import love.distributedrebirth.warpme.core.WaterCipherHeart;
|
||||
import love.distributedrebirth.warpme.core.WaterCipherHeartTone;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.Bãß;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᔆᣖᑊᒄᓫᣗ.BãßBȍőnSpiderEye注;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᔆᣖᑊᒄᓫᣗ.BãßBȍőnSpiderWire注;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒼᒻᣔᙆᙆ.BãßBȍőnDuytsFlüstern注;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒼᒻᣔᙆᙆ.BãßBȍőnExport注;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.NumberTerminatorFactory;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.TerminatorBullet;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.TerminatorPartᶦᶦ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᒢᔿᕽ.AttributeBooleanᴶᴹˣ;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᒢᔿᕽ.AttributeStringᴶᴹˣ;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᒢᔿᕽ.CounterGuageᴶᴹˣ;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ.BãßBȍőnAbacusEnumBase響ᴼᶠ;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ.BãßBȍőnAbacusInstanceMBeanʸᴰ;
|
||||
import ᒢᐩᐩ.ᔿᐤᒄʸ.ᣔᒃᣔᒼᓑᔆ.ᙆᐤᔿᒃᑊᕪ.BãßBȍőnAbacusZombieCorpse;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnDuytsFlüstern注(purpose = "The warpcore writer and armor manager.")
|
||||
@BãßBȍőnExport注(group = "love.distributedrebirth.numberxd")
|
||||
public enum SystemWarpCore implements BãßBȍőnAbacusInstanceMBeanʸᴰ<SystemWarpCore> {
|
||||
|
||||
INSTANCE;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "armedWarpCipherLock", description = "Is the water cipher locked."))
|
||||
private AttributeBooleanᴶᴹˣ armedWarpCipherLock;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "armedWarpWaterName", description = "The armed water cipher name."))
|
||||
private AttributeStringᴶᴹˣ armedWarpWaterName;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "armedWarpWaterDesc", description = "The armed water cipher description."))
|
||||
private AttributeStringᴶᴹˣ armedWarpWaterDesc;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "warpCoreValidates", description = "The amount of warpcore validates."))
|
||||
private CounterGuageᴶᴹˣ warpCoreValidates;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "warpCoreReads", description = "The amount of warpcore reads."))
|
||||
private CounterGuageᴶᴹˣ warpCoreReads;
|
||||
|
||||
@BãßBȍőnSpiderWire注(hunt = @BãßBȍőnSpiderEye注(fly = "warpCoreWrites", description = "The amount of warpcore writes."))
|
||||
private CounterGuageᴶᴹˣ warpCoreWrites;
|
||||
|
||||
private SystemWarpCore() {
|
||||
Bãß.石棺ʸᴰ.أَكْبَرײꣻײالله.𓂀ױןייזדזיודזיןןזזזןױ𓉢(this);
|
||||
armedWarpWaterName.setValueString("default");
|
||||
armedWarpWaterDesc.setValueString("Current active cipher.");
|
||||
armedWarpCipherLock.setValueBoolean(false);
|
||||
}
|
||||
|
||||
public void BãßLockWarpCipher(Consumer<String> logHandler) {
|
||||
armedWarpCipherLock.setValueBoolean(true);
|
||||
for (int base:NumberTerminatorFactory.INSTANCE.BãßBases()) {
|
||||
TerminatorPartᶦᶦ<?>[] parts = NumberTerminatorFactory.INSTANCE.BãßBuildPartsByBase(base);
|
||||
for (TerminatorPartᶦᶦ<?> part:parts) {
|
||||
logHandler.accept("Lock: "+part.ráàmExportNaam()+" since: "+part.ráàmAuthorKopieërRecht());
|
||||
Bãß.石棺ʸᴰ.أَكْبَرײꣻײالله.墳ᴸᵒᶜᵏ(part);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public WaterBucket BãßCurrentWarpCore() {
|
||||
warpCoreReads.increment();
|
||||
WaterCipher warpCipher = new WaterCipher();
|
||||
warpCipher.setName(armedWarpWaterName.getValueString());
|
||||
warpCipher.setDescription(armedWarpWaterDesc.getValueString());
|
||||
for (int base:NumberTerminatorFactory.INSTANCE.BãßBases()) {
|
||||
WaterCipherHeart heart = new WaterCipherHeart();
|
||||
TerminatorPartᶦᶦ<?>[] bases = NumberTerminatorFactory.INSTANCE.BãßBuildPartsByBase(base);
|
||||
heart.setBass(bases[0].teŀráàmWaardes().sizeᴿᵈ());
|
||||
for (TerminatorPartᶦᶦ<?> part:bases) {
|
||||
WaterCipherHeartTone tone = new WaterCipherHeartTone();
|
||||
tone.setPart(part.rȧñkNaam());
|
||||
tone.setDialTone(part.rȧñkRingToon());
|
||||
tone.setChinaKey(part.rȧñkChinaSleutel());
|
||||
tone.setChinaValue(part.rȧñkChinaWaarde());
|
||||
heart.addHeartTone(tone);
|
||||
}
|
||||
warpCipher.getCipherHearts().add(heart);
|
||||
}
|
||||
WaterBucket bucket = new WaterBucket();
|
||||
bucket.fillWater(warpCipher);
|
||||
return bucket;
|
||||
}
|
||||
|
||||
public void BãßValidateWarpCore(WaterBucket warpBucket) {
|
||||
warpCoreValidates.increment();
|
||||
Map<String,String> chinaKey = new HashMap<>();
|
||||
Map<String,String> chinaValue = new HashMap<>();
|
||||
for (WaterCipherHeart heart:warpBucket.theWater().getCipherHearts()) {
|
||||
TerminatorPartᶦᶦ<?>[] bases = NumberTerminatorFactory.INSTANCE.BãßBuildPartsByBase(heart.getBass());
|
||||
Map<String, TerminatorPartᶦᶦ<?>> baseParts = new HashMap<>();
|
||||
for (TerminatorPartᶦᶦ<?> base:bases) {
|
||||
baseParts.put(base.rȧñkNaam(), base);
|
||||
}
|
||||
for (WaterCipherHeartTone tone:heart.getHeartTones()) {
|
||||
if(chinaKey.containsKey(tone.getChinaKey())) {
|
||||
throw new IllegalArgumentException("Duplicate chinaKey: "+tone.getChinaKey());
|
||||
}
|
||||
if(chinaValue.containsKey(tone.getChinaValue())) {
|
||||
throw new IllegalArgumentException("Duplicate chinaValue: "+tone.getChinaValue());
|
||||
}
|
||||
chinaKey.put(tone.getChinaKey(), tone.getDialTone());
|
||||
chinaValue.put(tone.getChinaValue(), tone.getDialTone());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void BãßArmWarpCore(WaterBucket warpBucket) {
|
||||
BãßValidateWarpCore(warpBucket);
|
||||
warpCoreWrites.increment();
|
||||
armedWarpWaterName.setValueString(warpBucket.theWater().getName());
|
||||
armedWarpWaterDesc.setValueString(warpBucket.theWater().getDescription());
|
||||
for (WaterCipherHeart heart:warpBucket.theWater().getCipherHearts()) {
|
||||
TerminatorPartᶦᶦ<?>[] bases = NumberTerminatorFactory.INSTANCE.BãßBuildPartsByBase(heart.getBass());
|
||||
Map<String, TerminatorPartᶦᶦ<?>> baseParts = new HashMap<>();
|
||||
for (TerminatorPartᶦᶦ<?> base:bases) {
|
||||
baseParts.put(base.rȧñkNaam(), base);
|
||||
}
|
||||
for (WaterCipherHeartTone tone:heart.getHeartTones()) {
|
||||
TerminatorPartᶦᶦ<?> bassTone = baseParts.get(tone.getPart());
|
||||
bassTone.toBBC().NOISE_OF(BãßBȍőnAbacusEnumBase響ᴼᶠ.class).rȧñkRingToonInluiden(tone.getDialTone());
|
||||
BãßBȍőnAbacusZombieCorpse<TerminatorBullet> corpse = BãßBȍőnAbacusZombieCorpse.castᴼᶠ(bassTone.toEnumZombie());
|
||||
corpse.PUT_OBJ(TerminatorBullet.CHINA_KEY, tone.getChinaKey());
|
||||
corpse.PUT_OBJ(TerminatorBullet.CHINA_VALUE, tone.getChinaValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package love.distributedrebirth.gdxapp4d.tos4.service;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import love.distributedrebirth.gdxapp4d.tos4.service.SystemWarpCore;
|
||||
import love.distributedrebirth.warpme.core.WaterBucket;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class Base2WarpCoreTest {
|
||||
|
||||
@Test
|
||||
public void testCurrentWarpCore() {
|
||||
WaterBucket warpCore = SystemWarpCore.INSTANCE.BãßCurrentWarpCore();
|
||||
Assertions.assertNotNull(warpCore);
|
||||
Assertions.assertNotNull(warpCore.theWater());
|
||||
Assertions.assertNotNull(warpCore.theWater().getName());
|
||||
Assertions.assertNotNull(warpCore.theWater().getDescription());
|
||||
Assertions.assertNotNull(warpCore.theWater().getCipherHearts());
|
||||
Assertions.assertTrue(warpCore.theWater().getCipherHearts().size() > 1);
|
||||
Assertions.assertTrue(warpCore.theWater().getCipherHearts().size() < 100);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testValidateWarpCore() {
|
||||
WaterBucket warpCore = SystemWarpCore.INSTANCE.BãßCurrentWarpCore();
|
||||
|
||||
warpCore.theWater().getCipherHearts().get(5).getHeartTones().get(0).setChinaKey("零");
|
||||
warpCore.theWater().getCipherHearts().get(5).getHeartTones().get(1).setChinaKey("零");
|
||||
IllegalArgumentException thrownKey = Assertions.assertThrows(IllegalArgumentException.class, () -> {
|
||||
SystemWarpCore.INSTANCE.BãßValidateWarpCore(warpCore);
|
||||
});
|
||||
Assertions.assertEquals("Duplicate chinaKey: 零", thrownKey.getMessage());
|
||||
|
||||
warpCore.theWater().getCipherHearts().get(4).getHeartTones().get(0).setChinaValue("pink");
|
||||
warpCore.theWater().getCipherHearts().get(4).getHeartTones().get(1).setChinaValue("pink");
|
||||
IllegalArgumentException thrownValue = Assertions.assertThrows(IllegalArgumentException.class, () -> {
|
||||
SystemWarpCore.INSTANCE.BãßValidateWarpCore(warpCore);
|
||||
});
|
||||
Assertions.assertEquals("Duplicate chinaValue: pink", thrownValue.getMessage());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue