morpionReseau/go01/socketPlateauEventArgs.cs

51 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace go01
{
public class socketPlateauServJoinArgs : EventArgs
{
public Goban.ConfigGo_S ConfigGo;
public socketPlateauServJoinArgs(Goban.ConfigGo_S cfg)
{
this.ConfigGo = cfg;
}
}
public class socketPlateauServACKArgs : EventArgs
{
public bool ack;
public socketPlateauServACKArgs(bool ack)
{
this.ack = ack;
}
}
public class socketPlateauServDemandeCo : EventArgs
{
public socketPlateauServDemandeCo()
{
}
}
public class socketPlateauServReception : EventArgs
{
public socketPlateauBase.CommandeSocket_S cmd;
public socketPlateauServReception(socketPlateauBase.CommandeSocket_S cmd)
{
this.cmd = cmd;
}
}
public class socketPlateauConnected : EventArgs
{
public Goban.ConfigGo_S ConfigGo;
public socketPlateauConnected(Goban.ConfigGo_S cfg)
{
this.ConfigGo = cfg;
}
}
}