re-gen kafkatorio-schema.ts (no real change, just alphabetically ordered)

This commit is contained in:
Adam 2022-06-19 10:32:07 +02:00
parent 723ff44462
commit 487d1a91f5

View file

@ -192,18 +192,8 @@ export type FactorioPrototype =
export namespace FactorioPrototype { export namespace FactorioPrototype {
export enum Type { export enum Type {
MapTile = "kafkatorio.prototype.MapTile",
Entity = "kafkatorio.prototype.Entity", Entity = "kafkatorio.prototype.Entity",
} MapTile = "kafkatorio.prototype.MapTile",
export interface MapTile {
type: FactorioPrototype.Type.MapTile;
name: PrototypeName;
mapColour: Colour;
layer: UInt;
collisionMasks: List;
order: string;
canBeMined: boolean;
} }
export interface Entity { export interface Entity {
@ -219,6 +209,16 @@ export namespace FactorioPrototype {
isMilitaryTarget: boolean; isMilitaryTarget: boolean;
miningProperties: MiningProperties; miningProperties: MiningProperties;
} }
export interface MapTile {
type: FactorioPrototype.Type.MapTile;
name: PrototypeName;
mapColour: Colour;
layer: UInt;
collisionMasks: List;
order: string;
canBeMined: boolean;
}
} }
export type EventName = string; export type EventName = string;
@ -230,13 +230,13 @@ export type MapChunkPosition = [
y: Int, y: Int,
]; ];
export type List = any;
export interface MiningProperties { export interface MiningProperties {
canBeMined: boolean; canBeMined: boolean;
products: MinedProduct[] | null; products: MinedProduct[] | null;
} }
export type List = any;
export type PrototypeKey = Int; export type PrototypeKey = Int;
export interface MinedProduct { export interface MinedProduct {