shardify_unittype
This function takes a raw engine unit type, and wraps it in a Shard friendly wrapper. The implementation of this function is API implementation specific.
For example, if you’re running the Spring Engine, and have a unit type ID, you can pass it to shardify_unittype
, and receive a Shard Engine unit type object.
When running as a native AI using the Spring Shard AI, shardify_unittype
will make no changes, as the Spring native AI interface already provides the expected API.