| 83 | } |
| 84 | |
| 85 | ScriptId create(ScriptWorld &sw, UnitId unit, const ScriptDesc &desc) |
| 86 | { |
| 87 | u32 unit_index = 0; |
| 88 | create_instances(sw, &desc, 1, &unit, &unit_index); |
| 89 | return instance(sw, unit); |
| 90 | } |
| 91 | |
| 92 | void destroy(ScriptWorld &sw, ScriptId inst) |
| 93 | { |
nothing calls this directly
no test coverage detected