using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 同步克隆数据基类 /// public class CloneSyncDataBase { public Vector3 ClonePosition { get; set; } public CloneObjType CloneType { get; set; } public long CloneID { get; set; } public string CloneName { get; set; } public long UserID { get; set; } public string BuildNum { get; set; } public int FloorNum { get; set; } public int InterLayerNum { get; set; } } /// /// 克隆车数据 /// public class CloneSyncCarData : CloneSyncDataBase { public FireCarEngine CarMessage { get; set; } } /// /// 克隆消防员 /// public class CloneSyncPersonData: CloneSyncDataBase { } /// /// 技能同步数据 /// public class SkillSyncData { public bool IsFixedSupport { get; set; } public long GameObjectID { get; set; } public Vector3 Position { get; set; } public CmdType Cmd { get; set; } public enum CmdType { LiftArm, ArmReset, Fixation, GetOff } }