Client
This commit is contained in:
parent
17677fbbf0
commit
f5ad504af6
2 changed files with 17 additions and 11 deletions
|
@ -1,5 +1,14 @@
|
|||
|
||||
class Client
|
||||
namespace ZoFo.GameCore
|
||||
{
|
||||
public class Client
|
||||
{
|
||||
public void OnDataSend(string Data){ }
|
||||
|
||||
public void GameEndedUnexpectedly(){ }
|
||||
|
||||
public void JoinRoom() { }
|
||||
|
||||
public void JoinYourself(){ }
|
||||
}
|
||||
}
|
|
@ -1,20 +1,17 @@
|
|||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Threading;
|
||||
|
||||
namespace ZoFo.GameCore.GameManagers.NetworkManager;
|
||||
|
||||
public delegate void OnDataSent(string Data);
|
||||
|
||||
public class ClientNetworkManager
|
||||
namespace ZoFo.GameCore.GameManagers.NetworkManager
|
||||
{
|
||||
static public event OnDataSent DataSent;
|
||||
public delegate void OnDataSent(string Data);
|
||||
|
||||
static void OnDataSent(string Data)
|
||||
{
|
||||
|
||||
}
|
||||
static void StartListening()
|
||||
public class ClientNetworkManager
|
||||
{
|
||||
public event OnDataSent DataSent;
|
||||
public static void StartListening()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue