openstranded-common-units 0.1.0

OpenStranded unit domain types: UnitDef, UnitAnimations, LootEntry, AnimFrame
Documentation
  • Coverage
  • 100%
    63 out of 63 items documented0 out of 0 items with examples
  • Size
  • Source code size: 69.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 414.1 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • OpenStranded/common-units
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AvengerAnubis

openstranded-common-units

Shared data types for the OpenStranded unit/AI system.

Part of the OpenStranded project. Published on crates.io.

Types

Type Purpose
UnitDef Full definition of a unit/creature type
AnimFrame Animation frame range (start, end, speed)
UnitAnimations All animation slots for a unit
LootEntry A loot drop entry (item_id + max count)
VehicleParams Vehicle-specific physics parameters

Dependencies

Only serde — this is a pure data crate with no engine dependencies.

License

GPL-3.0-or-later