add protos, dbs, parcels, and rest ref classes

This commit is contained in:
raphaeIl 2024-04-20 01:57:40 -04:00
parent 9c70eac424
commit 803c3d768c
4 changed files with 13664 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,249 @@

using SCHALE.Common.Database;
namespace SCHALE.Common.Parcel
{
public class CurrencyValue
{
public Dictionary<CurrencyTypes, long> Values { get; set; }
public Dictionary<CurrencyTypes, long> Tickets { get; set; }
public Dictionary<CurrencyTypes, long> Property { get; set; }
public long Gold { get; set; }
public long Gem { get; set; }
public long GemBonus { get; set; }
public long GemPaid { get; set; }
public long ActionPoint { get; set; }
public long ArenaTicket { get; set; }
public long RaidTicket { get; set; }
public long WeekDungeonChaserATicket { get; set; }
public long WeekDungeonChaserBTicket { get; set; }
public long WeekDungeonChaserCTicket { get; set; }
public long WeekDungeonFindGiftTicket { get; set; }
public long WeekDungeonBloodTicket { get; set; }
public long AcademyTicket { get; set; }
public long SchoolDungeonATicket { get; set; }
public long SchoolDungeonBTicket { get; set; }
public long SchoolDungeonCTicket { get; set; }
public long TimeAttackDungeonTicket { get; set; }
public long MasterCoin { get; set; }
public long WorldRaidTicketA { get; set; }
public long WorldRaidTicketB { get; set; }
public long WorldRaidTicketC { get; set; }
public long ChaserTotalTicket { get; set; }
public long SchoolDungeonTotalTicket { get; set; }
public long EliminateTicketA { get; set; }
public long EliminateTicketB { get; set; }
public long EliminateTicketC { get; set; }
public bool IsEmpty { get; set; }
}
public class FavorExpTransaction
{
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
public long TargetCharacterUniqueId { get; set; }
public long Amount { get; set; }
public long Prob { get; set; }
}
public class FavorParcelValue
{
public int FavorRank { get; set; }
public int FavorExp { get; set; }
//public IList<FavorLevelReward> Rewards { get; set; }
public bool IsEmpty { get; set; }
}
public class LocationExpTransaction
{
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
public long TargetLocationUniqueId { get; set; }
public long Amount { get; set; }
}
public class ParcelBase
{
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
}
public class ParcelCost
{
public List<ParcelInfo> ParcelInfos { get; set; }
public CurrencyTransaction Currency { get; set; }
public List<EquipmentDB> EquipmentDBs { get; set; }
public List<ItemDB> ItemDBs { get; set; }
public List<FurnitureDB> FurnitureDBs { get; set; }
public bool HasCurrency { get; set; }
public bool HasItem { get; set; }
public IEnumerable<ConsumableItemBaseDB> ConsumableItemBaseDBs { get; set; }
//public ConsumeCondition ConsumeCondition { get; set; }
}
public class ParcelDetail
{
public ParcelInfo OriginParcel { get; set; }
public ParcelInfo MailSendParcel { get; set; }
public List<ParcelInfo> ConvertedParcelInfos { get; set; }
public ParcelChangeType ParcelChangeType { get; set; }
}
public class ParcelInfo
{
public ParcelKeyPair Key { get; set; }
public long Amount { get; set; }
//public BasisPoint Multiplier { get; set; }
public long MultipliedAmount { get; set; }
//public BasisPoint Probability { get; set; }
}
public class ParcelKeyPair
{
public ParcelType Type { get; set; }
public long Id { get; set; }
}
public class ParcelResultDB
{
public AccountDB AccountDB { get; set; }
public List<AcademyLocationDB> AcademyLocationDBs { get; set; }
public AccountCurrencyDB AccountCurrencyDB { get; set; }
public List<CharacterDB> CharacterDBs { get; set; }
public List<WeaponDB> WeaponDBs { get; set; }
public List<CostumeDB> CostumeDBs { get; set; }
public List<CharacterDB> TSSCharacterDBs { get; set; }
public Dictionary<long, EquipmentDB> EquipmentDBs { get; set; }
public List<long> RemovedEquipmentIds { get; set; }
public Dictionary<long, ItemDB> ItemDBs { get; set; }
public List<long> RemovedItemIds { get; set; }
public Dictionary<long, FurnitureDB> FurnitureDBs { get; set; }
public List<long> RemovedFurnitureIds { get; set; }
public Dictionary<long, IdCardBackgroundDB> IdCardBackgroundDBs { get; set; }
public List<EmblemDB> EmblemDBs { get; set; }
public List<StickerDB> StickerDBs { get; set; }
public List<MemoryLobbyDB> MemoryLobbyDBs { get; set; }
public List<long> CharacterNewUniqueIds { get; set; }
public Dictionary<long, int> SecretStoneCharacterIdAndCounts { get; set; }
public List<ParcelInfo> DisplaySequence { get; set; }
public List<ParcelInfo> ParcelForMission { get; set; }
public List<ParcelResultStepInfo> ParcelResultStepInfoList { get; set; }
public long BaseAccountExp { get; set; }
public long AdditionalAccountExp { get; set; }
public List<long> GachaResultCharacters { get; set; }
}
public enum ParcelProcessActionType
{
// Token: 0x04009F7B RID: 40827
None,
// Token: 0x04009F7C RID: 40828
Cost,
// Token: 0x04009F7D RID: 40829
Reward
}
public class ParcelResultStepInfo
{
public ParcelProcessActionType ParcelProcessActionType { get; set; }
public List<ParcelDetail> StepParcelDetails { get; set; }
}
public class AccountExpTransaction
{
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
public long Amount { get; set; }
}
public class CharacterExpTransaction
{
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
public long TargetCharacterUniqueId { get; set; }
public long Amount { get; set; }
}
public class CurrencySnapshot
{
public AccountCurrencyDB LastAccountCurrencyDB { get; set; }
public Dictionary<CurrencyTypes, long> CurrencyValues { get; set; }
public CurrencyValue currencyValue { get; set; }
public DateTime ServerTimeSnapshot { get; set; }
public long Gold { get; set; }
public long Gem { get; set; }
public long GemBonus { get; set; }
public long GemPaid { get; set; }
public long ActionPoint { get; set; }
public long ArenaTicket { get; set; }
public long RaidTicket { get; set; }
public long WeekDungeonChaserATicket { get; set; }
public long WeekDungeonChaserBTicket { get; set; }
public long WeekDungeonChaserCTicket { get; set; }
public long WeekDungeonFindGiftTicket { get; set; }
public long WeekDungeonBloodTicket { get; set; }
public long AcademyTicket { get; set; }
public long SchoolDungeonATicket { get; set; }
public long SchoolDungeonBTicket { get; set; }
public long SchoolDungeonCTicket { get; set; }
public long TimeAttackDungeonTicket { get; set; }
public long MasterCoin { get; set; }
public long WorldRaidTicketA { get; set; }
public long WorldRaidTicketB { get; set; }
public long WorldRaidTicketC { get; set; }
public long ChaserTotalTicket { get; set; }
public long SchoolDungeonTotalTicket { get; set; }
public long EliminateTicketA { get; set; }
public long EliminateTicketB { get; set; }
public long EliminateTicketC { get; set; }
}
public class CurrencyTransaction
{
public CurrencyValue currencyValue { get; set; }
public ParcelType Type { get; set; }
public IEnumerable<ParcelInfo> ParcelInfos { get; set; }
public IDictionary<CurrencyTypes, long> CurrencyValues { get; set; }
public CurrencyTransaction Inverse { get; set; }
public bool IsEmpty { get; set; }
public long Gold { get; set; }
public long Gem { get; set; }
public long GemBonus { get; set; }
public long GemPaid { get; set; }
public long ActionPoint { get; set; }
public long ArenaTicket { get; set; }
public long RaidTicket { get; set; }
public long WeekDungeonChaserATicket { get; set; }
public long WeekDungeonChaserBTicket { get; set; }
public long WeekDungeonChaserCTicket { get; set; }
public long WeekDungeonFindGiftTicket { get; set; }
public long WeekDungeonBloodTicket { get; set; }
public long AcademyTicket { get; set; }
public long SchoolDungeonATicket { get; set; }
public long SchoolDungeonBTicket { get; set; }
public long SchoolDungeonCTicket { get; set; }
public long TimeAttackDungeonTicket { get; set; }
public long MasterCoin { get; set; }
public long WorldRaidTicketA { get; set; }
public long WorldRaidTicketB { get; set; }
public long WorldRaidTicketC { get; set; }
public long ChaserTotalTicket { get; set; }
public long SchoolDungeonTotalTicket { get; set; }
public long EliminateTicketA { get; set; }
public long EliminateTicketB { get; set; }
public long EliminateTicketC { get; set; }
}
}

View File

@ -7,6 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
</ItemGroup>