Traits: add ICreatePlayersInfo

Signed-off-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
Paul Chote
2020-09-23 17:10:02 +02:00
committed by abcdefg30
parent 41814a881d
commit dd18829def
3 changed files with 61 additions and 2 deletions

View File

@@ -367,6 +367,12 @@ namespace OpenRA.Traits
[RequireExplicitImplementation]
public interface ICreatePlayers { void CreatePlayers(World w); }
[RequireExplicitImplementation]
public interface ICreatePlayersInfo : ITraitInfoInterface
{
void CreateServerPlayers(MapPreview map, Session lobbyInfo, List<GameInformation.Player> players);
}
public interface IBotInfo : ITraitInfoInterface
{
string Type { get; }