logistic index

This commit is contained in:
Naruse
2026-04-29 13:04:17 +08:00
parent 5f173ce8d2
commit e8bb77e90e
3 changed files with 49 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ public class CharacterInfo
public uint WeaponUniqueId { get; set; }
public uint SkinId { get; set; }
public uint WeaponSkinId { get; set; }
public uint SupportTeamIndex { get; set; } = 1;
public ItemFlagEnum Flag { get; set; } = ItemFlagEnum.FLAG_READED;
public uint Expiration { get; set; }
[SugarColumn(IsJson = true)] public List<uint> UnlockedSkin { get; set; } = [];
@@ -58,6 +59,7 @@ public class CharacterInfo
proto.Slots[(uint)ItemCardSlotTypeEnum.SLOT_WEAPON] = WeaponUniqueId;
proto.Slots[(uint)ItemCardSlotTypeEnum.SLOT_SKIN] = SkinId;
proto.Slots[(uint)ItemCardSlotTypeEnum.SLOT_WEAPON_SKIN] = WeaponSkinId;
proto.Slots[(uint)ItemCardSlotTypeEnum.SLOT_SUPPORTERINDEX] = SupportTeamIndex;
foreach (var (slot, uid) in SupportSlots)
proto.Slots[slot] = uid;