@adatechnology/game-vehicles 0.6.20 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +113 -3
- package/dist/index.global.js +754 -28
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +711 -28
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as three from 'three';
|
|
2
2
|
import { MeshStandardMaterial, Vector3, BufferGeometry, Object3D, Mesh, Material, Vector2, Box3, Matrix4, Group, ColorRepresentation, CanvasTexture, MeshBasicMaterial, Color, Texture, SpriteMaterial, Sprite, Raycaster } from 'three';
|
|
3
|
-
import {
|
|
3
|
+
import { SeatRole, Vec3, SeatSpace, DoorOpening, MaterialId, JointKind, ToolKind, DeferredQueue, DestructibleImpl, AnimationClipSpec, IgnitionRules, DestructionEvent, ObjectState, Enclosure, FootprintRainCoverSource } from '@adatechnology/game-contracts';
|
|
4
4
|
|
|
5
5
|
/** Armoured vehicle details (plating, hatches, add-on armour) and the applyArmor helper. */
|
|
6
6
|
|
|
@@ -86,6 +86,30 @@ declare function installGeometry(kit: Kit): {
|
|
|
86
86
|
uvProject: (geo: BufferGeometry, axes?: string) => number;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
+
/** Interior clearance measurement: derives `SeatSpace[]` and `DoorOpening[]` for every built vehicle (Spec 012 R5). */
|
|
90
|
+
|
|
91
|
+
/** Raw seat metadata recorded by `kit.seat(...)` before cabin geometry and zones are finalised. */
|
|
92
|
+
type RawSeatEntry = {
|
|
93
|
+
readonly id?: string;
|
|
94
|
+
readonly role?: SeatRole;
|
|
95
|
+
readonly hipPoint: Vec3;
|
|
96
|
+
readonly seatWidth: number;
|
|
97
|
+
readonly seatLen: number;
|
|
98
|
+
readonly facing: Vec3;
|
|
99
|
+
readonly isBench: boolean;
|
|
100
|
+
readonly benchIndex: number;
|
|
101
|
+
readonly benchCount: number;
|
|
102
|
+
readonly open?: boolean;
|
|
103
|
+
readonly doorId?: string;
|
|
104
|
+
readonly headroomMetres?: number;
|
|
105
|
+
readonly legroomMetres?: number;
|
|
106
|
+
readonly widthMetres?: number;
|
|
107
|
+
readonly parent?: Object3D | null;
|
|
108
|
+
};
|
|
109
|
+
declare function installCabinSpace(kit: Kit): {
|
|
110
|
+
finalizeCabinSpaces: (c: BuildContext) => void;
|
|
111
|
+
};
|
|
112
|
+
|
|
89
113
|
/** Shared materials, studio environment map, paint colours and text textures. */
|
|
90
114
|
|
|
91
115
|
/** Options of `kit.makeMaterial`: the parameters of a `MeshStandardMaterial`, and `noEnv` to keep the studio environment map off a metallic one. */
|
|
@@ -336,6 +360,12 @@ declare function installContext(kit: Kit): {
|
|
|
336
360
|
w: number;
|
|
337
361
|
l: number;
|
|
338
362
|
}[];
|
|
363
|
+
_seatsCache: SeatSpace[] | null;
|
|
364
|
+
_doorsCache: DoorOpening[] | null;
|
|
365
|
+
_rawSeats: RawSeatEntry[];
|
|
366
|
+
_explicitSeats: SeatSpace[];
|
|
367
|
+
_explicitDoors: DoorOpening[];
|
|
368
|
+
_noCabinRayObjs: Set<Object3D>;
|
|
339
369
|
flipped: boolean;
|
|
340
370
|
rollState: RollState | null;
|
|
341
371
|
quads: GlassQuad[];
|
|
@@ -397,6 +427,16 @@ declare function installContext(kit: Kit): {
|
|
|
397
427
|
/** Point in `c.vehicle` coordinates to effects-group coordinates (vehicle world, ground y = 0). */
|
|
398
428
|
toEffects(p: Vector3): Vector3;
|
|
399
429
|
dirToEffects(d: Vector3): Vector3;
|
|
430
|
+
/** Measured seat spaces in vehicle local coordinates (computed lazily on first read). */
|
|
431
|
+
get seats(): SeatSpace[];
|
|
432
|
+
set seats(value: SeatSpace[]);
|
|
433
|
+
/** Measured door and hatch openings in vehicle local coordinates (computed lazily on first read). */
|
|
434
|
+
get doors(): DoorOpening[];
|
|
435
|
+
set doors(value: DoorOpening[]);
|
|
436
|
+
/** Declares an explicit seat space (e.g. open motorcycle/quad saddle) preserved verbatim by cabin space finalisation. */
|
|
437
|
+
addSeat(seat: SeatSpace): SeatSpace;
|
|
438
|
+
/** Declares an explicit door or hatch opening preserved verbatim by cabin space finalisation. */
|
|
439
|
+
addDoor(door: DoorOpening): DoorOpening;
|
|
400
440
|
/** Declares or refines a damage zone: `c.zone(id, label, box, parts, options)`. Pass `label === false` to remove an auto-derived zone. */
|
|
401
441
|
zone(id: string, label: string | false | null | undefined, box?: ZoneBoxInput | null, parts?: Object3D | VehicleLamp | readonly (Object3D | VehicleLamp)[] | null, o?: Record<string, unknown>): ZoneDef;
|
|
402
442
|
};
|
|
@@ -773,6 +813,13 @@ type SeatOptions = {
|
|
|
773
813
|
headrest?: boolean;
|
|
774
814
|
face?: string;
|
|
775
815
|
parent?: Object3D | null;
|
|
816
|
+
id?: string;
|
|
817
|
+
role?: SeatRole;
|
|
818
|
+
open?: boolean;
|
|
819
|
+
doorId?: string;
|
|
820
|
+
headroomMetres?: number;
|
|
821
|
+
legroomMetres?: number;
|
|
822
|
+
widthMetres?: number;
|
|
776
823
|
};
|
|
777
824
|
/** A dashboard (`kit.dashboard`): front edge x, top y, width, depth, height, driver z, material, top material and the screen. */
|
|
778
825
|
type DashboardOptions = {
|
|
@@ -806,7 +853,11 @@ type InteriorOptions = {
|
|
|
806
853
|
front?: string;
|
|
807
854
|
xFront?: number;
|
|
808
855
|
xRear?: number;
|
|
856
|
+
rowPitch?: number;
|
|
809
857
|
noConsole?: boolean;
|
|
858
|
+
dashD?: number;
|
|
859
|
+
dashH?: number;
|
|
860
|
+
visorUp?: boolean;
|
|
810
861
|
};
|
|
811
862
|
/** Bus rows (`kit.busRows`), see the comment above it. */
|
|
812
863
|
type BusRowsOptions = {
|
|
@@ -1362,7 +1413,7 @@ declare function strHash(s: string): number;
|
|
|
1362
1413
|
/** The three.js namespace the host passes (typed by `@types/three`; the package binds to no version at runtime). */
|
|
1363
1414
|
type Three = typeof three;
|
|
1364
1415
|
/** The helpers the modules share through `kit._`: what each `install*` puts there. */
|
|
1365
|
-
type KitShared = ReturnType<typeof installContext> & ReturnType<typeof installArmor> & ReturnType<typeof installBody> & ReturnType<typeof installCar> & ReturnType<typeof installDamagePanels> & ReturnType<typeof installDamageParts> & ReturnType<typeof installExplosion> & ReturnType<typeof installFluids> & ReturnType<typeof installGeometry> & ReturnType<typeof installGlassDamage> & ReturnType<typeof installGlass> & ReturnType<typeof installHood> & ReturnType<typeof installImpact> & ReturnType<typeof installInterior> & ReturnType<typeof installLights> & ReturnType<typeof installMaterials> & ReturnType<typeof installParticles> & ReturnType<typeof installRollover> & ReturnType<typeof installScenarios> & ReturnType<typeof installTick> & ReturnType<typeof installTrucks> & ReturnType<typeof installWarp> & ReturnType<typeof installWheels> & ReturnType<typeof installZoneApply> & ReturnType<typeof installZoneAuto> & ReturnType<typeof installZoneCore> & ReturnType<typeof installZoneDecals> & ReturnType<typeof installZoneDent> & ReturnType<typeof installZoneDerive>;
|
|
1416
|
+
type KitShared = ReturnType<typeof installContext> & ReturnType<typeof installArmor> & ReturnType<typeof installBody> & ReturnType<typeof installCar> & ReturnType<typeof installDamagePanels> & ReturnType<typeof installDamageParts> & ReturnType<typeof installExplosion> & ReturnType<typeof installFluids> & ReturnType<typeof installGeometry> & ReturnType<typeof installGlassDamage> & ReturnType<typeof installGlass> & ReturnType<typeof installHood> & ReturnType<typeof installImpact> & ReturnType<typeof installInterior> & ReturnType<typeof installCabinSpace> & ReturnType<typeof installLights> & ReturnType<typeof installMaterials> & ReturnType<typeof installParticles> & ReturnType<typeof installRollover> & ReturnType<typeof installScenarios> & ReturnType<typeof installTick> & ReturnType<typeof installTrucks> & ReturnType<typeof installWarp> & ReturnType<typeof installWheels> & ReturnType<typeof installZoneApply> & ReturnType<typeof installZoneAuto> & ReturnType<typeof installZoneCore> & ReturnType<typeof installZoneDecals> & ReturnType<typeof installZoneDent> & ReturnType<typeof installZoneDerive>;
|
|
1366
1417
|
/**
|
|
1367
1418
|
* Internal shape of the kit while the modules are installing. Modules attach the public API to it (`kit.x = ...`)
|
|
1368
1419
|
* and share helpers through `kit._`. The public, typed view of the same object is `VehicleKit` in `api.ts`.
|
|
@@ -1508,6 +1559,10 @@ interface VehicleContextFields {
|
|
|
1508
1559
|
/** Deterministic random generator seeded from the vehicle key and state. */
|
|
1509
1560
|
rand: () => number;
|
|
1510
1561
|
parts: VehiclePart[];
|
|
1562
|
+
/** Measured seat spaces in vehicle local coordinates (Spec 012 R5). */
|
|
1563
|
+
seats: SeatSpace[];
|
|
1564
|
+
/** Measured door and hatch openings in vehicle local coordinates (Spec 012 R5). */
|
|
1565
|
+
doors: DoorOpening[];
|
|
1511
1566
|
log: unknown[];
|
|
1512
1567
|
zoneErrors?: string[];
|
|
1513
1568
|
[key: string]: any;
|
|
@@ -2095,6 +2150,38 @@ interface BayBox {
|
|
|
2095
2150
|
*/
|
|
2096
2151
|
declare function engineBayVent(box: BayBox): [number, number, number];
|
|
2097
2152
|
|
|
2153
|
+
/**
|
|
2154
|
+
* A door, lid or tailgate is sheet metal folded round a frame: an outer skin, an inner panel a hand's depth behind it, and the fold that joins
|
|
2155
|
+
* them all round the edge. The skin a door takes off the body is one surface with no thickness; this closes it into that volume, in the
|
|
2156
|
+
* vehicle's coordinates and in plain numbers (the core package does not import three.js).
|
|
2157
|
+
*/
|
|
2158
|
+
/** How far behind its skin a door's inner panel stands, metres: the depth of a car door's frame. */
|
|
2159
|
+
declare const DOOR_SHELL_DEPTH = 0.09;
|
|
2160
|
+
/** A whole door, skin to inner panel, is no deeper than this, metres: a door whose skin curves far in (a beetle's) keeps its inner panel inside it. */
|
|
2161
|
+
declare const DOOR_SHELL_MAX_DEPTH = 0.25;
|
|
2162
|
+
type DoorShellParams = {
|
|
2163
|
+
/** The skin's triangles in the vehicle's coordinates, three corners of three numbers each, wound towards the outside. */
|
|
2164
|
+
readonly positions: ArrayLike<number>;
|
|
2165
|
+
/** Which side of the car the door is on (the sign of its outward direction across the car). */
|
|
2166
|
+
readonly side: number;
|
|
2167
|
+
/** Distance from the skin to the inner panel, metres (default `DOOR_SHELL_DEPTH`). */
|
|
2168
|
+
readonly depth?: number;
|
|
2169
|
+
/** The outward direction of the skin, a unit vector (default across the car, `[0, 0, side]`); a tailgate faces backwards. */
|
|
2170
|
+
readonly outward?: readonly [number, number, number];
|
|
2171
|
+
};
|
|
2172
|
+
type DoorShellResult = {
|
|
2173
|
+
/** The fold round the edge: a band from every free edge of the skin back to the inner panel. */
|
|
2174
|
+
readonly flange: Float32Array;
|
|
2175
|
+
/** The inner panel: the skin moved in by the depth, wound to face into the car. */
|
|
2176
|
+
readonly inner: Float32Array;
|
|
2177
|
+
/** Free edges the skin had (the edges the fold now covers). */
|
|
2178
|
+
readonly freeEdges: number;
|
|
2179
|
+
};
|
|
2180
|
+
/** Closes a skin into a shell: the inner panel behind it and the fold along every free edge, so no edge of the door is left open. */
|
|
2181
|
+
declare function doorShell(params: DoorShellParams): DoorShellResult;
|
|
2182
|
+
/** Free edges of a set of triangles taken together, longer than `minLength` metres (default any): zero when they close a volume. */
|
|
2183
|
+
declare function openEdgeCount(positions: ArrayLike<number>, minLength?: number): number;
|
|
2184
|
+
|
|
2098
2185
|
/**
|
|
2099
2186
|
* Armour levels of a vehicle, after NIJ 0108: the level says which rounds the glass and the steel stop, and how many hits they take
|
|
2100
2187
|
* before they give. Every number is configurable: a game passes its own table in `VehicleDestructibleOptions.armourLevels`.
|
|
@@ -2242,6 +2329,11 @@ interface VehicleDestructibleOptions {
|
|
|
2242
2329
|
hitch?: boolean;
|
|
2243
2330
|
/** Do not create or move any mesh (logic only, for servers and tests that need no scene). */
|
|
2244
2331
|
headless?: boolean;
|
|
2332
|
+
/**
|
|
2333
|
+
* Draw a puddle of its own under each leak (default true). A host whose fluid world lays what leaks (the `leak` event carries the part, the fluid, the hole
|
|
2334
|
+
* and the rate) passes false, so the liquid shows once, as much as came out, instead of a drawing of a fixed size on top of it.
|
|
2335
|
+
*/
|
|
2336
|
+
puddles?: boolean;
|
|
2245
2337
|
/** Extra seed for the choices that are random in the real world (which way a broken steering pulls). */
|
|
2246
2338
|
seed?: number;
|
|
2247
2339
|
/** How full the fuel tank starts, 0 to 1 (default 1). A nearly empty tank leaks little and lights easily (see `ignition`). */
|
|
@@ -2439,6 +2531,24 @@ declare function swingOf(vehicle: VehicleContext, partId: string): number;
|
|
|
2439
2531
|
*/
|
|
2440
2532
|
declare function cabinEnclosure(source: CabinSource, options?: CabinEnclosureOptions): Enclosure | null;
|
|
2441
2533
|
|
|
2534
|
+
/** The widest a through-hole in a roof or pane may be and still keep the rain out: a bullet hole does not let it in, a blast hole does (the same as a house roof). */
|
|
2535
|
+
declare const RAIN_OPENING_DIAMETER = 0.3;
|
|
2536
|
+
/** How far a car has to go (metres) or turn (radians) before the far curtain cuts its cover again; the near rain always follows the live position. */
|
|
2537
|
+
declare const RAIN_MOVE_STEP = 1;
|
|
2538
|
+
declare const RAIN_TURN_STEP = 0.08;
|
|
2539
|
+
interface VehicleRainCover {
|
|
2540
|
+
readonly source: FootprintRainCoverSource;
|
|
2541
|
+
/** Reads the damage state again (a part broke, a hole opened); call it every half second or after a hit. */
|
|
2542
|
+
refreshShell(): void;
|
|
2543
|
+
/** Puts the cover where the vehicle is now; cheap, call it every frame the vehicle moved. */
|
|
2544
|
+
place(): void;
|
|
2545
|
+
}
|
|
2546
|
+
interface VehicleRainCoverOptions {
|
|
2547
|
+
/** The object the destructible answers in (its `frame` option): the holes of `state()` are in its space. Default `vehicle.root`. */
|
|
2548
|
+
readonly frame?: unknown;
|
|
2549
|
+
}
|
|
2550
|
+
declare function createVehicleRainCover(source: CabinSource, options?: VehicleRainCoverOptions): VehicleRainCover;
|
|
2551
|
+
|
|
2442
2552
|
/** Vehicle cabin categories covered by the R6 interior clearance table. */
|
|
2443
2553
|
declare const CABIN_CATEGORIES: readonly ["passenger_car", "suv_pickup", "van", "truck", "bus", "agricultural", "military_light", "military_armored", "open_vehicle", "boat_cabin", "aircraft_enclosed"];
|
|
2444
2554
|
type CabinCategory = (typeof CABIN_CATEGORIES)[number];
|
|
@@ -2464,4 +2574,4 @@ declare const CABIN_MINIMUMS: Readonly<Record<CabinCategory, CabinMinimum>>;
|
|
|
2464
2574
|
/** Returns the minimum interior clearances for a cabin category. */
|
|
2465
2575
|
declare const cabinMinimumOf: (category: CabinCategory) => CabinMinimum;
|
|
2466
2576
|
|
|
2467
|
-
export { ARMOUR_LEVELS, type ArmourLevel, type ArmourLevelId, type Band, type BandId, type BandIndex, type BandOverride, type BayBox, type BuildFunction, type BuildOptions, type BuildState, type BuildZoneState, type BusRowsOptions, CABIN_CATEGORIES, CABIN_LEAK, CABIN_MINIMUMS, CABIN_SOURCE, CRASH_RULES, type CabinBox, type CabinCategory, type CabinDoorMinimum, type CabinEnclosureOptions, type CabinMinimum, type CabinSource, type CarSpec, type CarWheel, type CrashOptions, type CrashResult, type CrashRules, type CreaseQueue, type CreaseWork, type CutTest, type DamageMapOptions, type DamageZone, type Damageable, type DamageableKind, type DamageableMaterial, type DamageableSide, type DashboardOptions, type DriveReport, ENTRY_DUCK_FACTOR, type EngineBaySpec, type ExplodeOptions, type FlagEffect, type FluidDefinition, type GlassOptions, type GlassQuad, type Greenhouse, type GrilleOptions, type HeadlightLens, type HeadlightOptions, type ImpactOptions, type InteriorOptions, JOINT_RULES, type JointDef, type KitConfiguration, type KitInternals, type KitTexts, LEGACY_STATES, LEGACY_ZONE_IDS, type LabelArgument, type LocalBox, type LocaleStrings, type LodSettings, type LoftRow, type LoftStation, type OverallHealth, PLUME_PUFFS, type PaneLook, type PartDef, type PartLabel, type PartRole, type PartialLocaleStrings, type ParticleEffectRequest, type ParticleEffects, type ParticleMaterials, type PathItem, type Plugin, type Puddle, type PuddleLobe, type ResolvedConfiguration, type RollState, SEED_SALTS, SMOKE_LOOKS, SMOKE_WIND, type ScenarioContext, type ScenarioDefinition, type ScenarioResult, type SceneNode, type SeatOptions, type ShellSpec, SmokeCause, type SmokeLook, type SmokePuff, type SmokePuffParams, type SmoothLoftOptions, type Splat, type SplatOptions, type StrayLamp, type TaillightOptions, type ThreeObject, type ThreeVector, type Translate, type TumbleSpec, type UiHelpers, type UnderbodySpec, type VehicleContext, type VehicleDestructible, type VehicleDestructibleOptions, type VehicleItem, type VehicleItemOptions, type VehicleKit, type VehicleKitOptions, type VehicleLamp, type VehicleMeta, type VehicleModel, type VehiclePart, type VehicleSpec, type VehicleStatus, type WarpFn, type WarpOptions, type ZoneDamageEntry, type ZoneDef, type ZoneEffect, type ZoneState, armourLevelOf, buildVehicleItem, buildVehicleModel, cabinBoxOf, cabinEnclosure, cabinMinimumOf, clamp, crackedGlassMaterial, crashDeltaV, crashVehicle, createCreaseQueue, createLod, createTranslate, createVehicleDestructible, createVehicleKit, defaultDamageableKinds, defaultLodSettings, engineBayVent, format, hash, legacyGlassId, legacyLightId, legacyZoneId, listLocales, registerLegacySeeds, registerLocale, resolveStrings, rng, smokeCauseOfEmitter, smokePuff, smokeRate, smooth, strHash, strayLampsOf, swingOf, wrapThreeForLod };
|
|
2577
|
+
export { ARMOUR_LEVELS, type ArmourLevel, type ArmourLevelId, type Band, type BandId, type BandIndex, type BandOverride, type BayBox, type BuildFunction, type BuildOptions, type BuildState, type BuildZoneState, type BusRowsOptions, CABIN_CATEGORIES, CABIN_LEAK, CABIN_MINIMUMS, CABIN_SOURCE, CRASH_RULES, type CabinBox, type CabinCategory, type CabinDoorMinimum, type CabinEnclosureOptions, type CabinMinimum, type CabinSource, type CarSpec, type CarWheel, type CrashOptions, type CrashResult, type CrashRules, type CreaseQueue, type CreaseWork, type CutTest, DOOR_SHELL_DEPTH, DOOR_SHELL_MAX_DEPTH, type DamageMapOptions, type DamageZone, type Damageable, type DamageableKind, type DamageableMaterial, type DamageableSide, type DashboardOptions, type DoorShellParams, type DoorShellResult, type DriveReport, ENTRY_DUCK_FACTOR, type EngineBaySpec, type ExplodeOptions, type FlagEffect, type FluidDefinition, type GlassOptions, type GlassQuad, type Greenhouse, type GrilleOptions, type HeadlightLens, type HeadlightOptions, type ImpactOptions, type InteriorOptions, JOINT_RULES, type JointDef, type KitConfiguration, type KitInternals, type KitTexts, LEGACY_STATES, LEGACY_ZONE_IDS, type LabelArgument, type LocalBox, type LocaleStrings, type LodSettings, type LoftRow, type LoftStation, type OverallHealth, PLUME_PUFFS, type PaneLook, type PartDef, type PartLabel, type PartRole, type PartialLocaleStrings, type ParticleEffectRequest, type ParticleEffects, type ParticleMaterials, type PathItem, type Plugin, type Puddle, type PuddleLobe, RAIN_MOVE_STEP, RAIN_OPENING_DIAMETER, RAIN_TURN_STEP, type ResolvedConfiguration, type RollState, SEED_SALTS, SMOKE_LOOKS, SMOKE_WIND, type ScenarioContext, type ScenarioDefinition, type ScenarioResult, type SceneNode, type SeatOptions, type ShellSpec, SmokeCause, type SmokeLook, type SmokePuff, type SmokePuffParams, type SmoothLoftOptions, type Splat, type SplatOptions, type StrayLamp, type TaillightOptions, type ThreeObject, type ThreeVector, type Translate, type TumbleSpec, type UiHelpers, type UnderbodySpec, type VehicleContext, type VehicleDestructible, type VehicleDestructibleOptions, type VehicleItem, type VehicleItemOptions, type VehicleKit, type VehicleKitOptions, type VehicleLamp, type VehicleMeta, type VehicleModel, type VehiclePart, type VehicleRainCover, type VehicleRainCoverOptions, type VehicleSpec, type VehicleStatus, type WarpFn, type WarpOptions, type ZoneDamageEntry, type ZoneDef, type ZoneEffect, type ZoneState, armourLevelOf, buildVehicleItem, buildVehicleModel, cabinBoxOf, cabinEnclosure, cabinMinimumOf, clamp, crackedGlassMaterial, crashDeltaV, crashVehicle, createCreaseQueue, createLod, createTranslate, createVehicleDestructible, createVehicleKit, createVehicleRainCover, defaultDamageableKinds, defaultLodSettings, doorShell, engineBayVent, format, hash, legacyGlassId, legacyLightId, legacyZoneId, listLocales, openEdgeCount, registerLegacySeeds, registerLocale, resolveStrings, rng, smokeCauseOfEmitter, smokePuff, smokeRate, smooth, strHash, strayLampsOf, swingOf, wrapThreeForLod };
|