feat: RSC TurntimeQueue
This commit is contained in:
@@ -19,7 +19,9 @@ export interface IResourceController {
|
||||
troop(id: TroopID, nation: NationID): Troop | undefined;
|
||||
general(id: GeneralID): General | undefined;
|
||||
|
||||
upcomingGeneral(): General | undefined;
|
||||
peekGeneralTurntimeQueue(): General | undefined;
|
||||
popGeneralTurntimeQueue(): General | undefined;
|
||||
insertGeneralTurntimeQueue(general: General, maybeTail: boolean): void;
|
||||
|
||||
gameEnv(): GameEnv;
|
||||
|
||||
@@ -50,6 +52,7 @@ export interface IResourceController {
|
||||
createNation(raw: INationEntity): Nation;
|
||||
createTroop(raw: ITroopEntity): Troop;
|
||||
|
||||
|
||||
_getAllChanges(): Record<
|
||||
ValidEntityType,
|
||||
Map<number, [op: 'insert' | 'update' | 'delete', value: LazyEntityUpdater<any>]>
|
||||
|
||||
Reference in New Issue
Block a user