This commit is contained in:
SergoDobro 2023-08-17 13:14:14 +03:00
parent 62a32ccdce
commit 6b40bbe881
2 changed files with 5 additions and 1 deletions

View file

@ -176,6 +176,8 @@ namespace DangerousD.GameCore
public void NetworkSync(NetworkTask networkTask)
{
//TODO
return;
switch (networkTask.operation)
{
case NetworkTaskOperationEnum.TakeDamage:

View file

@ -88,7 +88,9 @@ namespace DangerousD.GameCore.Network
catch { }
}
public void SendMsg(NetworkTask networkTask)
{
{
//TODO
return;
byte[] Data = Encoding.Unicode.GetBytes(JsonConvert.SerializeObject(networkTask));
int count = Data.Length;
if (state == "Host")