mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 07:44:00 +00:00
Merge pull request #2 from ahasasjeb/main
This commit is contained in:
@@ -20,6 +20,8 @@ public class InventoryData : BaseDatabaseDataHelper
|
||||
|
||||
[SugarColumn(IsJson = true)]
|
||||
public Dictionary<uint, GameSupportCardInfo> SupportCards { get; set; } = []; // Key: UniqueId
|
||||
|
||||
public Dictionary<uint, uint> SkinTypesBySkinId { get; set; } = []; // Key: nSkinId, Value: client nType
|
||||
}
|
||||
|
||||
public class BaseGameItemInfo
|
||||
@@ -88,7 +90,7 @@ public class GameSkinInfo : BaseGameItemInfo
|
||||
Count = ItemCount,
|
||||
Flag = (uint)Flag,
|
||||
};
|
||||
proto.Slots[11] = SkinType;
|
||||
proto.Slots[11] = Math.Min(SkinType, 1);
|
||||
return proto;
|
||||
}
|
||||
}
|
||||
@@ -114,4 +116,4 @@ public class GameSupportCardInfo : BaseGameItemInfo
|
||||
proto.Slots[1] = AffixId;
|
||||
return proto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user