备份CatanBuilding瘦身独立工程
This commit is contained in:
63
Assets/Scripts/Duel/IDuelPlayerModel.cs
Normal file
63
Assets/Scripts/Duel/IDuelPlayerModel.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
public interface IDuelPlayerModel
|
||||
{
|
||||
int RoleID { get; set; }
|
||||
string PlayerID { get; set; }
|
||||
string PlayerName { get; set; }
|
||||
string PlayerAvatar { get; set; }
|
||||
List<int> CarLevels { get; set; }
|
||||
int RankScore { get; set; }
|
||||
int Mag { get; set; } //倍率
|
||||
int RodId { get; set; } //鱼竿ID
|
||||
int RodLevel { get; set; } //鱼竿等级
|
||||
int RodStar { get; set; } //鱼竿星级
|
||||
int CurrentPTS { get; set; }
|
||||
int CurrentFailNum { get; set; }
|
||||
|
||||
List<DuelFishingData> DuelFishingDatas { get; set; } //对战数据
|
||||
void Init(string playerID, string playerName, string playerAvatar, int randScore, int mag, int maxFail);
|
||||
void Start();
|
||||
void SetRodData(DuelRodData rodData);
|
||||
//抛竿
|
||||
void CastRod(int fishID);
|
||||
//起杆
|
||||
//void StartFishing();
|
||||
//结算
|
||||
bool StopFishing(FishInfoData fishInfoData);
|
||||
List<DuelFishingData> GetShowDatas();
|
||||
}
|
||||
public struct DuelRodData
|
||||
{
|
||||
public int rodId; //鱼竿ID
|
||||
public int rodLevel; //鱼竿等级
|
||||
public int rodStar; //鱼竿星级
|
||||
}
|
||||
public struct FishInfoData
|
||||
{
|
||||
public int fishItemId; //鱼ID
|
||||
public int point; //分数
|
||||
public float fishCardAdd; //鱼卡加成
|
||||
public float fishRodAdd; //鱼竿加成
|
||||
public bool higher; //是否高分
|
||||
public bool higherCard; //是否高分
|
||||
public bool higherRod; //是否高分
|
||||
}
|
||||
public class DuelFishingData
|
||||
{
|
||||
//静默时间,从结算到起杆时间
|
||||
public int slienceTime { get; set; }
|
||||
|
||||
//抛竿到起杆时间
|
||||
//public int castingTime { get; set; }
|
||||
//抛竿时间到钓鱼时间
|
||||
public int fishingTime { get; set; }
|
||||
public bool isWin { get; set; }
|
||||
public int fishItemId { get; set; }
|
||||
public int point { get; set; }
|
||||
public int failNum { get; set; } //失败次数
|
||||
//鱼卡加成
|
||||
public float fishCardAdd { get; set; } //鱼卡加成
|
||||
public float fishRodAdd { get; set; } //鱼杆加成
|
||||
}
|
||||
Reference in New Issue
Block a user