Use explicit implementation in ScriptTriggers.cs

This commit is contained in:
abcdefg30
2019-03-11 19:11:41 +01:00
committed by reaperrr
parent 59a438b80e
commit f021439dee

View File

@@ -152,7 +152,7 @@ namespace OpenRA.Mods.Common.Scripting
OnKilledInternal(self); OnKilledInternal(self);
} }
public void UnitProduced(Actor self, Actor other, CPos exit) void INotifyProduction.UnitProduced(Actor self, Actor other, CPos exit)
{ {
if (world.Disposing) if (world.Disposing)
return; return;
@@ -409,7 +409,7 @@ namespace OpenRA.Mods.Common.Scripting
} }
} }
public void UnitProducedByOther(Actor self, Actor producee, Actor produced, string productionType, TypeDictionary init) void INotifyOtherProduction.UnitProducedByOther(Actor self, Actor producee, Actor produced, string productionType, TypeDictionary init)
{ {
if (world.Disposing) if (world.Disposing)
return; return;
@@ -435,7 +435,7 @@ namespace OpenRA.Mods.Common.Scripting
OnOtherProducedInternal(producee, produced); OnOtherProducedInternal(producee, produced);
} }
public void OnDiscovered(Actor self, Player discoverer, bool playNotification) void INotifyDiscovered.OnDiscovered(Actor self, Player discoverer, bool playNotification)
{ {
if (world.Disposing) if (world.Disposing)
return; return;