mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
feat: meta section
This commit is contained in:
1 parent
1d3cb95b89
commit
40a1eb861d
14 files changed
+141
-18
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import type { CompensationComponent } from "@protos/blitz_static_compensation_component";
|
||||
import type { TankCatalogComponent } from "@protos/blitz_static_tank_component";
|
||||
import {
|
||||
ShellUpgrageSingleChange_AttributeName,
|
||||
@@ -12,7 +13,9 @@ import {
|
||||
import type { TankState } from "./tankState";
|
||||
|
||||
export function computeCharacteristics(
|
||||
id: string,
|
||||
tank: TankCatalogComponent,
|
||||
compensation: CompensationComponent,
|
||||
state: TankState
|
||||
) {
|
||||
const parameters = aggregateStageParameters(
|
||||
@@ -89,6 +92,8 @@ export function computeCharacteristics(
|
||||
state,
|
||||
tank,
|
||||
parameters,
|
||||
id,
|
||||
compensation,
|
||||
});
|
||||
computed[name] = value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user