Split INotifyWinStateChanged from INotifyObjectivesUpdated
This commit is contained in:
@@ -436,13 +436,18 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyObjectivesUpdated
|
||||
{
|
||||
void OnPlayerWon(Player winner);
|
||||
void OnPlayerLost(Player loser);
|
||||
void OnObjectiveAdded(Player player, int objectiveID);
|
||||
void OnObjectiveCompleted(Player player, int objectiveID);
|
||||
void OnObjectiveFailed(Player player, int objectiveID);
|
||||
}
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyWinStateChanged
|
||||
{
|
||||
void OnPlayerWon(Player winner);
|
||||
void OnPlayerLost(Player loser);
|
||||
}
|
||||
|
||||
public interface INotifyCashTransfer
|
||||
{
|
||||
void OnAcceptingCash(Actor self, Actor donor);
|
||||
|
||||
Reference in New Issue
Block a user