30 lines
1000 B
C#
30 lines
1000 B
C#
using System.Collections.Generic;
|
|
|
|
namespace BingoBrain
|
|
{
|
|
public class BoardModel
|
|
{
|
|
public List<Board> dataList;
|
|
}
|
|
|
|
public class Board
|
|
{
|
|
public int[][] vector2;
|
|
public int[] offset;
|
|
}
|
|
|
|
public class StackedModel
|
|
{
|
|
public List<Stacked> dataList;
|
|
}
|
|
|
|
public class Stacked
|
|
{
|
|
public int[] site;
|
|
public int[] offset;
|
|
public int num;
|
|
}
|
|
}
|
|
|
|
|
|
// "{\"level\":1,\"board\":[{\"vector2\":[[1,0,0,0,0,0],[1,0,0,0,0,0],[1,1,1,0,0,0],[0,1,1,1,1,1],[0,1,1,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[0,0,0,0]},{\"vector2\":[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,1,1,1,0],[0,0,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[0,1,0,0]},{\"vector2\":[[0,0,0,0,0,0],[0,0,0,0,0,0],[0,1,0,0,0,0],[0,1,0,0,0,0],[0,1,0,0,0,0],[0,0,0,0,0,0],[0,0,0,0,0,0]],\"offset\":[1,0,0,0]}],\"stacked\":[{\"site\":[1,6],\"offset\":[0,1,0,0],\"num\":6},{\"site\":[7,6],\"offset\":[0,0,0,1],\"num\":5}],\"item_type\":3}" |