fixes
This commit is contained in:
parent
62a32ccdce
commit
6b40bbe881
2 changed files with 5 additions and 1 deletions
|
@ -176,6 +176,8 @@ namespace DangerousD.GameCore
|
|||
|
||||
public void NetworkSync(NetworkTask networkTask)
|
||||
{
|
||||
//TODO
|
||||
return;
|
||||
switch (networkTask.operation)
|
||||
{
|
||||
case NetworkTaskOperationEnum.TakeDamage:
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue