备份CatanBuilding瘦身独立工程
This commit is contained in:
56
Assets/Scripts/Services/SmallGameModel.cs
Normal file
56
Assets/Scripts/Services/SmallGameModel.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace game
|
||||
{
|
||||
public enum EnemyType : byte
|
||||
{
|
||||
Bomb = 0,
|
||||
Heist = 1,
|
||||
Aquarium = 2,
|
||||
}
|
||||
public class SetCampIDRequest
|
||||
{
|
||||
public string playerID;
|
||||
public int campID;
|
||||
}
|
||||
public class SetCampIDResponse
|
||||
{
|
||||
}
|
||||
public class GetCampIDRequest
|
||||
{
|
||||
public List<string> playerIDs;
|
||||
}
|
||||
public class GetCampIDResponse
|
||||
{
|
||||
public Dictionary<string, int> campIDs;
|
||||
}
|
||||
/// <summary>
|
||||
/// 敌人
|
||||
/// </summary>
|
||||
public class SetEnemyIDRequest
|
||||
{
|
||||
public string playerID;
|
||||
public string enemyID;
|
||||
public EnemyType enemyType;
|
||||
public int albumEventID;
|
||||
public string content;
|
||||
}
|
||||
public class SetEnemyIDResponse
|
||||
{
|
||||
}
|
||||
public class GetEnemyIDRequest
|
||||
{
|
||||
public string playerID;
|
||||
public EnemyType enemyType;
|
||||
public int albumEventID;
|
||||
}
|
||||
public class GetEnemyIDResponse
|
||||
{
|
||||
public EnemyType enemyType;
|
||||
public List<string> enemyIDs;
|
||||
public List<int> campID;
|
||||
//public List<float> scoreList;
|
||||
//public List<string> avatar { get; set; }
|
||||
//public List<string> displayName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user