Make IFirepowerModifier require explicit implementation
This commit is contained in:
@@ -24,6 +24,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public FirepowerMultiplier(FirepowerMultiplierInfo info, string actorType)
|
public FirepowerMultiplier(FirepowerMultiplierInfo info, string actorType)
|
||||||
: base(info, "FirepowerMultiplier", actorType) { }
|
: base(info, "FirepowerMultiplier", actorType) { }
|
||||||
|
|
||||||
public int GetFirepowerModifier() { return GetModifier(); }
|
int IFirepowerModifier.GetFirepowerModifier() { return GetModifier(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,6 +208,8 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
[RequireExplicitImplementation]
|
[RequireExplicitImplementation]
|
||||||
public interface ISpeedModifier { int GetSpeedModifier(); }
|
public interface ISpeedModifier { int GetSpeedModifier(); }
|
||||||
|
|
||||||
|
[RequireExplicitImplementation]
|
||||||
public interface IFirepowerModifier { int GetFirepowerModifier(); }
|
public interface IFirepowerModifier { int GetFirepowerModifier(); }
|
||||||
public interface IReloadModifier { int GetReloadModifier(); }
|
public interface IReloadModifier { int GetReloadModifier(); }
|
||||||
public interface IInaccuracyModifier { int GetInaccuracyModifier(); }
|
public interface IInaccuracyModifier { int GetInaccuracyModifier(); }
|
||||||
|
|||||||
Reference in New Issue
Block a user