40 lines
756 B
C#
40 lines
756 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Assets.Scripts.API.MTEGetMarksLabelsByArrPoint
|
|
{
|
|
[System.Serializable]
|
|
public class ApiResponse
|
|
{
|
|
public string error;
|
|
public ResponseData respose;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class ResponseData
|
|
{
|
|
public Item[] items;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Item
|
|
{
|
|
public string aliases;
|
|
public string block_name;
|
|
public CenterPoint center_point;
|
|
public bool is_mark_detect;
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class CenterPoint
|
|
{
|
|
public float x;
|
|
public float y;
|
|
public float z;
|
|
}
|
|
}
|
|
|