perf: 전투 시뮬레이터 시작 payload를 줄인다
권위 실행 context를 화면 진입 때 한 번 전달하고 준비 응답은 seed base만 반환한다. 반복별 seed 배열은 결정적 파생값으로 대체하되 구형 queue seed 우선순위와 고정 seed 동작을 보존한다.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import type { UnitSetDefinition, WarEngineConfig } from '@sammo-ts/logic';
|
||||
|
||||
export type InheritBuff = {
|
||||
warAvoidRatio: number;
|
||||
warCriticalRatio: number;
|
||||
@@ -47,16 +49,9 @@ export type BattleSimOptions = {
|
||||
currentYear: number;
|
||||
currentMonth: number;
|
||||
};
|
||||
config: {
|
||||
maxTrainByWar: number;
|
||||
maxAtmosByWar: number;
|
||||
maxTrainByCommand: number;
|
||||
maxAtmosByCommand: number;
|
||||
};
|
||||
unitSet: {
|
||||
defaultCrewTypeId: number;
|
||||
crewTypes: Array<{ id: number; name: string; armType: number }>;
|
||||
};
|
||||
config: WarEngineConfig;
|
||||
unitSet: UnitSetDefinition;
|
||||
scenarioEffect: string | null;
|
||||
nationTypes: Array<{ key: string; name: string; info: string }>;
|
||||
eventDomesticTraits: Array<{ key: string; name: string; info: string }>;
|
||||
warTraits: Array<{ key: string; name: string; info: string }>;
|
||||
|
||||
Reference in New Issue
Block a user