Add ITransformActorInitModifier.
Remove hardcoded Cargo reference from Transform.
This commit is contained in:
@@ -280,6 +280,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
void ModifyDeathActorInit(Actor self, TypeDictionary init);
|
||||
}
|
||||
|
||||
public interface ITransformActorInitModifier
|
||||
{
|
||||
void ModifyTransformActorInit(Actor self, TypeDictionary init);
|
||||
}
|
||||
|
||||
public interface IPreventsAutoTarget
|
||||
{
|
||||
bool PreventsAutoTarget(Actor self, Actor attacker);
|
||||
|
||||
Reference in New Issue
Block a user