![]() |
|
#8
|
|||
|
|||
|
Yes the chat is captured during the mission.
http://code.google.com/p/il2dce/sour...IL2DCE/Core.cs Code:
public Core(GameDef game)
{
_game = game;
Game.EventChat += new GameDef.Chat(Game_EventChat);
Code:
void Game_EventChat(IPlayer from, string msg)
{
if(msg.Contains("!hello"))
{
Game.gpLogServer(new Player[] { from }, "Hello World!", null);
}
}
http://code.google.com/p/il2dce/sour.../GameSingle.cs Code:
public GameSingle(GameSingleIterface game)
: base(game)
{
core = new Core(this);
}
http://code.google.com/p/il2dce/sour...GameSingle.xml |
| Thread Tools | |
| Display Modes | |
|
|