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.
51 lines
1.1 KiB
51 lines
1.1 KiB
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 同步克隆数据基类
|
||
|
/// </summary>
|
||
|
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; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 克隆车数据
|
||
|
/// </summary>
|
||
|
public class CloneSyncCarData : CloneSyncDataBase
|
||
|
{
|
||
|
public FireCarEngine CarMessage { get; set; }
|
||
|
}
|
||
|
/// <summary>
|
||
|
/// 克隆消防员
|
||
|
/// </summary>
|
||
|
public class CloneSyncPersonData: CloneSyncDataBase
|
||
|
{
|
||
|
|
||
|
}
|
||
|
/// <summary>
|
||
|
/// 技能同步数据
|
||
|
/// </summary>
|
||
|
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
|
||
|
}
|
||
|
}
|