Pull out potentially mod-specific player join code (slightly bogus, will fix properly later)

This commit is contained in:
Paul Chote
2010-11-08 16:11:36 +13:00
parent 967b16fc0e
commit 836b3a598b
3 changed files with 66 additions and 62 deletions

View File

@@ -13,7 +13,8 @@ namespace OpenRA.Server.Traits
// Returns true if order is handled
public interface IInterpretCommand { bool InterpretCommand(Connection conn, string cmd); }
public interface IStartServer { void ServerStarted(); }
public interface IClientJoined { void ClientJoined(Connection conn); }
public class DebugServerTrait : IInterpretCommand
{
public bool InterpretCommand(Connection conn, string cmd)