贵港路建设路地下商业街网上演练
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
855 B

using System;
using System.Collections;
using System.Collections.Generic;
using AX.Network.Protocols;
using UnityEngine;
using AX.Serialization;
using AX.MessageSystem;
public class REPORT_ERROR_SYNC : NetworkMessageBehaviour
{
public static List<ReportErroeSyncData> ErrorList = new List<ReportErroeSyncData>();
protected override void Execute(BinaryMessage message)
{
InputHistory.Instance.RegisterInputHistory(message);
var info = message.Body.Deserialize<ReportErroeSyncData>();
// var sender = info.SendUserID;
if (InputManager.Instance)
{
if (CurrentUserInfo.role == Role.||CurrentUserInfo.role==Role.)
{
//MessageDispatcher.SendMessage("ReportError", info);
ErrorList.Add(info);
}
}
}
}