|
@@ -59,7 +59,15 @@ namespace FL.Data
|
|
|
/// 没有上阵为-1
|
|
|
/// </summary>
|
|
|
public Dictionary<int, int> UpSbPosMap { get; private set; } = new();
|
|
|
+ /// <summary>
|
|
|
+ /// key:uid
|
|
|
+ /// value:位置
|
|
|
+ /// </summary>
|
|
|
public Dictionary<long, int> UpSbUIDPosMap { get; private set; } = new();
|
|
|
+ /// <summary>
|
|
|
+ /// key:位置
|
|
|
+ /// value:uid
|
|
|
+ /// </summary>
|
|
|
public Dictionary<int, int> UpSbMap { get; private set; } = new();
|
|
|
|
|
|
public void ClearSbUpMap()
|
|
@@ -118,7 +126,7 @@ namespace FL.Data
|
|
|
/// <param name="uid">圣兵uid</param>
|
|
|
public int GetPartnerUpPosByUID(long uid)
|
|
|
{
|
|
|
- return UpPartnerUIDMap.GetValueOrDefault(uid, -1);
|
|
|
+ return UpSbUIDPosMap.GetValueOrDefault(uid, -1);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|