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.
50 lines
1.0 KiB
50 lines
1.0 KiB
1 month ago
|
/*
|
||
|
Sog 游戏基础库
|
||
|
2016 by zouwei
|
||
|
*/
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Threading.Tasks;
|
||
|
using System.Runtime.Serialization;
|
||
|
|
||
|
using Sog.Log;
|
||
|
using ProtoCSStruct;
|
||
|
|
||
|
namespace Game
|
||
|
{
|
||
|
|
||
|
public class ClaVector {
|
||
|
public float x;
|
||
|
public float y;
|
||
|
public float z;
|
||
|
}
|
||
|
|
||
|
public class ClaPosition
|
||
|
{
|
||
|
public float x;
|
||
|
public float y;
|
||
|
|
||
|
}
|
||
|
public class ClaDungeonEventOne {
|
||
|
public int eventId;
|
||
|
public int id;
|
||
|
public ClaVector position;
|
||
|
public List<int> linkRooms;
|
||
|
}
|
||
|
public class ClaDungeonAreaOne {
|
||
|
public int id;
|
||
|
public ClaVector position;
|
||
|
public ClaPosition size;
|
||
|
public int level;
|
||
|
public List<ClaDungeonEventOne> tiles = new List<ClaDungeonEventOne>();
|
||
|
public List<ClaDungeonEventOne> events = new List<ClaDungeonEventOne>();
|
||
|
}
|
||
|
|
||
|
public class GameDungeonCfg
|
||
|
{
|
||
|
public Dictionary<int, ClaDungeonAreaOne> areas = new Dictionary<int, ClaDungeonAreaOne>();
|
||
|
}
|
||
|
}
|