diff --git a/SCHALE.Common/Crypto/PacketCryptManager.cs b/SCHALE.Common/Crypto/PacketCryptManager.cs index 46115df..5f429d5 100644 --- a/SCHALE.Common/Crypto/PacketCryptManager.cs +++ b/SCHALE.Common/Crypto/PacketCryptManager.cs @@ -13,7 +13,7 @@ namespace MX.Core.Crypto // private static readonly short PROTOCOL_HEAD_RESERVE = 8; private readonly XORCryptor _cryptor = new(); private readonly FastCRC _checke = new(); - private ProtocolConverter _converter = new(); + private SCHALE.Common.Crypto.ProtocolConverter _converter = new(); public static PacketCryptManager Instance = new(); public byte[] RequestToBinary(Protocol protocol, string json) diff --git a/SCHALE.Common/Crypto/TableService.cs b/SCHALE.Common/Crypto/TableService.cs index f163d1a..c636479 100644 --- a/SCHALE.Common/Crypto/TableService.cs +++ b/SCHALE.Common/Crypto/TableService.cs @@ -1,10 +1,12 @@ using Google.FlatBuffers; +using System.Data.SQLite; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using SCHALE.Common.Crypto.XXHash; using SCHALE.Common.FlatData; using System.Reflection; using System.Text; +using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database; namespace SCHALE.Common.Crypto { @@ -36,11 +38,63 @@ namespace SCHALE.Common.Crypto } #if DEBUG + public static List GetExcelList(Type type, string exceldbDir, string schema) + { + var excelList = new List(); + using (var dbConnection = new SQLiteConnection($"Data Source = {exceldbDir}")) + { + dbConnection.Open(); + var command = dbConnection.CreateCommand(); + command.CommandText = $"SELECT Bytes FROM {schema}"; + using (var reader = command.ExecuteReader()) + { + while (reader.Read()) + { + excelList.Add(type.GetMethod($"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)])! + .Invoke(null, [new ByteBuffer((byte[])reader[0])])); + } + } + } + + return excelList; + } + + public static void DumpExcelDB(string exceldbDir, string destDir) + { + Directory.CreateDirectory(destDir); + + using (var dbConnection = new SQLiteConnection($"Data Source = {exceldbDir}")) + { + dbConnection.Open(); + + string query = "SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%';"; + + using (var command = new SQLiteCommand(query, dbConnection)) + using (var reader = command.ExecuteReader()) + { + while (reader.Read()) + { + string dbSchemaName = reader.GetString(0); + string excelName = dbSchemaName.Replace("DBSchema", "Excel"); + var type = Assembly.GetAssembly(typeof(AcademyFavorScheduleExcelTable))!.GetTypes().Where(t => t.IsAssignableTo(typeof(IFlatbufferObject)) && (t.Name.Equals(excelName))).FirstOrDefault(); + + var list = GetExcelList(type, exceldbDir, dbSchemaName); + + File.WriteAllText(Path.Join(destDir, $"{type.Name}.json"), JsonConvert.SerializeObject(list, Formatting.Indented, new StringEnumConverter())); + + Console.WriteLine($"Dumped {type.Name} from {dbSchemaName} successfully"); + } + } + } + } + public static void DumpExcels(string bytesDir, string destDir) { + Directory.CreateDirectory(destDir); + foreach (var type in Assembly.GetAssembly(typeof(AcademyFavorScheduleExcelTable))!.GetTypes().Where(t => t.IsAssignableTo(typeof(IFlatbufferObject)) && t.Name.EndsWith("ExcelTable"))) { - var bytesFilePath = Path.Join(bytesDir, $"{type.Name.ToLower()}.bytes"); + var bytesFilePath = Path.Join(bytesDir, $"{type.Name}.bytes"); if (!File.Exists(bytesFilePath)) { Console.WriteLine($"bytes files for {type.Name} not found. skipping..."); @@ -50,7 +104,7 @@ namespace SCHALE.Common.Crypto var bytes = File.ReadAllBytes(bytesFilePath); TableEncryptionService.XOR(type.Name, bytes); var inst = type.GetMethod($"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)])!.Invoke(null, [new ByteBuffer(bytes)]); - + var obj = type.GetMethod("UnPack", BindingFlags.Instance | BindingFlags.Public)!.Invoke(inst, null); File.WriteAllText(Path.Join(destDir, $"{type.Name}.json"), JsonConvert.SerializeObject(obj, Formatting.Indented, new StringEnumConverter())); Console.WriteLine($"Dumped {type.Name} successfully"); diff --git a/SCHALE.Common/Database/DataModels.cs b/SCHALE.Common/Database/DataModels.cs new file mode 100644 index 0000000..37abdc7 --- /dev/null +++ b/SCHALE.Common/Database/DataModels.cs @@ -0,0 +1,707 @@ +using SCHALE.Common.FlatData; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Text; +using System.Text.Json.Serialization; +using System.Threading.Tasks; + +namespace SCHALE.Common.Database +{ + public class AccountDB + { + [JsonIgnore] + public virtual ICollection Items { get; } + + [JsonIgnore] + public virtual ICollection Characters { get; } + + [JsonIgnore] + public virtual ICollection MissionProgresses { get; } + + [JsonIgnore] + public virtual ICollection Echelons { get; } + + [JsonIgnore] + public virtual ICollection Equipment { get; } + + [JsonIgnore] + public virtual ICollection Weapons { get; } + + [JsonIgnore] + public virtual ICollection Gears { get; } + + [JsonIgnore] + public virtual ICollection MemoryLobbies { get; } + + [JsonIgnore] + public virtual ICollection Scenarios { get; } + + [JsonIgnore] + public virtual ICollection Cafes { get; } + + [JsonIgnore] + public virtual ICollection Furnitures { get; } + + [JsonIgnore] + public virtual ICollection ScenarioGroups { get; } + + [JsonIgnore] + public virtual ICollection Currencies { get; } + + [JsonIgnore] + public virtual ICollection MultiFloorRaids { get; } + + [JsonIgnore] + public virtual ICollection WeekDungeonStageHistories { get; } + + [JsonIgnore] + public virtual ICollection SchoolDungeonStageHistories { get; } + + [JsonIgnore] + public virtual ICollection CampaignStageHistories { get; } + + [JsonIgnore] + public virtual ICollection Mails { get; } + + [JsonIgnore] + public virtual RaidInfo RaidInfo { get; set; } + + public AccountDB() + { + Items = new List(); + Characters = new List(); + MissionProgresses = new List(); + Echelons = new List(); + Equipment = new List(); + Weapons = new List(); + Gears = new List(); + MemoryLobbies = new List(); + Scenarios = new List(); + Cafes = new List(); + Furnitures = new List(); + ScenarioGroups = new List(); + Currencies = new List(); + MultiFloorRaids = new List(); + WeekDungeonStageHistories = new List(); + SchoolDungeonStageHistories = new List(); + CampaignStageHistories = new List(); + Mails = new List(); + } + + public AccountDB(long publisherAccountId) : this() + { + PublisherAccountId = publisherAccountId; + State = AccountState.Normal; + Level = 1; + LastConnectTime = DateTime.Now; + CreateDate = DateTime.Now; + RaidInfo = new() + { + SeasonId = 1, // default + BestRankingPoint = 0, + TotalRankingPoint = 0, + }; + } + + [Key] + public long ServerId { get; set; } + + public string? Nickname { get; set; } + public string? CallName { get; set; } + public string? DevId { get; set; } + public AccountState State { get; set; } + public int Level { get; set; } + public long Exp { get; set; } + public string? Comment { get; set; } + public int? LobbyMode { get; set; } + public long RepresentCharacterServerId { get; set; } + public long MemoryLobbyUniqueId { get; set; } + public DateTime LastConnectTime { get; set; } + public DateTime BirthDay { get; set; } + public DateTime CallNameUpdateTime { get; set; } + public long PublisherAccountId { get; set; } + public Nullable RetentionDays { get; set; } + public Nullable VIPLevel { get; set; } + public DateTime CreateDate { get; set; } + public Nullable UnReadMailCount { get; set; } + public Nullable LinkRewardDate { get; set; } + } + + public class FurnitureDB : ConsumableItemBaseDB + { + public override ParcelType Type { get => ParcelType.Furniture; } + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public override bool CanConsume { get => false; } + + public FurnitureLocation Location { get; set; } + public long CafeDBId { get; set; } + public float PositionX { get; set; } + public float PositionY { get; set; } + public float Rotation { get; set; } + public long ItemDeploySequence { get; set; } + } + + public class MissionProgressDB : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + [Key] + [JsonIgnore] + public long ServerId { get; set; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + public long MissionUniqueId { get; set; } + public bool Complete { get; set; } + public DateTime StartTime { get; set; } + public Dictionary ProgressParameters { get; set; } = []; + + public bool Equals(MissionProgressDB other) + { + return default; + } + } + + public abstract class ConsumableItemBaseDB : ParcelBase + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public abstract bool CanConsume { get; } + + [JsonIgnore] + public ParcelKeyPair Key { get; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long UniqueId { get; set; } + public long StackCount { get; set; } + } + + public class ItemDB : ConsumableItemBaseDB + { + [NotMapped] + public override ParcelType Type => ParcelType.Item; + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [NotMapped] + [JsonIgnore] + public override bool CanConsume => true; + } + + public class CharacterDB : ParcelBase + { + [NotMapped] + public override ParcelType Type { get => ParcelType.Character; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [JsonIgnore] + [NotMapped] + public override IEnumerable ParcelInfos { get; } + + [Key] + public long ServerId { get; set; } + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public long Exp { get; set; } + public int FavorRank { get; set; } + public long FavorExp { get; set; } + public int PublicSkillLevel { get; set; } + public int ExSkillLevel { get; set; } + public int PassiveSkillLevel { get; set; } + public int ExtraPassiveSkillLevel { get; set; } + public int LeaderSkillLevel { get; set; } + public bool IsFavorite { get; set; } + public List EquipmentServerIds { get; set; } = []; + public Dictionary PotentialStats { get; set; } = []; + + [JsonIgnore] + public Dictionary EquipmentSlotAndDBIds { get; } = []; + } + + public class EquipmentDB : ConsumableItemBaseDB + { + [NotMapped] + public override ParcelType Type { get => ParcelType.Equipment; } + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public override bool CanConsume { get => false; } + + + public int Level { get; set; } + public long Exp { get; set; } + public int Tier { get; set; } + public long BoundCharacterServerId { get; set; } + } + + public class WeaponDB : ParcelBase + { + [NotMapped] + public override ParcelType Type { get => ParcelType.CharacterWeapon; } + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long UniqueId { get; set; } + public int Level { get; set; } + public long Exp { get; set; } + public int StarGrade { get; set; } + public long BoundCharacterServerId { get; set; } + } + + public class GearDB : ParcelBase + { + [NotMapped] + public override ParcelType Type { get => ParcelType.CharacterGear; } + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long UniqueId { get; set; } + public int Level { get; set; } + public long Exp { get; set; } + public int Tier { get; set; } + public long SlotIndex { get; set; } + public long BoundCharacterServerId { get; set; } + + [JsonIgnore] + public EquipmentDB ToEquipmentDB { get; } + } + + public class MemoryLobbyDB : ParcelBase + { + public override ParcelType Type { get => ParcelType.MemoryLobby; } + + [NotMapped] + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long MemoryLobbyUniqueId { get; set; } + } + + public class ScenarioHistoryDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + + public long ScenarioUniqueId { get; set; } + public DateTime ClearDateTime { get; set; } + } + + public class ScenarioGroupHistoryDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long ScenarioGroupUqniueId { get; set; } + public long ScenarioType { get; set; } + public Nullable EventContentId { get; set; } + public DateTime ClearDateTime { get; set; } + public bool IsReturn { get; set; } + } + + public class EchelonDB + { + [Key] + [JsonIgnore] + public long ServerId { get; set; } + + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + public EchelonType EchelonType { get; set; } + public long EchelonNumber { get; set; } + public EchelonExtensionType ExtensionType { get; set; } + public long LeaderServerId { get; set; } + + [JsonIgnore] + public int MainSlotCount { get; } + + [JsonIgnore] + public int SupportSlotCount { get; } + public List MainSlotServerIds { get; set; } = []; + public List SupportSlotServerIds { get; set; } = []; + public long TSSInteractionServerId { get; set; } + public EchelonStatusFlag UsingFlag { get; set; } + + [JsonIgnore] + public bool IsUsing { get; } + + [JsonIgnore] + public List AllCharacterServerIds { get; } = []; + + [JsonIgnore] + public List AllCharacterWithoutTSSServerIds { get; } = []; + + [JsonIgnore] + public List AllCharacterWithEmptyServerIds { get; } = []; + + [JsonIgnore] + public List BattleCharacterServerIds { get; } = []; + public List SkillCardMulliganCharacterIds { get; set; } = []; + public int[] CombatStyleIndex { get; set; } = []; + } + + public class CampaignSubStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get => ContentType.CampaignSubStage; } + } + + public class CampaignTutorialStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get => ContentType.CampaignTutorialStage; } + } + + public class CafeDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long CafeDBId { get; set; } + public long CafeId { get; set; } + public long AccountId { get; set; } + public int CafeRank { get; set; } + public DateTime LastUpdate { get; set; } + public Nullable LastSummonDate { get; set; } + + [NotMapped] + public bool IsNew { get; set; } + + public Dictionary CafeVisitCharacterDBs { get; set; } + + [NotMapped] + public List FurnitureDBs { get => Account.Furnitures.Where(x => x.CafeDBId == CafeDBId).ToList(); } + + public DateTime ProductionAppliedTime { get; set; } + [NotMapped] + public CafeProductionDB ProductionDB + { + get => new() + { + CafeDBId = 1, + AppliedDate = DateTime.UtcNow, + ProductionParcelInfos = [ + new(){ Key = new ParcelKeyPair { Type = ParcelType.Currency, Id = 1 } }, // id 1 + new() { Key = new ParcelKeyPair { Type = ParcelType.Currency, Id = 5 } } + ], + }; + } + + [JsonIgnore] + public Dictionary CurrencyDict_Obsolete { get; set; } = new Dictionary(); + + [JsonIgnore] + public Dictionary UpdateTimeDict_Obsolete { get; set; } = new Dictionary(); + } + + public class RaidInfo // custom class for all raid stuff needed + { + public long SeasonId { get; set; } + + public long CurrentRaidUniqueId { get; set; } + + public Difficulty CurrentDifficulty { get; set; } + + public long BestRankingPoint { get; set; } + + public long TotalRankingPoint { get; set; } + } + + public class AcademyDB + { + public long AccountId { get; set; } + + public DateTime LastUpdate { get; set; } + public Dictionary> ZoneVisitCharacterDBs { get; set; } + public Dictionary> ZoneScheduleGroupRecords { get; set; } + } + + public class CampaignStageHistoryDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long StoryUniqueId { get; set; } + public long ChapterUniqueId { get; set; } + public long StageUniqueId { get; set; } + public long TacticClearCountWithRankSRecord { get; set; } + public long ClearTurnRecord { get; set; } + + [JsonIgnore] + public long BestStarRecord { get; } + public bool Star1Flag { get; set; } + public bool Star2Flag { get; set; } + public bool Star3Flag { get; set; } + public DateTime LastPlay { get; set; } + public long TodayPlayCount { get; set; } + public long TodayPurchasePlayCountHardStage { get; set; } + public Nullable FirstClearRewardReceive { get; set; } + public Nullable StarRewardReceive { get; set; } + + [JsonIgnore] + public bool IsClearedEver { get; } + public long TodayPlayCountForUI { get; } + } + + public class MailDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [Key] + public long ServerId { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + public MailType Type { get; set; } + public long UniqueId { get; set; } + public string Sender { get; set; } + public string Comment { get; set; } + public DateTime SendDate { get; set; } + public Nullable ReceiptDate { get; set; } + public Nullable ExpireDate { get; set; } + + [NotMapped] // TODO: implement storing these two with ef core, this is very nessary since these parcel infos are the items given in the mail, must be stored + public List ParcelInfos { get; set; } // remove [NotMapped] if implemented storing + + [NotMapped] + public List RemainParcelInfos { get; set; } + } + + public class CampaignChapterClearRewardHistoryDB + { + public long AccountServerId { get; set; } + + public long ChapterUniqueId { get; set; } + public StageDifficulty RewardType { get; set; } + public DateTime ReceiveDate { get; set; } + } + + public class AccountCurrencyDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long AccountLevel { get; set; } + public long AcademyLocationRankSum { get; set; } + public Dictionary CurrencyDict { get; set; } + public Dictionary UpdateTimeDict { get; set; } + } + + public class MultiFloorRaidDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long SeasonId { get; set; } + public int ClearedDifficulty { get; set; } + public DateTime LastClearDate { get; set; } + public int RewardDifficulty { get; set; } + public DateTime LastRewardDate { get; set; } + public int ClearBattleFrame { get; set; } + + [JsonIgnore] + public bool AllCleared { get; } = false; + + [JsonIgnore] + public bool HasReceivableRewards { get; } = false; + + [JsonIgnore] + public List TotalReceivableRewards { get; } = new List(); + + [JsonIgnore] + public List TotalReceivedRewards { get; } = new List(); + } + + public class WeekDungeonStageHistoryDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [Key] + public long ServerId { get; set; } + [JsonIgnore] + public long AccountServerId { get; set; } + + public long StageUniqueId { get; set; } + public Dictionary StarGoalRecord { get; set; } + + [JsonIgnore] + public bool IsCleardEver { get; } + } + + public class SchoolDungeonStageHistoryDB + { + [JsonIgnore] + public virtual AccountDB Account { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + + [Key] + public long ServerId { get; set; } + + public long StageUniqueId { get; set; } + + [JsonIgnore] + public long BestStarRecord { get; } + public bool[] StarFlags { get; set; } + + [JsonIgnore] + public bool Star1Flag { get; } + + [JsonIgnore] + public bool Star2Flag { get; } + + [JsonIgnore] + public bool Star3Flag { get; } + + [JsonIgnore] + public bool IsClearedEver { get; } + } + + [Serializable] + public struct BasisPoint : IEquatable, IComparable + { + private static readonly long Multiplier; + private static readonly double OneOver10_4 = 1.0 / 10000.0; + public static readonly BasisPoint Zero; + public static readonly BasisPoint One; + public static readonly BasisPoint Epsilon; + public static readonly double DoubleEpsilon; + + [JsonIgnore] + public long RawValue { get; } + + private long rawValue; + public BasisPoint(long rawValue) + { + this.rawValue = rawValue; + } + public bool Equals(BasisPoint other) + { + return this.rawValue == other.rawValue; + } + + public int CompareTo(BasisPoint other) + { + return rawValue.CompareTo(other.rawValue); + } + + public static long operator *(long value, BasisPoint other) + { + return MultiplyLong(value, other); + } + + public static long MultiplyLong(long value, BasisPoint other) + { + double result = OneOver10_4 * ((double)other.rawValue * value); + + if (double.IsInfinity(result)) + return long.MaxValue; + + return (long)result; + } + } + + + + + + +} diff --git a/SCHALE.Common/Database/SCHALEContext.cs b/SCHALE.Common/Database/SCHALEContext.cs index 42a9746..c4ef6b9 100644 --- a/SCHALE.Common/Database/SCHALEContext.cs +++ b/SCHALE.Common/Database/SCHALEContext.cs @@ -27,6 +27,13 @@ namespace SCHALE.Common.Database public DbSet Cafes { get; set; } public DbSet Furnitures { get; set; } + public DbSet Currencies { get; set; } + public DbSet MultiFloorRaids { get; set; } + public DbSet WeekDungeonStageHistories { get; set; } + public DbSet SchoolDungeonStageHistories { get; set; } + public DbSet CampaignStageHistories { get; set; } + public DbSet Mails { get; set; } + public static SCHALEContext Create(string connectionString) => new(new DbContextOptionsBuilder() .UseSqlServer(connectionString) @@ -122,6 +129,22 @@ namespace SCHALE.Common.Database modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); modelBuilder.Entity().Property(x => x.ProgressParameters).HasJsonConversion(); + + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.CurrencyDict).HasJsonConversion(); + modelBuilder.Entity().Property(x => x.UpdateTimeDict).HasJsonConversion(); + + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.TotalReceivableRewards).HasJsonConversion(); + modelBuilder.Entity().Property(x => x.TotalReceivedRewards).HasJsonConversion(); + + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.StarGoalRecord).HasJsonConversion(); + + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); + modelBuilder.Entity().Property(x => x.ServerId).ValueGeneratedOnAdd(); } } diff --git a/SCHALE.Common/Database/dbs.cs b/SCHALE.Common/Database/dbs.cs index b9074e6..bab4705 100644 --- a/SCHALE.Common/Database/dbs.cs +++ b/SCHALE.Common/Database/dbs.cs @@ -1,2923 +1,8852 @@ -using SCHALE.Common.FlatData; -using SCHALE.Common.NetworkProtocol; -using SCHALE.Common.Parcel; +using System; +using System.Collections; using System.Collections.ObjectModel; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.CompilerServices; using System.Text.Json; using System.Text.Json.Serialization; +using Google.FlatBuffers; +using SCHALE.Common.FlatData; +using SCHALE.Common.NetworkProtocol; +using SCHALE.Common.NetworkProtocol; namespace SCHALE.Common.Database { - public class SingleRaidLobbyInfoDB : RaidLobbyInfoDB + + public abstract class HexaCommand { - + public long CommandId { get; set; } + public virtual HexaCommandType Type { get; } } - public struct RaidBossResult : IEquatable + public enum HexaCommandType + { + None = 0, + UnitSpawn = 1, + PlayScenario = 2, + StrategySpawn = 3, + TileSpawn = 4, + TileHide = 5, + EndBattle = 6, + WaitTurn = 7, + StrategyHide = 8, + UnitDie = 9, + UnitMove = 10, + CharacterEmoji = 11, + } + + public abstract class HexaCondition { - [JsonIgnore] - public int Index { get; set; } - - [JsonIgnore] - public long GivenDamage { get; set; } - - [JsonIgnore] - public long GivenGroggyPoint { get; set; } - - //public RaidDamage RaidDamage { get; set; } - - public long EndHpRateRawValue { readonly get; set; } - - public long GroggyRateRawValue { readonly get; set; } - - public int GroggyCount { readonly get; set; } - - public List SubPartsHPs { readonly get; set; } - - public long AIPhase { readonly get; set; } - - public bool Equals(RaidBossResult other) - { - return this.Index == other.Index; - } + public long ConditionId { get; set; } + public abstract HexaConditionType Type { get; } + public abstract bool Resuable { get; } + public bool AlreadyTriggered { get; set; } } - public class RaidBossResultCollection : KeyedCollection - { - [JsonIgnore] - public int LastIndex { get; set; } - - [JsonIgnore] - public long TotalDamage { get; set; } - - [JsonIgnore] - public long CurrentDamage { get; set; } - - [JsonIgnore] - public long TotalGroggyPoint { get; set; } - - [JsonIgnore] - public long CurrentGroggyPoint { get; set; } - - [JsonIgnore] - public int TotalGroggyCount { get; set; } - - protected override int GetKeyForItem(RaidBossResult item) - { - return item.Index; - } - } - - public class RaidSummary - { - public long RaidSeasonId { get; set; } - - public long GivenDamage { get; set; } - - public int TotalGroggyCount { get; set; } - - public int RaidBossIndex { get; set; } - - public RaidBossResultCollection RaidBossResults { get; set; } - } - - // Battle? probably need to implement these our selves - public class BattleSummary : IEquatable - { - public long HashKey { get; set; } - - public bool IsBossBattle { get; set; } - - //public BattleTypes BattleType { get; set; } - - public long StageId { get; set; } - - public long GroundId { get; set; } - - //public GroupTag Winner { get; set; } - - [JsonIgnore] - public bool IsPlayerWin { get; set; } - - //public BattleEndType EndType { get; set; } - - public int EndFrame { get; set; } - - //public GroupSummary Group01Summary { get; set; } - - //public GroupSummary Group02Summary { get; set; } - - //public WeekDungeonSummary WeekDungeonSummary { get; set; } - - public RaidSummary RaidSummary { get; set; } - - //public ArenaSummary ArenaSummary { get; set; } - - [JsonIgnore] - public TimeSpan EndTime { get; set; } - - public int ContinueCount { get; set; } - - public float ElapsedRealtime { get; set; } - - [JsonIgnore] - public string FindGiftClearText { get; set; } - - [JsonIgnore] - public long EventContentId { get; set; } - - [JsonIgnore] - public long FixedEchelonId { get; set; } - - public bool IsAbort { get; set; } - - public bool Equals(BattleSummary? other) - { - return this.HashKey == other.HashKey; - } - } - - public class TypedJsonWrapper - { - - } - - public class AttendanceBookReward - { - public long UniqueId { get; set; } - - public AttendanceType Type { get; set; } - - public AccountState AccountType { get; set; } - - public long DisplayOrder { get; set; } - - public long AccountLevelLimit { get; set; } - - public string Title { get; set; } - - public string TitleImagePath { get; set; } - - public AttendanceCountRule CountRule { get; set; } - - public AttendanceResetType CountReset { get; set; } - - public long BookSize { get; set; } - - public DateTime StartDate { get; set; } - - public DateTime StartableEndDate { get; set; } - - public DateTime EndDate { get; set; } - - public long ExpiryDate { get; set; } - - public MailType MailType { get; set; } - - public Dictionary DailyRewardIcons { get; set; } - - public Dictionary> DailyRewards { get; set; } - } - - public enum OpenConditionLockReason + public enum HexaConditionType { None = 0, - Level = 1, - StageClear = 2, - Time = 4, - Day = 8, - CafeRank = 16, - ScenarioModeClear = 32, - CafeOpen = 64 + StartCampaign = 1, + TurnBeginEnd = 2, + UnitDead = 3, + PlayerArrivedInTileFirstTime = 4, + AnyEnemyDead = 5, + EveryTurn = 6, + EnemyArrivedInTileFirstTime = 7, + SpecificEnemyArrivedInTileFirstTime = 8, } - public enum ParcelChangeType + public class HexaEvent { - - NoChange, - - Terminated, - - MailSend, - - Converted + public string EventName { get; set; } + public long EventId { get; set; } + public IList HexaConditions { get; } + public MultipleConditionCheckType MultipleConditionCheckType { get; set; } + public IList HexaCommands { get; } } - // DB - public class WorldRaidLocalBossDB + public class HexaTileMap + { + public static readonly float XOffset; + public static readonly float YOffset; + public static readonly float EmptyOffset; + public static readonly float Up; + public int LastEntityId; + public bool IsBig; + private List events; + public List hexaTileList; + public List hexaUnitList; + public List hexaStrageyList; + [JsonIgnore] + public Dictionary TileLocationMap; + } + + public class CampaignStageInfo { - public long SeasonId { get; set; } - public long GroupId { get; set; } public long UniqueId { get; set; } - public bool IsScenario { get; set; } - public bool IsCleardEver { get; set; } - public long TacticMscSum { get; set; } - public RaidBattleDB RaidBattleDB { get; set; } - public bool IsContinue { get; set; } - } - - - public class WorldRaidSnapshot - { - public List WorldRaidLocalBossDBs { get; set; } - public List WorldRaidClearHistoryDBs { get; set; } - public List CampaignStageHistoryDBs { get; set; } - } - - - public class WorldRaidWorldBossDB - { - public long GroupId { get; set; } - public long HP { get; set; } - public long Participants { get; set; } - } - - - public class AcademyDB - { - public long AccountId { get; set; } - public DateTime LastUpdate { get; set; } - public Dictionary> ZoneVisitCharacterDBs { get; set; } - public Dictionary> ZoneScheduleGroupRecords { get; set; } - } - - - public class AcademyLocationDB - { - public long AccountId { get; set; } - public long LocationId { get; set; } - public long Rank { get; set; } - public long Exp { get; set; } - } - - - public class AcademyMessageDB - { - public long MessageServerId { get; set; } - public long MessageGroupId { get; set; } - public long MessageUniqueId { get; set; } - public long SelectedMessageUniqueId { get; set; } - public long CharacterServerId { get; set; } - public long CharacterUniqueId { get; set; } - public bool IsRead { get; set; } - } - - - public class AcademyMessageOutLineDB - { - public long CharacterUniqueId { get; set; } - public long NewMessageCount { get; set; } - public long LastMessageUniqueId { get; set; } - public long LastMessageServerId { get; set; } - } - - - public class AcademyScheduleDB - { - public long AccountServerId { get; set; } - public long ScheduleUniqueId { get; set; } - public long ScheduleGroupId { get; set; } - public long ZoneUniqueId { get; set; } - public DateTime LastUpdateDate { get; set; } - public int CompleteCount { get; set; } - } - - - public class AccountAchievementDB - { - public long AccountServerId { get; set; } - public long AchievementUniqueId { get; set; } - public long AchievementValue { get; set; } - } - - - public class AccountAttachmentDB - { - public long AccountId { get; set; } - public long EmblemUniqueId { get; set; } - } - - - public class AccountCurrencyDB - { - public long AccountLevel { get; set; } - public long AcademyLocationRankSum { get; set; } - public Dictionary CurrencyDict { get; set; } - public Dictionary UpdateTimeDict { get; set; } - } - - public class RaidInfo // custom class for all raid stuff needed - { - public long SeasonId { get; set; } - - public long CurrentRaidUniqueId { get; set; } - - public Difficulty CurrentDifficulty { get; set; } - - public long BestRankingPoint { get; set; } - - public long TotalRankingPoint { get; set; } - } - - public class AccountDB - { - [JsonIgnore] - public virtual ICollection Items { get; } - - [JsonIgnore] - public virtual ICollection Characters { get; } - - [JsonIgnore] - public virtual ICollection MissionProgresses { get; } - - [JsonIgnore] - public virtual ICollection Echelons { get; } - - [JsonIgnore] - public virtual ICollection Equipment { get; } - - [JsonIgnore] - public virtual ICollection Weapons { get; } - - [JsonIgnore] - public virtual ICollection Gears { get; } - - [JsonIgnore] - public virtual ICollection MemoryLobbies { get; } - - [JsonIgnore] - public virtual ICollection Scenarios { get; } - - [JsonIgnore] - public virtual ICollection Cafes { get; } - - [JsonIgnore] - public virtual ICollection Furnitures { get; } - - - [JsonIgnore] - public virtual RaidInfo RaidInfo { get; set; } - - public AccountDB() { - Items = new List(); - Characters = new List(); - MissionProgresses = new List(); - Echelons = new List(); - Equipment = new List(); - Weapons = new List(); - Gears = new List(); - MemoryLobbies = new List(); - Scenarios = new List(); - Cafes = new List(); - Furnitures = new List(); - } - - public AccountDB(long publisherAccountId) : this() - { - PublisherAccountId = publisherAccountId; - State = AccountState.Normal; - Level = 1; - LastConnectTime = DateTime.Now; - CreateDate = DateTime.Now; - RaidInfo = new() - { - SeasonId = 1, // default - BestRankingPoint = 0, - TotalRankingPoint = 0, - }; - } - - [Key] - public long ServerId { get; set; } - - public string? Nickname { get; set; } - - public string? CallName { get; set; } - - public string? DevId { get; set; } - - public AccountState State { get; set; } - - public int Level { get; set; } - - public long Exp { get; set; } - - public string? Comment { get; set; } - - public int LobbyMode { get; set; } - - public int RepresentCharacterServerId { get; set; } - - public long MemoryLobbyUniqueId { get; set; } - - public DateTime LastConnectTime { get; set; } - - public DateTime? BirthDay { get; set; } - - public DateTime CallNameUpdateTime { get; set; } - - public long PublisherAccountId { get; set; } - - public int? RetentionDays { get; set; } - - public int? VIPLevel { get; set; } - - public DateTime CreateDate { get; set; } - - public int? UnReadMailCount { get; set; } - - public DateTime? LinkRewardDate { get; set; } - } - - - public class ArenaBattleDB - { - public long ArenaBattleServerId { get; set; } - public long Season { get; set; } - public long Group { get; set; } - public DateTime BattleStartTime { get; set; } - public DateTime BattleEndTime { get; set; } - public long Seed { get; set; } - public ArenaUserDB AttackingUserDB { get; set; } - public ArenaUserDB DefendingUserDB { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class ArenaCharacterDB - { - public long ServerId { get; set; } - public long UniqueId { get; set; } - public int StarGrade { get; set; } - public int Level { get; set; } - public int PublicSkillLevel { get; set; } - public int ExSkillLevel { get; set; } - public int PassiveSkillLevel { get; set; } - public int ExtraPassiveSkillLevel { get; set; } - public int LeaderSkillLevel { get; set; } - public List EquipmentDBs { get; set; } - public Dictionary FavorRankInfo { get; set; } - public Dictionary PotentialStats { get; set; } - public WeaponDB WeaponDB { get; set; } - public GearDB GearDB { get; set; } - public CostumeDB CostumeDB { get; set; } - } - - - public class ArenaDamageReportDB - { - public long ArenaBattleServerId { get; set; } - public long WinnerAccountServerId { get; set; } - public ArenaUserDB AttackerUserDB { get; set; } - public ArenaUserDB DefenderUserDB { get; set; } - public DateTime BattleEndTime { get; set; } - public Dictionary AttackerDamageReport { get; set; } - public Dictionary DefenderDamageReport { get; set; } - } - - - public class ArenaHistoryDB - { - public ArenaBattleDB ArenaBattleDB { get; set; } - public DateTime BattleEndTime { get; set; } - public BattleSummary BattleSummary { get; set; } - public ArenaUserDB AttackingUserDB { get; set; } - public ArenaUserDB DefendingUserDB { get; set; } - public long WinnerAccountServerId { get; set; } - } - - - public class ArenaPlayerInfoDB - { - public long CurrentSeasonId { get; set; } - public long PlayerGroupId { get; set; } - public long CurrentRank { get; set; } - public long SeasonRecord { get; set; } - public long AllTimeRecord { get; set; } - public long CumulativeTimeReward { get; set; } - public DateTime TimeRewardLastUpdateTime { get; set; } - public DateTime BattleEnterActiveTime { get; set; } - public DateTime DailyRewardActiveTime { get; set; } - } - - public class ArenaTeamSettingDB - { - public EchelonType EchelonType { get; set; } - public long LeaderCharacterId { get; set; } - public long TSSInteractionCharacterId { get; set; } - public long TSSInteractionCharacterServerId { get; set; } - public IList MainCharacters { get; set; } - public IList SupportCharacters { get; set; } - public ArenaCharacterDB TSSCharacterDB { get; set; } - public int SquadCount { get; set; } - public long MapId { get; set; } - } - - - public class ArenaUserDB - { - public long AccountServerId { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long RepresentCharacterCostumeId { get; set; } - public string NickName { get; set; } - public long Rank { get; set; } - public long Level { get; set; } - public long Exp { get; set; } - public ArenaTeamSettingDB TeamSettingDB { get; set; } - public AccountAttachmentDB AccountAttachmentDB { get; set; } - public string UserName { get; set; } - } - - [Flags] - public enum AssistRelation - { - None = 0, - Clan = 1, - Friend = 2, - Cheat = 4 - } - - public class AssistCharacterDB : CharacterDB - { - public EchelonType EchelonType { get; set; } - public int SlotNumber { get; set; } - public long AccountId { get; set; } - public AssistRelation AssistRelation { get; set; } - public long AssistCharacterServerId { get; set; } - public string NickName { get; set; } - public List EquipmentDBs { get; set; } - public WeaponDB WeaponDB { get; set; } - public GearDB GearDB { get; set; } - public long CostumeId { get; set; } - public CostumeDB CostumeDB { get; set; } - public bool IsMulligan { get; set; } - public bool IsTSAInteraction { get; set; } - public bool HasWeapon { get; set; } - public bool HasGear { get; set; } - } - - - public class AttendanceHistoryDB - { - public long ServerId { get; set; } - public long AccountServerId { get; set; } - public long AttendanceBookUniqueId { get; set; } - public Dictionary AttendedDay { get; set; } - public bool Expired { get; set; } - public long LastAttendedDay { get; set; } - public DateTime LastAttendedDate { get; set; } - public Dictionary AttendedDayNullable { get; set; } - } - - - public class BanDB - { - public long ServerId { get; set; } - public long UniqueId { get; set; } - public DateTime BanStartDate { get; set; } - public DateTime BanEndDate { get; set; } - public DateTime RegisterDate { get; set; } - public byte CancelFlag { get; set; } - public DateTime CancelDate { get; set; } - public string Reason { get; set; } - } - - - public class BeforehandGachaSnapshotDB - { - public long ShopUniqueId { get; set; } - public long GoodsId { get; set; } - public long LastIndex { get; set; } - public List LastResults { get; set; } - public long? SavedIndex { get; set; } - public List SavedResults { get; set; } - public long? PickedIndex { get; set; } - } - - public enum ShopCashBlockType : long - { - All = -1L, - AppStore = -2L, - GooglePlay = -3L, - None = -9999L - } - - public class BlockedProductDB - { - public long CashProductId { get; set; } - public ShopCashBlockType MarketBlockType { get; set; } - public DateTime BeginDate { get; set; } - public DateTime EndDate { get; set; } - } - - - public class CafeDB - { - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long CafeDBId { get; set; } - - public long CafeId { get; set; } - - public long AccountId { get; set; } - public int CafeRank { get; set; } - public DateTime LastUpdate { get; set; } - public DateTime? LastSummonDate { get; set; } - - [NotMapped] - public bool IsNew { get; set; } - public Dictionary CafeVisitCharacterDBs { get; set; } - - public DateTime ProductionAppliedTime { get; set; } - - - [NotMapped] - public List FurnitureDBs { get => Account.Furnitures.Where(x => x.CafeDBId == CafeDBId).ToList(); } - - // TODO: fix this, probably needs another db for this, and link in OnModelCreate - [NotMapped] - public CafeProductionDB ProductionDB - { - get => new() - { - CafeDBId = 1, - AppliedDate = DateTime.UtcNow, - ProductionParcelInfos = [ - new() { Key = { Type = ParcelType.Currency, Id = 1 } }, // id 1 - new() { Key = { Type = ParcelType.Currency, Id = 5 } } - ], - }; - } - - public Dictionary CurrencyDict_Obsolete { get; set; } = new Dictionary(); - public Dictionary UpdateTimeDict_Obsolete { get; set; } = new Dictionary(); - } - - public class CafeProductionParcelInfo - { - public ParcelKeyPair Key { get; set; } = new() { Id = 1, Type = ParcelType.Currency }; - public long Amount { get; set; } - } - - public class CafeCharacterDB : VisitingCharacterDB - { - public bool IsSummon { get; set; } - - public DateTime LastInteractTime { get; set; } - - } - - public class CafePresetDB - { - public long ServerId { get; set; } - public int SlotId { get; set; } - public string PresetName { get; set; } - public bool IsEmpty { get; set; } - } - - - public class CafeProductionDB - { - public long CafeDBId { get; set; } - public long ComfortValue { get; set; } - public DateTime AppliedDate { get; set; } - public List ProductionParcelInfos { get; set; } - } - - - public class CampaignChapterClearRewardHistoryDB - { - public long AccountServerId { get; set; } + public string DevName { get; set; } + public long ChapterNumber { get; set; } + public string StageNumber { get; set; } + public long TutorialStageNumber { get; set; } + public long[] PrerequisiteScenarioIds { get; set; } + public int RecommandLevel { get; set; } + public string StrategyMap { get; set; } + public string BackgroundBG { get; set; } + public long StoryUniqueId { get; set; } public long ChapterUniqueId { get; set; } - public StageDifficulty RewardType { get; set; } - public DateTime ReceiveDate { get; set; } - } - - - public class CampaignExtraStageSaveDB - { + public long DailyPlayCountLimit { get; } + public StageTopography StageTopography { get; set; } + public int StageEnterCostAmount { get; set; } + public int MaxTurn { get; set; } + public int MaxEchelonCount { get; set; } + public StageDifficulty StageDifficulty { get; set; } + public HashSet PrerequisiteStageUniqueIds { get; set; } + public long DailyPlayLimit { get; set; } + public TimeSpan PlayTimeLimit { get; set; } + public long PlayTurnLimit { get; set; } + public ParcelCost EnterCost { get; } + public ParcelCost PurchasePlayCountHardStageCost { get; set; } + public HexaTileMap HexaTileMap { get; set; } + public long StarConditionTurnCount { get; set; } + public long StarConditionSTacticRackCount { get; set; } + public long RewardUniqueId { get; set; } + public long TacticRewardPlayerExp { get; set; } + public long TacticRewardExp { get; set; } + public virtual bool ShowClearDeckButton { get; } + public List> StageReward { get; set; } + public List> DisplayReward { get; set; } + public StrategyEnvironment StrategyEnvironment { get; set; } public ContentType ContentType { get; set; } + public long GroundId { get; set; } + public int StrategySkipGroundId { get; } + public long BattleDuration { get; set; } + public long BGMId { get; set; } + public long FixedEchelonId { get; set; } + public bool IsEventContent { get; } + public ParcelInfo EnterParcelInfo { get; set; } + public bool IsDeprecated { get; set; } + public EchelonExtensionType EchelonExtensionType { get; set; } } + public class AcademyLocationDB + { + public long LocationId { get; set; } + public long Rank { get; set; } + public long Exp { get; set; } + } + public class AcademyMessageOutLineDB + { + public long CharacterUniqueId { get; set; } + public long NewMessageCount { get; set; } + public long LastMessageUniqueId { get; set; } + public long LastMessageServerId { get; set; } + } - public class CampaignMainStageSaveDB : ContentSaveDB - { - public ContentType ContentType { get; set; } - public CampaignState CampaignState { get; set; } - public int CurrentTurn { get; set; } - public int EnemyClearCount { get; set; } - public int LastEnemyEntityId { get; set; } - public int TacticRankSCount { get; set; } - public Dictionary EnemyInfos { get; set; } - public Dictionary EchelonInfos { get; set; } - public Dictionary> WithdrawInfos { get; set; } - public Dictionary StrategyObjects { get; set; } - public Dictionary> StrategyObjectRewards { get; set; } - public List StrategyObjectHistory { get; set; } - public Dictionary> ActivatedHexaEventsAndConditions { get; set; } - public Dictionary> HexaEventDelayedExecutions { get; set; } - public Dictionary TileMapStates { get; set; } - public List DisplayInfos { get; set; } - public List DeployedEchelonInfos { get; set; } - } + public class AcademyMessageDB + { + public long MessageServerId { get; set; } + public long MessageGroupId { get; set; } + public long MessageUniqueId { get; set; } + public long SelectedMessageUniqueId { get; set; } + public long CharacterServerId { get; set; } + public long CharacterUniqueId { get; set; } + public bool IsRead { get; set; } + } - public class HexaTileState - { - public int Id { get; set; } - public bool IsHide { get; set; } - public bool IsFog { get; set; } - public bool CanNotMove { get; set; } - } + public class AcademyScheduleDB + { + public long ScheduleUniqueId { get; set; } + public long ScheduleGroupId { get; set; } + public long ZoneUniqueId { get; set; } + public DateTime LastUpdateDate { get; set; } + public int CompleteCount { get; set; } + } - public enum HexaDisplayType - { - None, - EndBattle, - PlayScenario, - SpawnUnitFromUniqueId, - StatBuff, - DieUnit, - HideStrategy, - SpawnUnit, - SpawnStrategy, - SpawnTile, - HideTile, - ClearFogOfWar, - MoveUnit, - WarpUnit, - SetTileMovablity, - WarpUnitFromHideTile, - BossExile - } + public class AccountAchievementDB + { + public long AchievementUniqueId { get; set; } + public long AchievementValue { get; set; } + } - public class StrategyClearRewardInfo - { - public List FirstClearRewarde { get; set; } - public List ThreeStarRewarde { get; set; } - public Dictionary> StrategyObjectRewardse { get; set; } - public ParcelResultDB ParcelResultDBe { get; set; } + public class AccountAttachmentDB + { + public long AccountId { get; set; } + public long EmblemUniqueId { get; set; } + } + + public class AccountRestrictionsDB + { + public bool NicknameRestriction { get; set; } + public bool CommentRestriction { get; set; } + public bool CallnameRestriction { get; set; } + } + + public class ArenaHistoryDB + { + public ArenaBattleDB ArenaBattleDB { get; set; } + + [JsonIgnore] + public DateTime BattleEndTime { get; } + + [JsonIgnore] + public BattleSummary BattleSummary { get; } + + [JsonIgnore] + public ArenaUserDB AttackingUserDB { get; } + + [JsonIgnore] + public ArenaUserDB DefendingUserDB { get; } + + [JsonIgnore] + public long WinnerAccountServerId { get; } + } + + public class ArenaPlayerInfoDB + { + public long CurrentSeasonId { get; set; } + public long PlayerGroupId { get; set; } + public long CurrentRank { get; set; } + public long SeasonRecord { get; set; } + public long AllTimeRecord { get; set; } + public long CumulativeTimeReward { get; set; } + public DateTime TimeRewardLastUpdateTime { get; set; } + public DateTime BattleEnterActiveTime { get; set; } + public DateTime DailyRewardActiveTime { get; set; } + } + + public class ArenaBattleDB + { + public long ArenaBattleServerId { get; set; } + public long Season { get; set; } + public long Group { get; set; } + public DateTime BattleStartTime { get; set; } + public DateTime BattleEndTime { get; set; } + public long Seed { get; set; } + public ArenaUserDB AttackingUserDB { get; set; } + public ArenaUserDB DefendingUserDB { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ArenaUserDB + { + public long AccountServerId { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public string NickName { get; set; } + public long Rank { get; set; } + public long Level { get; set; } + public long Exp { get; set; } + public ArenaTeamSettingDB TeamSettingDB { get; set; } + public AccountAttachmentDB AccountAttachmentDB { get; set; } + public string UserName { get; } + } + + public class ArenaTeamSettingDB + { + public EchelonType EchelonType { get; set; } + public long LeaderCharacterId { get; set; } + public long TSSInteractionCharacterId { get; set; } + + [JsonIgnore] + public long TSSInteractionCharacterServerId { get; } + public IList MainCharacters { get; set; } + public IList SupportCharacters { get; set; } + public ArenaCharacterDB TSSCharacterDB { get; set; } + + [JsonIgnore] + public int SquadCount { get; } + public long MapId { get; set; } + } + + public class ArenaCharacterDB + { + public long ServerId { get; set; } + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public int PublicSkillLevel { get; set; } + public int ExSkillLevel { get; set; } + public int PassiveSkillLevel { get; set; } + public int ExtraPassiveSkillLevel { get; set; } + public int LeaderSkillLevel { get; set; } + public List EquipmentDBs { get; set; } + public Dictionary FavorRankInfo { get; set; } + public Dictionary PotentialStats { get; set; } + public int CombatStyleIndex { get; set; } + public WeaponDB WeaponDB { get; set; } + public GearDB GearDB { get; set; } + public CostumeDB CostumeDB { get; set; } + } + + public class ArenaDamageReportDB + { + public long ArenaBattleServerId { get; set; } + public long WinnerAccountServerId { get; set; } + public ArenaUserDB AttackerUserDB { get; set; } + public ArenaUserDB DefenderUserDB { get; set; } + public DateTime BattleEndTime { get; set; } + public Dictionary AttackerDamageReport { get; set; } + public Dictionary DefenderDamageReport { get; set; } + } + + public enum AssistRelation + { + None = 0, + Clan = 1, + Friend = 2, + Cheat = 4, + Stranger = 8, + } + + public class AssistCharacterDB : CharacterDB + { + private CostumeDB _costumeDB; + public EchelonType EchelonType { get; set; } + public int SlotNumber { get; set; } + public long AccountId { get; set; } + public AssistRelation AssistRelation { get; set; } + public long AssistCharacterServerId { get; set; } + public string NickName { get; set; } + public List EquipmentDBs { get; set; } + public WeaponDB WeaponDB { get; set; } + public GearDB GearDB { get; set; } + public long CostumeId { get; set; } + public CostumeDB CostumeDB { get; } + public bool IsMulligan { get; set; } + public bool IsTSAInteraction { get; set; } + public int CombatStyleIndex { get; set; } + + [JsonIgnore] + public bool HasWeapon { get; } + + [JsonIgnore] + public bool HasGear { get; } + } + + public class AttendanceHistoryDB + { + public long ServerId { get; set; } + public long AttendanceBookUniqueId { get; set; } + public Dictionary AttendedDay { get; set; } + public bool Expired { get; set; } + + [JsonIgnore] + public long LastAttendedDay { get; } + + [JsonIgnore] + public DateTime LastAttendedDate { get; } + + [JsonIgnore] + public Dictionary> AttendedDayNullable { get; } + } + + public class BanDB + { + public long ServerId { get; set; } + public long UniqueId { get; set; } + public DateTime BanStartDate { get; set; } + public DateTime BanEndDate { get; set; } + public DateTime RegisterDate { get; set; } + public byte CancelFlag { get; set; } + public DateTime CancelDate { get; set; } + public string Reason { get; set; } + } + + public class BeforehandGachaSnapshotDB + { + public long ShopUniqueId { get; set; } + public long GoodsId { get; set; } + public long LastIndex { get; set; } + public List LastResults { get; set; } + public Nullable SavedIndex { get; set; } + public List SavedResults { get; set; } + public Nullable PickedIndex { get; set; } + } + + public enum ShopCashBlockType + { + All = -1, + AppStore = -2, + GooglePlay = -3, + None = -9999, + } + + public class BlockedProductDB + { + public long CashProductId { get; set; } + public ShopCashBlockType MarketBlockType { get; } + public DateTime BeginDate { get; set; } + public DateTime EndDate { get; set; } + } + + public class CafeProductionDB + { + public long CafeDBId { get; set; } + public long ComfortValue { get; set; } + public DateTime AppliedDate { get; set; } + public List ProductionParcelInfos { get; set; } + } + + public class CafePresetDB + { + public long ServerId { get; set; } + public int SlotId { get; set; } + public string PresetName { get; set; } + public bool IsEmpty { get; set; } + } + + public class EventContentMainStageSaveDB : CampaignMainStageSaveDB + { + public override ContentType ContentType { get; } + public Dictionary SelectedBuffDict { get; set; } + + [JsonIgnore] + public bool IsBuffSelectPopupOpen { get; } + public long CurrentAppearedBuffGroupId { get; set; } + } + + public class CampaignMainStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get => ContentType.CampaignMainStage; } + public CampaignState CampaignState { get; set; } + public int CurrentTurn { get; set; } + public int EnemyClearCount { get; set; } + public int LastEnemyEntityId { get; set; } + public int TacticRankSCount { get; set; } + public Dictionary EnemyInfos { get; set; } + public Dictionary EchelonInfos { get; set; } + public Dictionary> WithdrawInfos { get; set; } + public Dictionary StrategyObjects { get; set; } + public Dictionary> StrategyObjectRewards { get; set; } + public List StrategyObjectHistory { get; set; } + public Dictionary> ActivatedHexaEventsAndConditions { get; set; } + public Dictionary> HexaEventDelayedExecutions { get; set; } + public Dictionary TileMapStates { get; set; } + public List DisplayInfos { get; set; } + public List DeployedEchelonInfos { get; set; } + } + + public class DailyResetCountDB + { + public long AccountServerId { get; set; } + public Dictionary ResetCount { get; set; } + } + + public class CampaignExtraStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get; } + } + + public class EventContentSubStageSaveDB : CampaignSubStageSaveDB + { + public override ContentType ContentType { get; } + } + + public class EventContentMainGroundStageSaveDB : CampaignSubStageSaveDB + { + public override ContentType ContentType { get; } + } + + public class EventContentStoryStageSaveDB : CampaignSubStageSaveDB + { + public override ContentType ContentType { get; } + } + + public class CardShopElementDB + { + public long EventContentId { get; set; } + public int SlotNumber { get; set; } + public long CardShopElementId { get; set; } + public bool SoldOut { get; } + } + + public class CardShopPurchaseHistoryDB + { + public long EventContentId { get; set; } + public Rarity Rarity { get; set; } + public long PurchaseCount { get; set; } + } + + public class ClanAssistRentHistoryDB + { + public long AssistCharacterAccountId { get; set; } + public long AssistCharacterDBId { get; set; } + public DateTime RentDate { get; set; } + public long AssistCharacterId { get; set; } + } + + public class ClanAssistSlotDB + { + public EchelonType EchelonType { get; set; } + public long SlotNumber { get; set; } + public long CharacterDBId { get; set; } + public DateTime DeployDate { get; set; } + public long TotalRentCount { get; set; } + public int CombatStyleIndex { get; set; } + } + + public class ClanAssistRewardInfo + { + public long CharacterDBId { get; set; } + public DateTime DeployDate { get; set; } + public long RentCount { get; set; } + public List CumultativeRewardParcels { get; set; } + public List RentRewardParcels { get; set; } + } + + public class ClanAssistUseInfo + { + public long CharacterAccountId { get; set; } + public long CharacterDBId { get; set; } + public EchelonType EchelonType { get; set; } + public int SlotNumber { get; set; } + public AssistRelation AssistRelation { get; set; } + public int EchelonSlotType { get; set; } + public int EchelonSlotIndex { get; set; } + public int CombatStyleIndex { get; set; } + + [JsonIgnore] + public long DecodedShardId { get; } + + [JsonIgnore] + public long DecodedCharacterDBId { get; } + public bool IsMulligan { get; set; } + public bool IsTSAInteraction { get; set; } + } + + public class ClanDB + { + public long ClanDBId { get; set; } + public string ClanName { get; set; } + public string ClanChannelName { get; set; } + public string ClanPresidentNickName { get; set; } + public long ClanPresidentRepresentCharacterUniqueId { get; set; } + public long ClanPresidentRepresentCharacterCostumeId { get; set; } + public string ClanNotice { get; set; } + public long ClanMemberCount { get; set; } + public ClanJoinOption ClanJoinOption { get; set; } + } + + public class ClanMemberDB + { + public long AccountId { get; set; } + public long AccountLevel { get; set; } + public string AccountNickName { get; set; } + public long ClanDBId { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public long AttendanceCount { get; set; } + public long CafeComfortValue { get; set; } + public ClanSocialGrade ClanSocialGrade { get; set; } + public DateTime JoinDate { get; set; } + public DateTime SocialGradeUpdateTime { get; set; } + public DateTime LastLoginDate { get; set; } + public DateTime GameLoginDate { get; set; } + public DateTime AppliedDate { get; set; } + public AccountAttachmentDB AttachmentDB { get; set; } + } + + public class ClanMemberDescriptionDB + { + public long Exp { get; set; } + public string Comment { get; set; } + public int CollectedCharactersCount { get; set; } + public long ArenaSeasonBestRanking { get; set; } + public long ArenaSeasonCurrentRanking { get; set; } + } + + public struct ClearDeckKey : IEquatable + { + public ContentType ContentType { get; set; } + public long[] Arguments { get; set; } + public bool Equals(ClearDeckKey other) + { + return default; + } + + } + + public class ClearDeckDB + { + public List ClearDeckCharacterDBs { get; set; } + public List MulliganUniqueIds { get; set; } + public long LeaderUniqueId { get; set; } + public long TSSInteractionUniqueId { get; set; } + public EchelonType EchelonType { get; set; } + public long EchelonExtensionType { get; set; } + } + + public class ClearDeckCharacterDB + { + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public int SlotNumber { get; set; } + public bool HasWeapon { get; set; } + public SquadType SquadType { get; set; } + public int WeaponStarGrade { get; set; } + public int CombatStyleIndex { get; set; } + } + + public class ConquestEchelonDB + { + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public EchelonDB EchelonDB { get; set; } + public long AssistCharacterUniqueId { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class ConquestErosionDB : ConquestEventObjectDB + { + public override ConquestEventObjectType ObjectType { get; } + + [JsonIgnore] + public long ErosionId { get; } + public long ConditionSnapshot { get; set; } + public DateTime CreateDate { get; set; } + } + + public abstract class ConquestEventObjectDB + { + public long ConquestObjectDBId { get; set; } + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public long ObjectId { get; set; } + public virtual ConquestEventObjectType ObjectType { get; } + public bool IsAlive { get; set; } + } + + public class ConquestInfoDB + { + public long EventContentId { get; set; } + public int EventGauge { get; set; } + public int EventSpawnCount { get; set; } + public int EchelonChangeCount { get; set; } + public int TodayConquestRentCount { get; set; } + public int TodayOperationRentCount { get; set; } + public long CumulatedConditionValue { get; set; } + public long ReceivedCalculateRewardConditionAmount { get; set; } + + [JsonIgnore] + public long CalculateRewardConditionValue { get; } + public Nullable AlertMassErosionId { get; set; } + } + + public class ConquestStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get; } + public Nullable ConquestEventObjectDBId { get; set; } + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public long TilePresetId { get; set; } + public ConquestTileType ConquestTileType { get; set; } + public bool UseManageEchelon { get; set; } + public AssistCharacterDB AssistCharacterDB { get; set; } + public int EchelonSlotType { get; set; } + public int EchelonSlotIndex { get; set; } + } + + public class ConquestSummary + { + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public Dictionary ConquestStepSummaryDict { get; set; } + } + + public class ConquestStepSummary + { + public long ConqueredTileCount { get; set; } + public long AllTileCount { get; set; } + public long ErosionRemainingCount { get; set; } + public bool HasPhaseComplete { get; set; } + public bool IsErosionPhaseStart { get; set; } + public bool IsStepOpen { get; set; } + } + + public class ConquestMainStorySummary + { + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public Dictionary ConquestStepSummaryDict { get; set; } + } + + public class ConquestMainStoryStepSummary + { + public long ConqueredTileCount { get; set; } + public long AllTileCount { get; set; } + public bool IsStepOpen { get; set; } + } + + public class ConquestTileDB + { + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public TileState TileState { get; set; } + public long Level { get; set; } + public bool[] StarFlags { get; set; } + public DateTime CreateTime { get; set; } + public bool IsThreeStarClear { get; } + public bool IsAnyStarClear { get; } + + [JsonIgnore] + public long BestStarRecord { get; } + } + + public class ConquestTreasureBoxDB : ConquestEventObjectDB + { + public override ConquestEventObjectType ObjectType { get; } + } + + public class ConquestUnexpectedEnemyDB : ConquestEventObjectDB + { + + [JsonIgnore] + public long UnitId { get; } + public override ConquestEventObjectType ObjectType { get; } + } + + public interface IConsumableItemBaseExcel + { + public abstract ParcelType Type { get; } + public abstract long UniqueId { get; } + public abstract long ShiftingCraftQuality { get; } + public abstract long StackableMax { get; } + public abstract Rarity Rarity { get; } + public abstract IReadOnlyList Tags { get; } + public abstract IReadOnlyDictionary CraftQualityDict { get; } + } + + public class ItemExcelData : IConsumableItemBaseExcel + { + public virtual ParcelType Type { get; } + public virtual long UniqueId { get; } + public virtual long ShiftingCraftQuality { get; } + public virtual long StackableMax { get; } + public virtual Rarity Rarity { get; } + public virtual IReadOnlyList Tags { get; set; } + public virtual IReadOnlyDictionary CraftQualityDict { get; set; } + private ItemExcel _excel { get; } + public bool TryGetCraftQuality(CraftNodeTier tier, long quality) + { + return default; + } + + } + + public class FurnitureExcelData : IConsumableItemBaseExcel + { + public virtual ParcelType Type { get; } + public virtual long UniqueId { get; } + public virtual long ShiftingCraftQuality { get; } + public virtual long StackableMax { get; } + public virtual Rarity Rarity { get; } + public virtual IReadOnlyList Tags { get; set; } + public virtual IReadOnlyDictionary CraftQualityDict { get; set; } + private FurnitureExcel _excel { get; } + public bool TryGetCraftQuality(CraftNodeTier tier, long quality) + { + return default; + } + + } + + public class EquipmentExcelData : IConsumableItemBaseExcel + { + public virtual ParcelType Type { get; } + public virtual long UniqueId { get; } + public virtual long ShiftingCraftQuality { get; } + public virtual long StackableMax { get; } + public virtual Rarity Rarity { get; } + public virtual IReadOnlyList Tags { get; set; } + public virtual IReadOnlyDictionary CraftQualityDict { get; set; } + private EquipmentExcel _excel { get; } + public bool TryGetCraftQuality(CraftNodeTier tier, long quality) + { + return default; + } + + } + + public class ConsumeRequestDB + { + public Dictionary ConsumeItemServerIdAndCounts { get; set; } + public Dictionary ConsumeEquipmentServerIdAndCounts { get; set; } + public Dictionary ConsumeFurnitureServerIdAndCounts { get; set; } + + [JsonIgnore] + public bool IsItemsValid { get; } + + [JsonIgnore] + public bool IsEquipmentsValid { get; } + + [JsonIgnore] + public bool IsFurnituresValid { get; } + + [JsonIgnore] + public bool IsValid { get; } + } + + public class ConsumeResultDB + { + public List RemovedItemServerIds { get; set; } + public List RemovedEquipmentServerIds { get; set; } + public List RemovedFurnitureServerIds { get; set; } + public Dictionary UsedItemServerIdAndRemainingCounts { get; set; } + public Dictionary UsedEquipmentServerIdAndRemainingCounts { get; set; } + public Dictionary UsedFurnitureServerIdAndRemainingCounts { get; set; } + } + + public class EquipmentBatchGrowthRequestDB + { + public long TargetServerId { get; set; } + public List ConsumeRequestDBs { get; set; } + public long AfterTier { get; set; } + public long AfterLevel { get; set; } + public long AfterExp { get; set; } + public List ReplaceInfos { get; set; } + } + + public class SkillLevelBatchGrowthRequestDB + { + public SkillSlot SkillSlot { get; set; } + public int Level { get; set; } + public List ReplaceInfos { get; set; } + } + + public class SelectTicketReplaceInfo + { + public ParcelType MaterialType { get; set; } + public long MaterialId { get; set; } + public long TicketItemId { get; set; } + public int Amount { get; set; } + } + + public class GearTierUpRequestDB + { + public long TargetServerId { get; set; } + public long AfterTier { get; set; } + public List ReplaceInfos { get; set; } + } + + public class PotentialGrowthRequestDB + { + public PotentialStatBonusRateType Type { get; set; } + public int Level { get; set; } + } + + public abstract class ContentSaveDB + { + public abstract ContentType ContentType { get; } + public long AccountServerId { get; set; } + public DateTime CreateTime { get; set; } + public long StageUniqueId { get; set; } + public long LastEnterStageEchelonNumber { get; set; } + public List StageEntranceFee { get; set; } + public Dictionary EnemyKillCountByUniqueId { get; set; } + public long TacticClearTimeMscSum { get; set; } + public long AccountLevelWhenCreateDB { get; set; } + public string BIEchelon { get; set; } + public string BIEchelon1 { get; set; } + public string BIEchelon2 { get; set; } + public string BIEchelon3 { get; set; } + public string BIEchelon4 { get; set; } + } + + public abstract class ContentsValueChangeDB + { + public abstract ContentsChangeType ContentsChangeType { get; } + } + + public class CostumeDB : ParcelBase + { + public override ParcelType Type { get; } + + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + public long UniqueId { get; set; } + public long BoundCharacterServerId { get; set; } + } + + public enum CraftProcessCompleteType + { + None = 0, + ByTimeElapse = 1, + ByPlayer = 2, + } + + public enum CraftState + { + None = 0, + BaseNode = 1, + NodeSelecting = 2, + Crafting = 3, + Complete = 4, + } + + public class CraftInfoDB + { + public long SlotSequence { get; set; } + public DateTime StartTime { get; set; } + public DateTime EndTime { get; set; } + public DateTime CraftSlotOpenDate { get; set; } + public List Nodes { get; set; } + + [JsonIgnore] + public IEnumerable ResultIds { get; } + + [JsonIgnore] + public IEnumerable RewardParcelInfos { get; } + } + + public class CraftNodeDB + { + public CraftNodeTier NodeTier { get; set; } + public long SlotSequence { get; set; } + public long NodeId { get; set; } + public long NodeQuality { get; set; } + public long NodeLevel { get; set; } + public int NodeRandomSeed { get; set; } + public int NodeRandomSequence { get; set; } + public List LeafNodeIds { get; set; } + public long ResultId { get; set; } + public CraftNodeResult CraftNodeResult { get; set; } + + [JsonIgnore] + public ParcelInfo RewardParcelInfo { get; } + } + + public class ShiftingCraftInfoDB + { + public long SlotSequence { get; set; } + public long CraftRecipeId { get; set; } + public long CraftAmount { get; set; } + public DateTime StartTime { get; set; } + public DateTime EndTime { get; set; } + } + + public class CraftNodeResult + { + public CraftNodeTier NodeTier { get; set; } + public ParcelInfo ParcelInfo { get; set; } + } + + public class CraftPresetSlotDB + { + public List PresetNodeDBs { get; set; } + } + + public class CraftPresetNodeDB + { + public CraftNodeTier NodeTier { get; set; } + public bool IsActivated { get; set; } + public long PriortyNodeId { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class DetailedAccountInfoDB + { + public long AccountId { get; set; } + public string Nickname { get; set; } + public long Level { get; set; } + public string ClanName { get; set; } + public string Comment { get; set; } + public long FriendCount { get; set; } + public string FriendCode { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long CharacterCount { get; set; } + public Nullable LastNormalCampaignClearStageId { get; set; } + public Nullable LastHardCampaignClearStageId { get; set; } + public Nullable ArenaRanking { get; set; } + public Nullable RaidRanking { get; set; } + public Nullable RaidTier { get; set; } + public Nullable EliminateRaidRanking { get; set; } + public Nullable EliminateRaidTier { get; set; } + public AssistCharacterDB[] AssistCharacterDBs { get; set; } + } + + public class EchelonPresetGroupDB + { + public int GroupIndex { get; set; } + public EchelonExtensionType ExtensionType { get; set; } + public string GroupLabel { get; set; } + public Dictionary PresetDBs { get; set; } + public EchelonPresetDB Item { get; set; } + } + + public class EchelonPresetDB + { + public int GroupIndex { get; set; } + public int Index { get; set; } + public string Label { get; set; } + public long LeaderUniqueId { get; set; } + public long TSSInteractionUniqueId { get; set; } + public long[] StrikerUniqueIds { get; set; } + public long[] SpecialUniqueIds { get; set; } + public int[] CombatStyleIndex { get; set; } + public List MulliganUniqueIds { get; set; } + public EchelonExtensionType ExtensionType { get; set; } + + [JsonIgnore] + public int StrikerSlotCount { get; } + + [JsonIgnore] + public int SpecialSlotCount { get; } + } + + public class EmblemDB : ParcelBase + { + public override ParcelType Type { get; } + public long UniqueId { get; set; } + public DateTime ReceiveDate { get; set; } + public override IEnumerable ParcelInfos { get; } + } + + public class EventContentBonusRewardDB + { + public long EventContentId { get; set; } + public long EventStageUniqueId { get; set; } + public ParcelInfo BonusParcelInfo { get; set; } + } + + public class EventContentBoxGachaDB + { + public long EventContentId { get; set; } + public long Seed { get; set; } + public long Round { get; set; } + public int PurchaseCount { get; set; } + } + + public class EventContentBoxGachaData + { + public long EventContentId { get; set; } + public Dictionary Variations { get; set; } + } + + public class EventContentBoxGachaVariation + { + public long EventContentId { get; set; } + public long VariationId { get; set; } + public Dictionary GachaRoundElements { get; set; } + } + + public class EventContentBoxGachaRoundElement + { + public long EventContentId { get; set; } + public long VariationId { get; set; } + public long Round { get; set; } + public List Elements { get; set; } + } + + public class EventContentBoxGachaElement + { + public long EventContentId { get; set; } + public long VariationId { get; set; } + public long Round { get; set; } + public long GroupId { get; set; } + public long UniqueId { get; set; } + public bool IsPrize { get; set; } + public List Rewards { get; set; } + } + + public class EventContentChangeDB + { + public long EventContentId { get; set; } + public long UseAmount { get; set; } + public long ChangeCount { get; set; } + public long AccumulateChangeCount { get; set; } + public DateTime LastUpdateDate { get; set; } + public bool ChangeFlag { get; set; } + } + + public class EventContentCollectionDB + { + public long EventContentId { get; set; } + public long GroupId { get; set; } + public long UniqueId { get; set; } + public DateTime ReceiveDate { get; set; } + } + + public class EventContentDiceRaceDB + { + public long EventContentId { get; set; } + public long Node { get; set; } + public long LapCount { get; set; } + public long DiceRollCount { get; set; } + public long ReceiveRewardLapCount { get; set; } + } + + public class EventContentDiceResult + { + public int Index { get; set; } + public int MoveAmount { get; set; } + public List Rewards { get; set; } + } + + public class EventContentFortuneGachaStackCountDB + { + public long EventContentId { get; set; } + public int GachaStackCount { get; set; } + } + + public class EventContentLocationDB + { + public long LocationId { get; set; } + public long Rank { get; set; } + public long Exp { get; set; } + public long ScheduleCount { get; set; } + public Dictionary> ZoneVisitCharacterDBs { get; set; } + } + + public class EventContentPermanentDB + { + public long EventContentId { get; set; } + public bool IsStageAllClear { get; set; } + public bool IsReceivedCharacterReward { get; set; } + } + + public class EventContentTreasureSaveBoard + { + public long VariationId { get; set; } + public int Round { get; set; } + public List TreasureObjects { get; set; } + } + + public class EventContentTreasureObject + { + public long ServerId { get; set; } + public long RewardId { get; set; } + public int Rotation { get; set; } + public bool IsHiddenImage { get; set; } + public List Cells { get; set; } + } + + public class EventContentTreasureCell : IEquatable + { + public int X { get; set; } + public int Y { get; set; } + public bool Equals(EventContentTreasureCell other) + { + return default; + } + + } + + public class EventContentTreasureHistoryDB + { + private EventContentTreasureInfo _treasureInfo; + private EventContentTreasureRoundInfo _treasureRoundInfo; + public long EventContentId { get; set; } + public int Round { get; set; } + public EventContentTreasureBoardHistory Board { get; set; } + public bool IsComplete { get; set; } + public List HintTreasures { get; set; } + + [JsonIgnore] + public int MetaRound { get; } + + [JsonIgnore] + public bool CanComplete { get; } + + [JsonIgnore] + public bool CanFlip { get; } + + [JsonIgnore] + public EventContentTreasureInfo TreasureInfo { get; } + + [JsonIgnore] + public EventContentTreasureRoundInfo TreasureRoundInfo { get; } + } + + public class EventContentTreasureBoardHistory + { + public List TreasureIds { get; set; } + public List NormalCells { get; set; } + public List Treasures { get; set; } + } + + public class EventInfoDB + { + public long EventId { get; set; } + public uint ImageNameHash { get; set; } + } + + public class EventRewardIncreaseDB + { + public EventTargetType EventTargetType { get; set; } + public BasisPoint Multiplier { get; set; } + public DateTime BeginDate { get; set; } + public DateTime EndDate { get; set; } + } + + public class FieldStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get; } + } + + public class FriendDB + { + public long AccountId; + public int Level; + public string Nickname; + public DateTime LastConnectTime; + public long RepresentCharacterUniqueId; + public long RepresentCharacterCostumeId; + public long ComfortValue; + public long FriendCount; + public AccountAttachmentDB AttachmentDB; + } + + public class FriendIdCardDB + { + public int Level { get; set; } + public string FriendCode { get; set; } + public string Comment { get; set; } + public DateTime LastConnectTime { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public bool SearchPermission { get; set; } + public bool AutoAcceptFriendRequest { get; set; } + public long CardBackgroundId { get; set; } + public bool ShowAccountLevel { get; set; } + public bool ShowFriendCode { get; set; } + public bool ShowRaidRanking { get; set; } + public bool ShowArenaRanking { get; set; } + public bool ShowEliminateRaidRanking { get; set; } + public Nullable ArenaRanking { get; set; } + public Nullable RaidRanking { get; set; } + public Nullable RaidTier { get; set; } + public Nullable EliminateRaidRanking { get; set; } + public Nullable EliminateRaidTier { get; set; } + public long EmblemId { get; set; } + } + + public class GachaLogDB + { + public long CharacterId { get; set; } + } + + public class GuideMissionSeasonDB : IMemoryPackable, IMemoryPackFormatterRegister + { + public long SeasonId { get; set; } + public long LoginCount { get; set; } + public DateTime StartDate { get; set; } + public DateTime LoginDate { get; set; } + public bool IsComplete { get; set; } + public bool IsFinalMissionComplete { get; set; } + public Nullable CollectionItemReceiveDate { get; set; } + } + + public class IdCardBackgroundDB : ParcelBase + { + public override ParcelType Type { get; } + public long ServerId { get; set; } + public long UniqueId { get; set; } + public override IEnumerable ParcelInfos { get; } + } + + public enum IssueAlertTypeCode + { + All = 1, + File_Target = 2, + AllButFile_Exception = 3, + } + + public class IssueAlertInfoDB + { + public int IssueAlertId { get; set; } + public IssueAlertTypeCode IssueAlertType { get; set; } + public DateTime StartDate { get; set; } + public DateTime EndDate { get; set; } + public byte DisplayOrder { get; set; } + public int PublishId { get; set; } + public string Url { get; set; } + public string Subject { get; set; } + } + + public class MiniGameDefenseStageHistoryDB + { + public long StageId { get; set; } + public bool Star1Flag { get; set; } + public bool Star2Flag { get; set; } + public bool Star3Flag { get; set; } + public bool FirstClearRewardReceive { get; set; } + public bool StarRewardReceive { get; set; } + + [JsonIgnore] + public bool IsThreeStar { get; } + + [JsonIgnore] + public bool IsFirstClear { get; } + } + + public class MiniGameDreamMakerInfoDB + { + public long EventContentId { get; set; } + public long Round { get; set; } + public long Multiplier { get; set; } + public long DayOfNumber { get; set; } + public long ActionCount { get; set; } + public long CurrentRoundEndingId { get; set; } + public bool EndingRewardReceived { get; set; } + public bool CanStartNewGame { get; set; } + + [JsonIgnore] + public bool CanReceiveEndingReward { get; } + } + + public class MiniGameDreamMakerParameterDB + { + public DreamMakerParameterType ParameterType { get; set; } + public long BaseAmount { get; set; } + public long CurrentAmount { get; set; } + } + + public class MiniGameDreamMakerEndingDB + { + public long EventContentId { get; set; } + public long EndingId { get; set; } + public long ClearCount { get; set; } + public DateTime ClearDate { get; set; } + } + + public class MiniGameHistoryDB + { + public long EventContentId { get; set; } + public long UniqueId { get; set; } + public long HighScore { get; set; } + public long AccumulatedScore { get; set; } + public DateTime ClearDate { get; set; } + public bool IsFullCombo { get; set; } + } + + public class MiniGameResult + { + public EventContentType ContentType { get; } + public long EventContentId { get; set; } + public long UniqueId { get; set; } + public long TotalScore { get; set; } + public long ComboCount { get; set; } + public long FeverCount { get; set; } + public bool AllCombo { get; set; } + public long HPBonusScore { get; set; } + public long NoteCount { get; set; } + public long CriticalCount { get; set; } + } + + public class MiniGameShootingHistoryDB + { + public long EventContentId { get; set; } + public long UniqueId { get; set; } + public long ArriveSection { get; set; } + public DateTime LastUpdateDate { get; set; } + public bool IsClearToday { get; set; } + } + + public class MissionHistoryDB : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + + [JsonIgnore] + public long ServerId { get; set; } + + [JsonIgnore] + public long AccountServerId { get; set; } + public long MissionUniqueId { get; set; } + public DateTime CompleteTime { get; set; } + public bool Expired { get; set; } + public bool Equals(MissionHistoryDB other) + { + return default; + } + + } + + public class MomoTalkOutLineDB + { + public long CharacterDBId { get; set; } + public long CharacterId { get; set; } + public long LatestMessageGroupId { get; set; } + public Nullable ChosenMessageId { get; set; } + public DateTime LastUpdateDate { get; set; } + } + + public class MomoTalkChoiceDB + { + public long CharacterDBId { get; set; } + public long MessageGroupId { get; set; } + public long ChosenMessageId { get; set; } + public DateTime ChosenDate { get; set; } + } + + public class MonthlyProductPurchaseDB + { + public long ProductId { get; set; } + public DateTime PurchaseDate { get; set; } + public Nullable LastDailyRewardDate { get; set; } + public Nullable RewardEndDate { get; set; } + public ProductTagType ProductTagType { get; } + } + + public class MultiSweepPresetDB + { + public long PresetId { get; set; } + public string PresetName { get; set; } + public IEnumerable StageIds { get; set; } + public IEnumerable ParcelIds { get; set; } + } + + public class OpenConditionDB + { + public OpenConditionContent ContentType { get; set; } + public bool HideWhenLocked { get; set; } + public long AccountLevel { get; set; } + public long ScenarioModeId { get; set; } + public long CampaignStageUniqueId { get; set; } + public MultipleConditionCheckType MultipleConditionCheckType { get; set; } + public WeekDay OpenDayOfWeek { get; set; } + public long OpenHour { get; set; } + public WeekDay CloseDayOfWeek { get; set; } + public long CloseHour { get; set; } + public long CafeIdForCafeRank { get; set; } + public long CafeRank { get; set; } + public long OpenedCafeId { get; set; } + } + + public class ProductPurchaseCountDB + { + public long EventContentId { get; set; } + public long ShopExcelId { get; set; } + public int PurchaseCount { get; set; } + public DateTime LastPurchaseDate { get; set; } + public PurchaseCountResetType PurchaseCountResetType { get; set; } + public DateTime ResetDate { get; set; } + } + + public class PurchaseCountDB + { + public long ShopCashId { get; set; } + public int PurchaseCount { get; set; } + public DateTime ResetDate { get; set; } + public Nullable PurchaseDate { get; set; } + public Nullable ManualResetDate { get; set; } + } + + public class PurchaseOrderDB + { + public long ShopCashId { get; set; } + public PurchaseStatusCode StatusCode { get; set; } + public long PurchaseOrderId { get; set; } + } + + public class RaidBattleDB + { + public ContentType ContentType { get; set; } + public long RaidUniqueId { get; set; } + public int RaidBossIndex { get; set; } + public long CurrentBossHP { get; set; } + public long CurrentBossGroggy { get; set; } + public long CurrentBossAIPhase { get; set; } + public string BIEchelon { get; set; } + public bool IsClear { get; set; } + public RaidMemberCollection RaidMembers { get; set; } + public List SubPartsHPs { get; set; } + } + + public class RaidBossDB + { + public ContentType ContentType { get; set; } + public int BossIndex { get; set; } + public long BossCurrentHP { get; set; } + public long BossGroggyPoint { get; set; } + } + + public class RaidDB + { + public RaidMemberDescription Owner { get; set; } + public ContentType ContentType { get; set; } + public long ServerId { get; set; } + public long UniqueId { get; set; } + public long SeasonId { get; set; } + public DateTime Begin { get; set; } + public DateTime End { get; set; } + + [JsonIgnore] + public long OwnerAccountServerId { get; } + + [JsonIgnore] + public string OwnerNickname { get; } + public long PlayerCount { get; set; } + + [JsonIgnore] + public string BossGroup { get; } + + [JsonIgnore] + public Difficulty BossDifficulty { get; } + + [JsonIgnore] + public int LastBossIndex { get; } + public List Tags { get; set; } + public string SecretCode { get; set; } + public RaidStatus RaidState { get; set; } + public bool IsPractice { get; set; } + public List RaidBossDBs { get; set; } + public Dictionary> ParticipateCharacterServerIds { get; set; } + public bool IsEnterRoom { get; set; } + + [JsonIgnore] + public long SessionHitPoint { get; } + public long AccountLevelWhenCreateDB { get; set; } + public bool ClanAssistUsed { get; set; } + } + + public abstract class RaidLobbyInfoDB + { + public long SeasonId { get; set; } + public int Tier { get; set; } + public long Ranking { get; set; } + public long BestRankingPoint { get; set; } + public long TotalRankingPoint { get; set; } + public long ReceivedRankingRewardId { get; set; } + public bool CanReceiveRankingReward { get; set; } + public RaidDB PlayingRaidDB { get; set; } + public List ReceiveRewardIds { get; set; } + public List ReceiveLimitedRewardIds { get; set; } + public List ParticipateCharacterServerIds { get; set; } + public Dictionary PlayableHighestDifficulty { get; set; } + public Dictionary SweepPointByRaidUniqueId { get; set; } + public DateTime SeasonStartDate { get; set; } + public DateTime SeasonEndDate { get; set; } + public DateTime SettlementEndDate { get; set; } + public long NextSeasonId { get; set; } + public DateTime NextSeasonStartDate { get; set; } + public DateTime NextSeasonEndDate { get; set; } + public DateTime NextSettlementEndDate { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + public Dictionary RemainFailCompensation { get; set; } + } + + public class SingleRaidLobbyInfoDB : RaidLobbyInfoDB + { + } + + public class EliminateRaidLobbyInfoDB : RaidLobbyInfoDB + { + public List OpenedBossGroups { get; set; } + public Dictionary BestRankingPointPerBossGroup { get; set; } + } + + public class RaidGiveUpDB + { + public long Ranking { get; set; } + public long RankingPoint { get; set; } + public long BestRankingPoint { get; set; } + } + + public abstract class RaidUserDB : ICloneable + { + public long AccountId { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public long Level { get; set; } + public string Nickname { get; set; } + public int Tier { get; set; } + public long Rank { get; set; } + public long BestRankingPoint { get; set; } + public double BestRankingPointDetail { get; set; } + public AccountAttachmentDB AccountAttachmentDB { get; set; } + public object Clone() + { + return default; + } + + } + + public class SingleRaidUserDB : RaidUserDB + { + public RaidTeamSettingDB RaidTeamSettingDB { get; set; } + } + + public class EliminateRaidUserDB : RaidUserDB + { + public Dictionary BossGroupToRankingPoint; + } + + public class RaidTeamSettingDB + { + public long AccountId { get; set; } + public long TryNumber { get; set; } + public EchelonType EchelonType { get; set; } + public EchelonExtensionType EchelonExtensionType { get; set; } + public IList MainCharacterDBs { get; set; } + public IList SupportCharacterDBs { get; set; } + public IList SkillCardMulliganCharacterIds { get; set; } + public long TSSInteractionUniqueId { get; set; } + public long LeaderCharacterUniqueId { get; set; } + } + + public class EliminateRaidAdditionalRankingInfo + { + public Dictionary BossGroupToScore; + } + + public class RaidCharacterDB + { + public long ServerId { get; set; } + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public int SlotIndex { get; set; } + public long AccountId { get; set; } + public bool IsAssist { get; set; } + public bool HasWeapon { get; set; } + public int WeaponStarGrade { get; set; } + public long CostumeId { get; set; } + public int CombatStyleIndex { get; set; } + } + + public class RaidRankingInfo + { + public long SeasonId { get; set; } + public long AccountId { get; set; } + public long Ranking { get; set; } + public long Score { get; set; } + public double ScoreDetail { get; set; } + } + + public class RaidDetailDB + { + public long RaidUniqueId { get; set; } + public DateTime EndDate { get; set; } + public List DamageTable { get; set; } + } + + public class RaidLimitedRewardHistoryDB + { + public ContentType ContentType { get; set; } + public long SeasonId { get; set; } + public long RewardId { get; set; } + public DateTime ReceiveDate { get; set; } + } + + public class RaidParticipateCharactersDB + { + public long RaidServerId { get; set; } + public long AccountServerId { get; set; } + public List ParticipateCharacterServerIds { get; set; } + } + + public class RaidPlayerInfoDB + { + public long RaidServerId { get; set; } + public long AccountId { get; set; } + public DateTime JoinDate { get; set; } + public long DamageAmount { get; set; } + public int RaidEndRewardFlag { get; set; } + public int RaidPlayCount { get; set; } + public string Nickname { get; set; } + public long CharacterId { get; set; } + public long CostumeId { get; set; } + public Nullable AccountLevel { get; set; } + } + + public class RaidSeasonHistoryDB + { + public long SeasonServerId { get; set; } + public DateTime ReceiveDateTime { get; set; } + public long SeasonRewardGauage { get; set; } + } + + public class RaidSeasonManageDB + { + public long SeasonId { get; set; } + public DateTime SeasonStartDate { get; set; } + public DateTime SeasonEndDate { get; set; } + public DateTime SeasonSettlementEndDate { get; set; } + public DateTime UpdateDate { get; set; } + } + + public class RaidSeasonPointRewardHistoryDB + { + public ContentType ContentType { get; set; } + public long SeasonId { get; set; } + public long LastReceivedSeasonRewardId { get; set; } + public DateTime SeasonRewardReceiveDate { get; set; } + } + + public class RaidSeasonRankingHistoryDB + { + public ContentType ContentType { get; set; } + public long AccountId { get; set; } + public long SeasonId { get; set; } + public long Ranking { get; set; } + public long BestRankingPoint { get; set; } + public int Tier { get; set; } + public DateTime ReceivedDate { get; set; } + } + + public struct ResetableContentId : IEquatable + { + public ResetContentType Type { get; set; } + public long Mapped { get; set; } + public bool Equals(ResetableContentId other) + { + return default; + } + + } + + public class ResetableContentValueDB : IEquatable + { + public ResetableContentId ResetableContentId { get; set; } + public long ContentValue { get; set; } + public DateTime LastUpdateTime { get; set; } + public bool Equals(ResetableContentValueDB other) + { + return default; + } + + } + + public class ScenarioCollectionDB + { + public long GroupId { get; set; } + public long UniqueId { get; set; } + public DateTime ReceiveDate { get; set; } + } + + public class SchoolDungeonStageSaveDB : ContentSaveDB + { + public override ContentType ContentType { get; } + } + + public class SelectGachaSnapshotDB + { + public long ShopUniqueId { get; set; } + public long LastIndex { get; set; } + public List LastResults { get; set; } + public Nullable SavedIndex { get; set; } + public List SavedResults { get; set; } + public Nullable PickedIndex { get; set; } + } + + public class SessionDB + { + public SessionKey SessionKey { get; set; } + public DateTime LastConnect { get; set; } + public int ConnectionTime { get; set; } + } + + public class ShopEligmaHistoryDB + { + public long CharacterUniqueId { get; set; } + public long PurchaseCount { get; set; } + } + + public class ShopFreeRecruitHistoryDB + { + public long UniqueId { get; set; } + public int RecruitCount { get; set; } + public DateTime LastUpdateDate { get; set; } + } + + public enum ShopProductType + { + None = 0, + General = 1, + Refresh = 2, + } + + public class ShopInfoDB + { + public long EventContentId { get; set; } + public ShopCategoryType Category { get; set; } + public Nullable ManualRefreshCount { get; set; } + public bool IsRefresh { get; set; } + public Nullable NextAutoRefreshDate { get; set; } + public Nullable LastAutoRefreshDate { get; set; } + public List ShopProductList { get; set; } + } + + public class ShopProductDB + { + public long EventContentId { get; set; } + public long ShopExcelId { get; set; } + public ShopCategoryType Category { get; set; } + public long DisplayOrder { get; set; } + public long PurchaseCount { get; set; } + + [JsonIgnore] + public bool SoldOut { get; } + public long PurchaseCountLimit { get; set; } + public long Price { get; set; } + public ShopProductType ProductType { get; set; } + } + + public class ShopRecruitDB + { + public long Id { get; set; } + public DateTime SalesStartDate { get; set; } + public DateTime SalesEndDate { get; set; } + public DateTime UpdateDate { get; set; } + } + + public class SkipHistoryDB + { + public int Prologue { get; set; } + public Dictionary Tutorial { get; set; } + } + + public class StickerBookDB + { + public long AccountId { get; set; } + public IEnumerable UnusedStickerDBs { get; set; } + public IEnumerable UsedStickerDBs { get; set; } + } + + public class StickerDB : ParcelBase, IEquatable + { + public override ParcelType Type { get; } + public long StickerUniqueId { get; set; } + public override IEnumerable ParcelInfos { get; } + public bool Equals(StickerDB other) + { + return default; + } + + } + + public class StoryStrategyStageSaveDB : CampaignMainStageSaveDB + { + public override ContentType ContentType { get; } + } + + public class StrategyObjectHistoryDB + { + public long StrategyObjectId { get; set; } + } + + public class TimeAttackDungeonCharacterDB + { + public long ServerId { get; set; } + public long UniqueId { get; set; } + public long CostumeId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public bool HasWeapon { get; set; } + public WeaponDB WeaponDB { get; set; } + public bool IsAssist { get; set; } + public int CombatStyleIndex { get; set; } + } + + public class TimeAttackDungeonBattleHistoryDB + { + public TimeAttackDungeonType DungeonType { get; set; } + public long GeasId { get; set; } + public long DefaultPoint { get; set; } + public long ClearTimePoint { get; set; } + public long EndFrame { get; set; } + + [JsonIgnore] + public long TotalPoint { get; } + public List MainCharacterDBs { get; set; } + public List SupportCharacterDBs { get; set; } + } + + public class TimeAttackDungeonRewardHistoryDB + { + public DateTime Date { get; set; } + public TimeAttackDungeonRoomDB RoomDB { get; set; } + public bool IsSweep { get; set; } + } + + public class TimeAttackDungeonRoomDB + { + public long AccountId { get; set; } + public long SeasonId { get; set; } + public long RoomId { get; set; } + public DateTime CreateDate { get; set; } + public DateTime RewardDate { get; set; } + public bool IsPractice { get; set; } + public List SweepHistoryDates { get; set; } + public List BattleHistoryDBs { get; set; } + + [JsonIgnore] + public int PlayCount { get; } + + [JsonIgnore] + public long TotalPointSum { get; } + + [JsonIgnore] + public bool IsRewardReceived { get; } + + [JsonIgnore] + public bool IsOpened { get; } + + [JsonIgnore] + public bool CanUseAssist { get; } + + [JsonIgnore] + public bool IsPlayCountOver { get; } + } + + public class ToastDB + { + public long UniqueId { get; set; } + public string Text { get; set; } + public string ToastId { get; set; } + public DateTime BeginDate { get; set; } + public DateTime EndDate { get; set; } + public int LifeTime { get; set; } + public int Delay { get; set; } + } + + public class VisitingCharacterDB + { + public long UniqueId { get; set; } + public long ServerId { get; set; } + } + + public class WeekDungeonSaveDB : ContentSaveDB + { + public override ContentType ContentType { get; } + public WeekDungeonType WeekDungeonType { get; set; } + public int Seed { get; set; } + public int Sequence { get; set; } + } + + public class WorldRaidSnapshot + { + public List WorldRaidLocalBossDBs { get; set; } + public List WorldRaidClearHistoryDBs { get; set; } + } + + public class WorldRaidLocalBossDB + { + public long SeasonId { get; set; } + public long GroupId { get; set; } + public long UniqueId { get; set; } + public bool IsScenario { get; set; } + public bool IsCleardEver { get; set; } + public long TacticMscSum { get; set; } + public RaidBattleDB RaidBattleDB { get; set; } + public bool IsContinue { get; } + } + + public class WorldRaidWorldBossDB + { + public long GroupId { get; set; } + public long HP { get; set; } + public long Participants { get; set; } + } + + public class WorldRaidClearHistoryDB + { + public long SeasonId { get; set; } + public long GroupId { get; set; } + public DateTime RewardReceiveDate { get; set; } + } + + public class WorldRaidBossListInfoDB + { + public long GroupId { get; set; } + public WorldRaidWorldBossDB WorldBossDB { get; set; } + public List LocalBossDBs { get; set; } + } + + public class WorldRaidBossGroup : ContentsValueChangeDB + { + public override ContentsChangeType ContentsChangeType { get; } + public long GroupId { get; set; } + public DateTime BossSpawnTime { get; set; } + public DateTime EliminateTime { get; set; } + } + + public class WorldRaidBossDamageRatio : ContentsValueChangeDB + { + public override ContentsChangeType ContentsChangeType { get; } + public BasisPoint DamageRatio { get; set; } + } + + public enum OpenConditionLockReason + { + None = 0, + Level = 1, + StageClear = 2, + Time = 4, + Day = 8, + CafeRank = 16, + ScenarioModeClear = 32, + CafeOpen = 64, + } + + public class ParcelResultDB + { + public AccountDB AccountDB { get; set; } + public List AcademyLocationDBs { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public List CharacterDBs { get; set; } + public List WeaponDBs { get; set; } + public List CostumeDBs { get; set; } + public List TSSCharacterDBs { get; set; } + public Dictionary EquipmentDBs { get; set; } + public List RemovedEquipmentIds { get; set; } + public Dictionary ItemDBs { get; set; } + public List RemovedItemIds { get; set; } + public Dictionary FurnitureDBs { get; set; } + public List RemovedFurnitureIds { get; set; } + public Dictionary IdCardBackgroundDBs { get; set; } + public List EmblemDBs { get; set; } + public List StickerDBs { get; set; } + public List MemoryLobbyDBs { get; set; } + public List CharacterNewUniqueIds { get; set; } + public Dictionary SecretStoneCharacterIdAndCounts { get; set; } + public List DisplaySequence { get; set; } + public List ParcelForMission { get; set; } + public List ParcelResultStepInfoList { get; set; } + public long BaseAccountExp { get; set; } + public long AdditionalAccountExp { get; set; } + public long NewbieBoostAccountExp { get; set; } + + [JsonIgnore] + public List GachaResultCharacters { get; set; } + } + + public class ParcelInfo : IEquatable + { + public ParcelKeyPair Key { get; set; } + public long Amount { get; set; } + public BasisPoint Multiplier { get; set; } + + [JsonIgnore] + public long MultipliedAmount { get; } + public BasisPoint Probability { get; set; } + public bool Equals(ParcelInfo other) + { + return default; + } + + } + + public class AttendanceBookReward + { + public long UniqueId { get; set; } + public AttendanceType Type { get; set; } + public AccountState AccountType { get; set; } + public long DisplayOrder { get; set; } + public long AccountLevelLimit { get; set; } + public string Title { get; set; } + public string TitleImagePath { get; set; } + public AttendanceCountRule CountRule { get; set; } + public AttendanceResetType CountReset { get; set; } + public long BookSize { get; set; } + public DateTime StartDate { get; set; } + public DateTime StartableEndDate { get; set; } + public DateTime EndDate { get; set; } + public long ExpiryDate { get; set; } + public MailType MailType { get; set; } + public Dictionary DailyRewardIcons { get; set; } + public Dictionary> DailyRewards { get; set; } + } + + [Serializable] + public struct HexLocation : IEquatable + { + public int x; + public int y; + public int z; + [JsonIgnore] + public static readonly int NeighborCount; + [JsonIgnore] + public static readonly HexLocation[] Directions; + + [JsonIgnore] + public static HexLocation Zero { get; } + + [JsonIgnore] + public static HexLocation Invalid { get; } + public bool Equals(HexLocation other) + { + return default; + } + + } + + public class Strategy + { + public long EntityId; + public Vector3 Rotate; + public long Id; + public HexLocation Location; + [JsonIgnore] + public CampaignStrategyObjectExcel CampaignStrategyExcel; + public bool PlayAnimation { get; set; } + public bool Activated { get; set; } + public List Values { get; set; } + public int Index { get; set; } + + [JsonIgnore] + public bool Movable { get; } + + [JsonIgnore] + public bool NeedValueType { get; } + } + + public class BattleSummary : IEquatable + { + [JsonIgnore] + private int writeFrame; + [JsonIgnore] + private Battle battle; + public long HashKey { get; set; } + public bool IsBossBattle { get; set; } + public BattleTypes BattleType { get; set; } + public long StageId { get; set; } + public long GroundId { get; set; } + public string Winner { get; set; } + + [JsonIgnore] + public bool IsPlayerWin { get; } + public BattleEndType EndType { get; set; } + public int EndFrame { get; set; } + public GroupSummary Group01Summary { get; set; } + public GroupSummary Group02Summary { get; set; } + public WeekDungeonSummary WeekDungeonSummary { get; set; } + public RaidSummary RaidSummary { get; set; } + public ArenaSummary ArenaSummary { get; set; } + + [JsonIgnore] + public TimeSpan EndTime { get; } + public int ContinueCount { get; set; } + public float ElapsedRealtime { get; set; } + + [JsonIgnore] + public string FindGiftClearText { get; } + + [JsonIgnore] + public long EventContentId { get; set; } + + [JsonIgnore] + public long FixedEchelonId { get; set; } + public bool IsAbort { get; set; } + public bool IsDefeatBattle { get; set; } + + [JsonIgnore] + public bool IsDefeatFailure { get; } + public bool Equals(BattleSummary other) + { + return default; + } + + } + + public class SkillCardHand + { + public float Cost { get; set; } + public List SkillCardsInHand { get; set; } + } + + public class TacticSkipSummary + { + public long StageId { get; set; } + public long Group01HexaUnitId { get; set; } + public long Group02HexaUnitId { get; set; } + } + + public class HexaUnit + { + public long EntityId; + public Dictionary HpInfos; + public Dictionary DyingInfos; + public Dictionary BuffInfos; + public int ActionCountMax; + public int ActionCount; + public int Mobility; + public int StrategySightRange; + public long Id; + public Vector3 Rotate; + public HexLocation Location; + public HexLocation AIDestination; + public bool IsActionComplete; + public bool IsPlayer; + public bool IsFixedEchelon; + public int MovementOrder; + public Dictionary> RewardParcelInfosWithDropTacticEntityType; + [JsonIgnore] + public CampaignUnitExcel CampaignUnitExcel; + [JsonIgnore] + public List MovableTiles; + [JsonIgnore] + public List> MovementMap; + + [JsonIgnore] + public List BuffGroupIds { get; } + public SkillCardHand SkillCardHand { get; set; } + public bool PlayAnimation { get; set; } + + [JsonIgnore] + public Dictionary> RewardItems { get; } + } + + public enum SkillSlot + { + None = 0, + NormalAttack01 = 1, + NormalAttack02 = 2, + NormalAttack03 = 3, + NormalAttack04 = 4, + NormalAttack05 = 5, + NormalAttack06 = 6, + NormalAttack07 = 7, + NormalAttack08 = 8, + NormalAttack09 = 9, + NormalAttack10 = 10, + ExSkill01 = 11, + ExSkill02 = 12, + ExSkill03 = 13, + ExSkill04 = 14, + ExSkill05 = 15, + ExSkill06 = 16, + ExSkill07 = 17, + ExSkill08 = 18, + ExSkill09 = 19, + ExSkill10 = 20, + Passive01 = 21, + Passive02 = 22, + Passive03 = 23, + Passive04 = 24, + Passive05 = 25, + Passive06 = 26, + Passive07 = 27, + Passive08 = 28, + Passive09 = 29, + Passive10 = 30, + ExtraPassive01 = 31, + ExtraPassive02 = 32, + ExtraPassive03 = 33, + ExtraPassive04 = 34, + ExtraPassive05 = 35, + ExtraPassive06 = 36, + ExtraPassive07 = 37, + ExtraPassive08 = 38, + ExtraPassive09 = 39, + ExtraPassive10 = 40, + Support01 = 41, + Support02 = 42, + Support03 = 43, + Support04 = 44, + Support05 = 45, + Support06 = 46, + Support07 = 47, + Support08 = 48, + Support09 = 49, + Support10 = 50, + EnterBattleGround = 51, + LeaderSkill01 = 52, + LeaderSkill02 = 53, + LeaderSkill03 = 54, + LeaderSkill04 = 55, + LeaderSkill05 = 56, + LeaderSkill06 = 57, + LeaderSkill07 = 58, + LeaderSkill08 = 59, + LeaderSkill09 = 60, + LeaderSkill10 = 61, + Equipment01 = 62, + Equipment02 = 63, + Equipment03 = 64, + Equipment04 = 65, + Equipment05 = 66, + Equipment06 = 67, + Equipment07 = 68, + Equipment08 = 69, + Equipment09 = 70, + Equipment10 = 71, + PublicSkill01 = 72, + PublicSkill02 = 73, + PublicSkill03 = 74, + PublicSkill04 = 75, + PublicSkill05 = 76, + PublicSkill06 = 77, + PublicSkill07 = 78, + PublicSkill08 = 79, + PublicSkill09 = 80, + PublicSkill10 = 81, + GroupBuff01 = 82, + HexaBuff01 = 83, + EventBuff01 = 84, + EventBuff02 = 85, + EventBuff03 = 86, + MoveAttack01 = 87, + MetamorphNormalAttack = 88, + GroundPassive01 = 89, + GroundPassive02 = 90, + GroundPassive03 = 91, + GroundPassive04 = 92, + GroundPassive05 = 93, + GroundPassive06 = 94, + GroundPassive07 = 95, + GroundPassive08 = 96, + GroundPassive09 = 97, + GroundPassive10 = 98, + HiddenPassive01 = 99, + HiddenPassive02 = 100, + HiddenPassive03 = 101, + HiddenPassive04 = 102, + HiddenPassive05 = 103, + HiddenPassive06 = 104, + HiddenPassive07 = 105, + HiddenPassive08 = 106, + HiddenPassive09 = 107, + HiddenPassive10 = 108, + Count = 109, + } + + public class ConquestDisplayInfo : IComparable + { + public ConquestTriggerType TriggerType { get; set; } + public ConquestDisplayType Type { get; set; } + public long EntityId { get; set; } + public long TileUniqueId { get; set; } + public string Parameter { get; set; } + public int DisplayOrder { get; set; } + public bool DisplayOnce { get; set; } + public int CompareTo(object obj) + { + return default; + } + + } + + public class MultiSweepParameter + { + public Nullable EventContentId; + public ContentType ContentType; + public long StageId; + public int SweepCount; + } + + public struct ParcelKeyPair : IEquatable, IComparable + { + public static readonly ParcelKeyPair Empty; + public ParcelType Type { get; set; } + public long Id { get; set; } + public bool Equals(ParcelKeyPair other) + { + return default; + } + + public int CompareTo(ParcelKeyPair other) + { + return default; + } + + } + + public struct RaidDamage + { + public static readonly RaidDamage Invalid; + public int Index { get; set; } + public long GivenDamage { get; set; } + public long GivenGroggyPoint { get; set; } + } + + public class RaidBossResultCollection : KeyedCollection + { + + [JsonIgnore] + public int LastIndex { get; } + + [JsonIgnore] + public long TotalDamage { get; } + + [JsonIgnore] + public long CurrentDamage { get; } + + [JsonIgnore] + public long TotalGroggyPoint { get; } + + [JsonIgnore] + public long CurrentGroggyPoint { get; } + + [JsonIgnore] + public int TotalGroggyCount { get; } + protected override int GetKeyForItem(RaidBossResult item) + { + return default; + } + + } + + public class MinigameRhythmSummary : IEquatable + { + public string MusicTitle; + public int PatternDifficulty; + public bool IsSpecial; + public int TotalNoteCount; + public int CriticalCount; + public int AttackCount; + public int MissCount; + public bool IsFullCombo; + public int MaxCombo; + public long FinalScore; + public long HPBonusScore; + public DateTime GameStartTime; + public DateTime GameEndTime; + public float RhythmGamePlayTime; + public float StdDev; + public MinigameJudgeRecord[] MinigameJudgeRecords; + public bool IsAutoPlay; + public bool Equals(MinigameRhythmSummary other) + { + return default; + } + + } + + public class MiniGameShootingSummary + { + public long EventContentId; + public long StageId; + public long PlayerCharacterId; + public List GeasIds; + public long SectionCount; + public long ArriveSection; + public float LeftTimeSec; + public float ProgressedTimeSec; + public Dictionary KillEnemies; + public bool IsWin; + } + + public class TBGBoardSaveDB + { + private ITBGSeasonInfo _seasonInfoCache; + [JsonIgnore] + public bool WasHiddenTreasureRecorded; + [JsonIgnore] + public bool WasHiddenPotalOpenConditionRecorded; + + [JsonIgnore] + public TBGEventHandler EventHandler { get; set; } + + [JsonIgnore] + public ITBGSeasonInfo SeasonInfo { get; } + + [JsonIgnore] + public bool HasActiveEncounter { get; } + + [JsonIgnore] + public TBGHexaMapDB CurrentMap { get; } + + [JsonIgnore] + public bool IsClearThema { get; } + + [JsonIgnore] + public bool Sweepable { get; } + public long AccountId { get; set; } + public long EventContentId { get; set; } + public int Round { get; set; } + public int ThemaIndex { get; set; } + public TBGThemaType CurrentThemaMapType { get; set; } + public TBGHexaMapDB MainMap { get; set; } + public TBGHexaMapDB HiddenMap { get; set; } + public TBGPlayerDB Player { get; set; } + public TBGEncounterDB Encounter { get; set; } + public Dictionary BestClearRecord { get; set; } + public List HiddenTreasureRecord { get; set; } + public List HiddenPotalOpenConditionRecord { get; set; } + + [JsonIgnore] + public ParcelInfo CurrentRevivalCost { get; } + } + + public class TBGPlayerDB + { + private TBGBoardSaveDB _saveDB; + private ITBGSeasonInfo _seasonInfoCache; + private bool _hasItemsDirty; + private bool _hasItemEffectDirty; + + [JsonIgnore] + public ITBGSeasonInfo SeasonInfo { get; } + + [JsonIgnore] + public int MaxHitPoint { get; } + + [JsonIgnore] + public bool IsMaxHitPointReached { get; } + + [JsonIgnore] + public IReadOnlyList CurrentDiceInfo { get; } + + [JsonIgnore] + public TBGItemEffectDB ActivatedDefenceEffect { get; } + + [JsonIgnore] + public TBGItemEffectDB ActivatedDefenceCriticalEffect { get; } + + [JsonIgnore] + public TBGItemEffectDB ActivatedGuideEffect { get; } + + [JsonIgnore] + public IEnumerable ActivatedDiceAddDotEffect { get; } + + [JsonIgnore] + public IEnumerable ActivatedPermanentDiceAddDotEffect { get; } + + [JsonIgnore] + public bool IsMaxPermanentDiceAddDotReached { get; } + + [JsonIgnore] + public TBGItemEffectDB ActivatedDiceForceDotEffect { get; } + + [JsonIgnore] + public TBGItemDB[] ItemSlots { get; } + public HexLocation Location { get; set; } + public long EventContentId { get; set; } + public int HitPoint { get; set; } + public long DiceId { get; set; } + public Dictionary DiceProbModifyParams { get; set; } + public List Items { get; set; } + public TBGItemDB TemporaryItem { get; set; } + + [JsonIgnore] + public bool HasItemsDirty { get; set; } + public List ItemEffects { get; set; } + + [JsonIgnore] + public bool HasItemEffectDirty { get; set; } + + [JsonIgnore] + public bool IsDead { get; } + } + + public abstract class TBGEncounterDB + { + private ITBGEncounterInfo _encounterInfoCache; + + [JsonIgnore] + public ITBGEncounterInfo EncounterInfo { get; } + + [JsonIgnore] + public int EncounterRewardReceiveIndex { get; } + + [JsonIgnore] + public abstract TBGEncounterState EncounterState { get; } + + [JsonIgnore] + public abstract int EncounterStageCode { get; } + public long EncounterId { get; set; } + public long InvokerServerId { get; set; } + public int ObjectType { get; set; } + public bool ShouldDecreaseItemEffectCounter { get; set; } + public Dictionary RewardUniqueIdByIndex { get; set; } + } + + public enum TBGDiceRollResult + { + Failure = 0, + Success = 1, + CriticalSuccess = 2, + } + + public class MissionInfo : IMissionConstraint + { + public long Id { get; set; } + public MissionCategory Category { get; set; } + public MissionResetType ResetType { get; set; } + public MissionToastDisplayConditionType ToastDisplayType { get; set; } + public uint Description { get; set; } + public bool IsVisible { get; set; } + public bool IsLimited { get; set; } + public DateTime StartDate { get; set; } + public DateTime StartableEndDate { get; set; } + public DateTime EndDate { get; set; } + public long EndDday { get; set; } + public AccountState AccountState { get; set; } + public long AccountLevel { get; set; } + public List PreMissionIds { get; set; } + public long NextMissionId { get; set; } + public SuddenMissionContentType[] SuddenMissionContentTypes { get; set; } + public MissionCompleteConditionType CompleteConditionType { get; set; } + public long CompleteConditionCount { get; set; } + public List CompleteConditionParameters { get; set; } + public string RewardIcon { get; set; } + public List Rewards { get; set; } + public ContentType DateAutoRefer { get; set; } + public string ToastImagePath { get; set; } + public long DisplayOrder { get; set; } + public bool HasFollowingMission { get; set; } + public string[] Shortcuts { get; set; } + public long ChallengeStageId { get; set; } + public bool CanComplete(DateTime serverTime) + { + return default; + } + + public bool CanReceiveReward(DateTime serverTime) + { + return default; + } + + } + + public struct DebuffDescription : IEquatable + { + public long AccountId { get; set; } + public string LogicEffectTemplateId { get; set; } + public string LogicEffectGroupId { get; set; } + public int LogicEffectLevel { get; set; } + public int DurationFrame { get; set; } + public SkillSlot SkillSlot { get; set; } + public int IssuedTimestamp { get; set; } + public bool Equals(DebuffDescription other) + { + return default; + } + + } + + public class ParcelCost + { + private List _consumableItemBaseDBs; + public List ParcelInfos { get; set; } + public CurrencyTransaction Currency { get; set; } + public List EquipmentDBs { get; set; } + public List ItemDBs { get; set; } + public List FurnitureDBs { get; set; } + + [JsonIgnore] + public bool HasCurrency { get; } + + [JsonIgnore] + public bool HasItem { get; } + + [JsonIgnore] + public bool IsEmpty { get; } + + [JsonIgnore] + public IEnumerable ConsumableItemBaseDBs { get; } + public ConsumeCondition ConsumeCondition { get; set; } + } + + public class CafeCharacterDB : VisitingCharacterDB + { + public bool IsSummon { get; set; } + public DateTime LastInteractTime { get; set; } + } + + public class CafeProductionParcelInfo + { + public ParcelKeyPair Key { get; set; } + public long Amount { get; set; } + } + + public class HexaTileState + { + public int Id { get; set; } + public bool IsHide { get; set; } + public bool IsFog { get; set; } + public bool CanNotMove { get; set; } + } + + public class HexaDisplayInfo + { + public HexaDisplayType Type { get; set; } + public long EntityId { get; set; } + public long UniqueId { get; set; } + public HexLocation Location { get; set; } + public long Parameter { get; set; } + public StrategyClearRewardInfo StageRewardInfo { get; set; } + } + + public abstract class ParcelBase + { + public abstract ParcelType Type { get; } + + [JsonIgnore] + public abstract IEnumerable ParcelInfos { get; } + } + + public enum ConquestEventObjectType + { + None = 0, + UnexpectedEnemy = 1, + TreasureBox = 2, + Erosion = 3, + End = 4, + } + + public enum EchelonStatusFlag + { + None = 0, + BeforeDeploy = 1, + OnDuty = 2, + } + + public class EventContentTreasureInfo + { + public long EventContentId { get; } + public int LoopRound { get; } + public string TitleLocalize { get; } + public string UsePregabName { get; } + public string TreasureBGImagePath { get; } + } + + public class EventContentTreasureRoundInfo + { + public long EventContentId { get; } + public int Round { get; } + public long CostGoodsId { get; } + public long CellRewardId { get; } + public int BoardSizeX { get; } + public int BoardSizeY { get; } + public List Treasures { get; } + public List CellRewards { get; } + public List CellCosts { get; } + public bool IsVisualSortUnstructed { get; set; } + public int TreasureTotalCount { get; } + } + + public class RaidMemberCollection : KeyedCollection + { + public long TotalDamage { get; } + public IEnumerable RaidDamages { get; } + protected override long GetKeyForItem(RaidMemberDescription item) + { + return default; + } + + } + + public class RaidMemberDescription : IEquatable + { + public long AccountId { get; set; } + public string AccountName { get; set; } + public long CharacterId { get; set; } + + [JsonIgnore] + public long DamageGiven { get; } + + [JsonIgnore] + public long GroggyGiven { get; } + public RaidDamageCollection DamageCollection { get; set; } + public bool Equals(RaidMemberDescription other) + { + return default; + } + + } + + public class ParcelResultStepInfo + { + public ParcelProcessActionType ParcelProcessActionType { get; set; } + public List StepParcelDetails { get; set; } + } + + public abstract class Battle + { + private EventHandler GroupInitialized; + private EventHandler GameStateChanged; + private EventHandler BattleSectionChanged; + private EventHandler CharacterPhaseChanged; + private EventHandler CharacterFormConversion; + private EventHandler CharacterInteractWithTSS; + private EventHandler CharacterDied; + private EventHandler CharacterDying; + private EventHandler CharacterRevived; + private EventHandler BattleEntitySkillTriggered; + private EventHandler BattleItemActivated; + private EventHandler BattleItemRecognized; + private EventHandler BattleItemEffected; + private EventHandler SummonedEntityClearRequested; + private EventHandler BattleEntitySpawned; + private EventHandler BattleEntityRemoved; + private EventHandler ObstacleDestroyed; + private EventHandler ObstacleStateChanged; + private EventHandler ObstacleGroundNodeChanged; + private EventHandler EffectAreaSpawned; + private EventHandler NormalAttackSpawned; + private EventHandler NormalAttackHit; + private EventHandler ProjectileSpawned; + private EventHandler ProjectileCollided; + private EventHandler BeamSpawned; + private EventHandler AuraSpawned; + private EventHandler BeamCollided; + private EventHandler SkillEntityRemoved; + private EventHandler BattleEntityNodeChanged; + private EventHandler DotAbilityAttached; + private EventHandler DotAbilityRemoved; + private EventHandler LogicEffectExpired; + private EventHandler FindGiftClearGrade; + private EventHandler FindGiftEnded; + private EventHandler WaveStarted; + private EventHandler WaveEnded; + private EventHandler WaveEnemyCleared; + private EventHandler WaveAllCleared; + private EventHandler RandomNumberCreated; + private EventHandler PlayerSkillCardCostAdded; + private EventHandler PlayerSkillCardCostRegenChanged; + private EventHandler PlayerSkillCardUsed; + private EventHandler SkillCardRedrawed; + private EventHandler StageTopographyChanged; + private EventHandler MovingAreaMoved; + private EventHandler EntityMovedByMovingArea; + private EventHandler ParticleEffectBursted; + private BattleLogicState state; + public Dictionary RandomNumbers; + private Dictionary>>> delayedLogicEffects; + public CharacterGroupTargetSideMapping TargetSideMapping; + protected PlayerGroup playerGroup; + private EntityCollection groundEffectAreas; + private IList areasToRemove; + private EntityCollection battleItems; + private IList battleItemsToRemove; + private EntityCollection groundProjectiles; + private IList projectileToRemove; + private EntityCollection beams; + private IList beamToRemove; + private EntityCollection auras; + private IList auraToRemove; + private EntityCollection normalAttacks; + private IList normalAttackToRemove; + private EntityCollection spawners; + private List spawnersToRemove; + private List spawnersToAdd; + private bool isProcessingSpawners; + private List groundObstacles; + private EntityCollection runtimeObstacles; + private List obstaclesToRemove; + private EntityCollection barrierObstacles; + private List barrierObstaclesToRemove; + private HashSet enemyToKill; + private ExpirableObjectHolder stageTopographyExpirableObjectHolder; + public BattleLogicState GameState { get; set; } + public LogicGameTime GameTime { get; set; } + public long StartTickRealTime { get; set; } + public int CurrentFrame { get; } + public int CurrentGameTimeFrame { get; } + public int MaxDurationFrame { get; set; } + public int RemainGameTimeFrame { get; } + public IPseudoRandomService PseudoRandom { get; set; } + public virtual List AllActiveCharacters { get; set; } + public List AllAliveCharacters { get; set; } + public Dictionary, List> PopulationGroups { get; set; } + public BattleEntityIdProvider Provider { get; } + public LogicEffectProcessor LogicEffectProcessor { get; set; } + public BattleEventBroker EventBroker { get; set; } + public BattleSummary BattleSummary { get; set; } + public BattleSetting Setting { get; set; } + public long GroundId { get; } + public long StageId { get; } + public bool IsBossStage { get; } + public bool IsRaid { get; } + public bool IsWorldRaid { get; } + public bool IsRaidForm { get; } + public BattleTypes BattleType { get; } + public bool DisableRootMotion { get; } + public StageTopography StageTopography { get; set; } + public virtual CharacterGroup PlayerGroup { get; } + public virtual bool IsPlayerWin { get; } + public bool PlayerHasSurvivor { get; } + public IList PlayerSupporters { get; } + public abstract CharacterGroup EnemyGroup { get; } + public IList EnemySupporters { get; } + public Ground Ground { get; set; } + public Vector2 GroundCenter { get; } + public int GroundGridNodeLength { get; } + public BattleCommandExecuter CommandExecuter { get; set; } + protected BattleCommandQueue CommandQueue { get; set; } + public GroundEntitySpawner GroundEntitySpawner { get; set; } + private SpawnProcessor spawnProcessor { get; } + public ICollection GroundEffectAreas { get; } + public ICollection BattleItems { get; } + public ICollection GroundProjectiles { get; } + protected ICollection Beams { get; } + public ICollection Auras { get; } + protected ICollection NormalAttacks { get; } + public ICollection Spawners { get; } + public IList GroundObstacles { get; } + public ICollection RuntimeObstacles { get; } + public ICollection BarrierObstacles { get; } + public int TotalEnemyCount { get; set; } + public int RemainEnemyCount { get; set; } + public bool ImmuneHitBeforeTimeOutEnd { get; } + public bool HideNPCWhenBattleEnd { get; } + public bool CoverPointOff { get; } + } + + public enum BattleTypes + { + None = 0, + Adventure = 1, + ScenarioMode = 2, + WeekDungeonChaserA = 4, + WeekDungeonBlood = 8, + WeekDungeonChaserB = 16, + WeekDungeonChaserC = 32, + WeekDungeonFindGift = 64, + EventContent = 128, + TutorialAdventure = 256, + Profiling = 512, + SingleRaid = 2048, + MultiRaid = 4096, + PracticeRaid = 8192, + EliminateRaid = 16384, + MultiFloorRaid = 32768, + MinigameDefense = 1048576, + Arena = 2097152, + TimeAttack = 8388608, + SchoolDungeonA = 33554432, + SchoolDungeonB = 67108864, + SchoolDungeonC = 134217728, + WorldRaid = 268435456, + Conquest = 536870912, + FieldStory = 1073741824, + FieldContent = -2147483648, + PvE = -301988865, + WeekDungeon = 124, + SchoolDungeon = 234881024, + Raid = 30720, + PvP = 2097152, + All = -1, + } + + public enum GroupTag + { + None = 0, + Group01 = 1, + Group02 = 2, + Group03 = 4, + Group04 = 8, + Group05 = 16, + Group06 = 32, + Group07 = 64, + Group08 = 128, + Group09 = 256, + Group10 = 512, + Group11 = 1024, + Group12 = 2048, + Group13 = 4096, + Group14 = 8192, + Group15 = 16384, + Group16 = 32768, + } + + public enum BattleEndType + { + None = 0, + AllNearlyDead = 1, + TimeOut = 2, + EscortFailed = 3, + Clear = 4, + } + + public class GroupSummary : IEquatable + { + public long TeamId { get; set; } + public EntityId LeaderEntityId { get; set; } + + [JsonIgnore] + public long LeaderCharacterId { get; } + + // Thanks https://github.com/suna-aquatope + public List/*KeyedCollection*/ Heroes { get; set; } + public List/*KeyedCollection*/ Supporters { get; set; } [JsonIgnore] - public List ClearRewarde { get; set; } + public int AliveCount { get; } + public bool UseAutoSkill { get; set; } + public long TSSInteractionServerId { get; set; } + public long TSSInteractionUniqueId { get; set; } + public Dictionary AssistRelations { get; set; } + + [JsonIgnore] + public int StrikerMaxLevel { get; } + + [JsonIgnore] + public int SupporterMaxLevel { get; } + + [JsonIgnore] + public int StrikerMinLevel { get; } + + [JsonIgnore] + public int SupporterMinLevel { get; } + + [JsonIgnore] + public int MaxCharacterLevel { get; } + + [JsonIgnore] + public int MinCharacterLevel { get; } + + [JsonIgnore] + public long TotalDamageGivenApplied { get; } + public SkillCostSummary SkillCostSummary { get; set; } + public bool Equals(GroupSummary other) + { + return default; + } - [JsonIgnore] - public List ExpRewarde { get; set; } - - [JsonIgnore] - public List TotalRewarde { get; set; } - - [JsonIgnore] - public List EventContentRewarde { get; set; } + } - public List EventContentBonusRewarde { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDBe { get; set; } - } + public class WeekDungeonSummary : IEquatable + { + public WeekDungeonType DungeonType { get; set; } + public List FindGifts { get; set; } + + [JsonIgnore] + public int TotalFindGiftClearCount { get; } + public bool Equals(WeekDungeonSummary other) + { + return default; + } - public class HexaDisplayInfo - { - public HexaDisplayType Type { get; set; } - public long EntityId { get; set; } - public long UniqueId { get; set; } - public HexLocation Location { get; set; } - public long Parameter { get; set; } - public StrategyClearRewardInfo StageRewardInfo { get; set; } - } + } - public class HexaUnit - { - public List BuffGroupIds { get; set; } - public SkillCardHand SkillCardHand { get; set; } - public bool PlayAnimation { get; set; } + public class RaidSummary + { + public long RaidSeasonId { get; set; } + + [JsonIgnore] + public long GivenDamage { get; } + + [JsonIgnore] + public int TotalGroggyCount { get; } + + [JsonIgnore] + public int RaidBossIndex { get; } + public RaidBossResultCollection RaidBossResults { get; set; } + } - [JsonIgnore] - public Dictionary> RewardItems { get; set; } + public class ArenaSummary + { + public long ArenaMapId { get; set; } + public long EnemyAccountId { get; set; } + public long EnemyAccountLevel { get; set; } + } - public long EntityId { get; set; } + public struct SkillCardInfo + { + public long CharacterId { get; set; } + public int HandIndex { get; set; } + public string SkillId { get; set; } + public int RemainCoolTime { get; set; } + } - public Dictionary HpInfos { get; set; } + [Serializable] + public class HexaTile + { + public string ResourcePath; + public bool IsHide; + public bool IsFog; + public bool CanNotMove; + public HexLocation Location; + public Strategy Strategy; + public HexaUnit Unit; + [JsonIgnore] + public HexaUnit ChallengeUnit; + public bool PlayAnimation { get; set; } + + [JsonIgnore] + public bool IsBattleReady { get; } + + [JsonIgnore] + public bool StartTile { get; } + } - public Dictionary DyingInfos { get; set; } + public enum ConquestTriggerType + { + None = 0, + TileConquer = 1, + TileUpgrade = 2, + MapEnter = 3, + SyncState = 4, + AcquireCalculateReward = 5, + UnexpectedEvent = 6, + MassErosion = 7, + MassErosionEnd = 8, + TileErosion = 9, + TileErosionEnd = 10, + } - public Dictionary BuffInfos { get; set; } + public enum ConquestDisplayType + { + None = 0, + TileConquered = 1, + TileUpgraded = 2, + UnexpectedEvent = 3, + BossOpen = 4, + PropAnimation = 5, + PropAnimationAndBlock = 6, + PropAnimationHoldAndPlay = 7, + Operator = 8, + StepComplete = 9, + MassErosion = 10, + Erosion = 11, + ErosionRemove = 12, + CheckTileErosion = 13, + StepOpen = 14, + BossClear = 15, + HideConquestUI = 16, + ShowConquestUI = 17, + HideHexaUI = 18, + ShowHexaUI = 19, + StepObjectComplete = 20, + CameraSetting = 21, + PlayMapEnterScenario = 22, + ShowTileConquerReward = 23, + } - public int ActionCountMax { get; set; } + public struct RaidBossResult : IEquatable + { + public static readonly RaidBossResult Invalid; + + [JsonIgnore] + public int Index { get; } + + [JsonIgnore] + public long GivenDamage { get; } + + [JsonIgnore] + public long GivenGroggyPoint { get; } + public RaidDamage RaidDamage { get; set; } + public long EndHpRateRawValue { get; set; } + public long GroggyRateRawValue { get; set; } + public int GroggyCount { get; set; } + public List SubPartsHPs { get; set; } + public long AIPhase { get; set; } + public bool Equals(RaidBossResult other) + { + return default; + } - public int ActionCount { get; set; } + } - public int Mobility { get; set; } + public class MinigameJudgeRecord + { + public int NoteIndex; + public float TimingError; + public int CurrentCombo; + public JudgeGrade JudgeGradeOfThisNote; + public bool IsFeverOn; + } - public int StrategySightRange { get; set; } + public interface ITBGSeasonInfo + { + public abstract long EventContentId { get; } + public abstract int ItemSlotCount { get; } + public abstract long DefaultItemDiceId { get; } + public abstract int DefaultEchelonHP { get; } + public abstract int HitPointUpperLimit { get; } + public abstract int MaxDicePlus { get; } + public abstract List EchelonSlotCharacterIds { get; } + public abstract List EchelonSlotPortraits { get; } + public abstract ParcelInfo EchelonRevivalCost { get; } + public abstract int EnemyBossHitPoint { get; } + public abstract int EnemyMinionHitPoint { get; } + public abstract int AttackDamage { get; } + public abstract int CriticalAttackDamage { get; } + public abstract int RoundItemSelectLimit { get; } + public abstract int InstantClearRound { get; } + public abstract long EventUseCostId { get; } + public abstract ParcelType EventUseCostType { get; } + public abstract int StartThemaIndex { get; } + public abstract int LoopThemaIndex { get; } + public abstract string MapImagePath { get; } + public abstract string MapNameLocalize { get; } + } - public long Id { get; set; } + public class TBGEventHandler + { + public Action onPlayerDiceRolled; + public Action> onPayCostRequired; + public Action> onReceiveRewardAsParcel; + public Action onPortalUsed; + } - public Vector3 Rotate { get; set; } + public class TBGHexaMapDB + { + private TBGBoardSaveDB _saveDB; + private TBGHexaMapData _mapDataCache; + + [JsonIgnore] + public TBGHexaMapData MapData { get; } + public TBGThemaType MapType { get; set; } + public Dictionary Objects { get; set; } + public bool IsTutorial { get; set; } + + [JsonIgnore] + public bool HasObjectDirty { get; } + + [JsonIgnore] + public long RealTreasureObjectServerId { get; } + } - public HexLocation Location { get; set; } + public class TBGThemaClearRecord + { + public int ThemaIndex; + public List SweepCosts; + } - public HexLocation AIDestination { get; set; } + public interface ITBGDiceInfo + { + public abstract long EventContentId { get; } + public abstract long UniqueId { get; } + public abstract int DiceGroup { get; } + public abstract int DiceResult { get; } + public abstract int Prob { get; } + public abstract IReadOnlyDictionary ProbModifies { get; } + } - public bool IsActionComplete { get; set; } + public class TBGItemEffectDB : ITBGItemEffectDB + { + private ITBGItemInfo _itemInfoCache; + + [JsonIgnore] + public virtual ITBGItemInfo ItemInfo { get; } + + [JsonIgnore] + public bool IsDirty { get; set; } + + [JsonIgnore] + public bool Activated { get; } + + [JsonIgnore] + public virtual int Stack { get; } + public long ItemUniqueId { get; set; } + public TBGItemType ItemType { get; set; } + public TBGItemEffectType EffectType { get; set; } + public virtual int RemainEncounterCounter { get; set; } + private int _remainEncounterCounter { get; set; } + + [JsonIgnore] + public bool AddedNow { get; set; } + } - public bool IsPlayer { get; set; } + public class TBGItemDB + { + + [JsonIgnore] + public bool IsDirty { get; set; } + public long UniqueId { get; set; } + } - public bool IsFixedEchelon { get; set; } + public interface ITBGEncounterInfo + { + public abstract long EventContentId { get; } + public abstract long UniqueId { get; } + public abstract bool AllThema { get; } + public abstract int ThemaId { get; } + public abstract TBGThemaType ThemaType { get; } + public abstract TBGObjectType ObjectType { get; } + public abstract long OptionGroupId { get; } + public abstract bool HasBeforeStory { get; } + public abstract string EnemyNameLocalize { get; } + public abstract string EnemyPrefabName { get; } + public abstract string EncounterTitleLocalize { get; } + public abstract string BeforeStoryLocalize { get; } + public abstract string BeforeStoryOption1Localize { get; } + public abstract string BeforeStoryOption2Localize { get; } + public abstract string BeforeStoryOption3Localize { get; } + public abstract string AllyAttackLocalize { get; } + public abstract string EnemyAttackLocalize { get; } + public abstract string AttackDefenceLocalize { get; } + public abstract string ClearStoryLocalize { get; } + public abstract string DefeatStoryLocalize { get; } + public abstract string RunAwayStoryLocalize { get; } + public abstract bool RewardHide { get; } + } - public int MovementOrder { get; set; } + public enum TBGEncounterState + { + None = 0, + Active = 1, + Disposing = 2, + } - public Dictionary> RewardParcelInfosWithDropTacticEntityType { get; set; } + public interface IMissionConstraint + { + } - [JsonIgnore] - public CampaignUnitExcel CampaignUnitExcel { get; set; } + public class CurrencyTransaction : ParcelBase, IEquatable + { + private CurrencyValue currencyValue { get; } + + [JsonIgnore] + public override ParcelType Type { get; } + + [JsonIgnore] + public override IEnumerable ParcelInfos { get; } + + [JsonIgnore] + public IDictionary CurrencyValues { get; } + + [JsonIgnore] + public CurrencyTransaction Inverse { get; } + + [JsonIgnore] + public bool IsEmpty { get; } + public long Gold { get; } + public long Gem { get; } + public long GemBonus { get; } + public long GemPaid { get; } + public long ActionPoint { get; } + public long ArenaTicket { get; } + public long RaidTicket { get; } + public long WeekDungeonChaserATicket { get; } + public long WeekDungeonChaserBTicket { get; } + public long WeekDungeonChaserCTicket { get; } + public long WeekDungeonFindGiftTicket { get; } + public long WeekDungeonBloodTicket { get; } + public long AcademyTicket { get; } + public long SchoolDungeonATicket { get; } + public long SchoolDungeonBTicket { get; } + public long SchoolDungeonCTicket { get; } + public long TimeAttackDungeonTicket { get; } + public long MasterCoin { get; } + public long WorldRaidTicketA { get; } + public long WorldRaidTicketB { get; } + public long WorldRaidTicketC { get; } + public long ChaserTotalTicket { get; } + public long SchoolDungeonTotalTicket { get; } + public long EliminateTicketA { get; } + public long EliminateTicketB { get; } + public long EliminateTicketC { get; } + public long EliminateTicketD { get; } + public bool Equals(CurrencyTransaction other) + { + return default; + } - [JsonIgnore] - public List MovableTiles { get; set; } + } - [JsonIgnore] - public List> MovementMap { get; set; } - } + public enum HexaDisplayType + { + None = 0, + EndBattle = 1, + PlayScenario = 2, + SpawnUnitFromUniqueId = 3, + StatBuff = 4, + DieUnit = 5, + HideStrategy = 6, + SpawnUnit = 7, + SpawnStrategy = 8, + SpawnTile = 9, + HideTile = 10, + ClearFogOfWar = 11, + MoveUnit = 12, + WarpUnit = 13, + SetTileMovablity = 14, + WarpUnitFromHideTile = 15, + BossExile = 16, + } - public class HexaTile - { - public bool PlayAnimation { get; set; } + public class StrategyClearRewardInfo + { + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + public Dictionary> StrategyObjectRewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + + [JsonIgnore] + public List ClearReward { get; set; } + + [JsonIgnore] + public List ExpReward { get; set; } + + [JsonIgnore] + public List TotalReward { get; set; } + + [JsonIgnore] + public List EventContentReward { get; set; } + public List EventContentBonusReward { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } - [JsonIgnore] - public bool IsBattleReady { get; set; } + public class EventContentTreasureItem + { + public long RewardId { get; } + public int Amount { get; } + public int Width { get; } + public int Weight { get; } + public bool IsHiddenImage { get; } + public bool IsSquare { get; } + } + + public class RaidDamageCollection : KeyedCollection + { + + [JsonIgnore] + public int MaxIndex { get; } + + [JsonIgnore] + public long TotalDamage { get; } + + [JsonIgnore] + public long CurrentDamage { get; } + + [JsonIgnore] + public long TotalGroggyPoint { get; } + + [JsonIgnore] + public long CurrentGroggyPoint { get; } + protected override int GetKeyForItem(RaidDamage item) + { + return default; + } + + } + + public enum ParcelProcessActionType + { + None = 0, + Cost = 1, + Reward = 2, + } + + public class ParcelDetail + { + public ParcelInfo OriginParcel { get; set; } + public ParcelInfo MailSendParcel { get; set; } + public List ConvertedParcelInfos { get; set; } + public ParcelChangeType ParcelChangeType { get; set; } + } + + public class GameStateEventArgs : EventArgs + { + public BattleLogicState GameState { get; set; } + } + + public class BattleSectionChangedEventArgs : EventArgs + { + public int SectionId { get; } + public bool SetConditionCommandOnly { get; } + } + + public class CharacterPhaseChangedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public long PhaseID { get; set; } + } + + public class CharacterFormConvertedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public int FormIndex { get; set; } + } + + public class CharacterInteractWithTSSEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public EntityId TSSEntityId { get; set; } + public bool IsInteract { get; set; } + } + + public class KillEventArgs : EventArgs + { + public int LogicFrame { get; set; } + public EntityId KillerId { get; set; } + public EntityId TargetId { get; set; } + } + + public class HeroReviveEventArgs : EventArgs + { + public int LogicFrame { get; set; } + public EntityId TargetId { get; set; } + public Character Character { get; set; } + } + + public class BattleEntitySkillTriggeredEventArgs : EventArgs + { + public BattleEntity Invoker { get; } + public string SkillGroupId { get; } + public SkillSlot SkillSlot { get; } + } + + public class BattleItemActivatedEventArgs : EventArgs + { + public BattleItem BattleItem { get; set; } + } + + public class BattleItemRecognitionEventArgs : EventArgs + { + public BattleItem BattleItem { get; set; } + public BattleEntity RecognizedEntity { get; set; } + } + + public class BattleItemEffectEventArgs : EventArgs + { + public BattleItem BattleItem { get; set; } + public BattleEntity EffectedEntity { get; set; } + } + + public class SummonedEntityClearRequestEventArgs : EventArgs + { + public GroupTag SummonerGroupTag { get; } + public EntityId SummonerEntityId { get; } + public SkillSpecification SkillSpecification { get; } + public int Index { get; } + public long IdToClear { get; } + public bool IsTSS { get; set; } + } + + public class BattleEntitySpawnedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public BattleEntity Entity { get; set; } + public CharacterGroup CharacterGroup { get; } + } + + public class BattleEntityRemovedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + + [JsonIgnore] + public BattleEntity Entity { get; set; } + } + + public class ObstacleEventArgs : EventArgs + { + + [JsonIgnore] + public GroundObstacle Obstacle { get; } + public EntityId EntityId { get; } + public bool IsDestroyed { get; } + public bool IsNodeChangedByMovingArea { get; } + } + + public class EffectAreaSpawnedEventArgs : EventArgs + { + + [JsonIgnore] + public EffectArea Area { get; } + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; } + public EntityId AreaId { get; } + } + + public class NormalAttackSpawnedEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; } + public EntityId ProjectileId { get; } + public EntityId TargetId { get; } + public int TargetDelay { get; } + public string SkillEntityName { get; } + } + + public class NormalAttackHitEventArgs : EventArgs + { + public EntityId ProjectileId { get; } + public Vector2 HitPosition { get; } + public EntityId AttackerId { get; } + } + + public class ProjectileSpawnedEventArgs : EventArgs + { + + [JsonIgnore] + public Projectile Projectile { get; } + public int FramePerSecond { get; } + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; } + public EntityId ProjectileId { get; } + public EntityId TargetId { get; } + } + + public class ProjectileCollidedEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public EntityId TargetId { get; } + public EntityId ObstacleId { get; } + public SkillSpecification SkillSpecification { get; } + public EntityId ProjectileId { get; } + } + + public class BeamEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public EntityId BeamId { get; } + public EntityId HitEntityId { get; } + public EntityId TargetId { get; } + public Vector2 TargetPosition { get; } + public SkillSpecification SkillSpecification { get; } + public string SkillEntityName { get; } + } + + public class AuraEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public EntityId AuraId { get; } + public EntityId HitEntityId { get; } + public EntityId TargetId { get; } + public Vector2 TargetPosition { get; } + public SkillSpecification SkillSpecification { get; } + public string SkillEntityName { get; } + public Aura Aura { get; } + } + + public class SkillEntityRemovedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + } + + public class CharacterGroundNodeChangedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public Character Character { get; set; } + public int PreviousX { get; set; } + public int PreviousY { get; set; } + } + + public class DotEventArgs : EventArgs + { + public EntityId AttackerId { get; set; } + public EntityId TargetId { get; set; } + public SkillSpecification SkillSpecification { get; set; } + public string SkillEntityName { get; set; } + public int Channel { get; set; } + public Hash64 TemplateIdHash { get; set; } + public SkillSlot SkillSlot { get; set; } + public DotAbility Invoker { get; set; } + } + + public class LogicEffectExpiredEventArgs : EventArgs, IEquatable + { + public Type TypeOfLogicEffect { get; set; } + public EntityId AttackerId { get; set; } + public EntityId TargetId { get; set; } + public SkillSpecification SkillSpecification { get; set; } + public int Channel { get; set; } + public string LogicEffectGroupId { get; } + public string SkillEntityName { get; set; } + public string TemplateId { get; } + public SkillType SkillType { get; } + public LogicEffectCategory Category { get; } + public bool Equals(LogicEffectExpiredEventArgs other) + { + return default; + } + + } + + public class ClearGreadeFindGiftArgs : EventArgs + { + public string UniqueName; + public int ClearCount { get; set; } + } + + public class EndFindGiftArgs : EventArgs + { + public string UniqueName; + public int ClearCount { get; set; } + } + + public class StartWaveArgs : EventArgs + { + public string UniqueName; + public int Step { get; set; } + } + + public class EndWaveArgs : EventArgs + { + public string UniqueName; + public int Step { get; set; } + } + + public class WaveEnemyClearedArgs : EventArgs + { + public string UniqueName; + public int Step { get; set; } + } + + public class AllClearWaveArgs : EventArgs + { + public string UniqueName; + public int Step { get; set; } + } + + public class RandomNumberArgs : EventArgs + { + public string EntityConditionId { get; } + public int RandomNumber { get; } + } + + public class PlayerSkillCardCostAddedEventArgs : EventArgs + { + public GroupTag GroupTag { get; } + public float Cost { get; } + } + + public class PlayerSkillCardCostRegenChangedEventArgs : EventArgs + { + public GroupTag GroupTag { get; } + public float CostRegen { get; } + } + + public class PlayerSkillCardUsedEventArgs : EventArgs + { + public GroupTag GroupTag { get; } + public long CharacterId { get; } + public float Cost { get; } + public string GroupId { get; } + public int Level { get; } + public BattleEntity Owner { get; } + } + + public class SkillCardRedrawedEvent : EventArgs + { + public SkillCard SkillCard { get; } + } + + public class MovingAreaEventArgs : EventArgs + { + public Vector2 PreviousCenter { get; } + public Vector2 NewCenter { get; } + public float AngleDeltaInDegree { get; } + public float HeightDelta { get; } + public bool KeepCameraRailPointDirectionUnchanged { get; } + public List PreviousWalkableMovingAreaList { get; } + } + + public class ParticleEffectEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; set; } + public Vector3 Position { get; set; } + public Vector3 Direction { get; set; } + public string ParticleEffectName { get; set; } + public List CustomParticleEvents { get; set; } + } + + public enum BattleLogicState + { + None = 0, + Preparing = 1, + InProgress = 2, + Finished = 3, + Paused = 4, + } + + public abstract class LogicEffect : IDispellable + { + private readonly string templateId; + public readonly Hash64 TemplateIdHash; + protected ResolvePriority priority; + public SkillSpecification SkillSpecification { get; set; } + public LogicEffectHitSpecification LogicEffectHitSpecification { get; set; } + public BattleEntity Invoker { get; } + public EntityId InvokerEntityId { get; } + public BattleEntity Target { get; } + protected EntityId TargetEntityId { get; } + public BattleEntity OriginalTarget { get; } + public Func ExpirationCheck { get; set; } + public Entity ExpirationCheckOwner { get; set; } + public string SkillEntityName { get; } + public long SpawnRate { get; } + public virtual string LogicEffectGroupId { get; } + public virtual LogicEffectCategory Category { get; } + public virtual string TemplateId { get; } + public int Channel { get; } + public BasisPoint ApplyRate { get; } + public uint CommonVisualIdHash { get; } + public Vector2 HitPosition { get; set; } + public Vector2 BulletPosition { get; set; } + public Vector2 BulletDirection { get; set; } + public Entity BulletEntity { get; set; } + + [JsonIgnore] + public ResolvePriority ResolvePriority { get; } + public int Priority { get; } + + [JsonIgnore] + public int ResolveIndex { get; set; } + + [JsonIgnore] + public int DotIndex { get; set; } + public int ExtraCostUsed { get; } + public virtual bool IsDurationChangedByStat { get; } + public bool ForceFloaterHide { get; set; } + } + + public abstract class AbilityModifier + { + } + + public class CharacterGroupTargetSideMapping + { + private readonly Dictionary allyTable; + private readonly Dictionary enemyTable; + public GroupTag GroupTagForPlayerSideInObstacle { get; set; } + } + + public class PlayerGroup : CharacterGroup + { + private ManualSkillProcessor manualSkillProcessor; + public int EchelonNumber { get; set; } + public PlayerSkillCardManager PlayerSkillCardManager { get; set; } + public IList HexaBuffs { get; } + } + + public abstract class EffectArea : Entity, IEquatable, IEntityBody + { + private EventHandler Expired; + protected Vector2 forward; + protected Func positionFunc; + protected Func collisionShapeFunc; + private HashSet hitBattleEntities; + public Battle Battle { get; set; } + public BattleEntity Invoker { get; set; } + public EntityId InvokerId { get; } + public string SkillEntityName { get; } + public abstract Vector2 Position2D { get; set; } + public virtual Vector2 Forward { get; set; } + public bool IsExpired { get; } + public int Elapsed { get; set; } + public int Duration { get; } + public virtual SkillSpecification SkillSpecification { get; } + protected AreaEntityValue EntityValue { get; } + protected Nullable CollisionProperty { get; } + public bool RotateEntityDirectionEveryFrame { get; } + public bool ApplyOffsetRotateEntityDirection { get; } + protected IList HitFrames { get; } + public Body2D CollisionBody { get; set; } + protected Vector2 InitialPosition { get; set; } + public BattleEntity PositionSource { get; set; } + protected BattleEntity TargetSource { get; set; } + protected Vector2 TargetPosition { get; set; } + public virtual int ExtraCostUsed { get; } + protected HitCheckCoupling HitCheckCoupling { get; set; } + public bool IsDisable { get; set; } + public MovingAreaOptions MovingAreaOption { get; } + public bool Equals(EffectArea other) + { + return default; + } + + public Body2D GetBody2D() + { + return default; + } + + } + + [Serializable] + public struct EntityId : IComparable, IComparable, IEquatable + { + private const uint typeMask = 4278190080; + private const int instanceIdMask = 16777215; + private int uniqueId; + public static EntityId Invalid { get; } + + [JsonIgnore] + public BattleEntityType EntityType { get; } + + [JsonIgnore] + public int InstanceId { get; } + + [JsonIgnore] + public int UniqueId { get; } + + [JsonIgnore] + public bool IsValid { get; } + public int CompareTo(object obj) + { + return default; + } + + public int CompareTo(EntityId other) + { + return default; + } + + public bool Equals(EntityId other) + { + return default; + } + + } + + public class BattleItem : BattleEntity + { + private EventHandler Expired; + private EventHandler Activated; + private EventHandler Recognized; + private EventHandler Effected; + protected Battle battle; + protected bool isAlive; + protected int elapsed; + public SkillSpecification SkillSpecification { get; } + protected BattleItemEntityValue EntityValue { get; } + public string EntityName { get; } + public string ResourceName { get; } + protected Body2D bodyToRecognize { get; } + protected Body2D bodyToEffect { get; } + public Circle RecognizeCircle { get; } + public Circle EffectCircle { get; } + public float PositionHeight { get; set; } + public override GroupTag GroupTag { get; } + public HashSet HitTargets { get; } + public HashSet RecognizedTargets { get; } + public BattleEntity Creator { get; } + public bool IsExpired { get; set; } + public int IndexSummonedBy { get; } + public MovingAreaOptions MovingAreaOption { get; set; } + public int ExtraSkillCostUsed { get; } + protected BattleEntity SkillCommandSelectedTarget { get; set; } + protected Vector2 SkillCommandSelectedPosition { get; set; } + public override bool Alive { get; } + public override BehaviorType CurrentBehavior { get; set; } + public override ActionState CurrentActionState { get; } + public override HeroAction CurrentAction { get; set; } + public override bool HasCrowdControl { get; } + } + + public abstract class Projectile : Entity, IEquatable, IEntitySpawnable, IEntityBody + { + private EventHandler Collided; + private EventHandler Expired; + private IEntitySpawnable spawnable; + private IList primaryTargets; + public long ownerSkillRange; + protected Vector2 targetPosition; + protected MoveProjectileDelegate MoveProjectile; + private int moveByFrameElapsed; + public BattleEntity Invoker { get; } + public EntityId InvokerId { get; } + public virtual SkillSpecification SkillSpecification { get; } + public virtual int ExtraCostUsed { get; } + public string SkillEntityName { get; } + public Body2D Body { get; set; } + public Vector2 StartPos { get; set; } + public Vector2 Position2D { get; } + public Vector2 Direction { get; set; } + public Vector2 Velocity { get; } + protected bool IsHit { get; set; } + protected List HitOccurredFrame { get; set; } + public int Elapsed { get; set; } + public int FireDelay { get; } + public int SplashDelay { get; } + protected bool IsStickToTargetAfterHit { get; } + public float Speed { get; } + public long FrameToHit { get; } + protected ProjectileEntityValue EntityValue { get; } + protected AreaEntityValue SplashAreaEntity { get; } + protected bool HasSplash { get; } + protected HashSet HitHeroes { get; } + private TargetCandidateRule TargetCandidateRule { get; } + private TargetSortRule TargetSortRule { get; } + public virtual BattleEntity Executer { get; } + public bool Equals(Projectile other) + { + return default; + } + + public BattleEntity FindTarget(SkillEntityValue entityData) + { + return default; + } + + public IList FindTargets(SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnPosition(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnDirection(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 GetInitialTargetPosition() + { + return default; + } + + public BattleEntity GetSkillCommandSelectedTarget() + { + return default; + } + + public Vector2 GetSkillCommandSelectedPosition() + { + return default; + } + + public Body2D GetBody2D() + { + return default; + } + + } + + public class Beam : Entity, IEquatable, IEntitySpawnable, IEntityBody + { + private EventHandler Collided; + private EventHandler Expired; + private IEntitySpawnable spawnable; + private IList primaryTargets; + private long ownerSkillRange; + private Vector2 startPosition; + private Vector2 targetPosition; + private float currentHeight; + private Battle battle; + public virtual BattleEntity Executer { get; } + public virtual SkillSpecification SkillSpecification { get; } + public string SkillEntityName { get; } + public Body2D Body { get; set; } + public Vector2 Position2D { get; } + public Vector2 Direction { get; set; } + public int Elapsed { get; set; } + public int ElapsedInCurrentPhase { get; set; } + protected BeamEntityValue EntityValue { get; } + protected HashSet HitHeroes { get; } + private TargetCandidateRule TargetCandidateRule { get; } + private TargetSortRule TargetSortRule { get; } + public Vector2 StartPosition { get; } + public BattleEntity StartPositionEntity { get; set; } + public Vector2 TargetPosition { get; } + public BattleEntity TargetPositionEntity { get; set; } + public BeamPhase CurrentPhase { get; set; } + public BattleEntity ChainBeamSpawner { get; set; } + public virtual int ExtraCostUsed { get; } + public bool Equals(Beam other) + { + return default; + } + + public BattleEntity FindTarget(SkillEntityValue entityData) + { + return default; + } + + public IList FindTargets(SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnPosition(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnDirection(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 GetInitialTargetPosition() + { + return default; + } + + public BattleEntity GetSkillCommandSelectedTarget() + { + return default; + } + + public Vector2 GetSkillCommandSelectedPosition() + { + return default; + } + + public Body2D GetBody2D() + { + return default; + } + + } + + public class Aura : Entity, IEquatable, IEntityBody + { + private EventHandler Expired; + private EventHandler SpawnTargetDied; + private Battle battle; + private Vector2 initialPosition; + private Vector2 targetPosition; + private HashSet HitBattleEntityList; + public BattleEntity Invoker { get; set; } + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; } + public string SkillEntityName { get; } + public Vector2 Position2D { get; } + public Vector2 Forward { get; } + public Body2D Body { get; set; } + public Body2D BodyExitCheck { get; set; } + public bool IsExpired { get; } + public bool IsSpawnTargetDead { get; set; } + public int Elapsed { get; set; } + public int Duration { get; } + private AuraEntityValue EntityValue { get; } + public bool RemoveEntityIfAttachSpawnTargetDie { get; } + public bool RotateEntityDirectionEveryFrame { get; } + public bool ApplyOffsetRotateEntityDirection { get; } + public bool AttachSpawnTarget { get; } + public BattleEntity PositionSource { get; set; } + public BattleEntity TargetSource { get; set; } + public int ExtraCostUsed { get; } + public MovingAreaOptions MovingAreaOption { get; } + public bool Equals(Aura other) + { + return default; + } + + public Body2D GetBody2D() + { + return default; + } + + } + + public class NormalAttackDeliverer : Entity, IEquatable + { + private EventHandler Hit; + private long elapsed; + private Vector2 startPosition; + public SkillSpecification SkillSpecification { get; } + public Vector2 HitPosition { get; set; } + public BattleEntity Invoker { get; set; } + public BattleEntity Target { get; set; } + public IObstacle Obstacle { get; set; } + public int DelayToHitTarget { get; set; } + private int DelayToObstacleBlockCheck { get; set; } + private NormalAttackBulletEntityValue BulletEntityData { get; } + public SkillApplyType SkillApplyType { get; } + public string SkillEntityName { get; } + public bool Equals(NormalAttackDeliverer other) + { + return default; + } + + } + + public abstract class SpawningEntity : Entity, IEntitySpawnable, IHitCheckCouplingProvider + { + private EventHandler Expired; + private Dictionary> couplingTable; + private BattleEntity skillCommandSelectedTarget; + private Vector2 skillCommandSelectedPosition; + public virtual SkillSpecification SkillSpecification { get; } + public virtual int ExtraCostUsed { get; } + public virtual BattleEntity Executer { get; } + protected int Elapsed { get; set; } + protected int Duration { get; } + protected bool IsExpired { get; } + public BattleEntity FindTarget(SkillEntityValue entityData) + { + return default; + } + + public IList FindTargets(SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnPosition(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 FindSpawnDirection(Battle battle, SkillEntityValue entityData) + { + return default; + } + + public Vector2 GetInitialTargetPosition() + { + return default; + } + + public BattleEntity GetSkillCommandSelectedTarget() + { + return default; + } + + public Vector2 GetSkillCommandSelectedPosition() + { + return default; + } + + public HitCheckCoupling GetHitCheckCoupling(int frame, string couplingId) + { + return default; + } + + } + + [Serializable] + public class GroundObstacle : BattleEntity, IObstacle + { + private EventHandler Removed; + private EventHandler StateChanged; + private EventHandler GroundNodeChanged; + private EventHandler Activated; + private Dictionary playerPointsCharacterTable; + private Dictionary enemyPointsCharacterTable; + private int elapsed; + private IEnumerator currentStateChangeCoroutine; + private bool IsInvokerGroupTag1; + public GroundObstacleData Data { get; set; } + public virtual EntityMaterialType MaterialType { get; } + public virtual ObstacleHeightType ObstacleHeight { get; } + public virtual CoverMotionType CoverMotionType { get; } + public virtual ObstacleCoverType ObstacleCoverType { get; } + public Nullable StatExcel { get; set; } + public Circle InnerCircle { get; set; } + public OBB OBB { get; set; } + public bool IsCrashByTSS { get; set; } + public OBB TSSBlockedOBB { get; set; } + public bool IsIndestructible { get; set; } + public virtual bool IsDestroyed { get; set; } + public List PlayerPoints { get; set; } + public List EnemyPoints { get; set; } + public Battle Battle { get; set; } + public float PositionHeight { get; set; } + public MovingAreaOptions MovingAreaOption { get; set; } + public ObstacleState State { get; set; } + public ObstacleState RemoveType { get; set; } + public override bool Alive { get; } + public override GroupTag GroupTag { get; } + public ObstacleSaveData ObstacleSaveData { get; set; } + public virtual BattleEntityStatProcessor StatProcessor { get; } + public bool IsDummy { get; set; } + public int Duration { get; set; } + public virtual float LifeTimeRate { get; } + public virtual bool IsOccupied { get; } + public long CanNotStandRange { get; set; } + public IList OccupyingCharacters { get; } + public override BehaviorType CurrentBehavior { get; set; } + public override ActionState CurrentActionState { get; } + public override HeroAction CurrentAction { get; set; } + public override bool HasCrowdControl { get; } + public BattleEntity Summoner { get; set; } + public int IndexSummonedBy { get; set; } + public SkillSpecification SkillSpecificationWhenSummoned { get; set; } + public AreaSpawner InitialAreaSpawner { get; set; } + public virtual BattleEntity Entity { get; } + public bool IsObstacleOccupiedByCharacter(Character character) + { + return default; + } + + public bool IsOccupiedByPlayer(GroupTag groupTag) + { + return default; + } + + public bool IsOccupiedByEnemy(GroupTag groupTag) + { + return default; + } + + public bool IsLineIntersect(LineSegment line) + { + return default; + } + + public void DestroyObstacle() + { + } + + public void DispelByGroupId(string logicEffectGroupId, int count, StatusProcessor statusProcessor, Action> onDispel) + { + } + + public BattleEntity GetSummoner() + { + return default; + } + + } + + [Serializable] + public class BarrierObstacle : BattleEntity, IObstacle + { + private string obstacleId; + private EntityMaterialType materialType; + private EventHandler Removed; + public Battle Battle { get; set; } + public int Duration { get; set; } + private int CreatedFrame { get; set; } + private int Elapsed { get; set; } + public virtual float LifeTimeRate { get; } + public Character Character { get; set; } + public BattleEntity Summoner { get; set; } + public int IndexSummonedBy { get; set; } + public SkillSpecification SkillSpecificationWhenSummoned { get; set; } + public bool FixDirection { get; set; } + public Vector2 PositionOffset { get; } + public string[] LinkedLogicEffectGroupIds { get; set; } + public Nullable StatExcel { get; set; } + public virtual BattleEntityStatProcessor StatProcessor { get; } + private long ObstacleIdHash { get; set; } + public string ObstacleId { get; set; } + public virtual bool IsDestroyed { get; set; } + public override bool Alive { get; } + public override GroupTag GroupTag { get; } + public override BehaviorType CurrentBehavior { get; set; } + public override ActionState CurrentActionState { get; } + public override HeroAction CurrentAction { get; set; } + public virtual bool IsOccupied { get; } + public AreaSpawner InitialAreaSpawner { get; set; } + public virtual EntityMaterialType MaterialType { get; } + public virtual ObstacleHeightType ObstacleHeight { get; } + public virtual CoverMotionType CoverMotionType { get; } + public virtual ObstacleCoverType ObstacleCoverType { get; } + public virtual BattleEntity Entity { get; } + public override bool HasCrowdControl { get; } + public bool IsObstacleOccupiedByCharacter(Character character) + { + return default; + } + + public bool IsOccupiedByPlayer(GroupTag groupTag) + { + return default; + } + + public bool IsOccupiedByEnemy(GroupTag groupTag) + { + return default; + } + + public bool IsLineIntersect(LineSegment line) + { + return default; + } + + public void DestroyObstacle() + { + } + + public void DispelByGroupId(string logicEffectGroupId, int count, StatusProcessor statusProcessor, Action> onDispel) + { + } + + public BattleEntity GetSummoner() + { + return default; + } + + } + + public class Character : BattleEntity, IHeroSummarizable, ICharacter + { + private int lastTargetFindFrame; + private EventHandler ActionChangedVolatileCurrentAction; + private EventHandler ActionChanged; + private EventHandler ActionInterrupted; + private EventHandler StatusAdded; + private EventHandler StatusRemoved; + private EventHandler StatusResisted; + private EventHandler ImmuneAdded; + private EventHandler ImmuneRemoved; + private EventHandler Died; + private EventHandler Revived; + private EventHandler DyingStarted; + private EventHandler GroundNodeChanged; + private EventHandler PhaseChanged; + public EventHandler AmmoReloaded; + public EventHandler BulletCountChanged; + public EventHandler FormChanged; + public EventHandler InteractWithTSS; + public EventHandler CoverStateChanged; + public EventHandler SkillActionRegistered; + public EventHandler BarrierObstacleCoverChanged; + public readonly bool IsDefenseCharacter; + private ImmediateKillEffect reservedImmediateKillEffectFromTSADestruction; + private LogicEffect reservedDamageEffectFromTSADestruction; + public List, BattleEntity>>> TauntBattleEntityList; + private Dictionary ExtraSkillCostTable; + public MoveToWorldPositionCommand CurrentMoveToWorldPositionCommand; + private EventHandler DebuffAdded; + public Dictionary>>>> ExternalBTExcelsByArgumentByTriggerByPhaseTable; + private long currentActiveGauge; + private Dictionary SkillGroupToUseCountDictionary; + protected List> executedInstantNodeList; + protected Func HasFormationBeacon { get; set; } + protected Func CheckMoveToAttackPath { get; set; } + protected Func CheckFormationBeaconPath { get; set; } + protected bool IsSearchAndMoveActivated { get; set; } + public bool IsCurrentActionExSkill { get; } + public bool IsCurrentActionPublicSkill { get; } + public bool IsCurrentActionNormalAttack { get; } + private bool IsCurrentActionFinished { get; } + public long CurrentTargetSkillRange { get; } + public long CurrentTargetSkillRangeWithoutInitialRate { get; } + public bool IsCurrentTargetInRangeAndLineOfFireOk { get; } + protected static CharacterExcel InvalidCharacter { get; } + protected static CharacterAIExcel InvalidAI { get; } + public virtual long ServerId { get; set; } + public virtual long OwnerAccountId { get; set; } + public virtual long CharacterId { get; set; } + public virtual long CostumeId { get; } + public virtual long CharacterSkillListGroupId { get; set; } + public virtual long PersonalityId { get; set; } + public long AIPatternId { get; set; } + public virtual bool CheckCanUseAutoPublicSkill { get; } + public FormationLine Line { get; set; } + public int LineIndex { get; set; } + public bool IsAttacked { get; set; } + private bool canUseObstacleOfStandMotionDefault { get; } + private bool canUseObstacleOfKneelMotionDefault { get; } + public bool CanUseObstacleOfStandMotion { get; } + public bool CanUseObstacleOfKneelMotion { get; } + public virtual bool IsNPC { get; set; } + public bool IsAirUnit { get; set; } + public long AirUnitHeight { get; set; } + public virtual BulletType BulletType { get; } + public long RandomEffectRaidus { get; set; } + public EngageType EngageType { get; set; } + public EntityMaterialType MaterialType { get; set; } + public virtual School School { get; set; } + public PositioningSetting PositioningSetting { get; set; } + public long BulletCount { get; set; } + public virtual int FavorRank { get; set; } + public int FormCount { get; set; } + public HashSet TSAInteractionIds { get; set; } + public virtual Dictionary PotentialStatLevelDict { get; set; } + public MovingAreaOptions MovingAreaOption { get; set; } + public virtual BattleEntityStatProcessor StatProcessor { get; } + public SkillProcessor SkillProcessor { get; set; } + public PassiveSkillProcessor PassiveSkillProcessor { get; set; } + public StatusProcessor StatusProcessor { get; set; } + public int CrowdControlCount { get; } + public int CrowdControlDuration { get; } + public BehaviorTree BehaviorTree { get; set; } + public override bool Alive { get; } + protected Battle battleCache { get; set; } + public virtual Battle BattleCache { get; } + public virtual CharacterGroup CharacterGroup { get; set; } + public override GroupTag GroupTag { get; } + public CoverState CoverState { get; } + private IObstacle LinkedObstacle { get; set; } + public bool IsMobile { get; } + public bool IsRootMotionAllowed { get; } + public bool IsKnockbackable { get; } + public bool IsDefaultMobile { get; set; } + public bool CanSurvive { get; set; } + public bool CheckTSSBlocked { get; } + public GroundNodeType PassableNodeType { get; } + public bool CanAttackWhileMove { get; set; } + public bool IsJumpable { get; set; } + public bool IsOnJump { get; set; } + public bool IsOnMoveEndRootMotion { get; set; } + public bool IsWeaponMounted { get; set; } + public WeaponType WeaponType { get; set; } + public Dictionary, ValueTuple> BulletArmorFactorTable { get; set; } + public Dictionary>> BulletTypeOverrideTable { get; set; } + public Dictionary>> BulletArmorDamageFactorOverrideTable { get; set; } + public List TagList { get; } + public int JumpMotionFrame { get; set; } + public int MoveStartFrame { get; set; } + public int MoveEndFrame { get; set; } + public int DeadFrame { get; set; } + public int AppearFrame { get; set; } + public bool IsAppearFinished { get; set; } + public AppearSetting AppearSetting { get; set; } + public bool IsInteractionTSAFinished { get; set; } + public PathFinder PathFinder { get; set; } + public bool IsForceIdle { get; set; } + public ForceMoveCommandInfo CurrentForceMoveCommandInfo { get; set; } + public ForceHoldCommandInfo CurrentForceHoldCommandInfo { get; set; } + public SkillCommandInfo CurrentSkillCommandInfo { get; set; } + private TSAInteractionState CurrentTSAInteractionState { get; set; } + public bool IsInteractWithTSS { get; } + public bool IsInteractWithDyingTSA { get; } + public bool IsInteractWithAliveTSA { get; } + public bool IsPrivateWeapon { get; set; } + public virtual WeaponSetting WeaponSetting { get; set; } + public virtual GearSetting GearSetting { get; set; } + public virtual CostumeSetting CostumeSetting { get; set; } + public RootMotionFlat RootMotionFlat { get; set; } + public CharacterFormRootMotion[] FormRootMotions { get; set; } + public RootMotionFrame[] ExSkillRootMotions { get; set; } + public RootMotionFrame MoveLeftRootMotion { get; set; } + public RootMotionFrame MoveRightRootMotion { get; set; } + public bool IsRootMotionInLastMove { get; set; } + public bool IsAttackEnterSkipByLastSkill { get; set; } + public FormConversionInfo CurrentForm { get; set; } + public FormConversionInfo FormToConvert { get; set; } + public bool IsFormConversed { get; } + public int FormIndex { get; } + public virtual CharacterSkillListKey SkillListKey { get; } + public bool RequireReleaseFormConversion { get; } + public ShieldInfo CurrentShield { get; set; } + public TemporaryHpInfo CurrentTemporaryHp { get; set; } + public long TemporaryHpValue { get; } + public KnockbackInfo CurrentKnockbackInfo { get; set; } + public bool CanBattleItemMove { get; } + public bool CanNormalAttackTarget { get; } + public ActionLock ActionLock { get; set; } + protected IDictionary, HeroAction> ActionTable { get; set; } + public override HeroAction CurrentAction { get; set; } + public BehaviorType PrevBehavior { get; set; } + public override BehaviorType CurrentBehavior { get; set; } + public BehaviorType NextForcedBehavior { get; set; } + public ActionProgress CurrentActionProgress { get; } + public int CurrentActionElapsed { get; } + public int CurrentActionDuration { get; } + public int CurrentActionRemain { get; } + public bool IsReloading { get; } + public bool DyingEnabled { get; } + public override ActionState CurrentActionState { get; } + public HashSet StatusSet { get; } + public HeroStatus ForceActionStatus { get; } + public override bool HasCrowdControl { get; } + public IEnumerable> RuntimeStatus { get; } + public List> RuntimeEffects { get; } + protected EquipmentProcessor EquipmentProcessor { get; set; } + public virtual IList Equipments { get; } + public virtual HeroSummaryDetailFlag SummaryDetail { get; } + public SequentialSkillCardManager SkillCardManager { get; set; } + public long AIPhase { get; set; } + public long AIPhaseToChange { get; set; } + public long CurrentActiveGauge { get; set; } + private int CurrentNormalAttackCount { get; set; } + public void DispelByGroupId(string logicEffectGroupId, int count, StatusProcessor statusProcessor, Action> onDispel) + { + } + + public void AddStatus(StatusParams statusResult) + { + } + + public void RemoveStatus(HeroStatus status) + { + } + + public void RemoveStatus(HeroStatus status, string skillGroupId) + { + } + + public bool HasStatus(HeroStatus status) + { + return default; + } + + } + + public class OverrideStageTopographyEffect : LogicEffect + { + public EndCondition EndCondition { get; } + public string EndConditionArgumentFirst { get; } + public string EndConditionArgumentSecond { get; } + public StageTopography StageTopography { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class LogicGameTime + { + public const int LogicFramePerSecond = 30; + public static readonly long TicksPerFrame; + public float UnitySecondPerFrame { get; } + public TimeSpan SecondPerFrame { get; } + public int FramePerSecond { get; } + public TimeSpan TotalGameTime { get; set; } + public int TotalSeconds { get; } + public float TotalGameTimeSecond { get; } + public int CurrentFrame { get; set; } + public bool Paused { get; set; } + public int TimeoutFrame { get; set; } + public bool Timeout { get; set; } + } + + public interface IPseudoRandomService : IRandomService + { + public abstract int Sequence { get; } + public abstract ulong Seed { get; } + public int Next() + { + return default; + } + + public int Next(int maxValue) + { + return default; + } + + public int Next(int minValue, int maxValue) + { + return default; + } + + public int NextIncludeMax(int minValue, int maxValue) + { + return default; + } + + public float NextFloat() + { + return default; + } + + public double NextDouble() + { + return default; + } + + public ulong NextULong() + { + return default; + } + + } + + public class BattleEntityIdProvider + { + private IDictionary lastInstanceIds; + } + + public sealed class LogicEffectProcessor + { + private EventHandler LifeGain; + private EventHandler LogicEffectHit; + private EventHandler DotApply; + private EventHandler LogicEffectImmune; + private EventHandler AttackProcessed; + private EventHandler DamageProcessed; + private bool debugProcessState; + private List logicEffects { get; } + private DataLogicEffectComparer priorityComparer { get; } + } + + public class BattleEventBroker + { + private BattleEventSnapshot currentSnapshot; + public BattleSetting Setting { get; set; } + public KeyedCollection BattleSnapshot { get; } + } + + public sealed class BattleSetting : IEquatable + { + public BattleTypes BattleType { get; set; } + public EchelonType EchelonType { get; set; } + public int RandomSeed { get; set; } + public int BattleDurationInFrame { get; set; } + public TeamSetting LeftTeam { get; set; } + public TeamSetting RightTeam { get; set; } + public long GroundUniqueId { get; set; } + public long StageId { get; set; } + public string StageNumber { get; set; } + public string StageName { get; set; } + public TacticEnvironment EnvironmentType { get; set; } + + [JsonIgnore] + public StageTopography StageTopography { get; set; } + + [JsonIgnore] + public string GroundSceneName { get; set; } + + [JsonIgnore] + public string GroundGridFileName { get; set; } + + [JsonIgnore] + public string GroundStageName { get; set; } + public bool IsDefeatBattle { get; set; } + + [JsonIgnore] + public bool HideBattleUIFromScratch { get; set; } + + [JsonIgnore] + public long TSSAirUnitHeight { get; set; } + + [JsonIgnore] + public long PlayerPositionGapRate { get; set; } + + [JsonIgnore] + public long EnemyPositionGapRate { get; set; } + public bool IsBoss { get; set; } + public List ClanAssistUseInfo { get; set; } + + [JsonIgnore] + public int RaidBossInitialPhase { get; } + public RaidSetting RaidSetting { get; set; } + public EventBattleSetting EventSetting { get; set; } + public TimeAttackSetting TimeAttackSetting { get; set; } + public long ConquestGroupBuffId { get; set; } + public ConquestEnemyType ConquestEnemyType { get; set; } + + [JsonIgnore] + public long EventContentId { get; set; } + + [JsonIgnore] + public long FixedEchelonId { get; set; } + public bool DisableRootMotion { get; set; } + + [JsonIgnore] + public Dictionary> BattleRewardItems { get; set; } + public bool Equals(BattleSetting other) + { + return default; + } + + } + + public abstract class CharacterGroup + { + private EventHandler SightChanged; + public List Supporters; + private bool[] sightGrids; + public List BlockedAreas; + private HashSet aiGroupIdOfAttackedCharacter; + private HashSet AttackedCharacter; + private List supportersToRemove; + private HashSet discoveredEnemies; + private int currentSectionId; + public GroupTag GroupTag { get; set; } + public long TeamId { get; set; } + public int MaxCharacterCount { get; } + public string SupportActionUniqueName { get; set; } + public bool IsExtension { get; set; } + public List ActiveCharacters { get; set; } + public List AliveCharacters { get; set; } + public bool HasSurvivor { get; set; } + public List CharactersInSight { get; } + public List CharactersInSightIncludeDead { get; } + public BattleEntity Leader { get; set; } + public Dictionary, GroundFormationBeacon> FormationBeacons { get; set; } + public StatCorrection StatCorrection { get; } + public bool CheckTSSInteractionServerId { get; set; } + public long TSSInteractionServerId { get; set; } + public long TSSInteractionUniqueId { get; set; } + public int HandCount { get; set; } + public bool IgnoreSkillCardShuffle { get; set; } + public Dictionary, SkillCardManager> SkillCardManagerTable { get; set; } + public bool[] SightGrids { get; set; } + public int MaxCharacterLevel { get; } + public Dictionary ConcentratedTargetTable { get; set; } + public bool HasNotMoveLogicEffectCharacter { get; } + public int GroupId { get; set; } + public SkillActor SkillActor { get; set; } + public Battle BattleCache { get; set; } + public List TemporaryCanUseSkillAreas { get; set; } + public bool SkipUntargetableTargetCheckInMove { get; set; } + public bool SightRangeMax { get; } + public long PositionGapRate { get; } + public SyncUseSkillManager SyncUseSkillManager { get; } + public Vector2 Center { get; } + public Vector2 Forward { get; } + } + + public class SupportActor : SkillActor, ICharacter + { + private EventHandler Expired; + public EventHandler InteractWithTSS; + public virtual long ServerId { get; } + public virtual long OwnerAccountId { get; } + public virtual long CharacterId { get; } + public virtual long CostumeId { get; } + public virtual long CharacterSkillListGroupId { get; } + public virtual long PersonalityId { get; } + public virtual School School { get; } + public WeaponType WeaponType { get; } + public virtual BulletType BulletType { get; } + public virtual int FavorRank { get; set; } + public virtual Dictionary PotentialStatLevelDict { get; set; } + public PassiveSkillProcessor PassiveSkillProcessor { get; } + public virtual BattleEntityStatProcessor StatProcessor { get; } + public override bool HasCrowdControl { get; } + public bool IsInteractWithTSS { get; set; } + public virtual CharacterGroup CharacterGroup { get; } + public bool IsPrivateWeapon { get; set; } + public virtual WeaponSetting WeaponSetting { get; set; } + public virtual GearSetting GearSetting { get; set; } + public virtual CostumeSetting CostumeSetting { get; set; } + public List TagList { get; } + public virtual bool IsNPC { get; } + public virtual bool CheckCanUseAutoPublicSkill { get; } + public override HeroSummaryDetailFlag SummaryDetail { get; } + public bool IsCurrentActionExSkill { get; } + private bool IsCurrentActionPublicSkill { get; } + protected EquipmentProcessor EquipmentProcessor { get; set; } + public virtual IList Equipments { get; } + public void DispelByGroupId(string logicEffectGroupId, int count, StatusProcessor statusProcessor, Action> onDispel) + { + } + + public void AddStatus(StatusParams statusResult) + { + } + + public void RemoveStatus(HeroStatus status) + { + } + + public void RemoveStatus(HeroStatus status, string skillGroupId) + { + } + + public bool HasStatus(HeroStatus status) + { + return default; + } + + } + + public class Ground + { + public GroundGrid Grid { get; set; } + public GroundStage Stage { get; set; } + public int GridNodeLength { get; } + } + + public class BattleCommandExecuter + { + private List commands { get; } + } + + public abstract class BattleCommandQueue + { + protected Queue Queue { get; } + } + + public class GroundEntitySpawner + { + private Battle battle; + } + + public class SpawnProcessor + { + private List spawnReserves; + private List supporterSpawnReserves; + } + + public class HeroSummary : IEquatable + { + [JsonIgnore] + private readonly BattleEntityType[] AllBattleEntity; + [JsonIgnore] + private BattleEntity entityCache; + [JsonIgnore] + private long stabilitySum; + [JsonIgnore] + private int stabilityCount; + [JsonIgnore] + private int attackHitCount; + [JsonIgnore] + private int attackTotalCount; + [JsonIgnore] + private long prevHitPoint; + [JsonIgnore] + private SupportActor supportCache; + public long ServerId { get; set; } + public long OwnerAccountId { get; set; } + public EntityId BattleEntityId { get; set; } + public long CharacterId { get; set; } + public long CostumeId { get; set; } + public int Grade { get; set; } + public int Level { get; set; } + public IDictionary PotentialStatLevel { get; set; } + public int ExSkillLevel { get; set; } + public int PublicSkillLevel { get; set; } + public int PassiveSkillLevel { get; set; } + public int ExtraPassiveSkillLevel { get; set; } + public int FavorRank { get; set; } + public StatSnapshotCollection StatSnapshotCollection { get; set; } + public long HPRateBefore { get; set; } + public long HPRateAfter { get; set; } + public int CrowdControlCount { get; set; } + public int CrowdControlDuration { get; set; } + public int EvadeCount { get; set; } + public int DamageImmuneCount { get; set; } + public int CrowdControlImmuneCount { get; set; } + public long MaxAttackPower { get; set; } + public int AverageCriticalRate { get; set; } + public int AverageStabilityRate { get; set; } + public int AverageAccuracyRate { get; set; } + public int DeadFrame { get; set; } + public long DamageGivenAbsorbedSum { get; set; } + public TacticEntityType TacticEntityType { get; set; } + + [JsonIgnore] + public HeroSummaryDetailFlag DetailFlag { get; } + + [JsonIgnore] + public bool IsDead { get; } + public List GivenNumericLogs { get; set; } + public List TakenNumericLogs { get; set; } + public List ObstacleBattleNumericLogs { get; set; } + public List Equipments { get; set; } + public Nullable CharacterWeapon { get; set; } + public Nullable CharacterGear { get; set; } + + [JsonIgnore] + public IDictionary HitPointByFrame { get; set; } + public IDictionary SkillCount { get; set; } + + [JsonIgnore] + public int ExSkillUseCount { get; } + public KillLogCollection KillLog { get; set; } + + [JsonIgnore] + public int KillCount { get; } + + [JsonIgnore] + public Dictionary FullSnapshot { get; set; } + public static IEqualityComparer HeroSummaryAlmostEqualityComparer { get; } + public bool Equals(HeroSummary other) + { + return default; + } + + } + + public class SkillCostSummary + { + public float InitialCost { get; set; } + public CostRegenSnapshotCollection CostPerFrameSnapshots { get; set; } + public List CostAddSnapshots { get; set; } + public List CostUseSnapshots { get; set; } + } + + public class FindGiftSummary + { + public string UniqueName { get; set; } + public int ClearCount { get; set; } + } + + [Serializable] + public class TBGHexaMapData + { + [JsonIgnore] + public Dictionary TileLocationMap; + public List Tiles { get; set; } + public List Spawns { get; set; } + } + + public class TBGHexaObjectDB + { + private TBGBoardSaveDB _saveDB; + private ITBGObjectInfo _objectInfoCache; + private ITBGEncounterInfo _encounterInfoCache; + private bool _activated; + private Nullable _hitPoint; + private Nullable _beforeStoryOption; + private bool _encounterCostAlreadyPaid; + private Nullable _isFakeTrasure; + private Dictionary _FixRewardUniqueIdByIndex; + + [JsonIgnore] + public bool IsDirty { get; set; } + + [JsonIgnore] + public ITBGObjectInfo ObjectInfo { get; } + + [JsonIgnore] + public ITBGEncounterInfo EncounterInfo { get; } + public long ServerId { get; set; } + public long UniqueId { get; set; } + public long EncounterId { get; set; } + public TBGThemaType MapType { get; set; } + public HexLocation Location { get; set; } + public bool Activated { get; set; } + public Nullable HitPoint { get; set; } + public Nullable BeforeStoryOption { get; set; } + public bool EncounterCostAlreadyPaid { get; set; } + public Nullable IsFakeTreasure { get; set; } + public Dictionary FixRewardUniqueIdByIndex { get; set; } + + [JsonIgnore] + public TBGObjectInteractionType InteractionType { get; } + + [JsonIgnore] + public bool CanSkipBeforeStory { get; } + + [JsonIgnore] + public bool IsPassable { get; } + + [JsonIgnore] + public bool IsBlockingPlayer { get; } + + [JsonIgnore] + public bool ShouldPayEncounterCost { get; } + + [JsonIgnore] + public bool IsInteractable { get; } + } + + public struct TBGProbModify + { + public TBGProbModifyCondition ProbModifyCondition { get; set; } + public int ProbModifyValue { get; set; } + public int ProbModifyLimit { get; set; } + } + + public interface ITBGItemEffectDB + { + public abstract ITBGItemInfo ItemInfo { get; } + public abstract int Stack { get; } + public abstract int RemainEncounterCounter { get; } + } + + public interface ITBGItemInfo + { + public abstract long UniqueId { get; } + public abstract TBGItemType ItemType { get; } + public abstract TBGItemEffectType ItemEffectType { get; } + public abstract int ItemParameter { get; } + public abstract int EncounterCount { get; } + public abstract string LocalizeEtcId { get; } + public abstract string Icon { get; } + public abstract string BuffIcon { get; } + public abstract string DiceEffectAniClip { get; } + public abstract bool BuffIconHUDVisible { get; } + } + + public class CurrencyValue : IEquatable + { + public static readonly IEnumerable DBCurrencyTypes; + public static readonly IEnumerable DBPropertyCurrencyTypes; + public static readonly IEnumerable DBTicketCurrencyTypes; + public static readonly IEnumerable ValidCurrencyTypes; + public static readonly IEnumerable WorldRaidTickets; + public static readonly IEnumerable BILogCurrencyTypes; + public Dictionary Values { get; set; } + public Dictionary Tickets { get; } + public Dictionary Property { get; } + public long Gold { get; } + public long Gem { get; } + public long GemBonus { get; } + public long GemPaid { get; } + public long ActionPoint { get; } + public long ArenaTicket { get; } + public long RaidTicket { get; } + public long WeekDungeonChaserATicket { get; } + public long WeekDungeonChaserBTicket { get; } + public long WeekDungeonChaserCTicket { get; } + public long WeekDungeonFindGiftTicket { get; } + public long WeekDungeonBloodTicket { get; } + public long AcademyTicket { get; } + public long SchoolDungeonATicket { get; } + public long SchoolDungeonBTicket { get; } + public long SchoolDungeonCTicket { get; } + public long TimeAttackDungeonTicket { get; } + public long MasterCoin { get; } + public long WorldRaidTicketA { get; } + public long WorldRaidTicketB { get; } + public long WorldRaidTicketC { get; } + public long ChaserTotalTicket { get; } + public long SchoolDungeonTotalTicket { get; } + public long EliminateTicketA { get; } + public long EliminateTicketB { get; } + public long EliminateTicketC { get; } + public long EliminateTicketD { get; } + public bool IsEmpty { get; } + public bool Equals(CurrencyValue other) + { + return default; + } + + } + + public enum ParcelChangeType + { + NoChange = 0, + Terminated = 1, + MailSend = 2, + Converted = 3, + } + + public abstract class BattleEntity : Entity, IEquatable + { + private EventHandler Damaged; + private EventHandler PassiveTriggered; + public HashSet UntargetableExceptionSkillTypes; + private HashSet ImmuneDamageBySkillTypes; + protected DamageTransferEffectInfo CurrentDamageTransferEffect; + protected HealConvertDamageEffectInfo CurrentHealConvertDamageEffect; + private int costRegenBanEffectCount; + public virtual TacticEntityType TacticEntityType { get; set; } + public TacticRange TacticRange { get; set; } + public SquadType SquadType { get; set; } + public bool HasMainTarget { get; } + public bool HasTarget { get; } + public virtual EntityTargetContainer TargetContainer { get; } + public EntityTargetFinder EntityTargetFinder { get; } + public abstract bool Alive { get; } + public abstract GroupTag GroupTag { get; } + public string Name { get; set; } + public Body2D Body { get; set; } + public virtual Vector2 Position2D { get; } + public virtual Vector2 Direction { get; set; } + public int AIGroupId { get; set; } + public float BodyRadius { get; } + public virtual Vector3 PositionVisual { get; } + public virtual GroundNode NearestGroundNode { get; set; } + public abstract BehaviorType CurrentBehavior { get; set; } + public abstract ActionState CurrentActionState { get; } + public abstract HeroAction CurrentAction { get; set; } + public virtual int Level { get; } + public virtual int Grade { get; } + public virtual long HitPoint { get; set; } + public virtual long HitPointBefore { get; set; } + public virtual long MaxHPCapGauge { get; set; } + public virtual long MaxGaugeCapInHP { get; } + public virtual long SummonedTime { get; set; } + public virtual long MaxHitPoint { get; } + public virtual BasisPoint HitPointRate { get; } + public virtual long LostHitPoint { get; } + public virtual ArmorType ArmorType { get; set; } + public virtual long BattlePower { get; } + protected BattleEntityStatProcessor statProcessor { get; set; } + public virtual BattleEntityStat DefaultStat { get; } + public virtual BattleEntityStat CurrentStat { get; } + public virtual BattleEntityStat InitialStat { get; } + public StackDamageProcessor StackDamageProcessor { get; } + public AccumulateEffectProcessor AccumulateEffectProcessor { get; } + public GaugeEffectProcessor GaugeEffectProcessor { get; } + private List UntargetableExceptionLogicEffects { get; set; } + public abstract bool HasCrowdControl { get; } + public bool IsCostRegenBan { get; } + protected ImmuneProcessor ImmuneProcessor { get; set; } + public virtual IEnumerable> RuntimeImmunes { get; } + public virtual DotProcessor DotProcessor { get; set; } + public virtual List> RuntimeDotAbilities { get; } + public bool Equals(BattleEntity other) + { + return default; + } + + } + + public class SkillSpecification + { + public string SkillGroupId { get; } + public int SkillLevel { get; } + public string SkillDataKey { get; } + public string VisualDataKey { get; } + public SkillSlot SkillSlot { get; } + public SkillType SkillType { get; set; } + } + + public struct Hash64 : IEquatable + { + public static readonly Hash64 Empty; + public ulong Hash; + public bool Equals(Hash64 other) + { + return default; + } + + } + + public class DotAbility : IDispellable + { + public readonly IList LogicEffectValues; + private HashSet LogicEffectTemplateHashes; + private IList abilityModifiers; + public IList AdditionalTicks; + private long ApplyPeriodRate; + private long PeriodMaxRate; + private long PeriodMinRate; + private bool useFixedStabilityRate; + private BasisPoint fixedStabilityRate; + public virtual string TemplateId { get; } + public virtual Hash64 TemplateIdHash { get; } + public virtual string LogicEffectGroupId { get; } + public virtual LogicEffectCategory Category { get; } + public SkillSpecification SkillSpecification { get; } + public LogicEffectHitSpecification LogicEffectHitSpecification { get; } + private long damageDistributeRate { get; } + private int StartDelay { get; } + public int Interval { get; set; } + private int TotalCount { get; } + public int Channel { get; } + private IList DamageModifiers { get; } + private bool IsAdditionalTick { get; } + private long AdditionalTickDamageRate { get; } + public EndCondition EndCondition { get; } + public int EndConditionArgument { get; } + private int CurrentCount { get; set; } + public LogicEffect LogicEffectToDispel { get; } + public bool IsDispellable { get; } + public Func ExpirationCheck { get; set; } + public Entity ExpirationCheckOwner { get; set; } + public int StackSameEffectCount { get; } + public bool ExpireOldIfStackCountOver { get; } + } + + public enum SkillType + { + None = 0, + Ex = 1, + Passive = 2, + Leader = 3, + Normal = 4, + ExtraPassive = 5, + Public = 6, + GroupBuff = 8, + HexaBuff = 9, + EventBuff = 10, + TimeAttackGeasPassive = 11, + HiddenPassive = 12, + } + + public abstract class SkillCard : IDisposable + { + private EventHandler StateChanged; + private static int SkillUniqueIndex; + public int SkillCardUniqueId; + public int Cost; + public int ExtraCost; + public int EnemyCost; + public int ExtraEnemyCost; + public int NPCCost; + public int ExtraNPCCost; + public abstract BattleEntity OwnerEntity { get; } + public abstract long OwnerCostumeId { get; } + public SkillDataPack SkillData { get; } + public string SkillGroupId { get; } + public CharacterSkillListKey SkillListKey { get; set; } + public int SkillLevel { get; } + public int ActiveGauge { get; } + public SkillSlot SkillSlot { get; } + public int CoolTime { get; set; } + public int RemainCoolTime { get; set; } + public abstract TargetCandidateRule CandidateRule { get; } + public abstract TargetSortRule SortRule { get; } + public SkillCardState State { get; set; } + public int HandIndex { get; set; } + public Vector3 InputPosition { get; set; } + public Vector3 GuidePosition { get; set; } + public Vector3 GuideDirection { get; set; } + public IList SelectTargets { get; set; } + public bool AutoTargeting { get; set; } + public bool IsAutoUse { get; set; } + public abstract EntityId OwnerEntityId { get; } + public abstract long CharacterId { get; } + public int OriginalCost { get; } + public int CostUsed { get; set; } + public bool IsNPCCard { get; set; } + public int SkillRemainCount { get; set; } + public void Dispose() + { + } + + } + + public abstract class Shape + { + public abstract ShapeType ShapeType { get; } + public abstract Vector2 Center { get; set; } + public abstract ValueTuple Size { get; } + public virtual Vector2 Forward { get; set; } + public virtual Vector2 Right { get; set; } + } + + public interface ICustomParticleEvent + { + } + + public interface IDispellable + { + public abstract string TemplateId { get; } + public abstract string LogicEffectGroupId { get; } + public abstract LogicEffectCategory Category { get; } + //public virtual Hash64 TemplateIdHash { get; } + } + + public enum ResolvePriority + { + Dispel = 0, + StatChange = 1, + LifeGain = 2, + StatusRemove = 3, + Normal = 4, + CrowdControlStatusAdd = 5, + StatusAdd = 6, + Damage = 7, + } + + public class LogicEffectHitSpecification + { + public string SkillEntityName; + public LogicEffectValue LogicEffectValue; + public BattleEntity Invoker; + public BattleEntity Target; + public BattleEntity OriginalTarget; + public Vector2 HitPosition; + public Vector2 BulletPosition; + public Vector2 BulletDirection; + public Entity BulletEntity; + public int ExtraCostUsed; + } + + public abstract class Entity + { + public List ConditionIdList; + public List CommandIdList; + public virtual EntityId EntityId { get; set; } + public bool Active { get; set; } + } + + public class ManualSkillProcessor + { + private BattleEntity Executer { get; } + private List groupBuffs { get; } + private List hexaBuffs { get; } + private List eventBuffs { get; } + } + + public class PlayerSkillCardManager : CostSkillCardManager + { + private EventHandler SkillCardStateChanged; + private int blockAutoUseTemporarilyCount; + public override SkillPriorityCheckTarget FeverTarget { get; } + public HandSlot[] Hand { get; set; } + public HandSlot TSSSlot { get; set; } + public SkillCard TSSSkillCard { get; set; } + public bool IsAutoUseSettingTrue { get; set; } + public bool IsAutoUse { get; } + public int AutoUseIndex { get; set; } + public bool IsBulletTime { get; set; } + public int LastSkillUseIndex { get; set; } + public bool IsAutoUseSummonTSS { get; set; } + protected Queue TopSkillCards { get; set; } + public PlayerGroup PlayerGroup { get; set; } + public override float CurrentFrameUsableCost { get; } + } + + public interface IEntityBody + { + } + + public abstract class AreaEntityValue : SkillEntityValue, ICancelableBySkill + { + public bool AttachEntity { get; } + public bool AllowDuplicateHit { get; } + public int Duration { get; } + public bool RotateEntityDirectionEveryFrame { get; } + public bool ApplyOffsetRotateEntityDirection { get; } + public IList HitFrames { get; } + public bool RemoveEntityIfSkillCancel { get; } + public Nullable CollisionProperty { get; } + public bool CheckBlockHit { get; } + public IList AreaAbilities { get; } + public string HitCheckCouplingKey { get; } + public MovingAreaOptions MovingAreaOption { get; } + public bool IsRemoveEntityIfSkillCancel() + { + return default; + } + + } + + [Serializable] + public struct AreaCollisionProperty : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly AreaCollisionProperty Empty; + public AreaTransformTypes TransformType; + public int TransformCount; + public bool Equals(AreaCollisionProperty other) + { + return default; + } + + } + + public class Body2D + { + private DirectionRotator dirRotator; + private Vector2 acceleration; + private Vector2 velocity; + public Func getCurrentFrameFunc; + private int lastPreviousBondingCircleUpdateFrame; + private Vector2 lastWarpByPlatformPosition; + private int lastWarpByPlatformFrame; + public float BodyRadius { get; } + public Vector2 Forward { get; set; } + public Vector2 Right { get; } + public Vector2 Position2D { get; set; } + public Vector2 Velocity { get; set; } + public int CurrentFrame { get; } + public float CurrentSpeed { get; set; } + public float MaxSpeed { get; set; } + public float MaxAngularVelocity { get; set; } + private float mass { get; } + private float inverseMass { get; } + public Shape Collision { get; set; } + public Vector2 CollisionPositionOffset { get; set; } + private float collisionAngleDistance { get; } + private bool IsContinousMoving { get; } + private Circle PreviousBoundingCircle { get; } + private Circle CurrentBoundingCircle { get; } + } + + public class HitCheckCoupling + { + private Dictionary> hitEntityTable; + } + + public enum MovingAreaOptions + { + None = 0, + FixedAim = 1, + CheckSpawnPositionOutOfMovingArea = 2, + } + + public enum BattleEntityType + { + None = 0, + Character = 16777216, + SkillActor = 33554432, + Obstacle = 67108864, + Point = 134217728, + Projectile = 268435456, + EffectArea = 536870912, + Supporter = 1073741824, + BattleItem = -2147483648, + } + + public class BattleItemEntityValue : SummonEntityValue + { + public float RecognitionRadius { get; } + public float EffectRadius { get; } + public int TargetCount { get; } + public int ActiveDelayInFrame { get; } + public IList LogicEffectValues { get; } + public IList Abilities { get; } + public Dictionary> OrderToAbilityTable { get; } + public AreaSpawnerValue InEffectRadusAreaSpawnerEntityValue { get; } + public SkillEntitySpawnerValue InEffectRadiusSkillEntitySpawnerEntityValue { get; } + } + + public class Circle : Shape, IEquatable + { + public static Circle Empty { get; } + public static Circle Default { get; } + + [JsonIgnore] + public override ShapeType ShapeType { get; } + + [JsonIgnore] + public override ValueTuple Size { get; } + public override Vector2 Center { get; set; } + public float Radius { get; set; } + public bool Equals(Circle other) + { + return default; + } + + } + + public enum BehaviorType + { + None = 0, + NormalAttack01 = 1, + NormalAttack02 = 2, + NormalAttack03 = 3, + NormalAttack04 = 4, + NormalAttack05 = 5, + NormalAttack06 = 6, + NormalAttack07 = 7, + NormalAttack08 = 8, + NormalAttack09 = 9, + NormalAttack10 = 10, + UseExSkill01 = 11, + UseExSkill02 = 12, + UseExSkill03 = 13, + UseExSkill04 = 14, + UseExSkill05 = 15, + UseExSkill06 = 16, + UseExSkill07 = 17, + UseExSkill08 = 18, + UseExSkill09 = 19, + UseExSkill10 = 20, + UsePublicSkill01 = 21, + UsePublicSkill02 = 22, + UsePublicSkill03 = 23, + UsePublicSkill04 = 24, + UsePublicSkill05 = 25, + UsePublicSkill06 = 26, + UsePublicSkill07 = 27, + UsePublicSkill08 = 28, + UsePublicSkill09 = 29, + UsePublicSkill10 = 30, + Dead = 50, + Dying = 51, + Retreat = 52, + EnterGround = 53, + TSSInteract = 54, + Idle = 55, + Stunned = 100, + Hit = 101, + Knockback = 102, + Panic = 103, + Paralysis = 104, + Emp = 105, + Purify = 106, + Groggy = 107, + GroggyDead = 108, + Frozen = 109, + Move = 200, + MoveToFormationBeacon = 201, + MoveLeft = 202, + MoveRight = 203, + MoveAttack = 204, + ReleaseFormConversion = 205, + Walk = 300, + Stop = 301, + Seek = 302, + Flee = 303, + Evade = 304, + Wander = 305, + SeekPosition = 306, + Feared = 307, + Airborn = 308, + Charmed = 309, + Pulling = 310, + Stasis = 311, + Following = 312, + MetamorphNormalAttack01 = 313, + } + + public enum ActionState + { + Default = 0, + Phase01 = 1, + Phase02 = 2, + Phase03 = 3, + Phase04 = 4, + Phase05 = 5, + Phase06 = 6, + Phase07 = 7, + Phase08 = 8, + Phase09 = 9, + None = 10, + } + + public abstract class HeroAction : IEquatable + { + private EventHandler Started; + private EventHandler Finished; + private EventHandler Interrupted; + private EventHandler ActionStateChanged; + private int elapsed; + private int duration; + private ActionState actionState; + public BehaviorType BehaviorType { get; } + public BattleEntity Executer { get; } + protected EntityId ExecuterId { get; } + public bool IsLocking { get; set; } + public int Elapsed { get; set; } + public int Duration { get; set; } + public ActionState ActionState { get; set; } + public virtual ActionProgress ActionProgress { get; } + public bool Equals(HeroAction other) + { + return default; + } + + } + + public interface IEntitySpawnable + { + public abstract SkillSpecification SkillSpecification { get; } + public abstract int ExtraCostUsed { get; } + public abstract BattleEntity Executer { get; } + } + + public class ProjectileEventArgs : EventArgs + { + public EntityId ProjectileId { get; } + public Vector2 CollidedPosition { get; } + public EntityId TargetId { get; } + public EntityId ObstacleId { get; } + } + + public sealed class MoveProjectileDelegate + { + } + + public abstract class ProjectileEntityValue : SkillEntityValue + { + public SpawnPositionTypes DestinationType { get; } + public Vector2 DestinationWorldPosition { get; } + public Vector2 DestinationPositionOffset { get; } + public int DestinationPositionRandomOffsetRange { get; } + public SpawnDirectionTypes DestinationOffsetDirectionType { get; } + public ProjectileTypes ProjectileType { get; } + public ShapeType ShapeType { get; } + public float Width { get; } + public float Height { get; } + public int FireDelayFrame { get; } + public float Speed { get; } + public long FrameToHit { get; } + public bool IsStickToTargetAfterHit { get; } + public IList Abilities { get; } + public int SplashDelay { get; } + public AreaEntityValue SplashEntityData { get; } + public AreaSpawnerValue SplashSpawner { get; } + public SkillEntitySpawnerValue SkillEntitySpawner { get; } + } + + [Serializable] + public struct TargetCandidateRule : IEquatable + { + public static readonly TargetCandidateRule Invalid; + public bool IsValid { get; } + public TargetingType TargetingType { get; } + public TargetEntityType ApplyEntityType { get; } + public int MaxCount { get; } + public TargetSideId TargetSide { get; } + public AliveState AliveState { get; } + public SchoolConstraint SchoolConstraint { get; } + public WeaponConstraint WeaponConstraint { get; } + public SquadTypeConstraint SquadTypeConstraint { get; } + public AdaptationConstraint AdaptationConstraint { get; } + public BulletConstraint BulletConstraint { get; } + public TacticRangeConstraint TacticRangeConstraint { get; } + public TagConstraint TagConstraint { get; } + public HPRateConstraint HPRateConstraint { get; } + public TacticRoleConstraint TacticRoleConstraint { get; } + public CoverState CoverState { get; } + public bool NeedSearchTarget { get; } + public bool Equals(TargetCandidateRule other) + { + return default; + } + + } + + [Serializable] + public struct TargetSortRule : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly TargetSortRule Empty; + public TargetSortCriteria SortCriteria; + public StatType SortStat; + public string SortParameter; + public TargetSortOrder OrderBy; + [JsonIgnore] + public List SortParameterHashes; + + [JsonIgnore] + public bool IsValid { get; } + + [JsonIgnore] + public bool RandomTargetSelect { get; } + public bool Equals(TargetSortRule other) + { + return default; + } + + } + + public abstract class SkillEntityValue + { + public string EntityName { get; } + public long SpawnRate { get; } + public long SpawnDelay { get; } + public string LogicName { get; } + public SkillApplyType ApplyType { get; } + public TransformDecideTiming DecideTiming { get; } + public bool EntitySpawnIncludeOutOfRangeInputTarget { get; } + public SpawnPositionTypes SpawnPositionType { get; } + public Vector2 SpawnWorldPosition { get; } + public Vector2 PositionOffset { get; } + public int PositionRandomOffsetRange { get; } + public SpawnDirectionTypes OffsetDirectionType { get; } + public SpawnDirectionTypes SpawnDirectionType { get; } + public TargetSortRule TargetSortRule { get; } + public TargetCandidateRule TargetCandidateRule { get; } + public bool UsePrimaryTargetingRule { get; } + public long DamageDistributeRate { get; set; } + public bool CheckSpawnPositionMovable { get; set; } + } + + public class BeamEntityValue : SkillEntityValue + { + public bool RemoveEntityIfSkillCancel; + public SpawnPositionTypes DestinationType { get; } + public Vector2 DestinationWorldPosition { get; } + public Vector2 DestinationPositionOffset { get; } + public int DestinationPositionRandomOffsetRange { get; } + public SpawnDirectionTypes DestinationOffsetDirectionType { get; } + public float ObbWidth { get; } + public long ExpansionDuration { get; } + public long KeepingDuration { get; } + public long ExtinctionDuration { get; } + public long ExtinctionHeadRate { get; } + public long ExtinctionTailRate { get; } + public bool Piercing { get; } + public bool FollowSpawnEntity { get; } + public bool FollowTargetEntity { get; } + public bool ApplyAbilityOnlyTarget { get; } + public int ApplyAbilityToHitTargetMaxCount { get; } + public List IntervalAbilities { get; } + public List TimelineAbilities { get; } + public List Splashes { get; } + public List ChainBeams { get; } + } + + public enum BeamPhase + { + Expansion = 0, + Keeping = 1, + Extinction = 2, + } + + public abstract class AuraEntityValue : SkillEntityValue, ICancelableBySkill + { + public bool RemoveEntityIfAttachSpawnTargetDie; + public bool AttachSpawnTarget { get; } + public bool RotateEntityDirectionEveryFrame { get; } + public bool ApplyOffsetRotateEntityDirection { get; } + public int Duration { get; } + public int Interval { get; } + public SameAuraCheckCondition RemoveEntityIfSameEntitySpawn { get; } + public bool RemoveEntityIfSkillCancel { get; } + public MovingAreaOptions MovingAreaOption { get; } + public IList AreaAbilities { get; } + public bool IsRemoveEntityIfSkillCancel() + { + return default; + } + + } + + public class NormalAttackDelivererEventArgs : EventArgs + { + public string EntityName { get; } + public Vector2 CollidedPosition { get; set; } + public BattleEntity Target { get; set; } + public BattleEntity OriginalTargetWhenHitObstacle { get; set; } + } + + public interface IObstacle + { + public abstract bool IsDestroyed { get; set; } + public abstract ObstacleCoverType ObstacleCoverType { get; } + public abstract EntityMaterialType MaterialType { get; } + public abstract ObstacleHeightType ObstacleHeight { get; } + public abstract CoverMotionType CoverMotionType { get; } + public abstract BattleEntityStatProcessor StatProcessor { get; } + public abstract BattleEntity Entity { get; } + public abstract bool IsOccupied { get; } + public abstract bool Alive { get; } + public abstract BasisPoint HitPointRate { get; } + public abstract long HitPoint { get; } + public abstract long MaxHitPoint { get; } + public abstract float LifeTimeRate { get; } + } + + public class NormalAttackBulletEntityValue : TargetSkillEntityValue + { + public long Speed { get; } + } + + public enum SkillApplyType + { + None = 0, + Direct = 2, + Hitscan = 4, + AlwaysBlocked = 5, + } + + public interface IHitCheckCouplingProvider + { + } + + public class ObstaclePoint : IEquatable + { + public GroundNode GroundNode; + public Vector2 Position2D; + public float PositionHeight; + public Vector3 PositionVisual { get; } + public bool Equals(ObstaclePoint other) + { + return default; + } + + } + + [Serializable] + public class GroundObstacleData : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public Vector2 Scale; + public Vector2 Offset; + public Vector2 Size; + public float PreDuration; + public float DestroyDuration; + public float RetreatDuration; + public float RemainTime; + public bool JumpAble; + public bool Indestructible; + public bool CrashByTSS; + public ObstacleHeightType ObstacleHeightType; + public ObstacleDestroyType DestroyType; + public ObstacleDestroyType RetreatType; + public ArmorType ArmorType; + public ObstacleCoverType ObstacleCoverType; + public CoverMotionType CoverMotionType; + public EntityMaterialType MaterialType; + public string UniqueName; + public uint NameHash; + public Vector2 Direction; + public List EnemyPoints; + public List PlayerPoints; + public bool Equals(GroundObstacleData other) + { + return default; + } + + } + + public struct ObstacleStatExcel + { + private Table __p; + public ByteBuffer ByteBuffer { get; } + public uint StringID { get; } + public string Name { get; } + public long MaxHP1 { get; } + public long MaxHP100 { get; } + public long BlockRate { get; } + public long Dodge { get; } + public long CanNotStandRange { get; } + public float HighlightFloaterHeight { get; } + public long EnhanceLightArmorRate { get; } + public long EnhanceHeavyArmorRate { get; } + public long EnhanceUnarmedRate { get; } + public long EnhanceElasticArmorRate { get; } + public long EnhanceStructureRate { get; } + public long EnhanceNormalArmorRate { get; } + public long ReduceExDamagedRate { get; } + } + + public class OBB : Shape, IEquatable + { + private Vector2 center; + private float rightAngleInRadian; + private Vector2[] axis; + public static OBB Empty { get; } + + [JsonIgnore] + public override ShapeType ShapeType { get; } + + [JsonIgnore] + public override ValueTuple Size { get; } + public override Vector2 Center { get; set; } + public float Width { get; } + public float Height { get; } + private float CircumcircleRadius { get; set; } + + [JsonIgnore] + private Vector2 HalfWidths { get; } + + [JsonIgnore] + private float RightAngle { get; } + + [JsonIgnore] + public override Vector2 Forward { get; set; } + + [JsonIgnore] + public override Vector2 Right { get; set; } + public Circle CircumCircle { get; set; } + + [JsonIgnore] + public Vector2 TopLeft { get; } + + [JsonIgnore] + public Vector2 TopRight { get; } + + [JsonIgnore] + public Vector2 BottomLeft { get; } + + [JsonIgnore] + public Vector2 BottomRight { get; } + public bool Equals(OBB other) + { + return default; + } + + } + + public enum ObstacleState + { + Pre = 0, + Idle = 1, + Destroy = 2, + Retreat = 3, + Remain = 4, + Remove = 5, + } + + public class ObstacleSaveData + { + public string UniqueName; + public Vector3 Position; + public Vector3 Forward; + public List ActiveEnemyPointIndices; + public List ActivePlayerPointIndices; + public List ConditionIdList; + public List CommandIdList; + public List SubObstacles; + public bool IsDummy; + } + + public class BattleEntityStatProcessor + { + private Dictionary> defaultStatChangeEffects; + private Dictionary> effectsTable; + private BattleEntity owner; + private HashSet runtimeDirtyStats; + private HashSet addedStats; + private long lastMaxHP; + private List lastMaxHPEffectList; + public long BattlePower { get; set; } + public BattleEntityStat DefaultStat { get; set; } + public BattleEntityStat InitialStat { get; set; } + public BattleEntityStat CurrentStat { get; set; } + public List> RuntimeEffects { get; } + } + + public class AreaSpawner : SpawningEntity + { + private bool isDirectionSet; + private Nullable Direction; + private IList primaryTargets; + private Vector2 position; + private Vector2 randomPosition; + private long ownerSkillRange; + private Dictionary skillEntityPositionTable; + private Dictionary skillEntityDirectionTable; + private AreaSpawnerValue spawnerValue { get; } + private List> EntityTimeline { get; } + private Dictionary> skillEntityTargetTable { get; set; } + } + + public class LineSegment : Shape, IEquatable + { + public static LineSegment Invalid { get; } + + [JsonIgnore] + public override ShapeType ShapeType { get; } + + [JsonIgnore] + public override ValueTuple Size { get; } + public Vector2 Origin { get; set; } + public Vector2 Dest { get; set; } + + [JsonIgnore] + public Vector2 ToDest { get; } + public override Vector2 Forward { get; set; } + public override Vector2 Right { get; set; } + + [JsonIgnore] + public override Vector2 Center { get; set; } + + [JsonIgnore] + public float Length { get; } + + [JsonIgnore] + public float LengthSquared { get; } + public bool Equals(LineSegment other) + { + return default; + } + + } + + public class StatusProcessor + { + public IEnumerable> RuntimeStatus { get; } + private List> runningStatusList { get; } + public int CrowdControlCount { get; set; } + public int CrowdControlDuration { get; set; } + public bool HasCrowdControl { get; } + public HeroStatus ForceActionStatus { get; } + public HashSet StatusSet { get; } + private List permanentStatusList { get; } + private List addedStatus { get; } + private List markRemoveList { get; } + private List expiredList { get; } + private Character owner { get; } + private StatusComparer comparer { get; } + private Dictionary statusExecutionTable { get; } + } + + public interface IHeroSummarizable + { + public abstract HeroSummaryDetailFlag SummaryDetail { get; } + } + + public interface ICharacter + { + public abstract long ServerId { get; } + public abstract long OwnerAccountId { get; } + public abstract long CharacterId { get; } + public abstract long CostumeId { get; } + public abstract long CharacterSkillListGroupId { get; } + public abstract long PersonalityId { get; } + public abstract bool IsNPC { get; } + public abstract TacticEntityType TacticEntityType { get; } + public abstract BulletType BulletType { get; } + public abstract School School { get; } + public abstract int FavorRank { get; set; } + public abstract Battle BattleCache { get; } + public abstract CharacterGroup CharacterGroup { get; } + public abstract BattleEntityStatProcessor StatProcessor { get; } + public abstract DotProcessor DotProcessor { get; } + public abstract IList Equipments { get; } + public abstract WeaponSetting WeaponSetting { get; } + public abstract GearSetting GearSetting { get; } + public abstract CostumeSetting CostumeSetting { get; } + public abstract bool CheckCanUseAutoPublicSkill { get; } + public abstract Dictionary PotentialStatLevelDict { get; set; } + public abstract EntityId EntityId { get; } + public abstract EntityTargetContainer TargetContainer { get; } + public abstract Vector2 Position2D { get; } + public abstract Vector2 Direction { get; set; } + public abstract Vector3 PositionVisual { get; } + public abstract GroundNode NearestGroundNode { get; } + public abstract BehaviorType CurrentBehavior { get; set; } + public abstract ActionState CurrentActionState { get; } + public abstract HeroAction CurrentAction { get; } + public abstract int Level { get; } + public abstract int Grade { get; } + public abstract long HitPoint { get; } + public abstract long HitPointBefore { get; } + public abstract long MaxHPCapGauge { get; set; } + public abstract long MaxGaugeCapInHP { get; } + public abstract long SummonedTime { get; } + public abstract long MaxHitPoint { get; } + public abstract BasisPoint HitPointRate { get; } + public abstract long LostHitPoint { get; } + public abstract ArmorType ArmorType { get; } + public abstract long BattlePower { get; } + public abstract BattleEntityStat DefaultStat { get; } + public abstract BattleEntityStat CurrentStat { get; } + public abstract BattleEntityStat InitialStat { get; } + public abstract IEnumerable> RuntimeImmunes { get; } + public abstract List> RuntimeDotAbilities { get; } + } + + public class ActionChangedEventArgs : EventArgs + { + public EntityId EntityId { get; } + public BehaviorType Behavior { get; } + public ActionState ActionState { get; } + public bool IsActionStartedEvent { get; } + } + + public class StatusAddedEventArgs : EventArgs + { + public EntityId EntityId { get; } + public EntityId InvokerId { get; } + public SkillSpecification SkillSpecification { get; } + public HeroStatus Status { get; } + public int Duration { get; } + public bool IsCrowdControl { get; } + public ForceMoveParams ForceMove { get; } + } + + public class StatusRemovedEventArgs : EventArgs + { + public EntityId EntityId { get; set; } + public HeroStatus Status { get; set; } + } + + public class StatusResistEventArgs : EventArgs + { + public EntityId EntityId { get; } + public bool HasImmune { get; } + public bool ForceFloaterHide { get; set; } + } + + public class ImmuneAddedEventArgs : EventArgs + { + public EntityId EntityId { get; } + public EntityId InvokerId { get; } + public string ImmunTemplateId { get; } + } + + public class ImmuneRemovedEventArgs : EventArgs + { + public string ImmuneTemplateId { get; set; } + public EntityId EntityId { get; set; } + } + + public class CharacterBulletCountChangedEventArgs : EventArgs + { + public EntityId EntityId { get; } + public long PreviousCount { get; } + public long CurrentCount { get; } + } + + public class CoverStateChangedEventArgs : EventArgs + { + public EntityId CharacterId { get; } + public EntityId ObstacleId { get; } + public CoverState ChangedState { get; } + } + + public class SkillActionRegisteredEventArgs : EventArgs + { + public HeroAction SkillAction { get; } + } + + public class ImmediateKillEffect : LogicEffect + { + private ImmediateKillEffectValue value { get; } + public bool IgnoreImmortal { get; } + public bool IgnoreAppliedCheat { get; } + } + + public struct StatusResult : IComparable, IEquatable, IDispellable + { + private readonly string templateId; + public readonly Hash64 TemplateIdHash; + public BattleEntity Invoker { get; } + public HeroStatus Status { get; } + public SkillSpecification SkillSpecification { get; } + public bool IsCrowdControl { get; } + public uint VisualIdHash { get; } + public string LogicEffectGroupId { get; } + public string TemplateId { get; } + public LogicEffectCategory Category { get; } + public bool Dispellable { get; } + public string SkillEntityName { get; } + public Func ExpirationCheck { get; } + public bool IsDurationChangedByStat { get; } + public int CompareTo(StatusResult other) + { + return default; + } + + public bool Equals(StatusResult other) + { + return default; + } + + } + + public class MoveToWorldPositionCommand + { + public bool IsLeft { get; } + public Vector2 TargetPosition { get; } + } + + public class DebuffEventArgs : EventArgs + { + public EntityId InvokerId { get; } + public string LogicEffectGroupId { get; } + public string LogicEffectTemplateId { get; } + public int Level { get; } + public int DurationFrame { get; } + public SkillSpecification SkillSpecification { get; } + } + + public class PositioningSetting + { + public readonly float FormationPositionReduceRatio; + public readonly float FormationPositionReduce; + public readonly float ObstaclePositionReduceRatio; + public readonly float ObstaclePositionReduce; + private long positioningGapCentimeter; + public readonly PositioningType PositioningType; + public float PositioningGapSqr { get; set; } + public float PositioningGap { get; set; } + } + + public class SkillProcessor + { + private Dictionary, SkillDataPack> skillTable; + private HashSet> expirableEffects; + private Dictionary, AutoUseCheck> AutoUseCheckTable; + public HashSet AutoUseDisabledSkillList; + public IDictionary, SkillDataPack> SkillTable { get; } + } + + public class PassiveSkillProcessor + { + private readonly BattleEntity owner; + private Dictionary> skillExecutionsTable; + private ICollection skills { get; } + private List watchTargets { get; } + } + + public class BehaviorTree + { + public RootSelector Root { get; set; } + public BehaviorResult Result { get; set; } + } + + public enum CoverState + { + None = 0, + NotCovered = 1, + Covered = 2, + } + + public class AppearSetting + { + public bool IsApearActionOn; + public List MovePoints; + } + + public class PathFinder + { + private GroundNodeType passableNodeType; + private bool checkTSSBlocked; + private ObstaclePosition obstacleToAttackTarget; + private GroundNode lastTargetPosition; + private GroundNode lastOwnerPosition; + private bool isObstacleChanged; + private bool isNeedToFindAnotherObstacle; + private Character characterAtLastGroundNode; + private readonly bool isFireLineCheckMyObstacle; + private readonly bool isFireLineCheckAllyObstacle; + private readonly bool isFireLineCheckEnemyObstacle; + private readonly bool isFireLineCheckEmptyObstacle; + private LastFailedPathInfo lastFailedPathInfo; + private HashSet> lineOfFireFailed; + private Battle Battle { get; } + private CharacterGroup OwnerCharacterGroup { get; } + private Character Owner { get; } + private BattleEntity TargetBattleEntity { get; } + private TargetingType TargetingType { get; } + private Vector2 TargetPosition { get; } + public bool IsPathUsed { get; set; } + public bool IsUseInitialRangeRate { get; set; } + public bool IsTargetOnLineOfFire { get; } + private bool IsRefreshPathToTargetRequired { get; } + private List pathToAttackTarget { get; set; } + public IEnumerable PathToAttackTarget { get; } + public ObstaclePosition ObstacleToAttackTarget { get; } + } + + public class ForceMoveCommandInfo + { + public const int PrioritySkill = 0; + public const int PriorityGroundCommand = 1; + private GroundNode targetNode; + private Battle battle; + protected bool isNeedToUpdatePathList; + private List pathList; + public int Priority { get; } + public bool IsTargetPointFormationBeacon { get; } + public virtual GroundNode TargetNode { get; } + public bool IsInstantMove { get; } + public bool IsInterruptCurrentAction { get; } + public Vector2 PositionOffset { get; } + public bool KeepRelativePosition { get; } + public bool IsCommandByBattleItem { get; } + } + + public class ForceHoldCommandInfo + { + public bool Activated { get; set; } + public bool AllowBattleItemMove { get; } + } + + public class SkillCommandInfo + { + public bool AutoTargeting; + public BattleEntity TargetBattleEntity; + public Vector2 TargetPosition2D; + public Vector2 TargetDirection2D; + public SkillSlot SkillToUse; + } + + public enum TSAInteractionState + { + NotInteracting = 0, + Interacting = 1, + TSADying = 2, + } + + public struct WeaponSetting : IEquatable + { + public const int InvalidId = -1; + + [JsonIgnore] + public bool IsValid { get; } + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public bool Equals(WeaponSetting other) + { + return default; + } + + } + + public struct GearSetting : IEquatable + { + public const int InvalidId = -1; + + [JsonIgnore] + public bool IsValid { get; } + public long UniqueId { get; set; } + public int Tier { get; set; } + public int Level { get; set; } + public bool Equals(GearSetting other) + { + return default; + } + + } + + public struct CostumeSetting : IEquatable + { + public const int InvalidId = 0; + + [JsonIgnore] + public bool IsValid { get; } + public long UniqueId { get; set; } + public bool Equals(CostumeSetting other) + { + return default; + } + + } + + public class CharacterFormRootMotion + { + public RootMotionFrame PublicSkill; + public RootMotionFrame MoveEndNormal; + public RootMotionFrame MoveEndKneel; + public RootMotionFrame MoveEndStand; + } + + public class RootMotionFrame + { + public int Duration { get; } + public float PositionMagnitudeForward { get; set; } + public Vector2[] PositionDeltas { get; set; } + } + + public class FormConversionInfo : LogicEffectExpireChecker + { + public int FormIndex { get; } + public int Channel { get; } + public bool ReleaseFormConversionRequired { get; set; } + public bool ReleaseFormConversionFinished { get; set; } + public int ReleaseFormConversionDuration { get; } + public bool DisableUseSkill { get; } + public bool ExSkillCardRedrawInHand { get; } + public ExpirableObjectHolder Effect { get; } + } + + public class CharacterSkillListKey + { + public int FormIndex { get; set; } + public long TSAInteractionId { get; set; } + public static CharacterSkillListKey Default { get; } + } + + public class ShieldInfo + { + private IEnumerator conditionChecker; + public int Channel { get; } + public long CurrentHP { get; set; } + public long MaxHP { get; } + public SkillSpecification SkillSpecification { get; } + private ExpirableObjectHolder DotAbility { get; } + private ShieldEffect ShieldEffect { get; } + private Character owner { get; } + } + + public class TemporaryHpInfo + { + private IEnumerator conditionChecker; + private int elapsed; + public int Channel { get; } + public long CurrentHP { get; set; } + private int ReducePeriod { get; } + private long ReduceAmount { get; } + public SkillSpecification SkillSpecification { get; } + private ExpirableObjectHolder DotAbility { get; } + private MaxHpOverHealEffect OverHealEffect { get; } + private Character owner { get; } + } + + public class KnockbackInfo + { + private Character owner; + private IEnumerator knockbackExecuter; + private float speed; + private int durationTick; + public KnockbackEffect KnockbackEffect { get; } + } + + public class ActionLock + { + private LockStatus lockStatus; + public bool IsLocked { get; } + } + + public enum ActionProgress + { + None = 0, + Running = 1, + Finished = 2, + } + + public enum HeroStatus + { + None = 0, + Dead = 1100, + Dying = 1110, + Exiled = 1150, + Suppressed = 1200, + Stasis = 1300, + Knockback = 1410, + Pulling = 1420, + Airborn = 1430, + Stoned = 1500, + Stunned = 1600, + Paralysis = 1601, + Emp = 1602, + Purify = 1603, + Groggy = 1604, + Hit = 1605, + Frozen = 1606, + Panic = 1610, + Charmed = 1710, + Fear = 1720, + Polymorph = 1800, + ForcedIdle = 1900, + Taunted = 2100, + ConcentratedTarget = 2110, + Confusion = 2120, + MindControlled = 2200, + Silence = 2300, + Blind = 2400, + Entangle = 2500, + Slow = 2501, + Immortal = 2700, + Indestructible = 2701, + DisableNormalAttack = 2600, + DisableExSkill = 2601, + DisablePassiveSkill = 2602, + DisablePublicSkill = 2603, + ImmuneDamageAttack = 3150, + ImmuneDamageAll = 3151, + ImmuneDamageBySkillType = 3152, + ImmuneDead = 3210, + ImmuneStoned = 3220, + ImmuneKnockback = 3230, + ImmunePulling = 3240, + ImmuneAirborn = 3250, + ImmuneStunned = 3260, + ImmuneCharmed = 3270, + ImmuneFear = 3280, + ImmunePolymorph = 3290, + ImmuneForcedIdle = 3300, + ImmuneMindControl = 3310, + ImmuneSilence = 3320, + ImmuneBlind = 3330, + ImmuneParalysis = 3340, + ImmuneEmp = 3350, + ImmunePurify = 3360, + ImmuneGroggy = 3370, + ImmuneConcentratedTarget = 3371, + ImmuneConfusion = 3372, + ImmuneCrowdControl = 3510, + ImmuneGroggyGaugeAdd = 3520, + Rage = 4100, + Untargetable = 4200, + Metamorph = 4400, + Thorns = 5000, + All = 2147483647, + } + + public class StatChangeEffect : LogicEffect, IEquatable + { + public EndCondition EndCondition { get; } + public string EndConditionArgumentFirst { get; } + public string EndConditionArgumentSecond { get; } + public EndCondition RemoveCondition { get; } + public string RemoveConditionArgumentFirst { get; } + public string RemoveConditionArgumentSecond { get; } + public StatType StatType { get; } + public long BaseAmount { get; set; } + public long TargetCoefficientAmount { get; set; } + public bool Dispellable { get; } + public StatType CasterStatType { get; } + public long CasterCoefficientAmount { get; } + public long CasterStatAmount { get; } + public int StackSameEffectCount { get; } + public bool ExpireOldIfStackCountOver { get; } + public bool IsForceApplied { get; set; } + public bool Equals(StatChangeEffect other) + { + return default; + } + + } + + public class EquipmentProcessor + { + private HashSet> expirableEffects; + public IList Equipments { get; } + public IDictionary OptionTable { get; } + private List equipList { get; } + } + + public class Equipment : IEquatable + { + public static Equipment Invalid { get; } + public bool IsValid { get; } + public long ServerId { get; } + public long UniqueId { get; } + public int Level { get; } + public long StackCount { get; } + public int Tier { get; } + public EquipmentOptionCollection Options { get; } + public string DamageFactorGroupId { get; } + public bool Equals(Equipment other) + { + return default; + } + + } + + public enum HeroSummaryDetailFlag + { + None = 0, + BattleProperty = 2, + BattleStatistics = 4, + NumericLogs = 8, + StatSnapshot = 16, + Default = 14, + All = 30, + } + + public class SequentialSkillCardManager : SkillCardManager + { + public Character Owner; + public SkillCard SkillCardToUse { get; } + } + + public struct StatusParams : IEquatable + { + public static readonly StatusParams Empty; + public EntityId InvokerId { get; } + public BattleEntity Invoker { get; } + public SkillSpecification SkillSpecification { get; } + public HeroStatus Status { get; } + public bool IsCrowdControl { get; } + public int Duration { get; set; } + public ForceMoveParams ForceMove { get; } + public string LogicEffectGroupId { get; } + public string LogicEffectTemplateId { get; } + public uint LogicEffectVisualIdHash { get; } + public long ParameterNumber { get; } + public string Parameter { get; } + public string ParameterSecond { get; } + public LogicEffectCategory Category { get; } + public bool Dispellable { get; } + public string SkillEntityName { get; } + public Func ExpirationCheck { get; } + public bool IsDurationChangedByStat { get; } + public bool Equals(StatusParams other) + { + return default; + } + + } + + public interface IRandomService + { + } + + public class LifeGainEventArgs : EventArgs + { + public EntityId SummonerId { get; set; } + public EntityId InvokerId { get; set; } + public EntityId TargetId { get; set; } + public SkillSpecification SkillSpecification { get; set; } + public int DotIndex { get; set; } + public long Amount { get; set; } + public long RawAmount { get; set; } + public LifeGainType LifeGainType { get; set; } + public bool TriggerOtherEffect { get; set; } + public bool ForceFloaterHide { get; set; } + public bool IsAccumulatedHeal { get; } + public Vector2 HitPosition { get; set; } + public Vector2 BulletPosition { get; } + public Vector2 BulletDirection { get; } + public Entity BulletEntity { get; } + public string TemplateId { get; } + public int Channel { get; } + } + + public class LogicEffectHitEventArgs : EventArgs, IEquatable + { + public LogicEffect Effect { get; set; } + public uint TypeOfLogicEffectHash { get; set; } + public SkillSpecification SkillSpecification { get; } + public LogicEffectCategory Category { get; } + public EntityId AttackerId { get; set; } + public BehaviorType AttackerBehavior { get; set; } + public ActionState AttackerActionState { get; set; } + public EntityId TargetId { get; set; } + public EntityId ObstacleOwnerId { get; set; } + public string SkillEntityName { get; set; } + public string LogicEffectGroupId { get; set; } + public uint CommonVisualIdHash { get; } + public int DurationFrame { get; set; } + public Vector2 HitPosition { get; set; } + public Vector2 BulletPosition { get; set; } + public Vector2 BulletDirection { get; set; } + public Entity BulletEntity { get; set; } + public int DotIndex { get; set; } + public string TemplateId { get; } + public bool IsHit { get; } + public SkillType SkillType { get; } + public bool Equals(LogicEffectHitEventArgs other) + { + return default; + } + + } + + public class LogicEffectImmuneEventArgs : EventArgs, IEquatable + { + public EntityId AttackerId { get; set; } + public EntityId TargetId { get; set; } + public string TemplateId { get; set; } + public LogicEffectCategory Category { get; } + public int DurationFrame { get; } + public Vector2 HitPosition { get; } + public Vector2 BulletPosition { get; } + public Vector2 BulletDirection { get; } + public Entity BulletEntity { get; } + public FontType OverrideFontType { get; } + public bool ForceFloaterHide { get; } + public bool Equals(LogicEffectImmuneEventArgs other) + { + return default; + } + + } + + public class AttackEventArgs : EventArgs + { + private readonly string channel; + public BattleEntity Attacker { get; set; } + public BehaviorType AttackerBehavior { get; set; } + public ActionState AttackerActionState { get; set; } + public BattleEntity Target { get; set; } + public BattleEntity TargetOrigin { get; set; } + public BattleEntity OriginalTargetWhenHitObstacle { get; set; } + public string SkillEntityName { get; set; } + public SkillSpecification SkillSpecification { get; set; } + public Vector2 HitPosition { get; set; } + public long Damage { get; set; } + public FontType HitResultType { get; set; } + public bool ForceFloaterHide { get; set; } + public LogicEffectCategory Category { get; } + public AttackLogicEffectType LogicEffectType { get; } + public Entity BulletEntity { get; } + public Vector2 BulletPosition { get; } + public Vector2 BulletDirection { get; } + public int Channel { get; } + } + + public class DamageResultEventArgs : EventArgs + { + public BattleEntity Attacker { get; set; } + public EntityId AttackerId { get; set; } + public EntityId SummonerId { get; } + public EntityId TargetId { get; set; } + public EntityId FirstAttackerId { get; set; } + public LogicEffectCategory LogicEffectCategory { get; set; } + public SkillSpecification SkillSpecification { get; set; } + public long AttackPower { get; set; } + public int Stability { get; set; } + public long ResultDamage { get; set; } + public long Damage { get; set; } + public long AbsorbedDamage { get; set; } + + [JsonIgnore] + public bool IsDamaged { get; } + public long CriticalMultiplier { get; set; } + + [JsonIgnore] + public bool IsNormalAttack { get; } + public FontType HitResult { get; } + + [JsonIgnore] + public bool IsCritical { get; } + public bool TriggerOtherEffect { get; set; } + public Vector2 HitPosition { get; set; } + public Vector2 BulletPosition { get; set; } + public Vector2 BulletDirection { get; set; } + public Entity BulletEntity { get; set; } + } + + public class DataLogicEffectComparer : Comparer + { + public override int Compare(LogicEffect x, LogicEffect y) + { + return default; + } + + } + + public class BattleEventSnapshot + { + public int Frame { get; } + public IList BattleEntitySpawnedSnapshots { get; set; } + public IList BattleEntityRemovedSnapshots { get; set; } + + [JsonIgnore] + public IList EffectAreaSpawnedSnapshots { get; set; } + public IList ObstacleDestroySnapshots { get; set; } + public IList ObstacleStateChangeSnapshots { get; set; } + public IList BattleItemActivatedSnapshots { get; set; } + public IList BattleItemEffectedSnapshots { get; set; } + public IList BattleItemRecognizedSnapshots { get; set; } + public ICollection LogicEffectHitSnapshots { get; set; } + public ICollection StatusResistSnapshots { get; set; } + public IList CharacterFormConversionSnapshots { get; set; } + public IList BeamSpawnedSnapshots { get; set; } + public IList AuraSpawnedSnapshots { get; set; } + public IList NormalAttackSpawnedSnapshots { get; set; } + public IList NormalAttackHitSnapshots { get; set; } + public IList ProjectileSpawnedSnapshots { get; set; } + public IList ProjectileCollidedSnapshots { get; set; } + public IList BeamCollidedSnapshots { get; set; } + public IList SkillEntityRemovedSnapshots { get; set; } + public IList DotAttachedSnapshots { get; set; } + public IList DotRemovedSnapshots { get; set; } + public IList ActionChangeSnapshots { get; set; } + public IList ActionInterruptedSnapshots { get; set; } + public IList TssInteractionSnapshots { get; set; } + public IList AttackResultSnapshots { get; set; } + public IList LifeGainSnapshots { get; set; } + public IList LogicEffectImmuneSnapshots { get; set; } + public IList KillSnapshots { get; set; } + public IList StatusAddedSnapshots { get; set; } + public IList StatusRemovedSnapshots { get; set; } + public IList GroundNodeChangeSnapshots { get; set; } + public IList SkillCardSnapshots { get; set; } + public IList PassiveTriggeredSnapshots { get; set; } + public IList SupportActorChangeSnapshots { get; set; } + public IList CharacterPhaseChangedSnapshots { get; set; } + public IList ParticleEffectSnapshots { get; set; } + public IList CoverStateChangedSnapshots { get; set; } + public DamageUpdatedEventArgs DamageUpdatedSnapshot { get; set; } + public bool AskContinue { get; set; } + } + + [Serializable] + public sealed class TeamSetting : IEquatable + { + public long AccountId { get; set; } + public long TeamId { get; set; } + public string TeamName { get; set; } + + [JsonIgnore] + public GroupTag GroupTag { get; set; } + public long LeaderCharacterServerId { get; set; } + public bool CheckTSSInteractionServerId { get; set; } + public long TSSInteractionCharacterServerId { get; set; } + public long TSSInteractionCharacterUniqueId { get; set; } + + [JsonIgnore] + public FormationLocationKey FormationLocationKey { get; set; } + public int EchelonNumber { get; set; } + public bool IsExtension { get; set; } + public IList Starters { get; set; } + public IList Supporters { get; set; } + public IList GroundPassives { get; set; } + public IList DefaultStatChangeInfos { get; set; } + public ArenaSetting ArenaSetting { get; set; } + public SkillCardHand SkillCardHand { get; set; } + public List SkillCardMulliganCharacterIds { get; set; } + public List HexaBuffs { get; set; } + + [JsonIgnore] + public StatCorrection StatCorrection { get; set; } + + [JsonIgnore] + public int TotalCharacterCount { get; } + + [JsonIgnore] + public int HandCount { get; set; } + public bool Equals(TeamSetting other) + { + return default; + } + + } + + public sealed class RaidSetting + { + public bool IsPractice { get; set; } + public long RaidServerId { get; set; } + public long RaidSeasonId { get; set; } + public long RaidGroupId { get; set; } + public string SecretCode { get; set; } + public int RaidBossIndex { get; set; } + + [JsonIgnore] + public int LastBossIndex { get; } + public long RaidBossHP { get; set; } + public int RaidBossInitialPhase { get; set; } + public long GroggyPoint { get; set; } + public List SubPartsHPs { get; set; } + public bool IsTicket { get; set; } + public RaidMemberCollection RaidMembers { get; set; } + } + + public sealed class EventBattleSetting + { + public List BuffIds { get; set; } + } + + public sealed class TimeAttackSetting + { + public bool IsPractice { get; set; } + public long TimeAttackServerId { get; set; } + public long TimeAttackSeasonId { get; set; } + public string SecretCode { get; set; } + public long GeasId { get; set; } + public long DungeonId { get; set; } + } + + public class SightChangedEventArgs : EventArgs + { + public GroupTag groupTag { get; set; } + } + + public class BlockedArea + { + private bool[] goThroughDirectionBlocked; + public int startX; + public int startY; + public int endX; + public int endY; + private BlockedAreaBattleItem owner; + private bool[][] gridNonBlocked; + public Circle Circle { get; set; } + public bool Item { get; } + } + + public class GroundFormationBeacon + { + private int ignoreAStarIndexInPathList; + private bool isNeedToUpdatePathList; + private readonly Character ownerCharacter; + private bool checkTSSBlocked; + private GroundNodeType passableNodeType; + private readonly CharacterGroup ownerCharacterGroup; + private readonly Battle battle; + private LastFailedPathInfo lastFailedPathInfo; + private GroundNode lastTargetStartNode; + private List lastMoveList; + public FormationLine Line { get; set; } + public int LineIndex { get; set; } + public List PathList { get; set; } + public Character MaxPositionCharacter { get; set; } + public float MaxPositionRatioInGroup { get; set; } + public float MinPositionRatioInGroup { get; set; } + public float MyPositionRatioInGroup { get; set; } + } + + [Serializable] + public struct StatCorrection : IEquatable + { + public static readonly StatCorrection Empty; + public static readonly StatCorrection Default; + public long SightRangeBase; + public BasisPoint SightRangeRate; + public long WeaponRangeBase; + public BasisPoint WeaponRangeRate; + public long SkillRangeBase; + public BasisPoint SkillRangeRate; + public bool SightRangeMax; + + [JsonIgnore] + public bool IsEmpty { get; } + public bool Equals(StatCorrection other) + { + return default; + } + + } + + public abstract class SkillCardManager + { + public List Deck { get; set; } + protected Battle Battle { get; set; } + public GroupTag GroupTag { get; set; } + protected CharacterGroup CharacterGroup { get; set; } + protected List> CharactersInfo { get; set; } + } + + public class SkillActor : BattleEntity, IHeroSummarizable + { + private EventHandler ActionChanged; + private EventHandler ActionInterrupted; + private EventHandler StateChanged; + public EventHandler SkillActionRegistered; + protected bool skillActivated; + private Dictionary ExtraSkillCostTable; + public virtual Battle BattleCache { get; set; } + public override GroupTag GroupTag { get; } + public override HeroAction CurrentAction { get; set; } + public SkillProcessor SkillProcessor { get; } + public ActionLock ActionLock { get; } + protected IDictionary ActionTable { get; } + public override Vector2 Position2D { get; } + public override Vector2 Direction { get; set; } + public Dictionary, ValueTuple> BulletArmorFactorTable { get; set; } + public Dictionary>> BulletArmorDamageFactorOverrideTable { get; set; } + public Dictionary>> BulletTypeOverrideTable { get; set; } + public virtual HeroSummaryDetailFlag SummaryDetail { get; } + public override BehaviorType CurrentBehavior { get; set; } + public override ActionState CurrentActionState { get; } + public override bool Alive { get; } + public override bool HasCrowdControl { get; } + } + + [Serializable] + public class TemporaryCanUseSkillArea + { + public bool IsHideVisual; + public string CommandId; + public long Radius; + public GroupTag GroupTag; + public Vector3 Position; + public float RadiusSqr { get; set; } + public Vector2 Position2D { get; set; } + } + + public class SyncUseSkillManager + { + private List syncUseSkillGroupList; + } + + public class GroundGrid + { + private const float DistanceToNoTSS = 2; + private static readonly float ROOT2; + public static readonly int MaxCost; + public static readonly GroundNode[] Directions; + public string Version; + public float Gap; + public float OnePerGap; + public int X; + public int Y; + public float StartX; + public float StartY; + private List> connectedLayerMapping; + private List> temporaryConnectedLayerMapping; + private Dictionary temporaryToChangeLayerTable; + private List movingAreaShapeList; + public float halfGap { get; } + public GroundNode[] GroundNodes { get; set; } + public GroundNode Item { get; set; } + public bool PathFindFailOverOn { get; set; } + } + + public class GroundStage + { + public string GridVersion; + public GroundGlobal Global; + public List Sections; + public List Formations; + public List EnemyFormations; + public List TemporaryCanUseSkillAreas; + public int CurSectionID; + public Battle battle; + public GroundSection CurMapSection { get; } + } + + public abstract class BattleCommand : IEquatable + { + public GroupTag ExecuterTag { get; } + public int IssuedFrame { get; set; } + public int ExecuteFrame { get; set; } + public bool Equals(BattleCommand other) + { + return default; + } + + } + + public class StatSnapshotCollection : KeyedCollection + { + protected override StatType GetKeyForItem(StatSnapshot item) + { + return default; + } + + } + + public class BattleNumericLog : IEquatable + { + public BattleEntityType EntityType { get; set; } + public BattleLogCategory Category { get; set; } + public BattleLogSourceType Source { get; set; } + public long CalculatedSum { get; set; } + public long AppliedSum { get; set; } + public long Count { get; set; } + public long CriticalMultiplierMax { get; set; } + public long CriticalCount { get; set; } + public long CalculatedMin { get; set; } + public long CalculatedMax { get; set; } + public long AppliedMin { get; set; } + public long AppliedMax { get; set; } + public bool Equals(BattleNumericLog other) + { + return default; + } + + } + + public struct EquipmentSetting : IEquatable + { + public const int InvalidId = -1; + + [JsonIgnore] + public bool IsValid { get; } + public long ServerId { get; set; } + public long UniqueId { get; set; } + public int Level { get; set; } + public int Tier { get; set; } + public bool Equals(EquipmentSetting other) + { + return default; + } + + } + + public class KillLogCollection : Collection + { + } + + public class CostRegenSnapshotCollection : KeyedCollection + { + [JsonIgnore] + private SkillCostRegenSnapshot _lastSnapshot; + protected override long GetKeyForItem(SkillCostRegenSnapshot item) + { + return default; + } + + } + + public struct SkillCostAddSnapshot + { + public long Frame { get; set; } + public float Added { get; set; } + } + + public struct SkillCostUseSnapshot + { + public long Frame { get; set; } + public float Used { get; set; } + public long CharId { get; set; } + public int Level { get; set; } + } + + [Serializable] + public class TBGHexaTileData + { + public string ResourcePath { get; set; } + public TBGTileType TileType { get; set; } + public HexLocation Location { get; set; } + } + + [Serializable] + public class TBGHexaSpawnData + { + public TBGHexaObjectSpawnRule SpawnRule { get; set; } + public HexLocation Location { get; set; } + public List UniqueIds { get; set; } + public List ObjectTypes { get; set; } + public long ShuffleGroupId { get; set; } + } + + public interface ITBGObjectInfo + { + public abstract long UniqueId { get; } + public abstract TBGObjectType ObjectType { get; } + public abstract ParcelInfo Cost { get; } + public abstract bool Disposable { get; } + public abstract bool ReEncounterCost { get; } + public abstract string Key { get; } + public abstract string PrefabName { get; } + } + + public enum TBGObjectInteractionType + { + None = 0, + Encounter = 1, + Portal = 2, + } + + public class BattleEntityDamagedEventArgs : EventArgs + { + public EntityId AttackerId { get; } + public EntityId TargetId { get; } + public long DamageTaken { get; } + public long DamageAbsorbed { get; } + public FontType HitResultType { get; } + } + + public class PassiveTriggeredEventArgs : EventArgs + { + public SkillSpecification SkillSpecification { get; } + public SkillSlot Slot { get; } + public EntityId OwnerId { get; } + public EntityId TriggerSourceId { get; } + public PassiveTriggerEvent TriggerEvent { get; } + } + + public class DamageTransferEffectInfo + { + private Battle battle; + private IEnumerator conditionChecker; + private string TransferredDamageEffectGroupId; + private int TransferredDamageEffectLevel; + public int Channel { get; } + private ExpirableObjectHolder DotAbility { get; } + private DamageTransferEffect DamageTransferEffect { get; } + private BattleEntity owner { get; } + } + + public class HealConvertDamageEffectInfo + { + private Battle battle; + private IEnumerator conditionChecker; + private string TransferredHealDamageGroupID; + public int Channel { get; } + private ExpirableObjectHolder DotAbility { get; } + private HealConvertDamageEffect HealConvertDamageEffect { get; } + private BattleEntity owner { get; } + } + + public class EntityTargetContainer + { + private BattleEntity owner; + private SkillSlot skillSlot; + private Vector2 targetPosition; + private Vector2 targetDirection; + private readonly List targets; + private TargetCandidateRule targetCandidateRule; + public BehaviorType BehaviorType { get; set; } + public Vector2 TargetPosition { get; } + public Vector2 TargetDirection { get; } + public BattleEntity MainTarget { get; } + public bool HasTarget { get; } + public bool HasMainTarget { get; } + public IList Targets { get; } + public TargetingType TargetingType { get; set; } + } + + public class EntityTargetFinder + { + private HashSet DuplicationCheckSet; + private BattleEntity Owner { get; } + private GroupTag OwnerTag { get; } + public bool CanNotTargetObstacle { get; set; } + } + + [Serializable] + public class GroundNode : IEquatable + { + public int X; + public int Y; + public GroundNodeType OriginalNodeType; + public GroundNodeType NodeType; + public Vector2 Position2D; + public float PositionHeight; + public bool CanNotUseSkill; + public sbyte Layer; + [JsonIgnore] + public sbyte OriginalLayer; + [JsonIgnore] + public float temporaryHeight; + [JsonIgnore] + private readonly int hash; + [JsonIgnore] + public bool TSSBlocked; + + [JsonIgnore] + public float PositionHeightWithTemporaryChange { get; } + + [JsonIgnore] + public Vector3 PositionVisual { get; } + + [JsonIgnore] + public HashSet CanNotStandByNearObstacles { get; set; } + public HashSet CanStandByNearObstacles { get; set; } + public bool Equals(GroundNode other) + { + return default; + } + + } + + public class BattleEntityStat : ICloneable + { + private Dictionary> minMaxValueTable; + private Dictionary valueTable; + public static BattleEntityStat Empty { get; } + public CharacterLevelStatFactorExcel LevelFactor { get; set; } + public long Item { get; } + public IEnumerable StatTypes { get; } + public int Level { get; set; } + public int Grade { get; set; } + public object Clone() + { + return default; + } + + } + + public class StackDamageProcessor + { + private List stackDamageInfoList; + } + + public class AccumulateEffectProcessor + { + private List accumulateInfoList; + } + + public class GaugeEffectProcessor + { + private List GaugeInfoList; + } + + public class ImmuneProcessor + { + private BattleEntity owner; + private List> runningImmuneList { get; } + public IEnumerable> RuntimeImmunes { get; } + private List addedImmunes { get; set; } + private List expiredList { get; set; } + private List markRemoveList { get; set; } + } + + public abstract class ImmuneEffect : LogicEffect + { + public long DurationFrame; + public bool Dispellable { get; } + public abstract FontType FloaterType { get; } + } + + public class DotProcessor + { + public List> ExpirableAbilities { get; } + private List attachedEffectAreas { get; } + private List attachedAmplifyDoTEffects { get; } + } + + public abstract class LogicEffectValue + { + public int Level { get; } + public string LogicEffectGroupId { get; } + public string LogicEffectTemplateId { get; } + public LogicEffectCategory Category { get; } + public int Channel { get; } + public BasisPoint ApplyRate { get; } + public uint CommonVisualIdHash { get; } + public bool ForceFloaterHide { get; set; } + public int PriorityWhenSameFrame { get; } + + [JsonIgnore] + public bool IsDisabled { get; } + } + + public class SkillDataPack + { + public NewSkillAction Action { get; } + public AutoUseCheck AutoUseCheck { get; } + public bool CheckCanUseSkillPoint { get; } + public SkillExcel Excel { get; } + public int Level { get; } + } + + public enum SkillCardState + { + None = 0, + InHand = 1, + InDeck = 2, + Used = 3, + Cast = 4, + InputReceived = 5, + CoolTime = 6, + CoolTimeComplete = 7, + Disabled = 8, + Waiting = 9, + Switched = 10, + } + + public enum ShapeType + { + None = 0, + Circle = 3, + Donut = 4, + Fan = 5, + LineSegment = 6, + OBB = 7, + } + + public class ManualSkill + { + public SkillSpecification SkillSpecification { get; } + public ManualSkillTypes ManualSkillType { get; } + public IList Abilities { get; } + } + + public class EventSkill + { + public ManualSkill Skill { get; } + public IList Abilities { get; } + public TargetCandidateRule CandidateRule { get; } + public TargetSortRule SortRule { get; } + private TargetFindRule TargetRule { get; } + } + + public abstract class CostSkillCardManager : SkillCardManager + { + protected virtual bool CanRegenCost { get; } + public virtual bool IsRegenBan { get; } + public abstract SkillPriorityCheckTarget FeverTarget { get; } + public float MaxCost { get; set; } + public float CurCost { get; set; } + public virtual float CurrentFrameUsableCost { get; } + public float FeverChargeScale { get; set; } + public float CostPerFrame { get; set; } + public bool IsShuffle { get; set; } + public bool IsFeverTime { get; } + public ValueTuple FeverInfo { get; set; } + public long RegenStartDelayFrame { get; set; } + public bool IsMainPlayerSkillCard { get; set; } + protected float RegenCostBefore { get; set; } + } + + public class SkillCardEventArgs : EventArgs + { + public GroupTag GroupTag { get; } + public int Index { get; } + public SkillCard SkillCard { get; } + public SkillCardState State { get; } + } + + public class HandSlot + { + public SkillCard SkillCard; + public long SlotCoolFrame; + } + + public interface ICancelableBySkill + { + } + + public abstract class SkillAbilityValue + { + public int StartDelay { get; } + public IList LogicEffectValues { get; } + public IList Modifiers { get; } + } + + public enum AreaTransformTypes + { + None = 0, + RadiusIncrement = 1, + RadiusDecrement = 2, + ObbCenterIncrement = 3, + ObbCenterDecrement = 4, + FanClockWise = 5, + FanCounterClockWise = 6, + FanClockwiseRound = 7, + FanCounterClockwiseRound = 8, + } + + public class DirectionRotator + { + public Vector2 Right { get; } + public Vector2 Forward { get; } + public float CurrentAngle { get; set; } + private float DestAngle { get; set; } + } + + public abstract class SummonEntityValue : SkillEntityValue + { + public AreaSpawnerValue InitialAreaSpawnerEntity; + public SkillEntitySpawnerValue InitialEntitySpawner; + public string SpawnTemplateId { get; } + public float AngleOffset { get; } + public int Duration { get; } + public bool DestroyAlreadyExist { get; } + public bool SummonAsEnemy { get; } + public bool SpawnSameGridLayerAsInvoker { get; set; } + public MovingAreaOptions MovingAreaOption { get; } + } + + public class AreaSpawnerValue : SkillEntityValue + { + public int Duration { get; } + public List> EntityTimeline { get; } + } + + public class SkillEntitySpawnerValue : SkillEntityValue, ICancelableBySkill + { + public int SkillLevel { get; } + public int Duration { get; } + public EntitySpawnRule SpawnRule { get; } + public bool RemoveEntityIfSkillCancel { get; } + public bool OverrideSkillStartTimingWithSpawnerSpawn { get; } + public bool FireToNextTargetWhenEachToEach { get; } + public SkillToTargetDistributeType DistributeType { get; } + public List> EntityTimeline { get; } + public bool IsRemoveEntityIfSkillCancel() + { + return default; + } + + } + + public enum SpawnPositionTypes + { + None = 0, + Invoker = 1, + InputPosition = 2, + InputBattleEntity = 3, + AliveAllyCenter = 4, + AliveEnemyCenter = 5, + GroundCenter = 6, + BattleEntity = 7, + WorldPosition = 8, + SkillCommandSelectedTarget = 9, + SkillCommandSelectedPosition = 10, + } + + public enum SpawnDirectionTypes + { + None = 0, + Invoker = 1, + Input = 2, + ToTarget = 3, + AllyToEnemy = 4, + EnemyToAlly = 5, + AliveAllyCenter = 6, + AliveEnemyCenter = 7, + WorldPosition = 8, + CasterToTarget = 9, + TargetToCaster = 10, + } + + public enum ProjectileTypes + { + None = 0, + TargetCharacter = 1, + TargetPosition = 2, + Nontarget = 3, + Max = 4, + } + + public enum TargetingType + { + None = 0, + Target = 1, + Position = 2, + } + + public enum TargetEntityType + { + None = 0, + Character = 5, + Character_Except_TSS = 1, + TSS = 4, + Supporter = 8, + Obstacle = 2, + } + + public enum TargetSideId + { + None = 0, + Self = 2, + Ally_Except_Self = 4, + Enemy = 8, + Neutral = 16, + Ally = 6, + Self_or_Enemy = 10, + Self_or_Neutral = 18, + Ally_or_Enemy = 14, + Ally_or_Neutral = 22, + Enemy_or_Neutral = 24, + All_Except_Self = 12, + ALL = 2147483647, + } + + public enum AliveState + { + None = 0, + Alive = 1, + Dying = 2, + Dead = 4, + AliveOrDying = 3, + AliveOrDead = 5, + DeadOrDying = 6, + All = -1, + } + + [Serializable] + public struct SchoolConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly SchoolConstraint Empty; + public School School; + public IncludeType IncludeType; + public bool Equals(SchoolConstraint other) + { + return default; + } + + } + + [Serializable] + public struct WeaponConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly WeaponConstraint Empty; + public WeaponType Weapon; + public IncludeType IncludeType; + public bool Equals(WeaponConstraint other) + { + return default; + } + + } + + [Serializable] + public struct SquadTypeConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly SquadTypeConstraint Empty; + public SquadType SquadType; + public IncludeType IncludeType; + public bool Equals(SquadTypeConstraint other) + { + return default; + } + + } + + [Serializable] + public struct AdaptationConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly AdaptationConstraint Empty; + public StatType AdaptationType; + public TerrainAdaptationStat[] AdaptationValues; + public IncludeType IncludeType; + public bool Equals(AdaptationConstraint other) + { + return default; + } + + } + + [Serializable] + public struct BulletConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly BulletConstraint Empty; + public BulletType BulletType; + public IncludeType IncludeType; + public bool Equals(BulletConstraint other) + { + return default; + } + + } + + [Serializable] + public struct TacticRangeConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly TacticRangeConstraint Empty; + public TacticRange[] TacticRanges; + public IncludeType IncludeType; + public bool Equals(TacticRangeConstraint other) + { + return default; + } + + } + + [Serializable] + public struct TagConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly TagConstraint Empty; + [JsonIgnore] + private List tagNameList; + public IncludeType IncludeType; + public List TagNamesInt; + + [JsonIgnore] + public List TagNameList { get; set; } + public bool Equals(TagConstraint other) + { + return default; + } + + } + + [Serializable] + public struct HPRateConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly HPRateConstraint Empty; + public HPRateConstraintType ConstraintType; + public int HPRate; + public bool Equals(HPRateConstraint other) + { + return default; + } + + } + + [Serializable] + public struct TacticRoleConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly TacticRoleConstraint Empty; + public TacticRole[] TacticRole; + public IncludeType IncludeType; + public bool Equals(TacticRoleConstraint other) + { + return default; + } + + } + + public enum TargetSortCriteria + { + None = 0, + CurrentHP = 1, + MaxHP = 2, + HPRate = 3, + Distance = 4, + AttackPower = 5, + DefensePower = 6, + BuffCount = 7, + DebuffCount = 8, + CrowdControlCount = 9, + LogicEffectTemplateCount = 10, + Stat = 11, + SummonedTime = 12, + All = 13, + } + + public enum TargetSortOrder + { + None = 0, + Highest = 1, + Lowest = 2, + Random = 3, + } + + public enum TransformDecideTiming + { + SkillStart = 0, + EntitySpawn = 1, + } + + public class BeamAbilityFrameValue + { + public BeamPhase Phase; + public int Frame; + public List Abilities; + } + + public class BeamSplashValue + { + public BeamPhase Phase; + public AreaSpawnerValue AreaSpawner; + public SkillEntitySpawnerValue SkillEntitySpawner; + public TargetProjectileEntityValue TargetAttachedEntity; + } + + public class ChainBeamValue + { + public BeamPhase Phase; + public int CheckTargetRadiusToSpawn; + public bool AllowParentTargetDupilication; + public int MaxBranchCount; + public BeamEntityValue BeamEntityValue; + } + + public enum SameAuraCheckCondition + { + None = 0, + SameInvokerEntityId = 1, + SameInvokerTeam = 2, + SameSkillId = 4, + SameSkillEntityName = 8, + All = 15, + } + + public class TargetSkillEntityValue : SkillEntityValue + { + public IList Abilities { get; } + } + + public class StatusComparer : Comparer> + { + public override int Compare(ExpirableObjectHolder x, ExpirableObjectHolder y) + { + return default; + } + + } + + public abstract class StatusExecution + { + protected Character Owner { get; } + public EntityId InvokerId { get; set; } + public int Duration { get; set; } + } + + public struct ForceMoveParams : IEquatable + { + public static ForceMoveParams Empty; + public Vector2 Direction { get; } + public float Distance { get; } + public TransitionType Transition { get; } + public bool Equals(ForceMoveParams other) + { + return default; + } + + } + + public class ImmediateKillEffectValue : LogicEffectValue + { + public bool IgnoreImmortal { get; } + public bool IgnoreAppliedCheat { get; } + } + + public class ModifySkillEffect : LogicEffect + { + public IList ApplySlots { get; } + public SkillProperty TargetProperty { get; } + public StatEvalType EvalType { get; } + public double Amount { get; } + public int DurationFrame { get; } + public bool Dispellable { get; } + public override bool IsDurationChangedByStat { get; } + } + + public interface AutoUseCheck + { + internal CharacterSkillListKey ActivateCondition { set; } + public abstract int MaxTriggerCount { get; } + public abstract int CurrentTriggerCount { get; } + } + + public class PassiveSkill : IEquatable + { + private bool isTriggered; + public SkillSpecification SkillSpecification { get; } + public BattleEntity Owner { get; } + public int MaxExecutionCount { get; } + public int StartCooltime { get; } + public int ReuseCooltime { get; } + public int Duration { get; } + public PassiveTriggerEvent TriggerEvent { get; } + public string TriggerExpressionText { get; } + public string TriggerParametersText { get; } + public BasisPoint TriggerRate { get; } + public EchelonConstraint EchelonConstraint { get; } + public int MaxTriggerCount { get; } + public int TryCount { get; } + public long CoolTimeNotTrigger { get; } + public bool ResetTryCountUseSkill { get; } + public int CurrentTriggerCount { get; set; } + public int CurrentTryCount { get; set; } + public int CurrentCooltime { get; set; } + public int LastTriggerFrame { get; set; } + public int Elapsed { get; set; } + public TargetSideId TargetSide { get; } + private TargetSortRule TriggerSourceSortRule { get; } + private TargetCandidateRule TriggerSourceCandidateRule { get; } + public long RemainedCoolTimeNotTriggerFrame { get; set; } + public int TimelineDuration { get; } + public PassiveSkillTargetType SkillTargetType { get; } + public List> EntityTimeline { get; } + public bool Equals(PassiveSkill other) + { + return default; + } + + } + + public abstract class PassiveExecution + { + private bool isEvaluationEnabled; + public SkillSpecification SkillSpecification { get; } + public PassiveTriggerEvent TriggerEvent { get; } + public BattleEntity Invoker { get; } + public BattleEntity TriggerSource { get; } + protected bool IsActivated { get; set; } + protected BattleExpression TriggerExpression { get; set; } + private int MaxTriggerCount { get; } + private int TryCount { get; } + protected bool ResetTryCountUseSkill { get; } + public int Elapsed { get; } + protected bool CanTrigger { get; } + public long RemainedCoolTimeNotTriggerFrame { get; } + private PassiveSkill skillCache { get; } + private BasisPoint TriggerRate { get; } + private EchelonConstraint EchelonConstraint { get; } + private int Duration { get; } + protected string TriggerExpressionText { get; } + protected Battle battleCache { get; set; } + } + + public class RootSelector : PartialSelector + { + private Func SwitchBehavior { get; } + private int BranchIndex { get; set; } + } + + public enum BehaviorResult + { + Failure = 0, + Success = 1, + Running = 2, + } + + [Serializable] + public class SpawnMovePoint : GroundPoint + { + public bool NeedFindPath; + } + + public class ObstaclePosition + { + public ObstaclePoint ObstaclePoint; + public GroundObstacle GroundObstacle; + } + + public class LastFailedPathInfo + { + public GroundNode StartNode; + public GroundNode EndNode; + public List BlockedAreas; + public List GroundObstacles; + } + + public class LogicEffectExpireChecker + { + public int CurrentConditionArgument; + private IEnumerator ConditionChecker; + private ExpirableObjectHolder dotEffect; + private Action OnStop; + public LogicEffectEndCondition EndCondition { get; } + public int EndConditionArgument { get; } + protected Character Owner { get; } + } + + public class ShieldEffect : LogicEffect + { + public long BaseAmount { get; } + public StatType TargetStatType { get; } + public BasisPoint TargetCoefficientAmount { get; } + public StatType CasterStatType { get; } + public BasisPoint CasterCoefficientAmount { get; } + public int DurationFrame { get; } + public bool IsDispellable { get; } + } + + public class MaxHpOverHealEffect : HealEffect + { + public int TemporaryHpDuration { get; } + public bool TemporaryHpDispellable { get; } + public long TemporaryHpLimitRateByTargetMaxHp { get; } + public int TemporaryHpBaseAmount { get; } + public long TemporaryHpByOverHealRate { get; } + public int TemporaryHpReducePeriod { get; } + public int TemporaryHpReduceBaseAmount { get; } + public long TemporaryHpReduceByHealAmountRate { get; } + } + + public class KnockbackEffect : LogicEffect + { + public long MoveDuration; + public long MoveDistance; + public KnockbackDirection KnockbackDirection; + public override bool IsDurationChangedByStat { get; } + } + + public enum LockStatus + { + Locked = 0, + Unlocked = 1, + } + + public class EquipmentOptionChangeEffect : LogicEffect + { + public EquipmentOptionType StatType { get; } + public StatEvalType EvalType { get; } + public long Amount { get; } + public int DurationFrame { get; } + public bool Dispellable { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class EquipmentOptionCollection : Collection + { + public IEnumerable AllTypes { get; } + } + + public enum LifeGainType + { + None = 0, + Heal = 1, + Recover = 2, + } + + public enum AttackLogicEffectType + { + Damage = 0, + DeadlyAttack = 1, + TransferredDamage = 2, + DamageOverTime = 3, + ChangeDamageOverTime = 4, + DamageByHit = 5, + ExtraStatDamage = 6, + AccumulateDamage = 7, + MaxHPCapGauge = 8, + } + + public class SupportSkillEventArgs : EventArgs + { + public EntityId EntityId { get; } + public SkillCardState State { get; } + public Vector2 TargetPosition { get; } + public long CharacterId { get; } + } + + public class DamageUpdatedEventArgs : EventArgs + { + public int RaidBossIndex { get; } + public RaidMemberCollection RaidMembers { get; } + } + + [Serializable] + public struct FormationLocationKey + { + public long GroupId; + } + + [Serializable] + public sealed class HeroSetting : IEquatable + { + public EntityId EntityId { get; set; } + public long ServerId { get; set; } + public long OwnerAccountId { get; set; } + public AssistRelation AssistRelation { get; set; } + public long HeroId { get; set; } + public long CostumeId { get; } + public int Grade { get; set; } + public Dictionary FavorRankInfo { get; set; } + public int FavorRank { get; set; } + public Dictionary PotentialStatLevelDict { get; set; } + public int Level { get; set; } + public long AIId { get; set; } + public FormationLine Line { get; set; } + public int LineIndex { get; set; } + public BasisPoint InitialHPRate { get; set; } + public IList PermanentStatus { get; set; } + public IDictionary SkillLevelTable { get; set; } + public IList EquipmentSettings { get; set; } + public bool IsCharacterWeaponEquipped { get; } + public WeaponSetting WeaponSetting { get; set; } + public GearSetting GearSetting { get; set; } + public CostumeSetting CostumeSetting { get; set; } + public bool Equals(HeroSetting other) + { + return default; + } + + } + + [Serializable] + public class GroundPassiveSetting + { + public string SkillGroupId { get; set; } + public int SkillLevel { get; set; } + } + + public interface IDefaultStatChangeInfo + { + } + + [Serializable] + public class ArenaSetting + { + public long TeamLevel { get; set; } + public long RepresentCharacterId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public long ArenaMapUniqueId { get; set; } + public long EmblemId { get; set; } + } + + public class BlockedAreaBattleItem : BattleItem + { + private BlockedArea blockedArea; + } + + public abstract class NewSkillAction : HeroAction + { + public Vector2 RootMotionStartPosition; + public Vector2 RootMotionEndPosition; + private bool ignoreCrashByTSSObstacleCheck; + public SkillSpecification SkillSpecification { get; } + public TargetingType PrimaryTargetingType { get; } + public TargetCandidateRule PrimaryCandidateRule { get; } + public TargetSortRule PrimarySortRule { get; } + public SkillApplyType PrimarySkillApplyType { get; set; } + protected RootMotionFrame RootMotionFrame { get; } + public long Range { get; set; } + public long Angle { get; set; } + public long MinRange { get; set; } + protected SpawnDirectionTypes ExecuterDirectionType { get; } + public Vector2 ExecuterDirectionWorldPosition { get; } + public SpawnDirectionTypes CurrentInvokerDirectionType { get; set; } + public Vector2 CurrentInvokerDirectionWorldPosition { get; set; } + public SkillEntityDAO MainEntityData { get; } + public LevelRootMotionMoveValue RootMotionMove { get; } + public bool IsAttackEnterSkipByLastSkill { get; } + } + + public class SyncUseSkillGroup + { + private IEnumerator coTryToSkillUse; + public int SyncSkillUseGroupId { get; } + private int CoolDown { get; } + public int CoolDownCurrent { get; set; } + public List> CharacterList { get; set; } + public List> SupporterList { get; set; } + } + + [Serializable] + public class GroundGlobal + { + public Vector3 Position; + public List GroundEvents; + public Battle Battle { get; set; } + } + + public class GroundSection + { + public Vector3 Position; + public int SectionID; + public List EnemySpawnPointGroupList; + public List Obstacles; + public List AllEnemySpawnPoints; + public List EventList; + private bool Progress; + private Battle battle; + } + + [Serializable] + public class GroundFormation + { + public int SectionIndex; + public int Index; + public bool IgnorePathFind; + public bool IsEnemy; + public List Locations { get; set; } + public Vector2 Forward { get; set; } + public Vector2 Center { get; set; } + public float Height { get; set; } + } + + public class StatSnapshot + { + public StatType Stat { get; set; } + public long Start { get; set; } + public long End { get; set; } + + [JsonIgnore] + public long Diff { get; } + } + + public enum BattleLogCategory + { + None = 0, + Damage = 1, + Heal = 2, + } + + public enum BattleLogSourceType + { + None = 0, + Normal = 1, + Ex = 2, + Public = 3, + Passive = 4, + ExtraPassive = 5, + Etc = 6, + } + + [Serializable] + public struct KillLog : IEquatable + { + public int Frame { get; set; } + public EntityId EntityId { get; set; } + public bool Equals(KillLog other) + { + return default; + } + + } + + public struct SkillCostRegenSnapshot + { + public long Frame { get; set; } + public float Regen { get; set; } + } + + public enum TBGHexaObjectSpawnRule + { + Nothing = 0, + ObjectId = 1, + ObjectType = 2, + } + + public enum PassiveTriggerEvent + { + None = 0, + BattleEntity_NormalAttack = 2, + BattleEntity_UseSkillStart = 3, + BattleEntity_Attack = 4, + BattleEntity_Damaged = 5, + BattleEntity_Polling = 6, + BattleEntity_Heal = 7, + BattleEntity_Healed = 8, + BattleEntity_Dying = 9, + BattleEntity_Attacked = 11, + BattleEntity_Dodged = 12, + BattleEntity_AttackCritical = 13, + BattleEntity_Died = 14, + BattleEntity_KillEnemy = 15, + BattleEntity_Reload = 16, + BattleEntity_UseSkillEnd = 17, + BattleEntity_AddLogicEffectTemplate = 18, + BattleEntity_CoverStart = 19, + BattleEntity_CoverEnd = 20, + BattleEntity_DamageHit = 21, + BattleEntity_RemoveLogicEffectTemplate = 22, + BattleEntity_AddLogicEffectCategory = 23, + BattleEntity_AddLogicEffectGroupId = 24, + BattleEntity_RemoveLogicEffectGroupId = 25, + BattleEntity_KillAlly = 26, + BattleEntity_CountLogicEffectCategory = 27, + BattleEntity_UseExSkillCost = 28, + BattleEntity_AppliedLogicEffectCategory = 29, + BattleEntity_AppliedLogicEffectGroupId = 30, + BattleEntity_AppliedLogicEffectTemplate = 31, + BattleEntity_AppliedLogicEffectData = 32, + Immediate = 1, + Battle_Periodic = 105, + Battle_Polling = 101, + BattleEntityState_OnOff = 301, + BattleEntityState_NotMoving = 302, + BattleEntityState_Reloading = 303, + BattleEntityState_Moving = 304, + } + + public class DamageTransferEffect : LogicEffect + { + public BasisPoint TransferRatio { get; } + public int DurationFrame { get; } + public bool IsDispellable { get; } + public string TransferredDamageEffectGroupId { get; } + public int TransferredDamageEffectLevel { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class HealConvertDamageEffect : LogicEffect + { + public BasisPoint TransferRatio { get; } + public int Duration { get; } + public bool Dispellable { get; } + public string DamageCheckGroupID { get; } + public string TransferredHealDamageGroupID { get; } + public bool ApplyDamageRatio { get; } + public bool ApplyDamageRatio2 { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class StackDamageInfo + { + private StackDamageEffect stackDamageEffect; + private BattleEntity invoker; + private BattleEntity owner; + private Battle battle; + private StackDamageProcessor stackDamageProcessor; + public int Channel { get; } + public string GroupId { get; } + public int CurrentStackCount { get; set; } + public ExpirableObjectHolder DotAbility { get; } + } + + public class AccumulateEffectInfo + { + private BattleEntity invoker; + private BattleEntity owner; + private Battle battle; + private AccumulateEffectProcessor accumulateEffectProcessor; + private int StartedFrame; + public int Channel { get; } + public string GroupId { get; } + public ExpirableObjectHolder DotAbility { get; } + public AccumulateEffect AccumulateEffect { get; } + public long AccumulationAmountLimit { get; set; } + public long AccumulationLimitStat { get; set; } + public long LastAmount { get; set; } + public long AddedAmount { get; set; } + public long CurrentAmount { get; set; } + } + + public class GaugeEffectInfo + { + public List bindingStatChangeEffects; + private BattleEntity invoker; + private GaugeEffectProcessor gaugeEffectProcessor; + private int StartedFrame; + public int Channel { get; } + public string GroupId { get; } + public ExpirableObjectHolder DotAbility { get; } + public ChangeStatLogicApplicationGaugeEffect GaugeEffect { get; } + public BattleEntity Owner { get; set; } + public Battle Battle { get; set; } + public long gaugeValue { get; set; } + public float GaugePercent { get; } + } + + public interface IAmplifyDoTEffect + { + } + + public enum ManualSkillTypes + { + None = 0, + GroupBuff = 1, + StrategyBuff = 2, + EventBuff = 3, + } + + [Serializable] + public struct TargetFindRule : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly TargetFindRule Empty; + public TargetSortRule Sort; + public EssentialCandidateRule EssentialCandidate; + public OptionalCandidateRule OptionalCandidate; + public bool Equals(TargetFindRule other) + { + return default; + } + + } + + public enum EntitySpawnRule + { + SpawnAll = 0, + SpawnOnlyOne = 1, + SpawnOnlyOnePerFrame = 2, + } + + public enum SkillToTargetDistributeType + { + None = 0, + EachToEachTarget = 1, + AllToOneTarget = 2, + OneToAllTarget = 3, + } + + public class SpawnCondition + { + public EntitySpawnCondition Condition; + public string ConditionParameter; + public EntitySpawnConditionCheckTarget ConditionCheckTarget; + public Hash64 ConditionParameterHash; + } + + public enum IncludeType + { + None = 0, + Include = 1, + Exclude = 2, + } + + public enum HPRateConstraintType + { + None = 0, + HPOver = 1, + HPUnder = 2, + } + + public class TargetProjectileEntityValue : ProjectileEntityValue + { + public TargetSideId ExtraHitCheckTargetSide { get; } + public TargetEntityType ExtraHitCheckTargetEntityType { get; } + public bool Piercing { get; } + public int MaxExtraHitCount { get; } + public long ReduceDamageRatePerHit { get; } + public long MaxReducedDamageRatePerHit { get; } + } + + public enum TransitionType + { + None = 0, + Linear = 1, + EaseIn = 2, + EaseOut = 3, + EaseInSine = 4, + EaseOutSine = 5, + EaseInOutSine = 6, + EaseInQuad = 7, + EaseOutQuad = 8, + EaseInOutQuad = 9, + EaseInCubic = 10, + EaseOutCubic = 11, + EaseInOutCubic = 12, + EaseInQuart = 13, + EaseOutQuart = 14, + EaseInOutQuart = 15, + EaseInQuint = 16, + EaseOutQuint = 17, + EaseInOutQuint = 18, + EaseInExpo = 19, + EaseOutExpo = 20, + EaseInOutExpo = 21, + EaseInCirc = 22, + EaseOutCirc = 23, + EaseInOutCirc = 24, + EaseInBack = 25, + EaseOutBack = 26, + EaseInOutBack = 27, + EaseInElastic = 28, + EaseOutElastic = 29, + EaseInOutElastic = 30, + EaseInBounce = 31, + EaseOutBounce = 32, + EaseInOutBounce = 33, + } + + public enum SkillProperty + { + None = 0, + ReuseCoolTime = 1, + CoolTime = 2, + CoolTimeAndStartCoolTime = 3, + ProjectileRange = 4, + TargetingRange = 5, + Invalid = 6, + } + + public enum StatEvalType + { + None = 0, + Base = 1, + Coefficient = 2, + } + + [Serializable] + public struct EchelonConstraint : IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly EchelonConstraint Empty; + public CountConstraint CountConstraint; + public SchoolConstraint SchoolConstraint; + public WeaponConstraint WeaponConstraint; + public bool IsEmpty { get; } + } + + public enum PassiveSkillTargetType + { + None = 0, + UseTriggerSource = 1, + UseTriggerTarget = 2, + UseSkillEntityTargetingRule = 3, + UseTriggerTargetExceptSelf = 4, + } + + public class BattleExpression : ExpressionContainer + { + private Battle battleCache { get; } + private BattleEntity entity { get; } + private Character entityAsCharacter { get; } + } + + public class PartialSelector : BehaviorNode + { + private List _behaviors; + private int _selections; + public IList Behaviors { get; } + } + + [Serializable] + public class GroundPoint : Entity + { + public int TileX; + public int TileY; + public float PositionHeight; + public Vector2 Position; + public Vector2 Direction; + } + + public enum LogicEffectEndCondition + { + None = 0, + Duration = 1, + ReloadCount = 2, + AmmoCount = 3, + AmmoHit = 4, + UseExSkillCount = 5, + } + + public class HealEffect : LogicEffect + { + public bool IsAccumulatedHeal { get; } + public long Amount { get; } + public StatType BonusSource { get; } + public BasisPoint BonusRate { get; } + public ExtraStatType ExtraStatSource { get; } + public BasisPoint ExtraStatRate { get; } + public BasisPoint PeriodMultiplier { get; set; } + public long AddFixedAmount { get; set; } + public bool TriggerOtherEffect { get; set; } + public override bool IsDurationChangedByStat { get; } + public bool ApplyHealRate { get; } + public bool ApplyHealRateByArmorType { get; } + public bool ApplyHealRateByBulletType { get; } + } + + public struct EquipmentOption : IComparable, IComparable, IEquatable + { + public EquipmentOptionType OptionType { get; set; } + public long Value { get; set; } + + [JsonIgnore] + public bool IsValid { get; } + public int CompareTo(object obj) + { + return default; + } + + public int CompareTo(EquipmentOption other) + { + return default; + } + + public bool Equals(EquipmentOption other) + { + return default; + } + + } + + [Serializable] + public abstract class SkillEntityDAO : IMemoryPackFormatterRegister + { + public string name; + public string EntityName; + public long SpawnRate; + public long SpawnDelay; + public SkillApplyType ApplyType; + public TransformDecideTiming DecideTiming; + public bool EntitySpawnIncludeOutOfRangeInputTarget; + public SpawnPositionTypes SpawnPositionType; + public Vector2 SpawnWorldPosition; + public Vector2 PositionOffset; + public int PositionRandomOffsetRange; + public SpawnDirectionTypes OffsetDirectionType; + public SpawnDirectionTypes SpawnDirectionType; + public bool OverrideTargetingRule; + public TargetSortRule TargetSortRule; + public EssentialCandidateRule EssentialCandidateRule; + public OptionalCandidateRule OptionalCandidateRule; + public HighlightOption HighlightOption; + public bool CheckSpawnPositionMovable; + } + + public class LevelRootMotionMoveValue : SkillEntityValue + { + public TargetEntityType CheckCollisionType; + public long MoveSpeed; + public float MoveSpeedInMeter; + public bool IgnoreMovableCheckInMove; + } + + [Serializable] + public class GroundEvent + { + public string EventName; + public OperatorType Operator; + public List Conditions; + public List Commands; + private bool ended; + [JsonIgnore] + public Battle Battle; + + [JsonIgnore] + public int SectionId { get; set; } + } + + [Serializable] + public class EnemySpawnPointGroup + { + public string GroupName; + public List SpawnPoints; + } + + public abstract class SpawnPointBase : GroundPoint + { + public char SpawnAIGroupId; + public List SpawnConditionIdList; + public List SpawnCommandIdList; + public List MovePoints; + + [JsonIgnore] + public bool Spawned { get; set; } + } + + public class Location + { + public Vector2 Position { get; set; } + public Vector2 LocalPosition { get; set; } + public GroundNode Node { get; set; } + public FormationLine Line { get; set; } + public int LineIndex { get; set; } + } + + public class StackDamageEffect : LogicEffect + { + public StackDamageEffectValue StackDamageEffectValue { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class AccumulateEffect : LogicEffect + { + public AccumulateCheckType AccumulateType { get; } + public BasisPoint AccumulateRate { get; } + public TargetSideId AccumulateCasterTargetSideFilter { get; } + public StatType LimitSourceStat { get; } + public BasisPoint LimitSourceStatRate { get; } + public long LimitAmount { get; } + public ExecuteCondition ExecuteConditionType { get; } + public long ExecuteConditionAmount { get; } + public long DurationFrame { get; } + public List ExecuteLogicEffectGroupIdList { get; } + public override bool IsDurationChangedByStat { get; } + } + + public class ChangeStatLogicApplicationGaugeEffect : LogicEffect + { + public long MaxGauge; + private ChangeStatLogicApplicationGaugeEffectValue effectValue; + public BasisPoint SetGaugeEnergyToTargetHpRatio { get; } + public BasisPoint StartGaugeEnergyRatio { get; } + public bool Dispellable { get; } + public string UIPath { get; } + public List LogicEffectTypeReduceGauge { get; } + public override bool IsDurationChangedByStat { get; } + } + + [Serializable] + public struct EssentialCandidateRule : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly EssentialCandidateRule Default; + public static readonly EssentialCandidateRule Empty; + public TargetSideId TargetSide; + public TargetingType TargetingType; + public TargetEntityType ApplyEntityType; + public int MaxTargetCount; + + [JsonIgnore] + public bool IsValid { get; } + public bool Equals(EssentialCandidateRule other) + { + return default; + } + + } + + [Serializable] + public struct OptionalCandidateRule : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly OptionalCandidateRule Default; + public AliveState AliveState; + public SchoolConstraint SchoolConstraint; + public WeaponConstraint WeaponConstraint; + public SquadTypeConstraint SquadTypeConstraint; + public AdaptationConstraint AdaptationConstraint; + public BulletConstraint BulletConstraint; + public TacticRangeConstraint TacticRangeConstraint; + public TagConstraint TagConstraint; + public CoverState CoverState; + public HPRateConstraint HPRateConstraint; + public TacticRoleConstraint TacticRoleConstraint; + public bool Equals(OptionalCandidateRule other) + { + return default; + } + + } + + public enum EntitySpawnCondition + { + None = 0, + HPRateUnder = 1, + HPRateOver = 2, + IncludeLogicEffectTemplateId = 3, + ExcludeLogicEffectTemplateId = 4, + Rate = 5, + IncludeArmorType = 6, + ExcludeArmorType = 7, + SkillLevel = 8, + IncludeTag = 9, + ExcludeTag = 10, + } + + public enum EntitySpawnConditionCheckTarget + { + Caster = 0, + Target = 1, + SpawnEntityTarget = 2, + } + + [Serializable] + public struct CountConstraint : IEquatable, IMemoryPackable, IMemoryPackFormatterRegister + { + public static readonly CountConstraint Empty; + public int Count; + public DiffOperatorType DiffOperator; + public bool Equals(CountConstraint other) + { + return default; + } + + } + + public abstract class ExpressionContainer + { + protected Expression expression; + public Stack StackTrace { get; } + } + + public abstract class BehaviorNode + { + public BehaviorResult Result { get; set; } + } + + public enum ExtraStatType + { + None = 0, + InvokerCurrentHP = 1, + TargetCurrentHP = 2, + InvokerMaxHP = 3, + TargetMaxHP = 4, + InvokerLostHP = 5, + TargetLostHP = 6, + InvokerMaxHPCapGaugeValue = 7, + TargetMaxHPCapGaugeValue = 8, + InvokerDefaultDefense = 9, + TargetDefaultDefense = 10, + InvokerCurrentDefense = 11, + TargetCurrentDefense = 12, + } + + public enum HighlightOption + { + None = 0, + Highlight = 1, + HighlightAndFactor = 2, + } + + public enum OperatorType + { + AND = 0, + OR = 1, + } + + [Serializable] + public abstract class GroundCondition + { + public string ConditionID; + [JsonIgnore] + protected GroundEvent Event; + + [JsonIgnore] + public bool Achieve { get; set; } + } + + [Serializable] + public class GroundCommand + { + public string CommandID; + [JsonIgnore] + public GroundEvent Event; + [JsonIgnore] + public Action VisualizeDelegate; + public bool WaitExecuteEnd { get; set; } + + [JsonIgnore] + public bool Progress { get; set; } + } + + public class StackDamageEffectValue : LogicEffectValue + { + public ValueTuple[] ApplyLogifEffectList; + public string StackCountGroupId { get; } + public int ActuateStackCount { get; } + public string ActuateGroupId { get; } + public long DurationFrame { get; } + public bool Dispellable { get; } + public int Level { get; } + } + + public enum AccumulateCheckType + { + Damage = 0, + Heal = 1, + } + + public enum ExecuteCondition + { + OverAccumulateAmount = 0, + OverDuration = 1, + } + + public class ChangeStatLogicApplicationGaugeEffectValue : LogicEffectValue + { + public BasisPoint SetGaugeEnergyToTargetHpRatio { get; } + public BasisPoint StartGaugeEnergyRatio { get; } + public bool Dispellable { get; } + public List LogicEffectTypeReduceGauge { get; } + public string UIPath { get; } + } + + public enum DiffOperatorType + { + None = 0, + GreaterOrEqual = 1, + LessOrEqual = 2, + Equal = 3, + NotEqual = 4, + } + + public class Expression + { + private static bool _cacheEnabled; + private static Dictionary _compiledExpressions; + private static readonly ReaderWriterLock Rwl; + protected Dictionary ParameterEnumerators; + protected Dictionary ParametersBackup; + private EvaluateFunctionHandler EvaluateFunction; + private EvaluateParameterHandler EvaluateParameter; + private Dictionary _parameters; + private Stack stackTrace; + public EvaluateOptions Options { get; set; } + protected string OriginalExpression { get; } + public static bool CacheEnabled { get; set; } + public string Error { get; set; } + public LogicalExpression ParsedExpression { get; set; } + public Dictionary Parameters { get; set; } + public Stack StackTrace { get; } + } + + public sealed class EvaluateFunctionHandler + { + } + + public sealed class EvaluateParameterHandler + { + } + + public enum EvaluateOptions + { + None = 1, + IgnoreCase = 2, + NoCache = 4, + IterateParameters = 8, + RoundAwayFromZero = 16, + } + + public abstract class LogicalExpression + { + private const char BS = '\\'; + } - [JsonIgnore] - public bool StartTile { get; set; } - public string ResourcePath { get; set; } - public bool IsHide { get; set; } - public bool IsFog { get; set; } - public bool CanNotMove { get; set; } - public HexLocation Location { get; set; } - public Strategy Strategy { get; set; } - public HexaUnit Unit { get; set; } + public struct Vector2 + { + public float x { get; set; } + public float y { get; set; } + } - [JsonIgnore] - public HexaUnit ChallengeUnit { get; set; } - } - - public class Strategy - { - public bool PlayAnimation { get; set; } - public bool Activated { get; set; } - public List Values { get; set; } - public int Index { get; set; } - [JsonIgnore] - public bool Movable { get; set; } - - [JsonIgnore] - public bool NeedValueType { get; set; } - public long EntityId { get; set; } - public Vector3 Rotate { get; set; } - public long Id { get; set; } - public HexLocation Location { get; set; } - - [JsonIgnore] - public CampaignStrategyObjectExcel CampaignStrategyExcel { get; set; } - } - - public struct HexLocation - { - public int x { get; set; } - public int y { get; set; } - public int z { get; set; } - } - - public class ForceSerializeZeroFloatConverter : JsonConverter - { - public override float Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - return reader.GetSingle(); - } - - public override void Write(Utf8JsonWriter writer, float value, JsonSerializerOptions options) - { - writer.WriteNumberValue(value); - } - } public struct Vector3 { - [JsonConverter(typeof(ForceSerializeZeroFloatConverter))] public float x { get; set; } - - [JsonConverter(typeof(ForceSerializeZeroFloatConverter))] public float y { get; set; } - - [JsonConverter(typeof(ForceSerializeZeroFloatConverter))] public float z { get; set; } } - public class SkillCardHand - { - public float Cost { get; set; } - - public List SkillCardsInHand { get; set; } - - } - - public struct SkillCardInfo - { - public long CharacterId { get; set; } - public int HandIndex { get; set; } - public string SkillId { get; set; } - public int RemainCoolTime { get; set; } - } - - public class CampaignStageHistoryDB - { - public long AccountServerId { get; set; } - public long StoryUniqueId { get; set; } - public long ChapterUniqueId { get; set; } - public long StageUniqueId { get; set; } - public long TacticClearCountWithRankSRecord { get; set; } - public long ClearTurnRecord { get; set; } - public long BestStarRecord { get; set; } - public bool Star1Flag { get; set; } - public bool Star2Flag { get; set; } - public bool Star3Flag { get; set; } - public DateTime LastPlay { get; set; } - public long TodayPlayCount { get; set; } - public long TodayPurchasePlayCountHardStage { get; set; } - public DateTime? FirstClearRewardReceive { get; set; } - public DateTime? StarRewardReceive { get; set; } - public bool IsClearedEver { get; set; } - public long TodayPlayCountForUI { get; set; } - } - - - public class CampaignSubStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class CampaignTutorialStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class CardShopElementDB - { - public long EventContentId { get; set; } - public int SlotNumber { get; set; } - public long CardShopElementId { get; set; } - public bool SoldOut { get; set; } - } - - - public class CardShopPurchaseHistoryDB - { - public long EventContentId { get; set; } - public Rarity Rarity { get; set; } - public long PurchaseCount { get; set; } - } - - - public class CharacterDB : ParcelBase - { - [NotMapped] - public override ParcelType Type { get => ParcelType.Character; } - - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [JsonIgnore] - [NotMapped] - public override IEnumerable ParcelInfos { get; } - - [Key] - public long ServerId { get; set; } - public long UniqueId { get; set; } - public int StarGrade { get; set; } = 1; - public int Level { get; set; } = 1; - public long Exp { get; set; } = 0; - public int FavorRank { get; set; } = 1; - public long FavorExp { get; set; } = 0; - public int PublicSkillLevel { get; set; } = 1; - public int ExSkillLevel { get; set; } = 1; - public int PassiveSkillLevel { get; set; } = 1; - public int ExtraPassiveSkillLevel { get; set; } = 1; - public int LeaderSkillLevel { get; set; } = 1; - - [NotMapped] - public bool IsNew { get; set; } = true; - public bool IsLocked { get; set; } = true; - public bool IsFavorite { get; set; } - public List EquipmentServerIds { get; set; } = []; - public Dictionary PotentialStats { get; set; } = []; - public Dictionary EquipmentSlotAndDBIds { get; set; } = []; - } - - - public class ClanAssistRentHistoryDB - { - public long AssistCharacterAccountId { get; set; } - public long AssistCharacterDBId { get; set; } - public DateTime RentDate { get; set; } - } - - - public class ClanAssistRewardInfo - { - public long CharacterDBId { get; set; } - public DateTime DeployDate { get; set; } - public long RentCount { get; set; } - public List CumultativeRewardParcels { get; set; } - public List RentRewardParcels { get; set; } - } - - - public class ClanAssistSlotDB - { - public EchelonType EchelonType { get; set; } - public long SlotNumber { get; set; } - public long CharacterDBId { get; set; } - public DateTime DeployDate { get; set; } - public long TotalRentCount { get; set; } - } - - - public class ClanAssistUseInfo - { - public long CharacterAccountId { get; set; } - public long CharacterDBId { get; set; } - public EchelonType EchelonType { get; set; } - public int SlotNumber { get; set; } - //public AssistRelation AssistRelation { get; set; } - public int EchelonSlotType { get; set; } - public int EchelonSlotIndex { get; set; } - public long DecodedShardId { get; set; } - public long DecodedCharacterDBId { get; set; } - public bool IsMulligan { get; set; } - public bool IsTSAInteraction { get; set; } - } - - - public class ClanDB - { - public long ClanDBId { get; set; } - public string ClanName { get; set; } - public string ClanChannelName { get; set; } - public string ClanPresidentNickName { get; set; } - public long ClanPresidentRepresentCharacterUniqueId { get; set; } - public long ClanPresidentRepresentCharacterCostumeId { get; set; } - public string ClanNotice { get; set; } - public long ClanMemberCount { get; set; } - public ClanJoinOption ClanJoinOption { get; set; } - } - - - public class ClanMemberDB - { - public long AccountId { get; set; } - public long AccountLevel { get; set; } - public string AccountNickName { get; set; } - public long ClanDBId { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long RepresentCharacterCostumeId { get; set; } - public long AttendanceCount { get; set; } - public ClanSocialGrade ClanSocialGrade { get; set; } - public DateTime JoinDate { get; set; } - public DateTime SocialGradeUpdateTime { get; set; } - public DateTime LastLoginDate { get; set; } - public DateTime GameLoginDate { get; set; } - public DateTime AppliedDate { get; set; } - public AccountAttachmentDB AttachmentDB { get; set; } - } - - - public class ClanMemberDescriptionDB - { - public long Exp { get; set; } - public string Comment { get; set; } - public int CollectedCharactersCount { get; set; } - public long ArenaSeasonBestRanking { get; set; } - public long ArenaSeasonCurrentRanking { get; set; } - } - - - public class ClearDeckCharacterDB - { - public long UniqueId { get; set; } - public int StarGrade { get; set; } - public int Level { get; set; } - public int SlotNumber { get; set; } - public bool HasWeapon { get; set; } - public SquadType SquadType { get; set; } - public int WeaponStarGrade { get; set; } - } - - - public class ClearDeckDB - { - public List ClearDeckCharacterDBs { get; set; } - public List MulliganUniqueIds { get; set; } - public long LeaderUniqueId { get; set; } - public long TSSInteractionUniqueId { get; set; } - public EchelonType EchelonType { get; set; } - public long EchelonExtensionType { get; set; } - } - - public class ClearDeckKey - { - public ContentType ContentType { get; set; } - public long[] Arguments { get; private set; } - } - - - public class ConquestEchelonDB - { - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public EchelonDB EchelonDB { get; set; } - public long AssistCharacterUniqueId { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class ConquestErosionDB - { - //public ConquestEventObjectType ObjectType { get; set; } - public long ErosionId { get; set; } - public long ConditionSnapshot { get; set; } - public DateTime CreateDate { get; set; } - } - - - public class ConquestEventObjectDB - { - public long ConquestObjectDBId { get; set; } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public long ObjectId { get; set; } - //public ConquestEventObjectType ObjectType { get; set; } - public bool IsAlive { get; set; } - } - - - public class ConquestInfoDB - { - public long AccountId { get; set; } - public long EventContentId { get; set; } - public int EventGauge { get; set; } - public int EventSpawnCount { get; set; } - public int EchelonChangeCount { get; set; } - public int TodayConquestRentCount { get; set; } - public int TodayOperationRentCount { get; set; } - public long CumulatedConditionValue { get; set; } - public long ReceivedCalculateRewardConditionAmount { get; set; } - public long CalculateRewardConditionValue { get; set; } - public long? AlertMassErosionId { get; set; } - } - - - public class ConquestMainStoryStepSummary - { - public long ConqueredTileCount { get; set; } - public long AllTileCount { get; set; } - public bool IsStepOpen { get; set; } - } - - - public class ConquestMainStorySummary - { - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public Dictionary ConquestStepSummaryDict { get; set; } - } - - - public class ConquestStageSaveDB - { - public ContentType ContentType { get; set; } - public long? ConquestEventObjectDBId { get; set; } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public long TilePresetId { get; set; } - public ConquestTileType ConquestTileType { get; set; } - public bool UseManageEchelon { get; set; } - public AssistCharacterDB AssistCharacterDB { get; set; } - public int EchelonSlotType { get; set; } - public int EchelonSlotIndex { get; set; } - } - - - public class ConquestStepSummary - { - public long ConqueredTileCount { get; set; } - public long AllTileCount { get; set; } - public long ErosionRemainingCount { get; set; } - public bool HasPhaseComplete { get; set; } - public bool IsErosionPhaseStart { get; set; } - public bool IsStepOpen { get; set; } - } - - - public class ConquestSummary - { - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public Dictionary ConquestStepSummaryDict { get; set; } - } - - - public class ConquestTileDB - { - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public TileState TileState { get; set; } - public long Level { get; set; } - public DateTime CreateTime { get; set; } - public bool IsThreeStarClear { get; set; } - public bool IsAnyStarClear { get; set; } - public long BestStarRecord { get; set; } - public bool[] StarFlags { get; set; } - } - - public class ConquestTreasureBoxDB - { - //public ConquestEventObjectType ObjectType { get; set; } - } - - - public class ConquestUnexpectedEnemyDB - { - public long UnitId { get; set; } - //public ConquestEventObjectType ObjectType { get; set; } - } - - - public abstract class ConsumableItemBaseDB : ParcelBase - { - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public abstract bool CanConsume { get; } - - [JsonIgnore] - public ParcelKeyPair Key { get; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long ServerId { get; set; } - - public long UniqueId { get; set; } - - public long StackCount { get; set; } - } - - - public class ConsumeRequestDB - { - public Dictionary ConsumeItemServerIdAndCounts { get; set; } - public Dictionary ConsumeEquipmentServerIdAndCounts { get; set; } - public Dictionary ConsumeFurnitureServerIdAndCounts { get; set; } - public bool IsItemsValid { get; set; } - public bool IsEquipmentsValid { get; set; } - public bool IsFurnituresValid { get; set; } - public bool IsValid { get; set; } - } - - - public class ConsumeResultDB - { - public List RemovedItemServerIds { get; set; } - public List RemovedEquipmentServerIds { get; set; } - public List RemovedFurnitureServerIds { get; set; } - public Dictionary UsedItemServerIdAndRemainingCounts { get; set; } - public Dictionary UsedEquipmentServerIdAndRemainingCounts { get; set; } - public Dictionary UsedFurnitureServerIdAndRemainingCounts { get; set; } - } - - - public class ContentSaveDB - { - public ContentType ContentType { get; set; } - public long AccountServerId { get; set; } - public DateTime CreateTime { get; set; } - public long StageUniqueId { get; set; } - public long LastEnterStageEchelonNumber { get; set; } - public List StageEntranceFee { get; set; } - public Dictionary EnemyKillCountByUniqueId { get; set; } - public long TacticClearTimeMscSum { get; set; } - public long AccountLevelWhenCreateDB { get; set; } - public string BIEchelon { get; set; } - public string BIEchelon1 { get; set; } - public string BIEchelon2 { get; set; } - public string BIEchelon3 { get; set; } - public string BIEchelon4 { get; set; } - } - - - public class ContentsValueChangeDB - { - public ContentsChangeType ContentsChangeType { get; set; } - } - - - public class CostumeDB : ParcelBase - { - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - public override ParcelType Type { get => ParcelType.Costume; } - - public long BoundCharacterServerId { get; set; } - - public long UniqueId { get; set; } - } - - - public class CraftInfoDB - { - public long SlotSequence { get; set; } - public DateTime StartTime { get; set; } - public DateTime EndTime { get; set; } - public DateTime CraftSlotOpenDate { get; set; } - public List Nodes { get; set; } - public IEnumerable ResultIds { get; set; } - public IEnumerable RewardParcelInfos { get; set; } - } - - - public class CraftNodeDB - { - public CraftNodeTier NodeTier { get; set; } - public long SlotSequence { get; set; } - public long NodeId { get; set; } - public long NodeQuality { get; set; } - public long NodeLevel { get; set; } - public int NodeRandomSeed { get; set; } - public int NodeRandomSequence { get; set; } - public List LeafNodeIds { get; set; } - public long ResultId { get; set; } - public CraftNodeResult CraftNodeResult { get; set; } - public ParcelInfo RewardParcelInfo { get; set; } - } - - - public class CraftNodeResult - { - public CraftNodeTier NodeTier { get; set; } - public ParcelInfo ParcelInfo { get; set; } - } - - - public class CraftPresetNodeDB - { - public CraftNodeTier NodeTier { get; set; } - public bool IsActivated { get; set; } - public long PriortyNodeId { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class CraftPresetSlotDB + public interface IMemoryPackFormatterRegister { - public List PresetNodeDBs { get; set; } } - public class DailyResetCount + public interface IMemoryPackable { - public long AccountId { get; set; } - public DateTime UpdateDate { get; set; } - public long ResetContentCode { get; set; } - public long ResetCount { get; set; } - public ResetContentType ResetContentType { get; set; } } - public class DailyResetCountDB - { - public long AccountServerId { get; set; } - public Dictionary ResetCount { get; set; } - } + public class TypedJsonWrapper where T : class + { + public string JsonWithType { get; set; } + } - public class DetailedAccountInfoDB - { - public string Nickname { get; set; } - public long Level { get; set; } - public string ClanName { get; set; } - public string Comment { get; set; } - public long FriendCount { get; set; } - public string FriendCode { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long CharacterCount { get; set; } - public long? LastNormalCampaignClearStageId { get; set; } - public long? LastHardCampaignClearStageId { get; set; } - public long? ArenaRanking { get; set; } - public long? RaidRanking { get; set; } - public int? RaidTier { get; set; } - public long? EliminateRaidRanking { get; set; } - public int? EliminateRaidTier { get; set; } - public AssistCharacterDB[] AssistCharacterDBs { get; set; } - } - - public enum EchelonStatusFlag + public class ExpirableObjectHolder : IEquatable> { - None, - BeforeDeploy, - OnDuty - } + public T Value { get; set; } - public class EchelonDB - { - [Key] - [JsonIgnore] - public long ServerId { get; set; } + public int Elapsed { get; set; } - [JsonIgnore] - public virtual AccountDB Account { get; set; } + public int DurationFrame { get; set; } - [JsonIgnore] - public long AccountServerId { get; set; } + public int RemainDuration { get; set; } - public EchelonType EchelonType { get; set; } - public long EchelonNumber { get; set; } - public EchelonExtensionType ExtensionType { get; set; } - public long LeaderServerId { get; set; } - public List MainSlotServerIds { get; set; } = []; - public List SupportSlotServerIds { get; set; } = []; - public long TSSInteractionServerId { get; set; } - public EchelonStatusFlag UsingFlag { get; set; } - public List SkillCardMulliganCharacterIds { get; set; } = []; - public int[] CombatStyleIndex { get; set; } = []; - } + public bool IsExpired { get; set; } + public bool IsRemoved { get; set; } - public class EchelonPresetDB - { - public int GroupIndex { get; set; } - public int Index { get; set; } - public string Label { get; set; } - public long LeaderUniqueId { get; set; } - public long TSSInteractionUniqueId { get; set; } - public List MulliganUniqueIds { get; set; } - public EchelonExtensionType ExtensionType { get; set; } - public int StrikerSlotCount { get; set; } - public int SpecialSlotCount { get; set; } - public long[] SpecialUniqueIds { get; set; } - public long[] StrikerUniqueIds { get; set; } - } - - - public class EchelonPresetGroupDB - { - public int GroupIndex { get; set; } - public EchelonExtensionType ExtensionType { get; set; } - public string GroupLabel { get; set; } - public Dictionary PresetDBs { get; set; } - public EchelonPresetDB Item { get; set; } - } - - - public class EliminateRaidLobbyInfoDB : RaidLobbyInfoDB - { - public List OpenedBossGroups { get; set; } - public Dictionary BestRankingPointPerBossGroup { get; set; } - } - - - public class EmblemDB - { - public ParcelType Type { get; set; } - public long UniqueId { get; set; } - public DateTime ReceiveDate { get; set; } - public IEnumerable ParcelInfos { get; set; } - } - - - public class EquipmentBatchGrowthRequestDB - { - public long TargetServerId { get; set; } - public List ConsumeRequestDBs { get; set; } - public long AfterTier { get; set; } - public long AfterLevel { get; set; } - public long AfterExp { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class EquipmentDB : ConsumableItemBaseDB - { - [NotMapped] - public override ParcelType Type { get => ParcelType.Equipment; } + public bool IsDispelled { get; set; } - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [JsonIgnore] - public override bool CanConsume { get => false; } - - public int Level { get; set; } - public long Exp { get; set; } - public int Tier { get; set; } - public long BoundCharacterServerId { get; set; } - - [NotMapped] - public bool IsNew { get; set; } - public bool IsLocked { get; set; } - } - - - public class EquipmentExcelData - { - public ParcelType Type { get; set; } - public long UniqueId { get; set; } - public long ShiftingCraftQuality { get; set; } - public long StackableMax { get; set; } - public Rarity Rarity { get; set; } - public IReadOnlyList Tags { get; set; } - public IReadOnlyDictionary CraftQualityDict { get; set; } - public EquipmentExcel _excel { get; set; } - } - - - public class EventContentBonusRewardDB - { - public long EventContentId { get; set; } - public long EventStageUniqueId { get; set; } - public ParcelInfo BonusParcelInfo { get; set; } - } - - - public class EventContentBoxGachaData - { - public long EventContentId { get; set; } - public Dictionary Variations { get; set; } - } - - - public class EventContentBoxGachaDB - { - public long AccountId { get; set; } - public long EventContentId { get; set; } - public long Seed { get; set; } - public long Round { get; set; } - public int PurchaseCount { get; set; } - } - - - public class EventContentBoxGachaElement - { - public long EventContentId { get; set; } - public long VariationId { get; set; } - public long Round { get; set; } - public long GroupId { get; set; } - public long UniqueId { get; set; } - public bool IsPrize { get; set; } - public List Rewards { get; set; } - } - - - public class EventContentBoxGachaRoundElement - { - public long EventContentId { get; set; } - public long VariationId { get; set; } - public long Round { get; set; } - public List Elements { get; set; } - } + private Character OwnerCharacter { get; set; } + private BattleEntity OwnerBattleEntity { get; set; } - public class EventContentBoxGachaVariation - { - public long EventContentId { get; set; } - public long VariationId { get; set; } - public Dictionary GachaRoundElements { get; set; } - } - - - public class EventContentChangeDB - { - public long AccountId { get; set; } - public long EventContentId { get; set; } - public long UseAmount { get; set; } - public long ChangeCount { get; set; } - public long AccumulateChangeCount { get; set; } - public DateTime LastUpdateDate { get; set; } - public bool ChangeFlag { get; set; } - } - - - public class EventContentCollectionDB - { - public long EventContentId { get; set; } - public long GroupId { get; set; } - public long UniqueId { get; set; } - public DateTime ReceiveDate { get; set; } - } - - - public class EventContentDiceRaceDB - { - public long EventContentId { get; set; } - public long Node { get; set; } - public long LapCount { get; set; } - public long DiceRollCount { get; set; } - public long ReceiveRewardLapCount { get; set; } - } - - - public class EventContentDiceResult - { - public int Index { get; set; } - public int MoveAmount { get; set; } - public List Rewards { get; set; } - } - - - public class EventContentFortuneGachaStackCountDB - { - public long AccountId { get; set; } - public long EventContentId { get; set; } - public int GachaStackCount { get; set; } - } - - - public class EventContentLocationDB - { - public long AccountId { get; set; } - public long LocationId { get; set; } - public long Rank { get; set; } - public long Exp { get; set; } - public long ScheduleCount { get; set; } - public Dictionary> ZoneVisitCharacterDBs { get; set; } - } - - - public class EventContentMainGroundStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class EventContentMainStageSaveDB - { - public ContentType ContentType { get; set; } - public Dictionary SelectedBuffDict { get; set; } - public bool IsBuffSelectPopupOpen { get; set; } - public long CurrentAppearedBuffGroupId { get; set; } - } - - - public class EventContentPermanentDB - { - public long EventContentId { get; set; } - public bool IsStageAllClear { get; set; } - } - - - public class EventContentStoryStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class EventContentSubStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class EventContentTreasureBoardHistory - { - public List TreasureIds { get; set; } - public List NormalCells { get; set; } - public List Treasures { get; set; } - } - - - public class EventContentTreasureCell - { - public int X { get; set; } - public int Y { get; set; } - } - - - public class EventContentTreasureHistoryDB - { - public long EventContentId { get; set; } - public int Round { get; set; } - public EventContentTreasureBoardHistory Board { get; set; } - public bool IsComplete { get; set; } - public List HintTreasures { get; set; } - public int MetaRound { get; set; } - public bool CanComplete { get; set; } - public bool CanFlip { get; set; } - //public EventContentTreasureInfo TreasureInfo { get; set; } - //public EventContentTreasureRoundInfo TreasureRoundInfo { get; set; } - } - - - public class EventContentTreasureObject - { - public long ServerId { get; set; } - public long RewardId { get; set; } - public int Rotation { get; set; } - public bool IsHiddenImage { get; set; } - public List Cells { get; set; } - } - - - public class EventContentTreasureSaveBoard - { - public long VariationId { get; set; } - public int Round { get; set; } - public List TreasureObjects { get; set; } - } - - - public class EventInfoDB - { - public long EventId { get; set; } - public uint ImageNameHash { get; set; } - } - - - public class EventRewardIncreaseDB - { - public EventTargetType EventTargetType { get; set; } - public BasisPoint Multiplier { get; set; } - public DateTime BeginDate { get; set; } - public DateTime EndDate { get; set; } - } - - - public class FieldStageSaveDB - { - public ContentType ContentType { get; set; } - } - - public class FriendDB - { - public long AccountId; - - public int Level; - - public string Nickname; - - public DateTime LastConnectTime; - - public long RepresentCharacterUniqueId; - - public long RepresentCharacterCostumeId; - - public long FriendCount; - - public AccountAttachmentDB AttachmentDB; - } - - public class FriendIdCardDB - { - public int Level { get; set; } - public string FriendCode { get; set; } - public string Comment { get; set; } - public DateTime LastConnectTime { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long RepresentCharacterCostumeId { get; set; } - public bool SearchPermission { get; set; } - public bool AutoAcceptFriendRequest { get; set; } - public long CardBackgroundId { get; set; } - public bool ShowAccountLevel { get; set; } - public bool ShowFriendCode { get; set; } - public bool ShowRaidRanking { get; set; } - public bool ShowArenaRanking { get; set; } - public bool ShowEliminateRaidRanking { get; set; } - public long? ArenaRanking { get; set; } - public long? RaidRanking { get; set; } - public int? RaidTier { get; set; } - public long? EliminateRaidRanking { get; set; } - public int? EliminateRaidTier { get; set; } - public long EmblemId { get; set; } - } - - - public class FurnitureDB : ConsumableItemBaseDB - { - public override ParcelType Type { get => ParcelType.Furniture; } - - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [JsonIgnore] - public override bool CanConsume { get => false; } - - public FurnitureLocation Location { get; set; } - public long CafeDBId { get; set; } - public float PositionX { get; set; } - public float PositionY { get; set; } - public float Rotation { get; set; } - public long ItemDeploySequence { get; set; } - } - - - public class FurnitureExcelData - { - public ParcelType Type { get; set; } - public long UniqueId { get; set; } - public long ShiftingCraftQuality { get; set; } - public long StackableMax { get; set; } - public Rarity Rarity { get; set; } - public IReadOnlyList Tags { get; set; } - public IReadOnlyDictionary CraftQualityDict { get; set; } - public FurnitureExcel _excel { get; set; } - } - - - public class GachaLogDB - { - public long CharacterId { get; set; } - } - - - public class GearDB : ParcelBase - { - [NotMapped] - public override ParcelType Type { get => ParcelType.CharacterGear; } - - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long ServerId { get; set; } - - - public long UniqueId { get; set; } - public int Level { get; set; } - public long Exp { get; set; } - public int Tier { get; set; } - public long SlotIndex { get; set; } - public long BoundCharacterServerId { get; set; } - - [NotMapped] - public EquipmentDB ToEquipmentDB { get { - return new() - { - IsNew = true, - ServerId = ServerId, - BoundCharacterServerId = BoundCharacterServerId, - Tier = Tier, - Level = Level, - StackCount = 1, - Exp = Exp - }; - } - } - } - - - public class GearTierUpRequestDB - { - public long TargetServerId { get; set; } - public long AfterTier { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class GuideMissionSeasonDB - { - public long SeasonId { get; set; } - public long LoginCount { get; set; } - public DateTime StartDate { get; set; } - public DateTime LoginDate { get; set; } - public bool IsComplete { get; set; } - public bool IsFinalMissionComplete { get; set; } - public DateTime? CollectionItemReceiveDate { get; set; } - } - - - public class IConsumableItemBaseExcel - { - public ParcelType Type { get; set; } - public long UniqueId { get; set; } - public long ShiftingCraftQuality { get; set; } - public long StackableMax { get; set; } - public Rarity Rarity { get; set; } - public IReadOnlyList Tags { get; set; } - public IReadOnlyDictionary CraftQualityDict { get; set; } - } - - - public class IdCardBackgroundDB - { - public ParcelType Type { get; set; } - public long ServerId { get; set; } - public long UniqueId { get; set; } - public IEnumerable ParcelInfos { get; set; } - } - - - public class ItemDB : ConsumableItemBaseDB - { - [NotMapped] - public override ParcelType Type => ParcelType.Item; - - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [NotMapped] - [JsonIgnore] - public override bool CanConsume => true; - - [NotMapped] - public bool IsNew { get; set; } - - public bool IsLocked { get; set; } - } - - - public class ItemExcelData - { - public ParcelType Type { get; set; } - public long UniqueId { get; set; } - public long ShiftingCraftQuality { get; set; } - public long StackableMax { get; set; } - public Rarity Rarity { get; set; } - public IReadOnlyList Tags { get; set; } - public IReadOnlyDictionary CraftQualityDict { get; set; } - public ItemExcel _excel { get; set; } - } - - - public class MailDB - { - public long ServerId { get; set; } - public long AccountServerId { get; set; } - public MailType Type { get; set; } - public long UniqueId { get; set; } - public string Sender { get; set; } - public string Comment { get; set; } - public DateTime SendDate { get; set; } - public DateTime? ReceiptDate { get; set; } - public DateTime? ExpireDate { get; set; } - public List ParcelInfos { get; set; } - public List RemainParcelInfos { get; set; } - } - - - public class MemoryLobbyDB : ParcelBase - { - public override ParcelType Type { get => ParcelType.MemoryLobby; } - - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long ServerId { get; set; } - - public long MemoryLobbyUniqueId { get; set; } - } - - public class MiniGameHistoryDB - { - public long EventContentId { get; set; } - public long UniqueId { get; set; } - public long HighScore { get; set; } - public long AccumulatedScore { get; set; } - public DateTime ClearDate { get; set; } - public bool IsFullCombo { get; set; } - } - - - public class MiniGameResult - { - public EventContentType ContentType { get; set; } - public long EventContentId { get; set; } - public long UniqueId { get; set; } - public long TotalScore { get; set; } - public long ComboCount { get; set; } - public long FeverCount { get; set; } - public bool AllCombo { get; set; } - public long HPBonusScore { get; set; } - public long NoteCount { get; set; } - public long CriticalCount { get; set; } - } - - - public class MiniGameShootingHistoryDB - { - public long EventContentId { get; set; } - public long UniqueId { get; set; } - public long ArriveSection { get; set; } - public DateTime LastUpdateDate { get; set; } - public bool IsClearToday { get; set; } - } - - - public class MissionHistoryDB - { - public long ServerId { get; set; } - public long AccountServerId { get; set; } - public long MissionUniqueId { get; set; } - public DateTime CompleteTime { get; set; } - public bool Expired { get; set; } - } - - - public class MissionProgressDB - { - [Key] - [JsonIgnore] - public long ServerId { get; set; } - - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - public long MissionUniqueId { get; set; } - public bool Complete { get; set; } - public DateTime StartTime { get; set; } - public Dictionary ProgressParameters { get; set; } = []; - } - - - public class MissionSnapshot - { - public long AccountId { get; set; } - public List MissionHistoryDBs { get; set; } - public List MissionProgressDBs { get; set; } - public List GuideMissionSeasonDBs { get; set; } - public DailyResetCount DailyResetMissionPivotDate { get; set; } - public DailyResetCount WeeklyResetMissionPivotDate { get; set; } - } - - - public class MomoTalkChoiceDB - { - public long CharacterDBId { get; set; } - public long MessageGroupId { get; set; } - public long ChosenMessageId { get; set; } - public DateTime ChosenDate { get; set; } - } - - - public class MomoTalkOutLineDB - { - public long CharacterDBId { get; set; } - public long CharacterId { get; set; } - public long LatestMessageGroupId { get; set; } - public long? ChosenMessageId { get; set; } - public DateTime LastUpdateDate { get; set; } - } - - - public class MonthlyProductPurchaseDB - { - public long ProductId { get; set; } - public DateTime PurchaseDate { get; set; } - public DateTime? LastDailyRewardDate { get; set; } - public DateTime? RewardEndDate { get; set; } - public ProductTagType ProductTagType { get; set; } - } - - - public class MultiFloorRaidDB - { - public long SeasonId { get; set; } - public int ClearedDifficulty { get; set; } - public DateTime LastClearDate { get; set; } - public int RewardDifficulty { get; set; } - public DateTime LastRewardDate { get; set; } - public int ClearBattleFrame { get; set; } - public bool AllCleared { get; set; } - public bool HasReceivableRewards { get; set; } - public List TotalReceivableRewards { get; set; } - public List TotalReceivedRewards { get; set; } - } - - - public class MultiSweepPresetDB - { - public long PresetId { get; set; } - public string PresetName { get; set; } - public IEnumerable StageIds { get; set; } - } - - - public class OpenConditionDB - { - public OpenConditionContent ContentType { get; set; } - public bool HideWhenLocked { get; set; } - public long AccountLevel { get; set; } - public long ScenarioModeId { get; set; } - public long CampaignStageUniqueId { get; set; } - public MultipleConditionCheckType MultipleConditionCheckType { get; set; } - public WeekDay OpenDayOfWeek { get; set; } - public long OpenHour { get; set; } - public WeekDay CloseDayOfWeek { get; set; } - public long CloseHour { get; set; } - public long CafeIdForCafeRank { get; set; } - public long CafeRank { get; set; } - public long OpenedCafeId { get; set; } - } - - - public class PotentialGrowthRequestDB - { - public PotentialStatBonusRateType Type { get; set; } - public int Level { get; set; } - } - - - public class ProductPurchaseCountDB - { - public long EventContentId { get; set; } - public long AccountId { get; set; } - public long ShopExcelId { get; set; } - public int PurchaseCount { get; set; } - public DateTime LastPurchaseDate { get; set; } - public PurchaseCountResetType PurchaseCountResetType { get; set; } - public DateTime ResetDate { get; set; } - } - - - public class PurchaseCountDB - { - public long ShopCashId { get; set; } - public int PurchaseCount { get; set; } - public DateTime ResetDate { get; set; } - public DateTime? PurchaseDate { get; set; } - public DateTime? ManualResetDate { get; set; } - } - - - public class PurchaseOrderDB - { - public long ShopCashId { get; set; } - public PurchaseStatusCode StatusCode { get; set; } - public long PurchaseOrderId { get; set; } - } - - public class RaidMemberCollection : KeyedCollection - { - public long TotalDamage { get; set; } - - protected override long GetKeyForItem(RaidMemberDescription item) + public bool Equals(ExpirableObjectHolder? other) { - return -1; - } - //public IEnumerable RaidDamages { get; set; } - } - - public class RaidBattleDB - { - public ContentType ContentType { get; set; } - public long RaidUniqueId { get; set; } - public int RaidBossIndex { get; set; } - public long CurrentBossHP { get; set; } - public long CurrentBossGroggy { get; set; } - public long CurrentBossAIPhase { get; set; } - public string BIEchelon { get; set; } - public bool IsClear { get; set; } - public RaidMemberCollection RaidMembers { get; set; } - public List SubPartsHPs { get; set; } - } - - - public class RaidBossDB - { - public ContentType ContentType { get; set; } - public int BossIndex { get; set; } - public long BossCurrentHP { get; set; } - public long BossGroggyPoint { get; set; } - } - - - public class RaidCharacterDB - { - public long ServerId { get; set; } - public long UniqueId { get; set; } - public int StarGrade { get; set; } - public int Level { get; set; } - public int SlotIndex { get; set; } - public long AccountId { get; set; } - public bool IsAssist { get; set; } - public bool HasWeapon { get; set; } - public int WeaponStarGrade { get; set; } - public long CostumeId { get; set; } - } - - public class RaidMemberDescription : IEquatable - { - public long AccountId { get; set; } - - public string AccountName { get; set; } - - public long CharacterId { get; set; } - - public bool Equals(RaidMemberDescription? other) - { - return this.AccountId == other.AccountId; - } - } - - public class RaidDB - { - public RaidMemberDescription Owner { get; set; } - public ContentType ContentType { get; set; } - public long ServerId { get; set; } - public long UniqueId { get; set; } - public long SeasonId { get; set; } - public DateTime Begin { get; set; } - public DateTime End { get; set; } - public long OwnerAccountServerId { get; set; } - public string OwnerNickname { get; set; } - public long PlayerCount { get; set; } - public string BossGroup { get; set; } - public Difficulty BossDifficulty { get; set; } - public int LastBossIndex { get; set; } - public List Tags { get; set; } - public string SecretCode { get; set; } - public RaidStatus RaidState { get; set; } - public bool IsPractice { get; set; } - public List RaidBossDBs { get; set; } - public Dictionary> ParticipateCharacterServerIds { get; set; } - public bool IsEnterRoom { get; set; } - public long SessionHitPoint { get; set; } - public long AccountLevelWhenCreateDB { get; set; } - public bool ClanAssistUsed { get; set; } - } - - - public class RaidDetailDB - { - public long RaidUniqueId { get; set; } - public DateTime EndDate { get; set; } - public List DamageTable { get; set; } - } - - - public class RaidGiveUpDB - { - public long Ranking { get; set; } - public long RankingPoint { get; set; } - public long BestRankingPoint { get; set; } - } - - - public class RaidLimitedRewardHistoryDB - { - public ContentType ContentType { get; set; } - public long AccountId { get; set; } - public long SeasonId { get; set; } - public long RewardId { get; set; } - public DateTime ReceiveDate { get; set; } - } - - - public abstract class RaidLobbyInfoDB - { - public long SeasonId { get; set; } - public int Tier { get; set; } - public long Ranking { get; set; } - public long BestRankingPoint { get; set; } - public long TotalRankingPoint { get; set; } - public long ReceivedRankingRewardId { get; set; } - public bool CanReceiveRankingReward { get; set; } - public RaidDB PlayingRaidDB { get; set; } - public List ReceiveRewardIds { get; set; } - public List ReceiveLimitedRewardIds { get; set; } - public List ParticipateCharacterServerIds { get; set; } - public Dictionary PlayableHighestDifficulty { get; set; } - public Dictionary SweepPointByRaidUniqueId { get; set; } - public DateTime SeasonStartDate { get; set; } - public DateTime SeasonEndDate { get; set; } - public DateTime SettlementEndDate { get; set; } - public long NextSeasonId { get; set; } - public DateTime NextSeasonStartDate { get; set; } - public DateTime NextSeasonEndDate { get; set; } - public DateTime NextSettlementEndDate { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - public Dictionary RemainFailCompensation { get; set; } - } - - - public class RaidParticipateCharactersDB - { - public long RaidServerId { get; set; } - public long AccountServerId { get; set; } - public List ParticipateCharacterServerIds { get; set; } - } - - - public class RaidPlayerInfoDB - { - public long RaidServerId { get; set; } - public long AccountId { get; set; } - public DateTime JoinDate { get; set; } - public long DamageAmount { get; set; } - public int RaidEndRewardFlag { get; set; } - public int RaidPlayCount { get; set; } - public string Nickname { get; set; } - public long CharacterId { get; set; } - public long CostumeId { get; set; } - public long? AccountLevel { get; set; } - } - - - public class RaidRankingInfo - { - public long SeasonId { get; set; } - public long AccountId { get; set; } - public long Ranking { get; set; } - public long Score { get; set; } - public double ScoreDetail { get; set; } - } - - - public class RaidSeasonHistoryDB - { - public long SeasonServerId { get; set; } - public DateTime ReceiveDateTime { get; set; } - public long SeasonRewardGauage { get; set; } - } - - - public class RaidSeasonManageDB - { - public long SeasonId { get; set; } - public DateTime SeasonStartDate { get; set; } - public DateTime SeasonEndDate { get; set; } - public DateTime SeasonSettlementEndDate { get; set; } - public DateTime UpdateDate { get; set; } - } - - - public class RaidSeasonPointRewardHistoryDB - { - public ContentType ContentType { get; set; } - public long AccountId { get; set; } - public long SeasonId { get; set; } - public long LastReceivedSeasonRewardId { get; set; } - public DateTime SeasonRewardReceiveDate { get; set; } - } - - - public class RaidSeasonRankingHistoryDB - { - public ContentType ContentType { get; set; } - public long AccountId { get; set; } - public long SeasonId { get; set; } - public long Ranking { get; set; } - public long BestRankingPoint { get; set; } - public int Tier { get; set; } - public DateTime ReceivedDate { get; set; } - } - - - public class RaidTeamSettingDB - { - public long AccountId { get; set; } - public long TryNumber { get; set; } - public EchelonType EchelonType { get; set; } - public EchelonExtensionType EchelonExtensionType { get; set; } - public IList MainCharacterDBs { get; set; } - public IList SupportCharacterDBs { get; set; } - public IList SkillCardMulliganCharacterIds { get; set; } - public long TSSInteractionUniqueId { get; set; } - public long LeaderCharacterUniqueId { get; set; } - } - - - public class RaidUserDB - { - public long AccountId { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long RepresentCharacterCostumeId { get; set; } - public long Level { get; set; } - public string Nickname { get; set; } - public int Tier { get; set; } - public long Rank { get; set; } - public long BestRankingPoint { get; set; } - public double BestRankingPointDetail { get; set; } - public AccountAttachmentDB AccountAttachmentDB { get; set; } - } - - - public class ResetableContentId - { - public ResetContentType Type { get; set; } - public long Mapped { get; set; } - } - - - public class ResetableContentValueDB - { - public ResetableContentId ResetableContentId { get; set; } - public long ContentValue { get; set; } - public DateTime LastUpdateTime { get; set; } - } - - - public class ScenarioGroupHistoryDB - { - public long AccountServerId { get; set; } - public long ScenarioGroupUqniueId { get; set; } - public long ScenarioType { get; set; } - public long? EventContentId { get; set; } - public DateTime ClearDateTime { get; set; } - public bool IsReturn { get; set; } - public bool IsPermanent { get; set; } - } - - public class ScenarioCollectionDB - { - public long GroupId; - - public long UniqueId; - - public DateTime ReceiveDate; - - } - public class ScenarioHistoryDB - { - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long ServerId { get; set; } - - public long ScenarioUniqueId { get; set; } - public DateTime ClearDateTime { get; set; } - } - - - public class SchoolDungeonStageHistoryDB - { - public long AccountServerId { get; set; } - public long StageUniqueId { get; set; } - public long BestStarRecord { get; set; } - public bool Star1Flag { get; set; } - public bool Star2Flag { get; set; } - public bool Star3Flag { get; set; } - public bool IsClearedEver { get; set; } - public bool[] StarFlags { get; set; } - } - - - public class SchoolDungeonStageSaveDB - { - public ContentType ContentType { get; set; } - } - - - public class SelectGachaSnapshotDB - { - public long ShopUniqueId { get; set; } - public long LastIndex { get; set; } - public List LastResults { get; set; } - public long? SavedIndex { get; set; } - public List SavedResults { get; set; } - public long? PickedIndex { get; set; } - } - - - public class SelectTicketReplaceInfo - { - public ParcelType MaterialType { get; set; } - public long MaterialId { get; set; } - public long TicketItemId { get; set; } - public int Amount { get; set; } - } - - - public class SessionDB - { - public SessionKey SessionKey { get; set; } - public DateTime LastConnect { get; set; } - public int ConnectionTime { get; set; } - } - - - //public class SessionKey { - // public long AccountServerId { get; set; } - // public string MxToken { get; set; } - //} - - - public class ShiftingCraftInfoDB - { - public long SlotSequence { get; set; } - public long CraftRecipeId { get; set; } - public long CraftAmount { get; set; } - public DateTime StartTime { get; set; } - public DateTime EndTime { get; set; } - } - - - public class ShopEligmaHistoryDB - { - public long CharacterUniqueId { get; set; } - public long PurchaseCount { get; set; } - } - - - public class ShopFreeRecruitHistoryDB - { - public long UniqueId { get; set; } - public int RecruitCount { get; set; } - public DateTime LastUpdateDate { get; set; } - } - - - public class ShopInfoDB - { - public long EventContentId { get; set; } - public ShopCategoryType Category { get; set; } - public long? ManualRefreshCount { get; set; } - public bool IsRefresh { get; set; } - public DateTime? NextAutoRefreshDate { get; set; } - public DateTime? LastAutoRefreshDate { get; set; } - public List ShopProductList { get; set; } - } - - - public class ShopProductDB - { - public long EventContentId { get; set; } - public long ShopExcelId { get; set; } - public ShopCategoryType Category { get; set; } - public long DisplayOrder { get; set; } - public long PurchaseCount { get; set; } - public bool SoldOut { get; set; } - public long PurchaseCountLimit { get; set; } - public long Price { get; set; } - //public ShopProductType ProductType { get; set; } - } - - - public class ShopRecruitDB - { - public long Id { get; set; } - public DateTime SalesStartDate { get; set; } - public DateTime SalesEndDate { get; set; } - public DateTime UpdateDate { get; set; } - } - - - public class SingleRaidUserDB : RaidUserDB - { - public RaidTeamSettingDB RaidTeamSettingDB { get; set; } - } - - public enum SkillSlot - { - None, - NormalAttack01, - NormalAttack02, - NormalAttack03, - NormalAttack04, - NormalAttack05, - NormalAttack06, - NormalAttack07, - NormalAttack08, - NormalAttack09, - NormalAttack10, - ExSkill01, - ExSkill02, - ExSkill03, - ExSkill04, - ExSkill05, - ExSkill06, - ExSkill07, - ExSkill08, - ExSkill09, - ExSkill10, - Passive01, - Passive02, - Passive03, - Passive04, - Passive05, - Passive06, - Passive07, - Passive08, - Passive09, - Passive10, - ExtraPassive01, - ExtraPassive02, - ExtraPassive03, - ExtraPassive04, - ExtraPassive05, - ExtraPassive06, - ExtraPassive07, - ExtraPassive08, - ExtraPassive09, - ExtraPassive10, - Support01, - Support02, - Support03, - Support04, - Support05, - Support06, - Support07, - Support08, - Support09, - Support10, - EnterBattleGround, - LeaderSkill01, - LeaderSkill02, - LeaderSkill03, - LeaderSkill04, - LeaderSkill05, - LeaderSkill06, - LeaderSkill07, - LeaderSkill08, - LeaderSkill09, - LeaderSkill10, - Equipment01, - Equipment02, - Equipment03, - Equipment04, - Equipment05, - Equipment06, - Equipment07, - Equipment08, - Equipment09, - Equipment10, - PublicSkill01, - PublicSkill02, - PublicSkill03, - PublicSkill04, - PublicSkill05, - PublicSkill06, - PublicSkill07, - PublicSkill08, - PublicSkill09, - PublicSkill10, - GroupBuff01, - HexaBuff01, - EventBuff01, - EventBuff02, - EventBuff03, - MoveAttack01, - MetamorphNormalAttack, - GroundPassive01, - GroundPassive02, - GroundPassive03, - GroundPassive04, - GroundPassive05, - GroundPassive06, - GroundPassive07, - GroundPassive08, - GroundPassive09, - GroundPassive10, - HiddenPassive01, - HiddenPassive02, - HiddenPassive03, - HiddenPassive04, - HiddenPassive05, - HiddenPassive06, - HiddenPassive07, - HiddenPassive08, - HiddenPassive09, - HiddenPassive10, - Count - } - - public class SkillLevelBatchGrowthRequestDB - { - public SkillSlot SkillSlot { get; set; } - public int Level { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class SkipHistoryDB - { - public long AccountServerId { get; set; } - public int Prologue { get; set; } - public Dictionary Tutorial { get; set; } - } - - - public class StickerBookDB - { - public long AccountId { get; set; } - public IEnumerable UnusedStickerDBs { get; set; } - public IEnumerable UsedStickerDBs { get; set; } - } - - - public class StickerDB : ParcelBase, IEquatable - { - public override ParcelType Type { get => ParcelType.Sticker; } - - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - public long StickerUniqueId { get; set; } - - public bool Equals(StickerDB? other) - { - return this.StickerUniqueId == other.StickerUniqueId; + return false; } } - public class StoryStrategyStageSaveDB - { - public ContentType ContentType { get; set; } - } + public class EntityCollection : SortedDictionary where T : Entity + { + } - public class StrategyObjectHistoryDB - { - public long AccountId { get; set; } - public long StrategyObjectId { get; set; } - } - - - public class TimeAttackDungeonBattleHistoryDB - { - public TimeAttackDungeonType DungeonType { get; set; } - public long GeasId { get; set; } - public long DefaultPoint { get; set; } - public long ClearTimePoint { get; set; } - public long EndFrame { get; set; } - public long TotalPoint { get; set; } - public List MainCharacterDBs { get; set; } - public List SupportCharacterDBs { get; set; } - } - - - public class TimeAttackDungeonCharacterDB - { - public long ServerId { get; set; } - public long UniqueId { get; set; } - public long CostumeId { get; set; } - public int StarGrade { get; set; } - public int Level { get; set; } - public bool HasWeapon { get; set; } - public WeaponDB WeaponDB { get; set; } - public bool IsAssist { get; set; } - } - - - public class TimeAttackDungeonRewardHistoryDB - { - public DateTime Date { get; set; } - public TimeAttackDungeonRoomDB RoomDB { get; set; } - public bool IsSweep { get; set; } - } - - - public class TimeAttackDungeonRoomDB - { - public long AccountId { get; set; } - public long SeasonId { get; set; } - public long RoomId { get; set; } - public DateTime CreateDate { get; set; } - public DateTime RewardDate { get; set; } - public bool IsPractice { get; set; } - public List SweepHistoryDates { get; set; } - public List BattleHistoryDBs { get; set; } - public int PlayCount { get; set; } - public long TotalPointSum { get; set; } - public bool IsRewardReceived { get; set; } - public bool IsOpened { get; set; } - public bool CanUseAssist { get; set; } - public bool IsPlayCountOver { get; set; } - } - - - public class ToastDB - { - public long UniqueId { get; set; } - public string Text { get; set; } - public string ToastId { get; set; } - public DateTime BeginDate { get; set; } - public DateTime EndDate { get; set; } - public int LifeTime { get; set; } - public int Delay { get; set; } - } - - - public class VisitingCharacterDB - { - public long UniqueId { get; set; } - public long ServerId { get; set; } - } - - - public class WeaponDB : ParcelBase - { - [NotMapped] - public override ParcelType Type { get => ParcelType.CharacterWeapon; } - - [NotMapped] - [JsonIgnore] - public override IEnumerable ParcelInfos { get; } - - [JsonIgnore] - public virtual AccountDB Account { get; set; } - - [JsonIgnore] - public long AccountServerId { get; set; } - - [Key] - public long ServerId { get; set; } - - public long UniqueId { get; set; } - public int Level { get; set; } - public long Exp { get; set; } - public int StarGrade { get; set; } - public long BoundCharacterServerId { get; set; } - public bool IsLocked { get; set; } - } - - - public class WeekDungeonSaveDB - { - public ContentType ContentType { get; set; } - public WeekDungeonType WeekDungeonType { get; set; } - public int Seed { get; set; } - public int Sequence { get; set; } - } - - - public class WeekDungeonStageHistoryDB - { - public long AccountServerId { get; set; } - public long StageUniqueId { get; set; } - public Dictionary StarGoalRecord { get; set; } - public bool IsCleardEver { get; set; } - } - - - public class WorldRaidBossDamageRatio - { - public ContentsChangeType ContentsChangeType { get; set; } - public BasisPoint DamageRatio { get; set; } - } - - - public class WorldRaidBossGroup - { - public ContentsChangeType ContentsChangeType { get; set; } - public long GroupId { get; set; } - public DateTime BossSpawnTime { get; set; } - public DateTime EliminateTime { get; set; } - } - - - public class WorldRaidBossListInfoDB - { - public long GroupId { get; set; } - public WorldRaidWorldBossDB WorldBossDB { get; set; } - public List LocalBossDBs { get; set; } - } - - - public class WorldRaidClearHistoryDB - { - public long SeasonId { get; set; } - public long GroupId { get; set; } - public DateTime RewardReceiveDate { get; set; } - } -} \ No newline at end of file +} diff --git a/SCHALE.Common/FlatData/AcademyFavorScheduleExcel.cs b/SCHALE.Common/FlatData/AcademyFavorScheduleExcel.cs index c5c697b..1a5f768 100644 --- a/SCHALE.Common/FlatData/AcademyFavorScheduleExcel.cs +++ b/SCHALE.Common/FlatData/AcademyFavorScheduleExcel.cs @@ -61,31 +61,31 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject public long[] GetRewardAmountArray() { return __p.__vector_as_array(26); } public static Offset CreateAcademyFavorScheduleExcel(FlatBufferBuilder builder, - long id = 0, - long character_id = 0, - long schedule_group_id = 0, - long order_in_group = 0, - StringOffset locationOffset = default(StringOffset), - uint localize_scenario_id = 0, - long favor_rank = 0, - long secret_stone_amount = 0, - long scenario_sript_group_id = 0, - VectorOffset reward_parcel_typeOffset = default(VectorOffset), - VectorOffset reward_parcel_idOffset = default(VectorOffset), - VectorOffset reward_amountOffset = default(VectorOffset)) { + long Id = 0, + long CharacterId = 0, + long ScheduleGroupId = 0, + long OrderInGroup = 0, + StringOffset LocationOffset = default(StringOffset), + uint LocalizeScenarioId = 0, + long FavorRank = 0, + long SecretStoneAmount = 0, + long ScenarioSriptGroupId = 0, + VectorOffset RewardParcelTypeOffset = default(VectorOffset), + VectorOffset RewardParcelIdOffset = default(VectorOffset), + VectorOffset RewardAmountOffset = default(VectorOffset)) { builder.StartTable(12); - AcademyFavorScheduleExcel.AddScenarioSriptGroupId(builder, scenario_sript_group_id); - AcademyFavorScheduleExcel.AddSecretStoneAmount(builder, secret_stone_amount); - AcademyFavorScheduleExcel.AddFavorRank(builder, favor_rank); - AcademyFavorScheduleExcel.AddOrderInGroup(builder, order_in_group); - AcademyFavorScheduleExcel.AddScheduleGroupId(builder, schedule_group_id); - AcademyFavorScheduleExcel.AddCharacterId(builder, character_id); - AcademyFavorScheduleExcel.AddId(builder, id); - AcademyFavorScheduleExcel.AddRewardAmount(builder, reward_amountOffset); - AcademyFavorScheduleExcel.AddRewardParcelId(builder, reward_parcel_idOffset); - AcademyFavorScheduleExcel.AddRewardParcelType(builder, reward_parcel_typeOffset); - AcademyFavorScheduleExcel.AddLocalizeScenarioId(builder, localize_scenario_id); - AcademyFavorScheduleExcel.AddLocation(builder, locationOffset); + AcademyFavorScheduleExcel.AddScenarioSriptGroupId(builder, ScenarioSriptGroupId); + AcademyFavorScheduleExcel.AddSecretStoneAmount(builder, SecretStoneAmount); + AcademyFavorScheduleExcel.AddFavorRank(builder, FavorRank); + AcademyFavorScheduleExcel.AddOrderInGroup(builder, OrderInGroup); + AcademyFavorScheduleExcel.AddScheduleGroupId(builder, ScheduleGroupId); + AcademyFavorScheduleExcel.AddCharacterId(builder, CharacterId); + AcademyFavorScheduleExcel.AddId(builder, Id); + AcademyFavorScheduleExcel.AddRewardAmount(builder, RewardAmountOffset); + AcademyFavorScheduleExcel.AddRewardParcelId(builder, RewardParcelIdOffset); + AcademyFavorScheduleExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); + AcademyFavorScheduleExcel.AddLocalizeScenarioId(builder, LocalizeScenarioId); + AcademyFavorScheduleExcel.AddLocation(builder, LocationOffset); return AcademyFavorScheduleExcel.EndAcademyFavorScheduleExcel(builder); } @@ -146,21 +146,21 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject } public static Offset Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelT _o) { if (_o == null) return default(Offset); - var _location = _o.Location == null ? default(StringOffset) : builder.CreateString(_o.Location); - var _reward_parcel_type = default(VectorOffset); + var _Location = _o.Location == null ? default(StringOffset) : builder.CreateString(_o.Location); + var _RewardParcelType = default(VectorOffset); if (_o.RewardParcelType != null) { - var __reward_parcel_type = _o.RewardParcelType.ToArray(); - _reward_parcel_type = CreateRewardParcelTypeVector(builder, __reward_parcel_type); + var __RewardParcelType = _o.RewardParcelType.ToArray(); + _RewardParcelType = CreateRewardParcelTypeVector(builder, __RewardParcelType); } - var _reward_parcel_id = default(VectorOffset); + var _RewardParcelId = default(VectorOffset); if (_o.RewardParcelId != null) { - var __reward_parcel_id = _o.RewardParcelId.ToArray(); - _reward_parcel_id = CreateRewardParcelIdVector(builder, __reward_parcel_id); + var __RewardParcelId = _o.RewardParcelId.ToArray(); + _RewardParcelId = CreateRewardParcelIdVector(builder, __RewardParcelId); } - var _reward_amount = default(VectorOffset); + var _RewardAmount = default(VectorOffset); if (_o.RewardAmount != null) { - var __reward_amount = _o.RewardAmount.ToArray(); - _reward_amount = CreateRewardAmountVector(builder, __reward_amount); + var __RewardAmount = _o.RewardAmount.ToArray(); + _RewardAmount = CreateRewardAmountVector(builder, __RewardAmount); } return CreateAcademyFavorScheduleExcel( builder, @@ -168,14 +168,14 @@ public struct AcademyFavorScheduleExcel : IFlatbufferObject _o.CharacterId, _o.ScheduleGroupId, _o.OrderInGroup, - _location, + _Location, _o.LocalizeScenarioId, _o.FavorRank, _o.SecretStoneAmount, _o.ScenarioSriptGroupId, - _reward_parcel_type, - _reward_parcel_id, - _reward_amount); + _RewardParcelType, + _RewardParcelId, + _RewardAmount); } } diff --git a/SCHALE.Common/FlatData/AcademyFavorScheduleExcelTable.cs b/SCHALE.Common/FlatData/AcademyFavorScheduleExcelTable.cs index a05ee2c..784b281 100644 --- a/SCHALE.Common/FlatData/AcademyFavorScheduleExcelTable.cs +++ b/SCHALE.Common/FlatData/AcademyFavorScheduleExcelTable.cs @@ -24,9 +24,9 @@ public struct AcademyFavorScheduleExcelTable : IFlatbufferObject public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } public static Offset CreateAcademyFavorScheduleExcelTable(FlatBufferBuilder builder, - VectorOffset data_listOffset = default(VectorOffset)) { + VectorOffset DataListOffset = default(VectorOffset)) { builder.StartTable(1); - AcademyFavorScheduleExcelTable.AddDataList(builder, data_listOffset); + AcademyFavorScheduleExcelTable.AddDataList(builder, DataListOffset); return AcademyFavorScheduleExcelTable.EndAcademyFavorScheduleExcelTable(builder); } @@ -53,15 +53,15 @@ public struct AcademyFavorScheduleExcelTable : IFlatbufferObject } public static Offset Pack(FlatBufferBuilder builder, AcademyFavorScheduleExcelTableT _o) { if (_o == null) return default(Offset); - var _data_list = default(VectorOffset); + var _DataList = default(VectorOffset); if (_o.DataList != null) { - var __data_list = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.AcademyFavorScheduleExcel.Pack(builder, _o.DataList[_j]); } - _data_list = CreateDataListVector(builder, __data_list); + var __DataList = new Offset[_o.DataList.Count]; + for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AcademyFavorScheduleExcel.Pack(builder, _o.DataList[_j]); } + _DataList = CreateDataListVector(builder, __DataList); } return CreateAcademyFavorScheduleExcelTable( builder, - _data_list); + _DataList); } } diff --git a/SCHALE.Common/FlatData/AccountLevelExcelTable.cs b/SCHALE.Common/FlatData/AccountLevelExcelTable.cs deleted file mode 100644 index e20e204..0000000 --- a/SCHALE.Common/FlatData/AccountLevelExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct AccountLevelExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static AccountLevelExcelTable GetRootAsAccountLevelExcelTable(ByteBuffer _bb) { return GetRootAsAccountLevelExcelTable(_bb, new AccountLevelExcelTable()); } - public static AccountLevelExcelTable GetRootAsAccountLevelExcelTable(ByteBuffer _bb, AccountLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public AccountLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.AccountLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AccountLevelExcel?)(new SCHALE.Common.FlatData.AccountLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateAccountLevelExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - AccountLevelExcelTable.AddDataList(builder, DataListOffset); - return AccountLevelExcelTable.EndAccountLevelExcelTable(builder); - } - - public static void StartAccountLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndAccountLevelExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public AccountLevelExcelTableT UnPack() { - var _o = new AccountLevelExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(AccountLevelExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("AccountLevelExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, AccountLevelExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AccountLevelExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateAccountLevelExcelTable( - builder, - _DataList); - } -} - -public class AccountLevelExcelTableT -{ - public List DataList { get; set; } - - public AccountLevelExcelTableT() { - this.DataList = null; - } -} - - -static public class AccountLevelExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AccountLevelExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ArenaRewardExcel.cs b/SCHALE.Common/FlatData/ArenaRewardExcel.cs index ec09348..d0571aa 100644 --- a/SCHALE.Common/FlatData/ArenaRewardExcel.cs +++ b/SCHALE.Common/FlatData/ArenaRewardExcel.cs @@ -21,7 +21,7 @@ public struct ArenaRewardExcel : IFlatbufferObject public ArenaRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ArenaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArenaRewardType.None; } } + public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ArenaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArenaRewardType.None; } } public long RankStart { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RankEnd { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string RankIconPath { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -60,7 +60,7 @@ public struct ArenaRewardExcel : IFlatbufferObject public static Offset CreateArenaRewardExcel(FlatBufferBuilder builder, long UniqueId = 0, - SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ = SCHALE.Common.FlatData.ArenaRewardType.None, + SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType = SCHALE.Common.FlatData.ArenaRewardType.None, long RankStart = 0, long RankEnd = 0, StringOffset RankIconPathOffset = default(StringOffset), @@ -77,13 +77,13 @@ public struct ArenaRewardExcel : IFlatbufferObject ArenaRewardExcel.AddRewardParcelUniqueId(builder, RewardParcelUniqueIdOffset); ArenaRewardExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); ArenaRewardExcel.AddRankIconPath(builder, RankIconPathOffset); - ArenaRewardExcel.AddArenaRewardType_(builder, ArenaRewardType_); + ArenaRewardExcel.AddArenaRewardType(builder, ArenaRewardType); return ArenaRewardExcel.EndArenaRewardExcel(builder); } public static void StartArenaRewardExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddArenaRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArenaRewardType arenaRewardType_) { builder.AddInt(1, (int)arenaRewardType_, 0); } + public static void AddArenaRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArenaRewardType arenaRewardType) { builder.AddInt(1, (int)arenaRewardType, 0); } public static void AddRankStart(FlatBufferBuilder builder, long rankStart) { builder.AddLong(2, rankStart, 0); } public static void AddRankEnd(FlatBufferBuilder builder, long rankEnd) { builder.AddLong(3, rankEnd, 0); } public static void AddRankIconPath(FlatBufferBuilder builder, StringOffset rankIconPathOffset) { builder.AddOffset(4, rankIconPathOffset.Value, 0); } @@ -123,7 +123,7 @@ public struct ArenaRewardExcel : IFlatbufferObject public void UnPackTo(ArenaRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ArenaReward"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); - _o.ArenaRewardType_ = TableEncryptionService.Convert(this.ArenaRewardType_, key); + _o.ArenaRewardType = TableEncryptionService.Convert(this.ArenaRewardType, key); _o.RankStart = TableEncryptionService.Convert(this.RankStart, key); _o.RankEnd = TableEncryptionService.Convert(this.RankEnd, key); _o.RankIconPath = TableEncryptionService.Convert(this.RankIconPath, key); @@ -163,7 +163,7 @@ public struct ArenaRewardExcel : IFlatbufferObject return CreateArenaRewardExcel( builder, _o.UniqueId, - _o.ArenaRewardType_, + _o.ArenaRewardType, _o.RankStart, _o.RankEnd, _RankIconPath, @@ -177,7 +177,7 @@ public struct ArenaRewardExcel : IFlatbufferObject public class ArenaRewardExcelT { public long UniqueId { get; set; } - public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType_ { get; set; } + public SCHALE.Common.FlatData.ArenaRewardType ArenaRewardType { get; set; } public long RankStart { get; set; } public long RankEnd { get; set; } public string RankIconPath { get; set; } @@ -188,7 +188,7 @@ public class ArenaRewardExcelT public ArenaRewardExcelT() { this.UniqueId = 0; - this.ArenaRewardType_ = SCHALE.Common.FlatData.ArenaRewardType.None; + this.ArenaRewardType = SCHALE.Common.FlatData.ArenaRewardType.None; this.RankStart = 0; this.RankEnd = 0; this.RankIconPath = null; @@ -206,7 +206,7 @@ static public class ArenaRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ArenaRewardType_*/, 4 /*SCHALE.Common.FlatData.ArenaRewardType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ArenaRewardType*/, 4 /*SCHALE.Common.FlatData.ArenaRewardType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RankStart*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*RankEnd*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 12 /*RankIconPath*/, false) diff --git a/SCHALE.Common/FlatData/AssistEchelonTypeConvertExcelTable.cs b/SCHALE.Common/FlatData/AssistEchelonTypeConvertExcelTable.cs deleted file mode 100644 index 492ed8e..0000000 --- a/SCHALE.Common/FlatData/AssistEchelonTypeConvertExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct AssistEchelonTypeConvertExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static AssistEchelonTypeConvertExcelTable GetRootAsAssistEchelonTypeConvertExcelTable(ByteBuffer _bb) { return GetRootAsAssistEchelonTypeConvertExcelTable(_bb, new AssistEchelonTypeConvertExcelTable()); } - public static AssistEchelonTypeConvertExcelTable GetRootAsAssistEchelonTypeConvertExcelTable(ByteBuffer _bb, AssistEchelonTypeConvertExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public AssistEchelonTypeConvertExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel?)(new SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - AssistEchelonTypeConvertExcelTable.AddDataList(builder, DataListOffset); - return AssistEchelonTypeConvertExcelTable.EndAssistEchelonTypeConvertExcelTable(builder); - } - - public static void StartAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndAssistEchelonTypeConvertExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public AssistEchelonTypeConvertExcelTableT UnPack() { - var _o = new AssistEchelonTypeConvertExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(AssistEchelonTypeConvertExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("AssistEchelonTypeConvertExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, AssistEchelonTypeConvertExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AssistEchelonTypeConvertExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateAssistEchelonTypeConvertExcelTable( - builder, - _DataList); - } -} - -public class AssistEchelonTypeConvertExcelTableT -{ - public List DataList { get; set; } - - public AssistEchelonTypeConvertExcelTableT() { - this.DataList = null; - } -} - - -static public class AssistEchelonTypeConvertExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AssistEchelonTypeConvertExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/AttendanceExcel.cs b/SCHALE.Common/FlatData/AttendanceExcel.cs index 147baf8..b3c79cf 100644 --- a/SCHALE.Common/FlatData/AttendanceExcel.cs +++ b/SCHALE.Common/FlatData/AttendanceExcel.cs @@ -71,8 +71,8 @@ public struct AttendanceExcel : IFlatbufferObject #endif public byte[] GetEndDateArray() { return __p.__vector_as_array(30); } public long ExpiryDate { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.MailType MailType_ { get { int o = __p.__offset(34); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } - public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } + public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(34); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } + public SCHALE.Common.FlatData.DialogCategory DialogCategory { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } public string TitleImagePath { get { int o = __p.__offset(38); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetTitleImagePathBytes() { return __p.__vector_as_span(38, 1); } @@ -104,8 +104,8 @@ public struct AttendanceExcel : IFlatbufferObject StringOffset StartableEndDateOffset = default(StringOffset), StringOffset EndDateOffset = default(StringOffset), long ExpiryDate = 0, - SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, - SCHALE.Common.FlatData.DialogCategory DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe, + SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System, + SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe, StringOffset TitleImagePathOffset = default(StringOffset), StringOffset DecorationImagePathOffset = default(StringOffset)) { builder.StartTable(19); @@ -116,8 +116,8 @@ public struct AttendanceExcel : IFlatbufferObject AttendanceExcel.AddId(builder, Id); AttendanceExcel.AddDecorationImagePath(builder, DecorationImagePathOffset); AttendanceExcel.AddTitleImagePath(builder, TitleImagePathOffset); - AttendanceExcel.AddDialogCategory_(builder, DialogCategory_); - AttendanceExcel.AddMailType_(builder, MailType_); + AttendanceExcel.AddDialogCategory(builder, DialogCategory); + AttendanceExcel.AddMailType(builder, MailType); AttendanceExcel.AddEndDate(builder, EndDateOffset); AttendanceExcel.AddStartableEndDate(builder, StartableEndDateOffset); AttendanceExcel.AddStartDate(builder, StartDateOffset); @@ -147,8 +147,8 @@ public struct AttendanceExcel : IFlatbufferObject public static void AddStartableEndDate(FlatBufferBuilder builder, StringOffset startableEndDateOffset) { builder.AddOffset(12, startableEndDateOffset.Value, 0); } public static void AddEndDate(FlatBufferBuilder builder, StringOffset endDateOffset) { builder.AddOffset(13, endDateOffset.Value, 0); } public static void AddExpiryDate(FlatBufferBuilder builder, long expiryDate) { builder.AddLong(14, expiryDate, 0); } - public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(15, (int)mailType_, 0); } - public static void AddDialogCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory_) { builder.AddInt(16, (int)dialogCategory_, 0); } + public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(15, (int)mailType, 0); } + public static void AddDialogCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory) { builder.AddInt(16, (int)dialogCategory, 0); } public static void AddTitleImagePath(FlatBufferBuilder builder, StringOffset titleImagePathOffset) { builder.AddOffset(17, titleImagePathOffset.Value, 0); } public static void AddDecorationImagePath(FlatBufferBuilder builder, StringOffset decorationImagePathOffset) { builder.AddOffset(18, decorationImagePathOffset.Value, 0); } public static Offset EndAttendanceExcel(FlatBufferBuilder builder) { @@ -177,8 +177,8 @@ public struct AttendanceExcel : IFlatbufferObject _o.StartableEndDate = TableEncryptionService.Convert(this.StartableEndDate, key); _o.EndDate = TableEncryptionService.Convert(this.EndDate, key); _o.ExpiryDate = TableEncryptionService.Convert(this.ExpiryDate, key); - _o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); - _o.DialogCategory_ = TableEncryptionService.Convert(this.DialogCategory_, key); + _o.MailType = TableEncryptionService.Convert(this.MailType, key); + _o.DialogCategory = TableEncryptionService.Convert(this.DialogCategory, key); _o.TitleImagePath = TableEncryptionService.Convert(this.TitleImagePath, key); _o.DecorationImagePath = TableEncryptionService.Convert(this.DecorationImagePath, key); } @@ -209,8 +209,8 @@ public struct AttendanceExcel : IFlatbufferObject _StartableEndDate, _EndDate, _o.ExpiryDate, - _o.MailType_, - _o.DialogCategory_, + _o.MailType, + _o.DialogCategory, _TitleImagePath, _DecorationImagePath); } @@ -233,8 +233,8 @@ public class AttendanceExcelT public string StartableEndDate { get; set; } public string EndDate { get; set; } public long ExpiryDate { get; set; } - public SCHALE.Common.FlatData.MailType MailType_ { get; set; } - public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get; set; } + public SCHALE.Common.FlatData.MailType MailType { get; set; } + public SCHALE.Common.FlatData.DialogCategory DialogCategory { get; set; } public string TitleImagePath { get; set; } public string DecorationImagePath { get; set; } @@ -254,8 +254,8 @@ public class AttendanceExcelT this.StartableEndDate = null; this.EndDate = null; this.ExpiryDate = 0; - this.MailType_ = SCHALE.Common.FlatData.MailType.System; - this.DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe; + this.MailType = SCHALE.Common.FlatData.MailType.System; + this.DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe; this.TitleImagePath = null; this.DecorationImagePath = null; } @@ -282,8 +282,8 @@ static public class AttendanceExcelVerify && verifier.VerifyString(tablePos, 28 /*StartableEndDate*/, false) && verifier.VerifyString(tablePos, 30 /*EndDate*/, false) && verifier.VerifyField(tablePos, 32 /*ExpiryDate*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 34 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) - && verifier.VerifyField(tablePos, 36 /*DialogCategory_*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) + && verifier.VerifyField(tablePos, 34 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) + && verifier.VerifyField(tablePos, 36 /*DialogCategory*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) && verifier.VerifyString(tablePos, 38 /*TitleImagePath*/, false) && verifier.VerifyString(tablePos, 40 /*DecorationImagePath*/, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/AttendanceExcelTable.cs b/SCHALE.Common/FlatData/AttendanceExcelTable.cs deleted file mode 100644 index 4fed57c..0000000 --- a/SCHALE.Common/FlatData/AttendanceExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct AttendanceExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static AttendanceExcelTable GetRootAsAttendanceExcelTable(ByteBuffer _bb) { return GetRootAsAttendanceExcelTable(_bb, new AttendanceExcelTable()); } - public static AttendanceExcelTable GetRootAsAttendanceExcelTable(ByteBuffer _bb, AttendanceExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public AttendanceExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.AttendanceExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AttendanceExcel?)(new SCHALE.Common.FlatData.AttendanceExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateAttendanceExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - AttendanceExcelTable.AddDataList(builder, DataListOffset); - return AttendanceExcelTable.EndAttendanceExcelTable(builder); - } - - public static void StartAttendanceExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndAttendanceExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public AttendanceExcelTableT UnPack() { - var _o = new AttendanceExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(AttendanceExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("AttendanceExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, AttendanceExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AttendanceExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateAttendanceExcelTable( - builder, - _DataList); - } -} - -public class AttendanceExcelTableT -{ - public List DataList { get; set; } - - public AttendanceExcelTableT() { - this.DataList = null; - } -} - - -static public class AttendanceExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AttendanceExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/AttendanceRewardExcelTable.cs b/SCHALE.Common/FlatData/AttendanceRewardExcelTable.cs deleted file mode 100644 index d6e65d2..0000000 --- a/SCHALE.Common/FlatData/AttendanceRewardExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct AttendanceRewardExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static AttendanceRewardExcelTable GetRootAsAttendanceRewardExcelTable(ByteBuffer _bb) { return GetRootAsAttendanceRewardExcelTable(_bb, new AttendanceRewardExcelTable()); } - public static AttendanceRewardExcelTable GetRootAsAttendanceRewardExcelTable(ByteBuffer _bb, AttendanceRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public AttendanceRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.AttendanceRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.AttendanceRewardExcel?)(new SCHALE.Common.FlatData.AttendanceRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateAttendanceRewardExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - AttendanceRewardExcelTable.AddDataList(builder, DataListOffset); - return AttendanceRewardExcelTable.EndAttendanceRewardExcelTable(builder); - } - - public static void StartAttendanceRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndAttendanceRewardExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public AttendanceRewardExcelTableT UnPack() { - var _o = new AttendanceRewardExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(AttendanceRewardExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("AttendanceRewardExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, AttendanceRewardExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.AttendanceRewardExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateAttendanceRewardExcelTable( - builder, - _DataList); - } -} - -public class AttendanceRewardExcelTableT -{ - public List DataList { get; set; } - - public AttendanceRewardExcelTableT() { - this.DataList = null; - } -} - - -static public class AttendanceRewardExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.AttendanceRewardExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/BattleDialogType.cs b/SCHALE.Common/FlatData/BattleDialogType.cs new file mode 100644 index 0000000..2b5a2e4 --- /dev/null +++ b/SCHALE.Common/FlatData/BattleDialogType.cs @@ -0,0 +1,16 @@ +// +// automatically generated by the FlatBuffers compiler, do not modify +// + +namespace SCHALE.Common.FlatData +{ + +public enum BattleDialogType : int +{ + Talk = 0, + Think = 1, + Shout = 2, +}; + + +} diff --git a/SCHALE.Common/FlatData/BossExternalBTExcel.cs b/SCHALE.Common/FlatData/BossExternalBTExcel.cs index aef9afb..938051e 100644 --- a/SCHALE.Common/FlatData/BossExternalBTExcel.cs +++ b/SCHALE.Common/FlatData/BossExternalBTExcel.cs @@ -22,8 +22,8 @@ public struct BossExternalBTExcel : IFlatbufferObject public long ExternalBTId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AIPhase { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; } } - public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTTrigger)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTTrigger.None; } } + public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; } } + public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ExternalBTTrigger)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBTTrigger.None; } } public string TriggerArgument { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetTriggerArgumentBytes() { return __p.__vector_as_span(12, 1); } @@ -32,7 +32,7 @@ public struct BossExternalBTExcel : IFlatbufferObject #endif public byte[] GetTriggerArgumentArray() { return __p.__vector_as_array(12); } public long BehaviorRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ExternalBehavior)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; } } + public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ExternalBehavior)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; } } public string BehaviorArgument { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBehaviorArgumentBytes() { return __p.__vector_as_span(18, 1); } @@ -44,32 +44,32 @@ public struct BossExternalBTExcel : IFlatbufferObject public static Offset CreateBossExternalBTExcel(FlatBufferBuilder builder, long ExternalBTId = 0, long AIPhase = 0, - SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence, - SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ = SCHALE.Common.FlatData.ExternalBTTrigger.None, + SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence, + SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger = SCHALE.Common.FlatData.ExternalBTTrigger.None, StringOffset TriggerArgumentOffset = default(StringOffset), long BehaviorRate = 0, - SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill, + SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill, StringOffset BehaviorArgumentOffset = default(StringOffset)) { builder.StartTable(8); BossExternalBTExcel.AddBehaviorRate(builder, BehaviorRate); BossExternalBTExcel.AddAIPhase(builder, AIPhase); BossExternalBTExcel.AddExternalBTId(builder, ExternalBTId); BossExternalBTExcel.AddBehaviorArgument(builder, BehaviorArgumentOffset); - BossExternalBTExcel.AddExternalBehavior_(builder, ExternalBehavior_); + BossExternalBTExcel.AddExternalBehavior(builder, ExternalBehavior); BossExternalBTExcel.AddTriggerArgument(builder, TriggerArgumentOffset); - BossExternalBTExcel.AddExternalBTTrigger_(builder, ExternalBTTrigger_); - BossExternalBTExcel.AddExternalBTNodeType_(builder, ExternalBTNodeType_); + BossExternalBTExcel.AddExternalBTTrigger(builder, ExternalBTTrigger); + BossExternalBTExcel.AddExternalBTNodeType(builder, ExternalBTNodeType); return BossExternalBTExcel.EndBossExternalBTExcel(builder); } public static void StartBossExternalBTExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddExternalBTId(FlatBufferBuilder builder, long externalBTId) { builder.AddLong(0, externalBTId, 0); } public static void AddAIPhase(FlatBufferBuilder builder, long aIPhase) { builder.AddLong(1, aIPhase, 0); } - public static void AddExternalBTNodeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTNodeType externalBTNodeType_) { builder.AddInt(2, (int)externalBTNodeType_, 0); } - public static void AddExternalBTTrigger_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTTrigger externalBTTrigger_) { builder.AddInt(3, (int)externalBTTrigger_, 0); } + public static void AddExternalBTNodeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTNodeType externalBTNodeType) { builder.AddInt(2, (int)externalBTNodeType, 0); } + public static void AddExternalBTTrigger(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBTTrigger externalBTTrigger) { builder.AddInt(3, (int)externalBTTrigger, 0); } public static void AddTriggerArgument(FlatBufferBuilder builder, StringOffset triggerArgumentOffset) { builder.AddOffset(4, triggerArgumentOffset.Value, 0); } public static void AddBehaviorRate(FlatBufferBuilder builder, long behaviorRate) { builder.AddLong(5, behaviorRate, 0); } - public static void AddExternalBehavior_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBehavior externalBehavior_) { builder.AddInt(6, (int)externalBehavior_, 0); } + public static void AddExternalBehavior(FlatBufferBuilder builder, SCHALE.Common.FlatData.ExternalBehavior externalBehavior) { builder.AddInt(6, (int)externalBehavior, 0); } public static void AddBehaviorArgument(FlatBufferBuilder builder, StringOffset behaviorArgumentOffset) { builder.AddOffset(7, behaviorArgumentOffset.Value, 0); } public static Offset EndBossExternalBTExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -84,11 +84,11 @@ public struct BossExternalBTExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("BossExternalBT"); _o.ExternalBTId = TableEncryptionService.Convert(this.ExternalBTId, key); _o.AIPhase = TableEncryptionService.Convert(this.AIPhase, key); - _o.ExternalBTNodeType_ = TableEncryptionService.Convert(this.ExternalBTNodeType_, key); - _o.ExternalBTTrigger_ = TableEncryptionService.Convert(this.ExternalBTTrigger_, key); + _o.ExternalBTNodeType = TableEncryptionService.Convert(this.ExternalBTNodeType, key); + _o.ExternalBTTrigger = TableEncryptionService.Convert(this.ExternalBTTrigger, key); _o.TriggerArgument = TableEncryptionService.Convert(this.TriggerArgument, key); _o.BehaviorRate = TableEncryptionService.Convert(this.BehaviorRate, key); - _o.ExternalBehavior_ = TableEncryptionService.Convert(this.ExternalBehavior_, key); + _o.ExternalBehavior = TableEncryptionService.Convert(this.ExternalBehavior, key); _o.BehaviorArgument = TableEncryptionService.Convert(this.BehaviorArgument, key); } public static Offset Pack(FlatBufferBuilder builder, BossExternalBTExcelT _o) { @@ -99,11 +99,11 @@ public struct BossExternalBTExcel : IFlatbufferObject builder, _o.ExternalBTId, _o.AIPhase, - _o.ExternalBTNodeType_, - _o.ExternalBTTrigger_, + _o.ExternalBTNodeType, + _o.ExternalBTTrigger, _TriggerArgument, _o.BehaviorRate, - _o.ExternalBehavior_, + _o.ExternalBehavior, _BehaviorArgument); } } @@ -112,21 +112,21 @@ public class BossExternalBTExcelT { public long ExternalBTId { get; set; } public long AIPhase { get; set; } - public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType_ { get; set; } - public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger_ { get; set; } + public SCHALE.Common.FlatData.ExternalBTNodeType ExternalBTNodeType { get; set; } + public SCHALE.Common.FlatData.ExternalBTTrigger ExternalBTTrigger { get; set; } public string TriggerArgument { get; set; } public long BehaviorRate { get; set; } - public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior_ { get; set; } + public SCHALE.Common.FlatData.ExternalBehavior ExternalBehavior { get; set; } public string BehaviorArgument { get; set; } public BossExternalBTExcelT() { this.ExternalBTId = 0; this.AIPhase = 0; - this.ExternalBTNodeType_ = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; - this.ExternalBTTrigger_ = SCHALE.Common.FlatData.ExternalBTTrigger.None; + this.ExternalBTNodeType = SCHALE.Common.FlatData.ExternalBTNodeType.Sequence; + this.ExternalBTTrigger = SCHALE.Common.FlatData.ExternalBTTrigger.None; this.TriggerArgument = null; this.BehaviorRate = 0; - this.ExternalBehavior_ = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; + this.ExternalBehavior = SCHALE.Common.FlatData.ExternalBehavior.UseNextExSkill; this.BehaviorArgument = null; } } @@ -139,11 +139,11 @@ static public class BossExternalBTExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*ExternalBTId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*AIPhase*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ExternalBTNodeType_*/, 4 /*SCHALE.Common.FlatData.ExternalBTNodeType*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*ExternalBTTrigger_*/, 4 /*SCHALE.Common.FlatData.ExternalBTTrigger*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ExternalBTNodeType*/, 4 /*SCHALE.Common.FlatData.ExternalBTNodeType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*ExternalBTTrigger*/, 4 /*SCHALE.Common.FlatData.ExternalBTTrigger*/, 4, false) && verifier.VerifyString(tablePos, 12 /*TriggerArgument*/, false) && verifier.VerifyField(tablePos, 14 /*BehaviorRate*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 16 /*ExternalBehavior_*/, 4 /*SCHALE.Common.FlatData.ExternalBehavior*/, 4, false) + && verifier.VerifyField(tablePos, 16 /*ExternalBehavior*/, 4 /*SCHALE.Common.FlatData.ExternalBehavior*/, 4, false) && verifier.VerifyString(tablePos, 18 /*BehaviorArgument*/, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/BulletArmorDamageFactorExcel.cs b/SCHALE.Common/FlatData/BulletArmorDamageFactorExcel.cs index 5ea455b..bee12fa 100644 --- a/SCHALE.Common/FlatData/BulletArmorDamageFactorExcel.cs +++ b/SCHALE.Common/FlatData/BulletArmorDamageFactorExcel.cs @@ -27,20 +27,20 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject public ArraySegment? GetDamageFactorGroupIdBytes() { return __p.__vector_as_arraysegment(4); } #endif public byte[] GetDamageFactorGroupIdArray() { return __p.__vector_as_array(4); } - public SCHALE.Common.FlatData.BulletType BulletType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } - public SCHALE.Common.FlatData.ArmorType ArmorType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } + public SCHALE.Common.FlatData.BulletType BulletType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } + public SCHALE.Common.FlatData.ArmorType ArmorType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } public long DamageRate { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DamageAttribute)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DamageAttribute.Resist; } } + public SCHALE.Common.FlatData.DamageAttribute DamageAttribute { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DamageAttribute)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DamageAttribute.Resist; } } public long MinDamageRate { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxDamageRate { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool ShowHighlightFloater { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public static Offset CreateBulletArmorDamageFactorExcel(FlatBufferBuilder builder, StringOffset DamageFactorGroupIdOffset = default(StringOffset), - SCHALE.Common.FlatData.BulletType BulletType_ = SCHALE.Common.FlatData.BulletType.Normal, - SCHALE.Common.FlatData.ArmorType ArmorType_ = SCHALE.Common.FlatData.ArmorType.LightArmor, + SCHALE.Common.FlatData.BulletType BulletType = SCHALE.Common.FlatData.BulletType.Normal, + SCHALE.Common.FlatData.ArmorType ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor, long DamageRate = 0, - SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ = SCHALE.Common.FlatData.DamageAttribute.Resist, + SCHALE.Common.FlatData.DamageAttribute DamageAttribute = SCHALE.Common.FlatData.DamageAttribute.Resist, long MinDamageRate = 0, long MaxDamageRate = 0, bool ShowHighlightFloater = false) { @@ -48,9 +48,9 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject BulletArmorDamageFactorExcel.AddMaxDamageRate(builder, MaxDamageRate); BulletArmorDamageFactorExcel.AddMinDamageRate(builder, MinDamageRate); BulletArmorDamageFactorExcel.AddDamageRate(builder, DamageRate); - BulletArmorDamageFactorExcel.AddDamageAttribute_(builder, DamageAttribute_); - BulletArmorDamageFactorExcel.AddArmorType_(builder, ArmorType_); - BulletArmorDamageFactorExcel.AddBulletType_(builder, BulletType_); + BulletArmorDamageFactorExcel.AddDamageAttribute(builder, DamageAttribute); + BulletArmorDamageFactorExcel.AddArmorType(builder, ArmorType); + BulletArmorDamageFactorExcel.AddBulletType(builder, BulletType); BulletArmorDamageFactorExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset); BulletArmorDamageFactorExcel.AddShowHighlightFloater(builder, ShowHighlightFloater); return BulletArmorDamageFactorExcel.EndBulletArmorDamageFactorExcel(builder); @@ -58,10 +58,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject public static void StartBulletArmorDamageFactorExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddDamageFactorGroupId(FlatBufferBuilder builder, StringOffset damageFactorGroupIdOffset) { builder.AddOffset(0, damageFactorGroupIdOffset.Value, 0); } - public static void AddBulletType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType_) { builder.AddInt(1, (int)bulletType_, 0); } - public static void AddArmorType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType_) { builder.AddInt(2, (int)armorType_, 0); } + public static void AddBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType) { builder.AddInt(1, (int)bulletType, 0); } + public static void AddArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType) { builder.AddInt(2, (int)armorType, 0); } public static void AddDamageRate(FlatBufferBuilder builder, long damageRate) { builder.AddLong(3, damageRate, 0); } - public static void AddDamageAttribute_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DamageAttribute damageAttribute_) { builder.AddInt(4, (int)damageAttribute_, 0); } + public static void AddDamageAttribute(FlatBufferBuilder builder, SCHALE.Common.FlatData.DamageAttribute damageAttribute) { builder.AddInt(4, (int)damageAttribute, 0); } public static void AddMinDamageRate(FlatBufferBuilder builder, long minDamageRate) { builder.AddLong(5, minDamageRate, 0); } public static void AddMaxDamageRate(FlatBufferBuilder builder, long maxDamageRate) { builder.AddLong(6, maxDamageRate, 0); } public static void AddShowHighlightFloater(FlatBufferBuilder builder, bool showHighlightFloater) { builder.AddBool(7, showHighlightFloater, false); } @@ -77,10 +77,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject public void UnPackTo(BulletArmorDamageFactorExcelT _o) { byte[] key = TableEncryptionService.CreateKey("BulletArmorDamageFactor"); _o.DamageFactorGroupId = TableEncryptionService.Convert(this.DamageFactorGroupId, key); - _o.BulletType_ = TableEncryptionService.Convert(this.BulletType_, key); - _o.ArmorType_ = TableEncryptionService.Convert(this.ArmorType_, key); + _o.BulletType = TableEncryptionService.Convert(this.BulletType, key); + _o.ArmorType = TableEncryptionService.Convert(this.ArmorType, key); _o.DamageRate = TableEncryptionService.Convert(this.DamageRate, key); - _o.DamageAttribute_ = TableEncryptionService.Convert(this.DamageAttribute_, key); + _o.DamageAttribute = TableEncryptionService.Convert(this.DamageAttribute, key); _o.MinDamageRate = TableEncryptionService.Convert(this.MinDamageRate, key); _o.MaxDamageRate = TableEncryptionService.Convert(this.MaxDamageRate, key); _o.ShowHighlightFloater = TableEncryptionService.Convert(this.ShowHighlightFloater, key); @@ -91,10 +91,10 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject return CreateBulletArmorDamageFactorExcel( builder, _DamageFactorGroupId, - _o.BulletType_, - _o.ArmorType_, + _o.BulletType, + _o.ArmorType, _o.DamageRate, - _o.DamageAttribute_, + _o.DamageAttribute, _o.MinDamageRate, _o.MaxDamageRate, _o.ShowHighlightFloater); @@ -104,20 +104,20 @@ public struct BulletArmorDamageFactorExcel : IFlatbufferObject public class BulletArmorDamageFactorExcelT { public string DamageFactorGroupId { get; set; } - public SCHALE.Common.FlatData.BulletType BulletType_ { get; set; } - public SCHALE.Common.FlatData.ArmorType ArmorType_ { get; set; } + public SCHALE.Common.FlatData.BulletType BulletType { get; set; } + public SCHALE.Common.FlatData.ArmorType ArmorType { get; set; } public long DamageRate { get; set; } - public SCHALE.Common.FlatData.DamageAttribute DamageAttribute_ { get; set; } + public SCHALE.Common.FlatData.DamageAttribute DamageAttribute { get; set; } public long MinDamageRate { get; set; } public long MaxDamageRate { get; set; } public bool ShowHighlightFloater { get; set; } public BulletArmorDamageFactorExcelT() { this.DamageFactorGroupId = null; - this.BulletType_ = SCHALE.Common.FlatData.BulletType.Normal; - this.ArmorType_ = SCHALE.Common.FlatData.ArmorType.LightArmor; + this.BulletType = SCHALE.Common.FlatData.BulletType.Normal; + this.ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor; this.DamageRate = 0; - this.DamageAttribute_ = SCHALE.Common.FlatData.DamageAttribute.Resist; + this.DamageAttribute = SCHALE.Common.FlatData.DamageAttribute.Resist; this.MinDamageRate = 0; this.MaxDamageRate = 0; this.ShowHighlightFloater = false; @@ -131,10 +131,10 @@ static public class BulletArmorDamageFactorExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyString(tablePos, 4 /*DamageFactorGroupId*/, false) - && verifier.VerifyField(tablePos, 6 /*BulletType_*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*ArmorType_*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*BulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*DamageRate*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*DamageAttribute_*/, 4 /*SCHALE.Common.FlatData.DamageAttribute*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*DamageAttribute*/, 4 /*SCHALE.Common.FlatData.DamageAttribute*/, 4, false) && verifier.VerifyField(tablePos, 14 /*MinDamageRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*MaxDamageRate*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*ShowHighlightFloater*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/CampaignStageExcel.cs b/SCHALE.Common/FlatData/CampaignStageExcel.cs index df6e1e3..ab8bc42 100644 --- a/SCHALE.Common/FlatData/CampaignStageExcel.cs +++ b/SCHALE.Common/FlatData/CampaignStageExcel.cs @@ -76,7 +76,7 @@ public struct CampaignStageExcel : IFlatbufferObject public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array(34); } public long CampaignStageRewardId { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int MaxTurn { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string BgmId { get { int o = __p.__offset(44); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -85,10 +85,10 @@ public struct CampaignStageExcel : IFlatbufferObject public ArraySegment? GetBgmIdBytes() { return __p.__vector_as_arraysegment(44); } #endif public byte[] GetBgmIdArray() { return __p.__vector_as_array(44); } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } public long GroundId { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int StrategySkipGroundId { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long BGMId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string FirstClearReportEventName { get { int o = __p.__offset(56); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -99,7 +99,7 @@ public struct CampaignStageExcel : IFlatbufferObject public byte[] GetFirstClearReportEventNameArray() { return __p.__vector_as_array(56); } public long TacticRewardExp { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FixedEchelonId { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(62); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(62); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateCampaignStageExcel(FlatBufferBuilder builder, long Id = 0, @@ -120,18 +120,18 @@ public struct CampaignStageExcel : IFlatbufferObject StringOffset StrategyMapBGOffset = default(StringOffset), long CampaignStageRewardId = 0, int MaxTurn = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, StringOffset BgmIdOffset = default(StringOffset), - SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, + SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None, long GroundId = 0, int StrategySkipGroundId = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long BGMId = 0, StringOffset FirstClearReportEventNameOffset = default(StringOffset), long TacticRewardExp = 0, long FixedEchelonId = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(30); CampaignStageExcel.AddFixedEchelonId(builder, FixedEchelonId); CampaignStageExcel.AddTacticRewardExp(builder, TacticRewardExp); @@ -144,14 +144,14 @@ public struct CampaignStageExcel : IFlatbufferObject CampaignStageExcel.AddBattleDuration(builder, BattleDuration); CampaignStageExcel.AddCleardScenarioId(builder, CleardScenarioId); CampaignStageExcel.AddId(builder, Id); - CampaignStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + CampaignStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); CampaignStageExcel.AddFirstClearReportEventName(builder, FirstClearReportEventNameOffset); - CampaignStageExcel.AddContentType_(builder, ContentType_); + CampaignStageExcel.AddContentType(builder, ContentType); CampaignStageExcel.AddStrategySkipGroundId(builder, StrategySkipGroundId); - CampaignStageExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); + CampaignStageExcel.AddStrategyEnvironment(builder, StrategyEnvironment); CampaignStageExcel.AddBgmId(builder, BgmIdOffset); CampaignStageExcel.AddRecommandLevel(builder, RecommandLevel); - CampaignStageExcel.AddStageTopography_(builder, StageTopography_); + CampaignStageExcel.AddStageTopography(builder, StageTopography); CampaignStageExcel.AddMaxTurn(builder, MaxTurn); CampaignStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); CampaignStageExcel.AddStrategyMap(builder, StrategyMapOffset); @@ -195,18 +195,18 @@ public struct CampaignStageExcel : IFlatbufferObject public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(15, strategyMapBGOffset.Value, 0); } public static void AddCampaignStageRewardId(FlatBufferBuilder builder, long campaignStageRewardId) { builder.AddLong(16, campaignStageRewardId, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(17, maxTurn, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(18, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(18, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(19, recommandLevel, 0); } public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(20, bgmIdOffset.Value, 0); } - public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(21, (int)strategyEnvironment_, 0); } + public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(21, (int)strategyEnvironment, 0); } public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(22, groundId, 0); } public static void AddStrategySkipGroundId(FlatBufferBuilder builder, int strategySkipGroundId) { builder.AddInt(23, strategySkipGroundId, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(24, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(24, (int)contentType, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(25, bGMId, 0); } public static void AddFirstClearReportEventName(FlatBufferBuilder builder, StringOffset firstClearReportEventNameOffset) { builder.AddOffset(26, firstClearReportEventNameOffset.Value, 0); } public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(27, tacticRewardExp, 0); } public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(28, fixedEchelonId, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(29, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(29, (int)echelonExtensionType, 0); } public static Offset EndCampaignStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -238,18 +238,18 @@ public struct CampaignStageExcel : IFlatbufferObject _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.CampaignStageRewardId = TableEncryptionService.Convert(this.CampaignStageRewardId, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.BgmId = TableEncryptionService.Convert(this.BgmId, key); - _o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); + _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key); _o.GroundId = TableEncryptionService.Convert(this.GroundId, key); _o.StrategySkipGroundId = TableEncryptionService.Convert(this.StrategySkipGroundId, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.FirstClearReportEventName = TableEncryptionService.Convert(this.FirstClearReportEventName, key); _o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, CampaignStageExcelT _o) { if (_o == null) return default(Offset); @@ -289,18 +289,18 @@ public struct CampaignStageExcel : IFlatbufferObject _StrategyMapBG, _o.CampaignStageRewardId, _o.MaxTurn, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _BgmId, - _o.StrategyEnvironment_, + _o.StrategyEnvironment, _o.GroundId, _o.StrategySkipGroundId, - _o.ContentType_, + _o.ContentType, _o.BGMId, _FirstClearReportEventName, _o.TacticRewardExp, _o.FixedEchelonId, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -324,18 +324,18 @@ public class CampaignStageExcelT public string StrategyMapBG { get; set; } public long CampaignStageRewardId { get; set; } public int MaxTurn { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public string BgmId { get; set; } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; } public long GroundId { get; set; } public int StrategySkipGroundId { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long BGMId { get; set; } public string FirstClearReportEventName { get; set; } public long TacticRewardExp { get; set; } public long FixedEchelonId { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public CampaignStageExcelT() { this.Id = 0; @@ -356,18 +356,18 @@ public class CampaignStageExcelT this.StrategyMapBG = null; this.CampaignStageRewardId = 0; this.MaxTurn = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.BgmId = null; - this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; + this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None; this.GroundId = 0; this.StrategySkipGroundId = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.BGMId = 0; this.FirstClearReportEventName = null; this.TacticRewardExp = 0; this.FixedEchelonId = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -395,18 +395,18 @@ static public class CampaignStageExcelVerify && verifier.VerifyString(tablePos, 34 /*StrategyMapBG*/, false) && verifier.VerifyField(tablePos, 36 /*CampaignStageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 38 /*MaxTurn*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 40 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 40 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 42 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 44 /*BgmId*/, false) - && verifier.VerifyField(tablePos, 46 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 46 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 48 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 50 /*StrategySkipGroundId*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 52 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 52 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 54 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 56 /*FirstClearReportEventName*/, false) && verifier.VerifyField(tablePos, 58 /*TacticRewardExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 60 /*FixedEchelonId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 62 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 62 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/CampaignStageRewardExcel.cs b/SCHALE.Common/FlatData/CampaignStageRewardExcel.cs index cb5136c..3610b22 100644 --- a/SCHALE.Common/FlatData/CampaignStageRewardExcel.cs +++ b/SCHALE.Common/FlatData/CampaignStageRewardExcel.cs @@ -21,7 +21,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject public CampaignStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int StageRewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long StageRewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject public static Offset CreateCampaignStageRewardExcel(FlatBufferBuilder builder, long GroupId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int StageRewardProb = 0, SCHALE.Common.FlatData.ParcelType StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long StageRewardId = 0, @@ -42,14 +42,14 @@ public struct CampaignStageRewardExcel : IFlatbufferObject CampaignStageRewardExcel.AddStageRewardAmount(builder, StageRewardAmount); CampaignStageRewardExcel.AddStageRewardParcelType(builder, StageRewardParcelType); CampaignStageRewardExcel.AddStageRewardProb(builder, StageRewardProb); - CampaignStageRewardExcel.AddRewardTag_(builder, RewardTag_); + CampaignStageRewardExcel.AddRewardTag(builder, RewardTag); CampaignStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); return CampaignStageRewardExcel.EndCampaignStageRewardExcel(builder); } public static void StartCampaignStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddStageRewardProb(FlatBufferBuilder builder, int stageRewardProb) { builder.AddInt(2, stageRewardProb, 0); } public static void AddStageRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageRewardParcelType) { builder.AddInt(3, (int)stageRewardParcelType, 0); } public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(4, stageRewardId, 0); } @@ -67,7 +67,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject public void UnPackTo(CampaignStageRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CampaignStageReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.StageRewardProb = TableEncryptionService.Convert(this.StageRewardProb, key); _o.StageRewardParcelType = TableEncryptionService.Convert(this.StageRewardParcelType, key); _o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key); @@ -79,7 +79,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject return CreateCampaignStageRewardExcel( builder, _o.GroupId, - _o.RewardTag_, + _o.RewardTag, _o.StageRewardProb, _o.StageRewardParcelType, _o.StageRewardId, @@ -91,7 +91,7 @@ public struct CampaignStageRewardExcel : IFlatbufferObject public class CampaignStageRewardExcelT { public long GroupId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int StageRewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType StageRewardParcelType { get; set; } public long StageRewardId { get; set; } @@ -100,7 +100,7 @@ public class CampaignStageRewardExcelT public CampaignStageRewardExcelT() { this.GroupId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.StageRewardProb = 0; this.StageRewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.StageRewardId = 0; @@ -116,7 +116,7 @@ static public class CampaignStageRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*StageRewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StageRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageRewardId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CampaignStrategyObjectExcel.cs b/SCHALE.Common/FlatData/CampaignStrategyObjectExcel.cs index 75a7e6a..736c95e 100644 --- a/SCHALE.Common/FlatData/CampaignStrategyObjectExcel.cs +++ b/SCHALE.Common/FlatData/CampaignStrategyObjectExcel.cs @@ -36,7 +36,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject public ArraySegment? GetPrefabNameBytes() { return __p.__vector_as_arraysegment(10); } #endif public byte[] GetPrefabNameArray() { return __p.__vector_as_array(10); } - public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StrategyObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyObjectType.None; } } + public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StrategyObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyObjectType.None; } } public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long StrategyRewardID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string StrategyRewardName { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -59,7 +59,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject uint Key = 0, StringOffset NameOffset = default(StringOffset), StringOffset PrefabNameOffset = default(StringOffset), - SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ = SCHALE.Common.FlatData.StrategyObjectType.None, + SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType = SCHALE.Common.FlatData.StrategyObjectType.None, SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long StrategyRewardID = 0, StringOffset StrategyRewardNameOffset = default(StringOffset), @@ -81,7 +81,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject CampaignStrategyObjectExcel.AddStrategyRewardAmount(builder, StrategyRewardAmount); CampaignStrategyObjectExcel.AddStrategyRewardName(builder, StrategyRewardNameOffset); CampaignStrategyObjectExcel.AddStrategyRewardParcelType(builder, StrategyRewardParcelType); - CampaignStrategyObjectExcel.AddStrategyObjectType_(builder, StrategyObjectType_); + CampaignStrategyObjectExcel.AddStrategyObjectType(builder, StrategyObjectType); CampaignStrategyObjectExcel.AddPrefabName(builder, PrefabNameOffset); CampaignStrategyObjectExcel.AddName(builder, NameOffset); CampaignStrategyObjectExcel.AddKey(builder, Key); @@ -94,7 +94,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(1, key, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); } public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(3, prefabNameOffset.Value, 0); } - public static void AddStrategyObjectType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyObjectType strategyObjectType_) { builder.AddInt(4, (int)strategyObjectType_, 0); } + public static void AddStrategyObjectType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyObjectType strategyObjectType) { builder.AddInt(4, (int)strategyObjectType, 0); } public static void AddStrategyRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType strategyRewardParcelType) { builder.AddInt(5, (int)strategyRewardParcelType, 0); } public static void AddStrategyRewardID(FlatBufferBuilder builder, long strategyRewardID) { builder.AddLong(6, strategyRewardID, 0); } public static void AddStrategyRewardName(FlatBufferBuilder builder, StringOffset strategyRewardNameOffset) { builder.AddOffset(7, strategyRewardNameOffset.Value, 0); } @@ -120,7 +120,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject _o.Key = TableEncryptionService.Convert(this.Key, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key); - _o.StrategyObjectType_ = TableEncryptionService.Convert(this.StrategyObjectType_, key); + _o.StrategyObjectType = TableEncryptionService.Convert(this.StrategyObjectType, key); _o.StrategyRewardParcelType = TableEncryptionService.Convert(this.StrategyRewardParcelType, key); _o.StrategyRewardID = TableEncryptionService.Convert(this.StrategyRewardID, key); _o.StrategyRewardName = TableEncryptionService.Convert(this.StrategyRewardName, key); @@ -143,7 +143,7 @@ public struct CampaignStrategyObjectExcel : IFlatbufferObject _o.Key, _Name, _PrefabName, - _o.StrategyObjectType_, + _o.StrategyObjectType, _o.StrategyRewardParcelType, _o.StrategyRewardID, _StrategyRewardName, @@ -163,7 +163,7 @@ public class CampaignStrategyObjectExcelT public uint Key { get; set; } public string Name { get; set; } public string PrefabName { get; set; } - public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType_ { get; set; } + public SCHALE.Common.FlatData.StrategyObjectType StrategyObjectType { get; set; } public SCHALE.Common.FlatData.ParcelType StrategyRewardParcelType { get; set; } public long StrategyRewardID { get; set; } public string StrategyRewardName { get; set; } @@ -180,7 +180,7 @@ public class CampaignStrategyObjectExcelT this.Key = 0; this.Name = null; this.PrefabName = null; - this.StrategyObjectType_ = SCHALE.Common.FlatData.StrategyObjectType.None; + this.StrategyObjectType = SCHALE.Common.FlatData.StrategyObjectType.None; this.StrategyRewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.StrategyRewardID = 0; this.StrategyRewardName = null; @@ -204,7 +204,7 @@ static public class CampaignStrategyObjectExcelVerify && verifier.VerifyField(tablePos, 6 /*Key*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 8 /*Name*/, false) && verifier.VerifyString(tablePos, 10 /*PrefabName*/, false) - && verifier.VerifyField(tablePos, 12 /*StrategyObjectType_*/, 4 /*SCHALE.Common.FlatData.StrategyObjectType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*StrategyObjectType*/, 4 /*SCHALE.Common.FlatData.StrategyObjectType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*StrategyRewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*StrategyRewardID*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 18 /*StrategyRewardName*/, false) diff --git a/SCHALE.Common/FlatData/CharacterAIExcel.cs b/SCHALE.Common/FlatData/CharacterAIExcel.cs index f5c7978..a04a56c 100644 --- a/SCHALE.Common/FlatData/CharacterAIExcel.cs +++ b/SCHALE.Common/FlatData/CharacterAIExcel.cs @@ -21,7 +21,7 @@ public struct CharacterAIExcel : IFlatbufferObject public CharacterAIExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EngageType EngageType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EngageType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EngageType.SearchAndMove; } } + public SCHALE.Common.FlatData.EngageType EngageType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EngageType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EngageType.SearchAndMove; } } public SCHALE.Common.FlatData.PositioningType Positioning { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PositioningType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PositioningType.CloseToObstacle; } } public bool CheckCanUseAutoSkill { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long DistanceReduceRatioObstaclePath { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -35,7 +35,7 @@ public struct CharacterAIExcel : IFlatbufferObject public static Offset CreateCharacterAIExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.EngageType EngageType_ = SCHALE.Common.FlatData.EngageType.SearchAndMove, + SCHALE.Common.FlatData.EngageType EngageType = SCHALE.Common.FlatData.EngageType.SearchAndMove, SCHALE.Common.FlatData.PositioningType Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle, bool CheckCanUseAutoSkill = false, long DistanceReduceRatioObstaclePath = 0, @@ -54,7 +54,7 @@ public struct CharacterAIExcel : IFlatbufferObject CharacterAIExcel.AddDistanceReduceRatioObstaclePath(builder, DistanceReduceRatioObstaclePath); CharacterAIExcel.AddId(builder, Id); CharacterAIExcel.AddPositioning(builder, Positioning); - CharacterAIExcel.AddEngageType_(builder, EngageType_); + CharacterAIExcel.AddEngageType(builder, EngageType); CharacterAIExcel.AddHasTargetSwitchingMotion(builder, HasTargetSwitchingMotion); CharacterAIExcel.AddCanUseObstacleOfStandMotion(builder, CanUseObstacleOfStandMotion); CharacterAIExcel.AddCanUseObstacleOfKneelMotion(builder, CanUseObstacleOfKneelMotion); @@ -64,7 +64,7 @@ public struct CharacterAIExcel : IFlatbufferObject public static void StartCharacterAIExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddEngageType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EngageType engageType_) { builder.AddInt(1, (int)engageType_, 0); } + public static void AddEngageType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EngageType engageType) { builder.AddInt(1, (int)engageType, 0); } public static void AddPositioning(FlatBufferBuilder builder, SCHALE.Common.FlatData.PositioningType positioning) { builder.AddInt(2, (int)positioning, 0); } public static void AddCheckCanUseAutoSkill(FlatBufferBuilder builder, bool checkCanUseAutoSkill) { builder.AddBool(3, checkCanUseAutoSkill, false); } public static void AddDistanceReduceRatioObstaclePath(FlatBufferBuilder builder, long distanceReduceRatioObstaclePath) { builder.AddLong(4, distanceReduceRatioObstaclePath, 0); } @@ -87,7 +87,7 @@ public struct CharacterAIExcel : IFlatbufferObject public void UnPackTo(CharacterAIExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CharacterAI"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.EngageType_ = TableEncryptionService.Convert(this.EngageType_, key); + _o.EngageType = TableEncryptionService.Convert(this.EngageType, key); _o.Positioning = TableEncryptionService.Convert(this.Positioning, key); _o.CheckCanUseAutoSkill = TableEncryptionService.Convert(this.CheckCanUseAutoSkill, key); _o.DistanceReduceRatioObstaclePath = TableEncryptionService.Convert(this.DistanceReduceRatioObstaclePath, key); @@ -104,7 +104,7 @@ public struct CharacterAIExcel : IFlatbufferObject return CreateCharacterAIExcel( builder, _o.Id, - _o.EngageType_, + _o.EngageType, _o.Positioning, _o.CheckCanUseAutoSkill, _o.DistanceReduceRatioObstaclePath, @@ -121,7 +121,7 @@ public struct CharacterAIExcel : IFlatbufferObject public class CharacterAIExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.EngageType EngageType_ { get; set; } + public SCHALE.Common.FlatData.EngageType EngageType { get; set; } public SCHALE.Common.FlatData.PositioningType Positioning { get; set; } public bool CheckCanUseAutoSkill { get; set; } public long DistanceReduceRatioObstaclePath { get; set; } @@ -135,7 +135,7 @@ public class CharacterAIExcelT public CharacterAIExcelT() { this.Id = 0; - this.EngageType_ = SCHALE.Common.FlatData.EngageType.SearchAndMove; + this.EngageType = SCHALE.Common.FlatData.EngageType.SearchAndMove; this.Positioning = SCHALE.Common.FlatData.PositioningType.CloseToObstacle; this.CheckCanUseAutoSkill = false; this.DistanceReduceRatioObstaclePath = 0; @@ -156,7 +156,7 @@ static public class CharacterAIExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EngageType_*/, 4 /*SCHALE.Common.FlatData.EngageType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EngageType*/, 4 /*SCHALE.Common.FlatData.EngageType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Positioning*/, 4 /*SCHALE.Common.FlatData.PositioningType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*CheckCanUseAutoSkill*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*DistanceReduceRatioObstaclePath*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CharacterCalculationLimitExcel.cs b/SCHALE.Common/FlatData/CharacterCalculationLimitExcel.cs index 85152d1..24db18d 100644 --- a/SCHALE.Common/FlatData/CharacterCalculationLimitExcel.cs +++ b/SCHALE.Common/FlatData/CharacterCalculationLimitExcel.cs @@ -21,32 +21,64 @@ public struct CharacterCalculationLimitExcel : IFlatbufferObject public CharacterCalculationLimitExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.BattleCalculationStat)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage; } } public long MinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitStartValue(int j) { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int LimitStartValueLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetLimitStartValueBytes() { return __p.__vector_as_span(14, 8); } +#else + public ArraySegment? GetLimitStartValueBytes() { return __p.__vector_as_arraysegment(14); } +#endif + public long[] GetLimitStartValueArray() { return __p.__vector_as_array(14); } + public long DecreaseRate(int j) { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int DecreaseRateLength { get { int o = __p.__offset(16); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetDecreaseRateBytes() { return __p.__vector_as_span(16, 8); } +#else + public ArraySegment? GetDecreaseRateBytes() { return __p.__vector_as_arraysegment(16); } +#endif + public long[] GetDecreaseRateArray() { return __p.__vector_as_array(16); } public static Offset CreateCharacterCalculationLimitExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, + SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None, SCHALE.Common.FlatData.BattleCalculationStat CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage, long MinValue = 0, - long MaxValue = 0) { - builder.StartTable(5); + long MaxValue = 0, + VectorOffset LimitStartValueOffset = default(VectorOffset), + VectorOffset DecreaseRateOffset = default(VectorOffset)) { + builder.StartTable(7); CharacterCalculationLimitExcel.AddMaxValue(builder, MaxValue); CharacterCalculationLimitExcel.AddMinValue(builder, MinValue); CharacterCalculationLimitExcel.AddId(builder, Id); + CharacterCalculationLimitExcel.AddDecreaseRate(builder, DecreaseRateOffset); + CharacterCalculationLimitExcel.AddLimitStartValue(builder, LimitStartValueOffset); CharacterCalculationLimitExcel.AddCalculationValue(builder, CalculationValue); - CharacterCalculationLimitExcel.AddTacticEntityType_(builder, TacticEntityType_); + CharacterCalculationLimitExcel.AddTacticEntityType(builder, TacticEntityType); return CharacterCalculationLimitExcel.EndCharacterCalculationLimitExcel(builder); } - public static void StartCharacterCalculationLimitExcel(FlatBufferBuilder builder) { builder.StartTable(5); } + public static void StartCharacterCalculationLimitExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } + public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); } public static void AddCalculationValue(FlatBufferBuilder builder, SCHALE.Common.FlatData.BattleCalculationStat calculationValue) { builder.AddInt(2, (int)calculationValue, 0); } public static void AddMinValue(FlatBufferBuilder builder, long minValue) { builder.AddLong(3, minValue, 0); } public static void AddMaxValue(FlatBufferBuilder builder, long maxValue) { builder.AddLong(4, maxValue, 0); } + public static void AddLimitStartValue(FlatBufferBuilder builder, VectorOffset limitStartValueOffset) { builder.AddOffset(5, limitStartValueOffset.Value, 0); } + public static VectorOffset CreateLimitStartValueVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } + public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateLimitStartValueVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartLimitStartValueVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } + public static void AddDecreaseRate(FlatBufferBuilder builder, VectorOffset decreaseRateOffset) { builder.AddOffset(6, decreaseRateOffset.Value, 0); } + public static VectorOffset CreateDecreaseRateVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } + public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateDecreaseRateVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartDecreaseRateVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static Offset EndCharacterCalculationLimitExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -59,37 +91,57 @@ public struct CharacterCalculationLimitExcel : IFlatbufferObject public void UnPackTo(CharacterCalculationLimitExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CharacterCalculationLimit"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); + _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key); _o.CalculationValue = TableEncryptionService.Convert(this.CalculationValue, key); _o.MinValue = TableEncryptionService.Convert(this.MinValue, key); _o.MaxValue = TableEncryptionService.Convert(this.MaxValue, key); + _o.LimitStartValue = new List(); + for (var _j = 0; _j < this.LimitStartValueLength; ++_j) {_o.LimitStartValue.Add(TableEncryptionService.Convert(this.LimitStartValue(_j), key));} + _o.DecreaseRate = new List(); + for (var _j = 0; _j < this.DecreaseRateLength; ++_j) {_o.DecreaseRate.Add(TableEncryptionService.Convert(this.DecreaseRate(_j), key));} } public static Offset Pack(FlatBufferBuilder builder, CharacterCalculationLimitExcelT _o) { if (_o == null) return default(Offset); + var _LimitStartValue = default(VectorOffset); + if (_o.LimitStartValue != null) { + var __LimitStartValue = _o.LimitStartValue.ToArray(); + _LimitStartValue = CreateLimitStartValueVector(builder, __LimitStartValue); + } + var _DecreaseRate = default(VectorOffset); + if (_o.DecreaseRate != null) { + var __DecreaseRate = _o.DecreaseRate.ToArray(); + _DecreaseRate = CreateDecreaseRateVector(builder, __DecreaseRate); + } return CreateCharacterCalculationLimitExcel( builder, _o.Id, - _o.TacticEntityType_, + _o.TacticEntityType, _o.CalculationValue, _o.MinValue, - _o.MaxValue); + _o.MaxValue, + _LimitStartValue, + _DecreaseRate); } } public class CharacterCalculationLimitExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; } public SCHALE.Common.FlatData.BattleCalculationStat CalculationValue { get; set; } public long MinValue { get; set; } public long MaxValue { get; set; } + public List LimitStartValue { get; set; } + public List DecreaseRate { get; set; } public CharacterCalculationLimitExcelT() { this.Id = 0; - this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; + this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None; this.CalculationValue = SCHALE.Common.FlatData.BattleCalculationStat.FinalDamage; this.MinValue = 0; this.MaxValue = 0; + this.LimitStartValue = null; + this.DecreaseRate = null; } } @@ -100,10 +152,12 @@ static public class CharacterCalculationLimitExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*CalculationValue*/, 4 /*SCHALE.Common.FlatData.BattleCalculationStat*/, 4, false) && verifier.VerifyField(tablePos, 10 /*MinValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*MaxValue*/, 8 /*long*/, 8, false) + && verifier.VerifyVectorOfData(tablePos, 14 /*LimitStartValue*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 16 /*DecreaseRate*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs b/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs index 6850b97..1ccd8a1 100644 --- a/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs +++ b/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs @@ -24,13 +24,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject public long OriginalCharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } - public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } - public SCHALE.Common.FlatData.DialogCondition DialogCondition_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.DialogCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCondition.Idle; } } - public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.DialogConditionDetail)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogConditionDetail.None; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.DialogCategory DialogCategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DialogCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCategory.Cafe; } } + public SCHALE.Common.FlatData.DialogCondition DialogCondition { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.DialogCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogCondition.Idle; } } + public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.DialogConditionDetail)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogConditionDetail.None; } } public long DialogConditionDetailValue { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroupId { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.DialogType DialogType_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.DialogType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogType.Talk; } } + public SCHALE.Common.FlatData.DialogType DialogType { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.DialogType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DialogType.Talk; } } public string ActionName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetActionNameBytes() { return __p.__vector_as_span(26, 1); } @@ -69,7 +69,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject #endif public uint[] GetVoiceIdArray() { return __p.__vector_as_array(36); } public bool CollectionVisible { get { int o = __p.__offset(38); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public long UnlockEventSeason { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioGroupId { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string LocalizeCVGroup { get { int o = __p.__offset(46); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -85,13 +85,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject long OriginalCharacterId = 0, long DisplayOrder = 0, long EventID = 0, - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, - SCHALE.Common.FlatData.DialogCategory DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe, - SCHALE.Common.FlatData.DialogCondition DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle, - SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe, + SCHALE.Common.FlatData.DialogCondition DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle, + SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail = SCHALE.Common.FlatData.DialogConditionDetail.None, long DialogConditionDetailValue = 0, long GroupId = 0, - SCHALE.Common.FlatData.DialogType DialogType_ = SCHALE.Common.FlatData.DialogType.Talk, + SCHALE.Common.FlatData.DialogType DialogType = SCHALE.Common.FlatData.DialogType.Talk, StringOffset ActionNameOffset = default(StringOffset), long Duration = 0, StringOffset AnimationNameOffset = default(StringOffset), @@ -99,7 +99,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject StringOffset LocalizeJPOffset = default(StringOffset), VectorOffset VoiceIdOffset = default(VectorOffset), bool CollectionVisible = false, - SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal, + SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal, long UnlockEventSeason = 0, long ScenarioGroupId = 0, StringOffset LocalizeCVGroupOffset = default(StringOffset)) { @@ -114,17 +114,17 @@ public struct CharacterDialogEventExcel : IFlatbufferObject CharacterDialogEventExcel.AddOriginalCharacterId(builder, OriginalCharacterId); CharacterDialogEventExcel.AddCostumeUniqueId(builder, CostumeUniqueId); CharacterDialogEventExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); - CharacterDialogEventExcel.AddCVCollectionType_(builder, CVCollectionType_); + CharacterDialogEventExcel.AddCVCollectionType(builder, CVCollectionType); CharacterDialogEventExcel.AddVoiceId(builder, VoiceIdOffset); CharacterDialogEventExcel.AddLocalizeJP(builder, LocalizeJPOffset); CharacterDialogEventExcel.AddLocalizeKR(builder, LocalizeKROffset); CharacterDialogEventExcel.AddAnimationName(builder, AnimationNameOffset); CharacterDialogEventExcel.AddActionName(builder, ActionNameOffset); - CharacterDialogEventExcel.AddDialogType_(builder, DialogType_); - CharacterDialogEventExcel.AddDialogConditionDetail_(builder, DialogConditionDetail_); - CharacterDialogEventExcel.AddDialogCondition_(builder, DialogCondition_); - CharacterDialogEventExcel.AddDialogCategory_(builder, DialogCategory_); - CharacterDialogEventExcel.AddProductionStep_(builder, ProductionStep_); + CharacterDialogEventExcel.AddDialogType(builder, DialogType); + CharacterDialogEventExcel.AddDialogConditionDetail(builder, DialogConditionDetail); + CharacterDialogEventExcel.AddDialogCondition(builder, DialogCondition); + CharacterDialogEventExcel.AddDialogCategory(builder, DialogCategory); + CharacterDialogEventExcel.AddProductionStep(builder, ProductionStep); CharacterDialogEventExcel.AddCollectionVisible(builder, CollectionVisible); return CharacterDialogEventExcel.EndCharacterDialogEventExcel(builder); } @@ -134,13 +134,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject public static void AddOriginalCharacterId(FlatBufferBuilder builder, long originalCharacterId) { builder.AddLong(1, originalCharacterId, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(2, displayOrder, 0); } public static void AddEventID(FlatBufferBuilder builder, long eventID) { builder.AddLong(3, eventID, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(4, (int)productionStep_, 0); } - public static void AddDialogCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory_) { builder.AddInt(5, (int)dialogCategory_, 0); } - public static void AddDialogCondition_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCondition dialogCondition_) { builder.AddInt(6, (int)dialogCondition_, 0); } - public static void AddDialogConditionDetail_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogConditionDetail dialogConditionDetail_) { builder.AddInt(7, (int)dialogConditionDetail_, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(4, (int)productionStep, 0); } + public static void AddDialogCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCategory dialogCategory) { builder.AddInt(5, (int)dialogCategory, 0); } + public static void AddDialogCondition(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogCondition dialogCondition) { builder.AddInt(6, (int)dialogCondition, 0); } + public static void AddDialogConditionDetail(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogConditionDetail dialogConditionDetail) { builder.AddInt(7, (int)dialogConditionDetail, 0); } public static void AddDialogConditionDetailValue(FlatBufferBuilder builder, long dialogConditionDetailValue) { builder.AddLong(8, dialogConditionDetailValue, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(9, groupId, 0); } - public static void AddDialogType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogType dialogType_) { builder.AddInt(10, (int)dialogType_, 0); } + public static void AddDialogType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DialogType dialogType) { builder.AddInt(10, (int)dialogType, 0); } public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); } public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); } public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); } @@ -153,7 +153,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartVoiceIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(17, collectionVisible, false); } - public static void AddCVCollectionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType_) { builder.AddInt(18, (int)cVCollectionType_, 0); } + public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(18, (int)cVCollectionType, 0); } public static void AddUnlockEventSeason(FlatBufferBuilder builder, long unlockEventSeason) { builder.AddLong(19, unlockEventSeason, 0); } public static void AddScenarioGroupId(FlatBufferBuilder builder, long scenarioGroupId) { builder.AddLong(20, scenarioGroupId, 0); } public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(21, localizeCVGroupOffset.Value, 0); } @@ -172,13 +172,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject _o.OriginalCharacterId = TableEncryptionService.Convert(this.OriginalCharacterId, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.EventID = TableEncryptionService.Convert(this.EventID, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); - _o.DialogCategory_ = TableEncryptionService.Convert(this.DialogCategory_, key); - _o.DialogCondition_ = TableEncryptionService.Convert(this.DialogCondition_, key); - _o.DialogConditionDetail_ = TableEncryptionService.Convert(this.DialogConditionDetail_, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); + _o.DialogCategory = TableEncryptionService.Convert(this.DialogCategory, key); + _o.DialogCondition = TableEncryptionService.Convert(this.DialogCondition, key); + _o.DialogConditionDetail = TableEncryptionService.Convert(this.DialogConditionDetail, key); _o.DialogConditionDetailValue = TableEncryptionService.Convert(this.DialogConditionDetailValue, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.DialogType_ = TableEncryptionService.Convert(this.DialogType_, key); + _o.DialogType = TableEncryptionService.Convert(this.DialogType, key); _o.ActionName = TableEncryptionService.Convert(this.ActionName, key); _o.Duration = TableEncryptionService.Convert(this.Duration, key); _o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key); @@ -187,7 +187,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject _o.VoiceId = new List(); for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));} _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); - _o.CVCollectionType_ = TableEncryptionService.Convert(this.CVCollectionType_, key); + _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key); _o.UnlockEventSeason = TableEncryptionService.Convert(this.UnlockEventSeason, key); _o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); @@ -210,13 +210,13 @@ public struct CharacterDialogEventExcel : IFlatbufferObject _o.OriginalCharacterId, _o.DisplayOrder, _o.EventID, - _o.ProductionStep_, - _o.DialogCategory_, - _o.DialogCondition_, - _o.DialogConditionDetail_, + _o.ProductionStep, + _o.DialogCategory, + _o.DialogCondition, + _o.DialogConditionDetail, _o.DialogConditionDetailValue, _o.GroupId, - _o.DialogType_, + _o.DialogType, _ActionName, _o.Duration, _AnimationName, @@ -224,7 +224,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject _LocalizeJP, _VoiceId, _o.CollectionVisible, - _o.CVCollectionType_, + _o.CVCollectionType, _o.UnlockEventSeason, _o.ScenarioGroupId, _LocalizeCVGroup); @@ -237,13 +237,13 @@ public class CharacterDialogEventExcelT public long OriginalCharacterId { get; set; } public long DisplayOrder { get; set; } public long EventID { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } - public SCHALE.Common.FlatData.DialogCategory DialogCategory_ { get; set; } - public SCHALE.Common.FlatData.DialogCondition DialogCondition_ { get; set; } - public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail_ { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } + public SCHALE.Common.FlatData.DialogCategory DialogCategory { get; set; } + public SCHALE.Common.FlatData.DialogCondition DialogCondition { get; set; } + public SCHALE.Common.FlatData.DialogConditionDetail DialogConditionDetail { get; set; } public long DialogConditionDetailValue { get; set; } public long GroupId { get; set; } - public SCHALE.Common.FlatData.DialogType DialogType_ { get; set; } + public SCHALE.Common.FlatData.DialogType DialogType { get; set; } public string ActionName { get; set; } public long Duration { get; set; } public string AnimationName { get; set; } @@ -251,7 +251,7 @@ public class CharacterDialogEventExcelT public string LocalizeJP { get; set; } public List VoiceId { get; set; } public bool CollectionVisible { get; set; } - public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get; set; } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; } public long UnlockEventSeason { get; set; } public long ScenarioGroupId { get; set; } public string LocalizeCVGroup { get; set; } @@ -261,13 +261,13 @@ public class CharacterDialogEventExcelT this.OriginalCharacterId = 0; this.DisplayOrder = 0; this.EventID = 0; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; - this.DialogCategory_ = SCHALE.Common.FlatData.DialogCategory.Cafe; - this.DialogCondition_ = SCHALE.Common.FlatData.DialogCondition.Idle; - this.DialogConditionDetail_ = SCHALE.Common.FlatData.DialogConditionDetail.None; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe; + this.DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle; + this.DialogConditionDetail = SCHALE.Common.FlatData.DialogConditionDetail.None; this.DialogConditionDetailValue = 0; this.GroupId = 0; - this.DialogType_ = SCHALE.Common.FlatData.DialogType.Talk; + this.DialogType = SCHALE.Common.FlatData.DialogType.Talk; this.ActionName = null; this.Duration = 0; this.AnimationName = null; @@ -275,7 +275,7 @@ public class CharacterDialogEventExcelT this.LocalizeJP = null; this.VoiceId = null; this.CollectionVisible = false; - this.CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal; + this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.UnlockEventSeason = 0; this.ScenarioGroupId = 0; this.LocalizeCVGroup = null; @@ -292,13 +292,13 @@ static public class CharacterDialogEventExcelVerify && verifier.VerifyField(tablePos, 6 /*OriginalCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*EventID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*DialogCategory_*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) - && verifier.VerifyField(tablePos, 16 /*DialogCondition_*/, 4 /*SCHALE.Common.FlatData.DialogCondition*/, 4, false) - && verifier.VerifyField(tablePos, 18 /*DialogConditionDetail_*/, 4 /*SCHALE.Common.FlatData.DialogConditionDetail*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*DialogCategory*/, 4 /*SCHALE.Common.FlatData.DialogCategory*/, 4, false) + && verifier.VerifyField(tablePos, 16 /*DialogCondition*/, 4 /*SCHALE.Common.FlatData.DialogCondition*/, 4, false) + && verifier.VerifyField(tablePos, 18 /*DialogConditionDetail*/, 4 /*SCHALE.Common.FlatData.DialogConditionDetail*/, 4, false) && verifier.VerifyField(tablePos, 20 /*DialogConditionDetailValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 24 /*DialogType_*/, 4 /*SCHALE.Common.FlatData.DialogType*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*DialogType*/, 4 /*SCHALE.Common.FlatData.DialogType*/, 4, false) && verifier.VerifyString(tablePos, 26 /*ActionName*/, false) && verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 30 /*AnimationName*/, false) @@ -306,7 +306,7 @@ static public class CharacterDialogEventExcelVerify && verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false) && verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false) && verifier.VerifyField(tablePos, 38 /*CollectionVisible*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 40 /*CVCollectionType_*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) + && verifier.VerifyField(tablePos, 40 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 42 /*UnlockEventSeason*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 44 /*ScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 46 /*LocalizeCVGroup*/, false) diff --git a/SCHALE.Common/FlatData/CharacterDialogExcel.cs b/SCHALE.Common/FlatData/CharacterDialogExcel.cs index 2fab15d..fc21cd0 100644 --- a/SCHALE.Common/FlatData/CharacterDialogExcel.cs +++ b/SCHALE.Common/FlatData/CharacterDialogExcel.cs @@ -58,20 +58,20 @@ public struct CharacterDialogExcel : IFlatbufferObject public ArraySegment? GetAnimationNameBytes() { return __p.__vector_as_arraysegment(30); } #endif public byte[] GetAnimationNameArray() { return __p.__vector_as_array(30); } - public string LocalizeKr { get { int o = __p.__offset(32); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public string LocalizeKR { get { int o = __p.__offset(32); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetLocalizeKrBytes() { return __p.__vector_as_span(32, 1); } + public Span GetLocalizeKRBytes() { return __p.__vector_as_span(32, 1); } #else - public ArraySegment? GetLocalizeKrBytes() { return __p.__vector_as_arraysegment(32); } + public ArraySegment? GetLocalizeKRBytes() { return __p.__vector_as_arraysegment(32); } #endif - public byte[] GetLocalizeKrArray() { return __p.__vector_as_array(32); } - public string LocalizeJp { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetLocalizeKRArray() { return __p.__vector_as_array(32); } + public string LocalizeJP { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetLocalizeJpBytes() { return __p.__vector_as_span(34, 1); } + public Span GetLocalizeJPBytes() { return __p.__vector_as_span(34, 1); } #else - public ArraySegment? GetLocalizeJpBytes() { return __p.__vector_as_arraysegment(34); } + public ArraySegment? GetLocalizeJPBytes() { return __p.__vector_as_arraysegment(34); } #endif - public byte[] GetLocalizeJpArray() { return __p.__vector_as_array(34); } + public byte[] GetLocalizeJPArray() { return __p.__vector_as_array(34); } public uint VoiceId(int j) { int o = __p.__offset(36); return o != 0 ? __p.bb.GetUint(__p.__vector(o) + j * 4) : (uint)0; } public int VoiceIdLength { get { int o = __p.__offset(36); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -84,69 +84,69 @@ public struct CharacterDialogExcel : IFlatbufferObject public float PosX { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float PosY { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public bool CollectionVisible { get { int o = __p.__offset(44); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.CVCollectionType CvCollectionType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public long UnlockFavorRank { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool UnlockEquipWeapon { get { int o = __p.__offset(50); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public string LocalizeCvGroup { get { int o = __p.__offset(52); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public string LocalizeCVGroup { get { int o = __p.__offset(52); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetLocalizeCvGroupBytes() { return __p.__vector_as_span(52, 1); } + public Span GetLocalizeCVGroupBytes() { return __p.__vector_as_span(52, 1); } #else - public ArraySegment? GetLocalizeCvGroupBytes() { return __p.__vector_as_arraysegment(52); } + public ArraySegment? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(52); } #endif - public byte[] GetLocalizeCvGroupArray() { return __p.__vector_as_array(52); } + public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array(52); } public static Offset CreateCharacterDialogExcel(FlatBufferBuilder builder, - long character_id = 0, - long costume_unique_id = 0, - long display_order = 0, - SCHALE.Common.FlatData.ProductionStep production_step = SCHALE.Common.FlatData.ProductionStep.ToDo, - SCHALE.Common.FlatData.DialogCategory dialog_category = SCHALE.Common.FlatData.DialogCategory.Cafe, - SCHALE.Common.FlatData.DialogCondition dialog_condition = SCHALE.Common.FlatData.DialogCondition.Idle, - SCHALE.Common.FlatData.Anniversary anniversary = SCHALE.Common.FlatData.Anniversary.None, - StringOffset start_dateOffset = default(StringOffset), - StringOffset end_dateOffset = default(StringOffset), - long group_id = 0, - SCHALE.Common.FlatData.DialogType dialog_type = SCHALE.Common.FlatData.DialogType.Talk, - StringOffset action_nameOffset = default(StringOffset), - long duration = 0, - StringOffset animation_nameOffset = default(StringOffset), - StringOffset localize_krOffset = default(StringOffset), - StringOffset localize_jpOffset = default(StringOffset), - VectorOffset voice_idOffset = default(VectorOffset), - bool apply_position = false, - float pos_x = 0.0f, - float pos_y = 0.0f, - bool collection_visible = false, - SCHALE.Common.FlatData.CVCollectionType cv_collection_type = SCHALE.Common.FlatData.CVCollectionType.CVNormal, - long unlock_favor_rank = 0, - bool unlock_equip_weapon = false, - StringOffset localize_cv_groupOffset = default(StringOffset)) { + long CharacterId = 0, + long CostumeUniqueId = 0, + long DisplayOrder = 0, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.DialogCategory DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe, + SCHALE.Common.FlatData.DialogCondition DialogCondition = SCHALE.Common.FlatData.DialogCondition.Idle, + SCHALE.Common.FlatData.Anniversary Anniversary = SCHALE.Common.FlatData.Anniversary.None, + StringOffset StartDateOffset = default(StringOffset), + StringOffset EndDateOffset = default(StringOffset), + long GroupId = 0, + SCHALE.Common.FlatData.DialogType DialogType = SCHALE.Common.FlatData.DialogType.Talk, + StringOffset ActionNameOffset = default(StringOffset), + long Duration = 0, + StringOffset AnimationNameOffset = default(StringOffset), + StringOffset LocalizeKROffset = default(StringOffset), + StringOffset LocalizeJPOffset = default(StringOffset), + VectorOffset VoiceIdOffset = default(VectorOffset), + bool ApplyPosition = false, + float PosX = 0.0f, + float PosY = 0.0f, + bool CollectionVisible = false, + SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal, + long UnlockFavorRank = 0, + bool UnlockEquipWeapon = false, + StringOffset LocalizeCVGroupOffset = default(StringOffset)) { builder.StartTable(25); - CharacterDialogExcel.AddUnlockFavorRank(builder, unlock_favor_rank); - CharacterDialogExcel.AddDuration(builder, duration); - CharacterDialogExcel.AddGroupId(builder, group_id); - CharacterDialogExcel.AddDisplayOrder(builder, display_order); - CharacterDialogExcel.AddCostumeUniqueId(builder, costume_unique_id); - CharacterDialogExcel.AddCharacterId(builder, character_id); - CharacterDialogExcel.AddLocalizeCvGroup(builder, localize_cv_groupOffset); - CharacterDialogExcel.AddCvCollectionType(builder, cv_collection_type); - CharacterDialogExcel.AddPosY(builder, pos_y); - CharacterDialogExcel.AddPosX(builder, pos_x); - CharacterDialogExcel.AddVoiceId(builder, voice_idOffset); - CharacterDialogExcel.AddLocalizeJp(builder, localize_jpOffset); - CharacterDialogExcel.AddLocalizeKr(builder, localize_krOffset); - CharacterDialogExcel.AddAnimationName(builder, animation_nameOffset); - CharacterDialogExcel.AddActionName(builder, action_nameOffset); - CharacterDialogExcel.AddDialogType(builder, dialog_type); - CharacterDialogExcel.AddEndDate(builder, end_dateOffset); - CharacterDialogExcel.AddStartDate(builder, start_dateOffset); - CharacterDialogExcel.AddAnniversary(builder, anniversary); - CharacterDialogExcel.AddDialogCondition(builder, dialog_condition); - CharacterDialogExcel.AddDialogCategory(builder, dialog_category); - CharacterDialogExcel.AddProductionStep(builder, production_step); - CharacterDialogExcel.AddUnlockEquipWeapon(builder, unlock_equip_weapon); - CharacterDialogExcel.AddCollectionVisible(builder, collection_visible); - CharacterDialogExcel.AddApplyPosition(builder, apply_position); + CharacterDialogExcel.AddUnlockFavorRank(builder, UnlockFavorRank); + CharacterDialogExcel.AddDuration(builder, Duration); + CharacterDialogExcel.AddGroupId(builder, GroupId); + CharacterDialogExcel.AddDisplayOrder(builder, DisplayOrder); + CharacterDialogExcel.AddCostumeUniqueId(builder, CostumeUniqueId); + CharacterDialogExcel.AddCharacterId(builder, CharacterId); + CharacterDialogExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); + CharacterDialogExcel.AddCVCollectionType(builder, CVCollectionType); + CharacterDialogExcel.AddPosY(builder, PosY); + CharacterDialogExcel.AddPosX(builder, PosX); + CharacterDialogExcel.AddVoiceId(builder, VoiceIdOffset); + CharacterDialogExcel.AddLocalizeJP(builder, LocalizeJPOffset); + CharacterDialogExcel.AddLocalizeKR(builder, LocalizeKROffset); + CharacterDialogExcel.AddAnimationName(builder, AnimationNameOffset); + CharacterDialogExcel.AddActionName(builder, ActionNameOffset); + CharacterDialogExcel.AddDialogType(builder, DialogType); + CharacterDialogExcel.AddEndDate(builder, EndDateOffset); + CharacterDialogExcel.AddStartDate(builder, StartDateOffset); + CharacterDialogExcel.AddAnniversary(builder, Anniversary); + CharacterDialogExcel.AddDialogCondition(builder, DialogCondition); + CharacterDialogExcel.AddDialogCategory(builder, DialogCategory); + CharacterDialogExcel.AddProductionStep(builder, ProductionStep); + CharacterDialogExcel.AddUnlockEquipWeapon(builder, UnlockEquipWeapon); + CharacterDialogExcel.AddCollectionVisible(builder, CollectionVisible); + CharacterDialogExcel.AddApplyPosition(builder, ApplyPosition); return CharacterDialogExcel.EndCharacterDialogExcel(builder); } @@ -165,8 +165,8 @@ public struct CharacterDialogExcel : IFlatbufferObject public static void AddActionName(FlatBufferBuilder builder, StringOffset actionNameOffset) { builder.AddOffset(11, actionNameOffset.Value, 0); } public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(12, duration, 0); } public static void AddAnimationName(FlatBufferBuilder builder, StringOffset animationNameOffset) { builder.AddOffset(13, animationNameOffset.Value, 0); } - public static void AddLocalizeKr(FlatBufferBuilder builder, StringOffset localizeKrOffset) { builder.AddOffset(14, localizeKrOffset.Value, 0); } - public static void AddLocalizeJp(FlatBufferBuilder builder, StringOffset localizeJpOffset) { builder.AddOffset(15, localizeJpOffset.Value, 0); } + public static void AddLocalizeKR(FlatBufferBuilder builder, StringOffset localizeKROffset) { builder.AddOffset(14, localizeKROffset.Value, 0); } + public static void AddLocalizeJP(FlatBufferBuilder builder, StringOffset localizeJPOffset) { builder.AddOffset(15, localizeJPOffset.Value, 0); } public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(16, voiceIdOffset.Value, 0); } public static VectorOffset CreateVoiceIdVector(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddUint(data[i]); return builder.EndVector(); } public static VectorOffset CreateVoiceIdVectorBlock(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -177,10 +177,10 @@ public struct CharacterDialogExcel : IFlatbufferObject public static void AddPosX(FlatBufferBuilder builder, float posX) { builder.AddFloat(18, posX, 0.0f); } public static void AddPosY(FlatBufferBuilder builder, float posY) { builder.AddFloat(19, posY, 0.0f); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(20, collectionVisible, false); } - public static void AddCvCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cvCollectionType) { builder.AddInt(21, (int)cvCollectionType, 0); } + public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(21, (int)cVCollectionType, 0); } public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(22, unlockFavorRank, 0); } public static void AddUnlockEquipWeapon(FlatBufferBuilder builder, bool unlockEquipWeapon) { builder.AddBool(23, unlockEquipWeapon, false); } - public static void AddLocalizeCvGroup(FlatBufferBuilder builder, StringOffset localizeCvGroupOffset) { builder.AddOffset(24, localizeCvGroupOffset.Value, 0); } + public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(24, localizeCVGroupOffset.Value, 0); } public static Offset EndCharacterDialogExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -206,33 +206,33 @@ public struct CharacterDialogExcel : IFlatbufferObject _o.ActionName = TableEncryptionService.Convert(this.ActionName, key); _o.Duration = TableEncryptionService.Convert(this.Duration, key); _o.AnimationName = TableEncryptionService.Convert(this.AnimationName, key); - _o.LocalizeKr = TableEncryptionService.Convert(this.LocalizeKr, key); - _o.LocalizeJp = TableEncryptionService.Convert(this.LocalizeJp, key); + _o.LocalizeKR = TableEncryptionService.Convert(this.LocalizeKR, key); + _o.LocalizeJP = TableEncryptionService.Convert(this.LocalizeJP, key); _o.VoiceId = new List(); for (var _j = 0; _j < this.VoiceIdLength; ++_j) {_o.VoiceId.Add(TableEncryptionService.Convert(this.VoiceId(_j), key));} _o.ApplyPosition = TableEncryptionService.Convert(this.ApplyPosition, key); _o.PosX = TableEncryptionService.Convert(this.PosX, key); _o.PosY = TableEncryptionService.Convert(this.PosY, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); - _o.CvCollectionType = TableEncryptionService.Convert(this.CvCollectionType, key); + _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key); _o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key); _o.UnlockEquipWeapon = TableEncryptionService.Convert(this.UnlockEquipWeapon, key); - _o.LocalizeCvGroup = TableEncryptionService.Convert(this.LocalizeCvGroup, key); + _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); } public static Offset Pack(FlatBufferBuilder builder, CharacterDialogExcelT _o) { if (_o == null) return default(Offset); - var _start_date = _o.StartDate == null ? default(StringOffset) : builder.CreateString(_o.StartDate); - var _end_date = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); - var _action_name = _o.ActionName == null ? default(StringOffset) : builder.CreateString(_o.ActionName); - var _animation_name = _o.AnimationName == null ? default(StringOffset) : builder.CreateString(_o.AnimationName); - var _localize_kr = _o.LocalizeKr == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKr); - var _localize_jp = _o.LocalizeJp == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJp); - var _voice_id = default(VectorOffset); + var _StartDate = _o.StartDate == null ? default(StringOffset) : builder.CreateString(_o.StartDate); + var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); + var _ActionName = _o.ActionName == null ? default(StringOffset) : builder.CreateString(_o.ActionName); + var _AnimationName = _o.AnimationName == null ? default(StringOffset) : builder.CreateString(_o.AnimationName); + var _LocalizeKR = _o.LocalizeKR == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKR); + var _LocalizeJP = _o.LocalizeJP == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJP); + var _VoiceId = default(VectorOffset); if (_o.VoiceId != null) { - var __voice_id = _o.VoiceId.ToArray(); - _voice_id = CreateVoiceIdVector(builder, __voice_id); + var __VoiceId = _o.VoiceId.ToArray(); + _VoiceId = CreateVoiceIdVector(builder, __VoiceId); } - var _localize_cv_group = _o.LocalizeCvGroup == null ? default(StringOffset) : builder.CreateString(_o.LocalizeCvGroup); + var _LocalizeCVGroup = _o.LocalizeCVGroup == null ? default(StringOffset) : builder.CreateString(_o.LocalizeCVGroup); return CreateCharacterDialogExcel( builder, _o.CharacterId, @@ -242,24 +242,24 @@ public struct CharacterDialogExcel : IFlatbufferObject _o.DialogCategory, _o.DialogCondition, _o.Anniversary, - _start_date, - _end_date, + _StartDate, + _EndDate, _o.GroupId, _o.DialogType, - _action_name, + _ActionName, _o.Duration, - _animation_name, - _localize_kr, - _localize_jp, - _voice_id, + _AnimationName, + _LocalizeKR, + _LocalizeJP, + _VoiceId, _o.ApplyPosition, _o.PosX, _o.PosY, _o.CollectionVisible, - _o.CvCollectionType, + _o.CVCollectionType, _o.UnlockFavorRank, _o.UnlockEquipWeapon, - _localize_cv_group); + _LocalizeCVGroup); } } @@ -279,17 +279,17 @@ public class CharacterDialogExcelT public string ActionName { get; set; } public long Duration { get; set; } public string AnimationName { get; set; } - public string LocalizeKr { get; set; } - public string LocalizeJp { get; set; } + public string LocalizeKR { get; set; } + public string LocalizeJP { get; set; } public List VoiceId { get; set; } public bool ApplyPosition { get; set; } public float PosX { get; set; } public float PosY { get; set; } public bool CollectionVisible { get; set; } - public SCHALE.Common.FlatData.CVCollectionType CvCollectionType { get; set; } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; } public long UnlockFavorRank { get; set; } public bool UnlockEquipWeapon { get; set; } - public string LocalizeCvGroup { get; set; } + public string LocalizeCVGroup { get; set; } public CharacterDialogExcelT() { this.CharacterId = 0; @@ -306,17 +306,17 @@ public class CharacterDialogExcelT this.ActionName = null; this.Duration = 0; this.AnimationName = null; - this.LocalizeKr = null; - this.LocalizeJp = null; + this.LocalizeKR = null; + this.LocalizeJP = null; this.VoiceId = null; this.ApplyPosition = false; this.PosX = 0.0f; this.PosY = 0.0f; this.CollectionVisible = false; - this.CvCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; + this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.UnlockFavorRank = 0; this.UnlockEquipWeapon = false; - this.LocalizeCvGroup = null; + this.LocalizeCVGroup = null; } } @@ -340,17 +340,17 @@ static public class CharacterDialogExcelVerify && verifier.VerifyString(tablePos, 26 /*ActionName*/, false) && verifier.VerifyField(tablePos, 28 /*Duration*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 30 /*AnimationName*/, false) - && verifier.VerifyString(tablePos, 32 /*LocalizeKr*/, false) - && verifier.VerifyString(tablePos, 34 /*LocalizeJp*/, false) + && verifier.VerifyString(tablePos, 32 /*LocalizeKR*/, false) + && verifier.VerifyString(tablePos, 34 /*LocalizeJP*/, false) && verifier.VerifyVectorOfData(tablePos, 36 /*VoiceId*/, 4 /*uint*/, false) && verifier.VerifyField(tablePos, 38 /*ApplyPosition*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 40 /*PosX*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 42 /*PosY*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 44 /*CollectionVisible*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 46 /*CvCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) + && verifier.VerifyField(tablePos, 46 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 48 /*UnlockFavorRank*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 50 /*UnlockEquipWeapon*/, 1 /*bool*/, 1, false) - && verifier.VerifyString(tablePos, 52 /*LocalizeCvGroup*/, false) + && verifier.VerifyString(tablePos, 52 /*LocalizeCVGroup*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/CharacterExcel.cs b/SCHALE.Common/FlatData/CharacterExcel.cs index 5a0d453..25dbdd5 100644 --- a/SCHALE.Common/FlatData/CharacterExcel.cs +++ b/SCHALE.Common/FlatData/CharacterExcel.cs @@ -5,717 +5,709 @@ namespace SCHALE.Common.FlatData { - using global::System; - using global::System.Collections.Generic; - using global::SCHALE.Common.Crypto; - using global::Google.FlatBuffers; +using global::System; +using global::System.Collections.Generic; +using global::SCHALE.Common.Crypto; +using global::Google.FlatBuffers; - public struct CharacterExcel : IFlatbufferObject - { - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static CharacterExcel GetRootAsCharacterExcel(ByteBuffer _bb) { return GetRootAsCharacterExcel(_bb, new CharacterExcel()); } - public static CharacterExcel GetRootAsCharacterExcel(ByteBuffer _bb, CharacterExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public CharacterExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } +public struct CharacterExcel : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static CharacterExcel GetRootAsCharacterExcel(ByteBuffer _bb) { return GetRootAsCharacterExcel(_bb, new CharacterExcel()); } + public static CharacterExcel GetRootAsCharacterExcel(ByteBuffer _bb, CharacterExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public CharacterExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string DevName { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string DevName { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetDevNameBytes() { return __p.__vector_as_span(6, 1); } #else - public ArraySegment? GetDevNameBytes() { return __p.__vector_as_arraysegment(6); } + public ArraySegment? GetDevNameBytes() { return __p.__vector_as_arraysegment(6); } #endif - public byte[] GetDevNameArray() { return __p.__vector_as_array(6); } - public long CostumeGroupId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public bool IsPlayable { get { int o = __p.__offset(10); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } - public bool CollectionVisible { get { int o = __p.__offset(14); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public string ReleaseDate { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetDevNameArray() { return __p.__vector_as_array(6); } + public long CostumeGroupId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool IsPlayable { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public bool CollectionVisible { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public string ReleaseDate { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetReleaseDateBytes() { return __p.__vector_as_span(16, 1); } #else - public ArraySegment? GetReleaseDateBytes() { return __p.__vector_as_arraysegment(16); } + public ArraySegment? GetReleaseDateBytes() { return __p.__vector_as_arraysegment(16); } #endif - public byte[] GetReleaseDateArray() { return __p.__vector_as_array(16); } - public string CollectionVisibleStartDate { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetReleaseDateArray() { return __p.__vector_as_array(16); } + public string CollectionVisibleStartDate { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetCollectionVisibleStartDateBytes() { return __p.__vector_as_span(18, 1); } #else - public ArraySegment? GetCollectionVisibleStartDateBytes() { return __p.__vector_as_arraysegment(18); } + public ArraySegment? GetCollectionVisibleStartDateBytes() { return __p.__vector_as_arraysegment(18); } #endif - public byte[] GetCollectionVisibleStartDateArray() { return __p.__vector_as_array(18); } - public string CollectionVisibleEndDate { get { int o = __p.__offset(20); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetCollectionVisibleStartDateArray() { return __p.__vector_as_array(18); } + public string CollectionVisibleEndDate { get { int o = __p.__offset(20); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetCollectionVisibleEndDateBytes() { return __p.__vector_as_span(20, 1); } #else - public ArraySegment? GetCollectionVisibleEndDateBytes() { return __p.__vector_as_arraysegment(20); } + public ArraySegment? GetCollectionVisibleEndDateBytes() { return __p.__vector_as_arraysegment(20); } #endif - public byte[] GetCollectionVisibleEndDateArray() { return __p.__vector_as_array(20); } - public bool IsPlayableCharacter { get { int o = __p.__offset(22); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public uint LocalizeEtcId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } - public bool IsNpc { get { int o = __p.__offset(28); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } - public bool CanSurvive { get { int o = __p.__offset(32); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public bool IsDummy { get { int o = __p.__offset(34); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public int SubPartsCount { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.TacticRole TacticRole { get { int o = __p.__offset(38); return o != 0 ? (SCHALE.Common.FlatData.TacticRole)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRole.None; } } - public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } - public SCHALE.Common.FlatData.TacticRange TacticRange { get { int o = __p.__offset(42); return o != 0 ? (SCHALE.Common.FlatData.TacticRange)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRange.Back; } } - public SCHALE.Common.FlatData.BulletType BulletType { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } - public SCHALE.Common.FlatData.ArmorType ArmorType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } - public SCHALE.Common.FlatData.AimIKType AimIkType { get { int o = __p.__offset(48); return o != 0 ? (SCHALE.Common.FlatData.AimIKType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.AimIKType.None; } } - public SCHALE.Common.FlatData.School School { get { int o = __p.__offset(50); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } - public SCHALE.Common.FlatData.Club Club { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } - public int DefaultStarGrade { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MaxStarGrade { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } - public SCHALE.Common.FlatData.SquadType SquadType { get { int o = __p.__offset(60); return o != 0 ? (SCHALE.Common.FlatData.SquadType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SquadType.None; } } - public bool Jumpable { get { int o = __p.__offset(62); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public long PersonalityId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CharacterAiId { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ExternalBtId { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long MainCombatStyleId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int CombatStyleIndex { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public string ScenarioCharacter { get { int o = __p.__offset(74); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetCollectionVisibleEndDateArray() { return __p.__vector_as_array(20); } + public bool IsPlayableCharacter { get { int o = __p.__offset(22); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public uint LocalizeEtcId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public bool IsNPC { get { int o = __p.__offset(28); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } + public bool CanSurvive { get { int o = __p.__offset(32); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool IsDummy { get { int o = __p.__offset(34); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public int SubPartsCount { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.TacticRole TacticRole { get { int o = __p.__offset(38); return o != 0 ? (SCHALE.Common.FlatData.TacticRole)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRole.None; } } + public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } + public SCHALE.Common.FlatData.TacticRange TacticRange { get { int o = __p.__offset(42); return o != 0 ? (SCHALE.Common.FlatData.TacticRange)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRange.Back; } } + public SCHALE.Common.FlatData.BulletType BulletType { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } + public SCHALE.Common.FlatData.ArmorType ArmorType { get { int o = __p.__offset(46); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } + public SCHALE.Common.FlatData.AimIKType AimIKType { get { int o = __p.__offset(48); return o != 0 ? (SCHALE.Common.FlatData.AimIKType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.AimIKType.None; } } + public SCHALE.Common.FlatData.School School { get { int o = __p.__offset(50); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } + public SCHALE.Common.FlatData.Club Club { get { int o = __p.__offset(52); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } + public int DefaultStarGrade { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MaxStarGrade { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } + public SCHALE.Common.FlatData.SquadType SquadType { get { int o = __p.__offset(60); return o != 0 ? (SCHALE.Common.FlatData.SquadType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SquadType.None; } } + public bool Jumpable { get { int o = __p.__offset(62); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public long PersonalityId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CharacterAIId { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ExternalBTId { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long MainCombatStyleId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int CombatStyleIndex { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public string ScenarioCharacter { get { int o = __p.__offset(74); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetScenarioCharacterBytes() { return __p.__vector_as_span(74, 1); } #else - public ArraySegment? GetScenarioCharacterBytes() { return __p.__vector_as_arraysegment(74); } + public ArraySegment? GetScenarioCharacterBytes() { return __p.__vector_as_arraysegment(74); } #endif - public byte[] GetScenarioCharacterArray() { return __p.__vector_as_array(74); } - public uint SpawnTemplateId { get { int o = __p.__offset(76); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public int FavorLevelupType { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.EquipmentCategory EquipmentSlot(int j) { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.EquipmentCategory)0; } - public int EquipmentSlotLength { get { int o = __p.__offset(80); return o != 0 ? __p.__vector_len(o) : 0; } } + public byte[] GetScenarioCharacterArray() { return __p.__vector_as_array(74); } + public uint SpawnTemplateId { get { int o = __p.__offset(76); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public int FavorLevelupType { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.EquipmentCategory EquipmentSlot(int j) { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.EquipmentCategory)0; } + public int EquipmentSlotLength { get { int o = __p.__offset(80); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T public Span GetEquipmentSlotBytes() { return __p.__vector_as_span(80, 4); } #else - public ArraySegment? GetEquipmentSlotBytes() { return __p.__vector_as_arraysegment(80); } + public ArraySegment? GetEquipmentSlotBytes() { return __p.__vector_as_arraysegment(80); } #endif - public SCHALE.Common.FlatData.EquipmentCategory[] GetEquipmentSlotArray() { int o = __p.__offset(80); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.EquipmentCategory[] a = new SCHALE.Common.FlatData.EquipmentCategory[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(p + i * 4); } return a; } - public uint WeaponLocalizeId { get { int o = __p.__offset(82); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public bool DisplayEnemyInfo { get { int o = __p.__offset(84); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public long BodyRadius { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long RandomEffectRadius { get { int o = __p.__offset(88); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public bool HpBarHide { get { int o = __p.__offset(90); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public float HpBarHeight { get { int o = __p.__offset(92); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public float HighlightFloaterHeight { get { int o = __p.__offset(94); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public float EmojiOffsetX { get { int o = __p.__offset(96); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public float EmojiOffsetY { get { int o = __p.__offset(98); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public int MoveStartFrame { get { int o = __p.__offset(100); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MoveEndFrame { get { int o = __p.__offset(102); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int JumpMotionFrame { get { int o = __p.__offset(104); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int AppearFrame { get { int o = __p.__offset(106); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public bool CanMove { get { int o = __p.__offset(108); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public bool CanFix { get { int o = __p.__offset(110); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public bool CanCrowdControl { get { int o = __p.__offset(112); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public bool CanBattleItemMove { get { int o = __p.__offset(114); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public bool IsAirUnit { get { int o = __p.__offset(116); return o != 0 ? 0 != __p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public long AirUnitHeight { get { int o = __p.__offset(118); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Tag Tags(int j) { int o = __p.__offset(120); return o != 0 ? (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.Tag)0; } - public int TagsLength { get { int o = __p.__offset(120); return o != 0 ? __p.__vector_len(o) : 0; } } + public SCHALE.Common.FlatData.EquipmentCategory[] GetEquipmentSlotArray() { int o = __p.__offset(80); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.EquipmentCategory[] a = new SCHALE.Common.FlatData.EquipmentCategory[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(p + i * 4); } return a; } + public uint WeaponLocalizeId { get { int o = __p.__offset(82); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public bool DisplayEnemyInfo { get { int o = __p.__offset(84); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public long BodyRadius { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long RandomEffectRadius { get { int o = __p.__offset(88); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool HPBarHide { get { int o = __p.__offset(90); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public float HpBarHeight { get { int o = __p.__offset(92); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public float HighlightFloaterHeight { get { int o = __p.__offset(94); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public float EmojiOffsetX { get { int o = __p.__offset(96); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public float EmojiOffsetY { get { int o = __p.__offset(98); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public int MoveStartFrame { get { int o = __p.__offset(100); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MoveEndFrame { get { int o = __p.__offset(102); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int JumpMotionFrame { get { int o = __p.__offset(104); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int AppearFrame { get { int o = __p.__offset(106); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public bool CanMove { get { int o = __p.__offset(108); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool CanFix { get { int o = __p.__offset(110); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool CanCrowdControl { get { int o = __p.__offset(112); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool CanBattleItemMove { get { int o = __p.__offset(114); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool IsAirUnit { get { int o = __p.__offset(116); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public long AirUnitHeight { get { int o = __p.__offset(118); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.Tag Tags(int j) { int o = __p.__offset(120); return o != 0 ? (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.Tag)0; } + public int TagsLength { get { int o = __p.__offset(120); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T public Span GetTagsBytes() { return __p.__vector_as_span(120, 4); } #else - public ArraySegment? GetTagsBytes() { return __p.__vector_as_arraysegment(120); } + public ArraySegment? GetTagsBytes() { return __p.__vector_as_arraysegment(120); } #endif - public SCHALE.Common.FlatData.Tag[] GetTagsArray() { int o = __p.__offset(120); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.Tag[] a = new SCHALE.Common.FlatData.Tag[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(p + i * 4); } return a; } - public long SecretStoneItemId { get { int o = __p.__offset(122); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int SecretStoneItemAmount { get { int o = __p.__offset(124); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long CharacterPieceItemId { get { int o = __p.__offset(126); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int CharacterPieceItemAmount { get { int o = __p.__offset(128); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long CombineRecipeId { get { int o = __p.__offset(130); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.Tag[] GetTagsArray() { int o = __p.__offset(120); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.Tag[] a = new SCHALE.Common.FlatData.Tag[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(p + i * 4); } return a; } + public long SecretStoneItemId { get { int o = __p.__offset(122); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int SecretStoneItemAmount { get { int o = __p.__offset(124); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long CharacterPieceItemId { get { int o = __p.__offset(126); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int CharacterPieceItemAmount { get { int o = __p.__offset(128); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long CombineRecipeId { get { int o = __p.__offset(130); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public static Offset CreateCharacterExcel(FlatBufferBuilder builder, - long id = 0, - StringOffset dev_nameOffset = default(StringOffset), - long costume_group_id = 0, - bool is_playable = false, - SCHALE.Common.FlatData.ProductionStep production_step = SCHALE.Common.FlatData.ProductionStep.ToDo, - bool collection_visible = false, - StringOffset release_dateOffset = default(StringOffset), - StringOffset collection_visible_start_dateOffset = default(StringOffset), - StringOffset collection_visible_end_dateOffset = default(StringOffset), - bool is_playable_character = false, - uint localize_etc_id = 0, - SCHALE.Common.FlatData.Rarity rarity = SCHALE.Common.FlatData.Rarity.N, - bool is_npc = false, - SCHALE.Common.FlatData.TacticEntityType tactic_entity_type = SCHALE.Common.FlatData.TacticEntityType.None, - bool can_survive = false, - bool is_dummy = false, - int sub_parts_count = 0, - SCHALE.Common.FlatData.TacticRole tactic_role = SCHALE.Common.FlatData.TacticRole.None, - SCHALE.Common.FlatData.WeaponType weapon_type = SCHALE.Common.FlatData.WeaponType.None, - SCHALE.Common.FlatData.TacticRange tactic_range = SCHALE.Common.FlatData.TacticRange.Back, - SCHALE.Common.FlatData.BulletType bullet_type = SCHALE.Common.FlatData.BulletType.Normal, - SCHALE.Common.FlatData.ArmorType armor_type = SCHALE.Common.FlatData.ArmorType.LightArmor, - SCHALE.Common.FlatData.AimIKType aim_ik_type = SCHALE.Common.FlatData.AimIKType.None, - SCHALE.Common.FlatData.School school = SCHALE.Common.FlatData.School.None, - SCHALE.Common.FlatData.Club club = SCHALE.Common.FlatData.Club.None, - int default_star_grade = 0, - int max_star_grade = 0, - SCHALE.Common.FlatData.StatLevelUpType stat_level_up_type = SCHALE.Common.FlatData.StatLevelUpType.Standard, - SCHALE.Common.FlatData.SquadType squad_type = SCHALE.Common.FlatData.SquadType.None, - bool jumpable = false, - long personality_id = 0, - long character_ai_id = 0, - long external_bt_id = 0, - long main_combat_style_id = 0, - int combat_style_index = 0, - StringOffset scenario_characterOffset = default(StringOffset), - uint spawn_template_id = 0, - int favor_levelup_type = 0, - VectorOffset equipment_slotOffset = default(VectorOffset), - uint weapon_localize_id = 0, - bool display_enemy_info = false, - long body_radius = 0, - long random_effect_radius = 0, - bool hp_bar_hide = false, - float hp_bar_height = 0.0f, - float highlight_floater_height = 0.0f, - float emoji_offset_x = 0.0f, - float emoji_offset_y = 0.0f, - int move_start_frame = 0, - int move_end_frame = 0, - int jump_motion_frame = 0, - int appear_frame = 0, - bool can_move = false, - bool can_fix = false, - bool can_crowd_control = false, - bool can_battle_item_move = false, - bool is_air_unit = false, - long air_unit_height = 0, - VectorOffset tagsOffset = default(VectorOffset), - long secret_stone_item_id = 0, - int secret_stone_item_amount = 0, - long character_piece_item_id = 0, - int character_piece_item_amount = 0, - long combine_recipe_id = 0) - { - builder.StartTable(64); - CharacterExcel.AddCombineRecipeId(builder, combine_recipe_id); - CharacterExcel.AddCharacterPieceItemId(builder, character_piece_item_id); - CharacterExcel.AddSecretStoneItemId(builder, secret_stone_item_id); - CharacterExcel.AddAirUnitHeight(builder, air_unit_height); - CharacterExcel.AddRandomEffectRadius(builder, random_effect_radius); - CharacterExcel.AddBodyRadius(builder, body_radius); - CharacterExcel.AddMainCombatStyleId(builder, main_combat_style_id); - CharacterExcel.AddExternalBtId(builder, external_bt_id); - CharacterExcel.AddCharacterAiId(builder, character_ai_id); - CharacterExcel.AddPersonalityId(builder, personality_id); - CharacterExcel.AddCostumeGroupId(builder, costume_group_id); - CharacterExcel.AddId(builder, id); - CharacterExcel.AddCharacterPieceItemAmount(builder, character_piece_item_amount); - CharacterExcel.AddSecretStoneItemAmount(builder, secret_stone_item_amount); - CharacterExcel.AddTags(builder, tagsOffset); - CharacterExcel.AddAppearFrame(builder, appear_frame); - CharacterExcel.AddJumpMotionFrame(builder, jump_motion_frame); - CharacterExcel.AddMoveEndFrame(builder, move_end_frame); - CharacterExcel.AddMoveStartFrame(builder, move_start_frame); - CharacterExcel.AddEmojiOffsetY(builder, emoji_offset_y); - CharacterExcel.AddEmojiOffsetX(builder, emoji_offset_x); - CharacterExcel.AddHighlightFloaterHeight(builder, highlight_floater_height); - CharacterExcel.AddHpBarHeight(builder, hp_bar_height); - CharacterExcel.AddWeaponLocalizeId(builder, weapon_localize_id); - CharacterExcel.AddEquipmentSlot(builder, equipment_slotOffset); - CharacterExcel.AddFavorLevelupType(builder, favor_levelup_type); - CharacterExcel.AddSpawnTemplateId(builder, spawn_template_id); - CharacterExcel.AddScenarioCharacter(builder, scenario_characterOffset); - CharacterExcel.AddCombatStyleIndex(builder, combat_style_index); - CharacterExcel.AddSquadType(builder, squad_type); - CharacterExcel.AddStatLevelUpType(builder, stat_level_up_type); - CharacterExcel.AddMaxStarGrade(builder, max_star_grade); - CharacterExcel.AddDefaultStarGrade(builder, default_star_grade); - CharacterExcel.AddClub(builder, club); - CharacterExcel.AddSchool(builder, school); - CharacterExcel.AddAimIkType(builder, aim_ik_type); - CharacterExcel.AddArmorType(builder, armor_type); - CharacterExcel.AddBulletType(builder, bullet_type); - CharacterExcel.AddTacticRange(builder, tactic_range); - CharacterExcel.AddWeaponType(builder, weapon_type); - CharacterExcel.AddTacticRole(builder, tactic_role); - CharacterExcel.AddSubPartsCount(builder, sub_parts_count); - CharacterExcel.AddTacticEntityType(builder, tactic_entity_type); - CharacterExcel.AddRarity(builder, rarity); - CharacterExcel.AddLocalizeEtcId(builder, localize_etc_id); - CharacterExcel.AddCollectionVisibleEndDate(builder, collection_visible_end_dateOffset); - CharacterExcel.AddCollectionVisibleStartDate(builder, collection_visible_start_dateOffset); - CharacterExcel.AddReleaseDate(builder, release_dateOffset); - CharacterExcel.AddProductionStep(builder, production_step); - CharacterExcel.AddDevName(builder, dev_nameOffset); - CharacterExcel.AddIsAirUnit(builder, is_air_unit); - CharacterExcel.AddCanBattleItemMove(builder, can_battle_item_move); - CharacterExcel.AddCanCrowdControl(builder, can_crowd_control); - CharacterExcel.AddCanFix(builder, can_fix); - CharacterExcel.AddCanMove(builder, can_move); - CharacterExcel.AddHpBarHide(builder, hp_bar_hide); - CharacterExcel.AddDisplayEnemyInfo(builder, display_enemy_info); - CharacterExcel.AddJumpable(builder, jumpable); - CharacterExcel.AddIsDummy(builder, is_dummy); - CharacterExcel.AddCanSurvive(builder, can_survive); - CharacterExcel.AddIsNpc(builder, is_npc); - CharacterExcel.AddIsPlayableCharacter(builder, is_playable_character); - CharacterExcel.AddCollectionVisible(builder, collection_visible); - CharacterExcel.AddIsPlayable(builder, is_playable); - return CharacterExcel.EndCharacterExcel(builder); - } + public static Offset CreateCharacterExcel(FlatBufferBuilder builder, + long Id = 0, + StringOffset DevNameOffset = default(StringOffset), + long CostumeGroupId = 0, + bool IsPlayable = false, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, + bool CollectionVisible = false, + StringOffset ReleaseDateOffset = default(StringOffset), + StringOffset CollectionVisibleStartDateOffset = default(StringOffset), + StringOffset CollectionVisibleEndDateOffset = default(StringOffset), + bool IsPlayableCharacter = false, + uint LocalizeEtcId = 0, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, + bool IsNPC = false, + SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None, + bool CanSurvive = false, + bool IsDummy = false, + int SubPartsCount = 0, + SCHALE.Common.FlatData.TacticRole TacticRole = SCHALE.Common.FlatData.TacticRole.None, + SCHALE.Common.FlatData.WeaponType WeaponType = SCHALE.Common.FlatData.WeaponType.None, + SCHALE.Common.FlatData.TacticRange TacticRange = SCHALE.Common.FlatData.TacticRange.Back, + SCHALE.Common.FlatData.BulletType BulletType = SCHALE.Common.FlatData.BulletType.Normal, + SCHALE.Common.FlatData.ArmorType ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor, + SCHALE.Common.FlatData.AimIKType AimIKType = SCHALE.Common.FlatData.AimIKType.None, + SCHALE.Common.FlatData.School School = SCHALE.Common.FlatData.School.None, + SCHALE.Common.FlatData.Club Club = SCHALE.Common.FlatData.Club.None, + int DefaultStarGrade = 0, + int MaxStarGrade = 0, + SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard, + SCHALE.Common.FlatData.SquadType SquadType = SCHALE.Common.FlatData.SquadType.None, + bool Jumpable = false, + long PersonalityId = 0, + long CharacterAIId = 0, + long ExternalBTId = 0, + long MainCombatStyleId = 0, + int CombatStyleIndex = 0, + StringOffset ScenarioCharacterOffset = default(StringOffset), + uint SpawnTemplateId = 0, + int FavorLevelupType = 0, + VectorOffset EquipmentSlotOffset = default(VectorOffset), + uint WeaponLocalizeId = 0, + bool DisplayEnemyInfo = false, + long BodyRadius = 0, + long RandomEffectRadius = 0, + bool HPBarHide = false, + float HpBarHeight = 0.0f, + float HighlightFloaterHeight = 0.0f, + float EmojiOffsetX = 0.0f, + float EmojiOffsetY = 0.0f, + int MoveStartFrame = 0, + int MoveEndFrame = 0, + int JumpMotionFrame = 0, + int AppearFrame = 0, + bool CanMove = false, + bool CanFix = false, + bool CanCrowdControl = false, + bool CanBattleItemMove = false, + bool IsAirUnit = false, + long AirUnitHeight = 0, + VectorOffset TagsOffset = default(VectorOffset), + long SecretStoneItemId = 0, + int SecretStoneItemAmount = 0, + long CharacterPieceItemId = 0, + int CharacterPieceItemAmount = 0, + long CombineRecipeId = 0) { + builder.StartTable(64); + CharacterExcel.AddCombineRecipeId(builder, CombineRecipeId); + CharacterExcel.AddCharacterPieceItemId(builder, CharacterPieceItemId); + CharacterExcel.AddSecretStoneItemId(builder, SecretStoneItemId); + CharacterExcel.AddAirUnitHeight(builder, AirUnitHeight); + CharacterExcel.AddRandomEffectRadius(builder, RandomEffectRadius); + CharacterExcel.AddBodyRadius(builder, BodyRadius); + CharacterExcel.AddMainCombatStyleId(builder, MainCombatStyleId); + CharacterExcel.AddExternalBTId(builder, ExternalBTId); + CharacterExcel.AddCharacterAIId(builder, CharacterAIId); + CharacterExcel.AddPersonalityId(builder, PersonalityId); + CharacterExcel.AddCostumeGroupId(builder, CostumeGroupId); + CharacterExcel.AddId(builder, Id); + CharacterExcel.AddCharacterPieceItemAmount(builder, CharacterPieceItemAmount); + CharacterExcel.AddSecretStoneItemAmount(builder, SecretStoneItemAmount); + CharacterExcel.AddTags(builder, TagsOffset); + CharacterExcel.AddAppearFrame(builder, AppearFrame); + CharacterExcel.AddJumpMotionFrame(builder, JumpMotionFrame); + CharacterExcel.AddMoveEndFrame(builder, MoveEndFrame); + CharacterExcel.AddMoveStartFrame(builder, MoveStartFrame); + CharacterExcel.AddEmojiOffsetY(builder, EmojiOffsetY); + CharacterExcel.AddEmojiOffsetX(builder, EmojiOffsetX); + CharacterExcel.AddHighlightFloaterHeight(builder, HighlightFloaterHeight); + CharacterExcel.AddHpBarHeight(builder, HpBarHeight); + CharacterExcel.AddWeaponLocalizeId(builder, WeaponLocalizeId); + CharacterExcel.AddEquipmentSlot(builder, EquipmentSlotOffset); + CharacterExcel.AddFavorLevelupType(builder, FavorLevelupType); + CharacterExcel.AddSpawnTemplateId(builder, SpawnTemplateId); + CharacterExcel.AddScenarioCharacter(builder, ScenarioCharacterOffset); + CharacterExcel.AddCombatStyleIndex(builder, CombatStyleIndex); + CharacterExcel.AddSquadType(builder, SquadType); + CharacterExcel.AddStatLevelUpType(builder, StatLevelUpType); + CharacterExcel.AddMaxStarGrade(builder, MaxStarGrade); + CharacterExcel.AddDefaultStarGrade(builder, DefaultStarGrade); + CharacterExcel.AddClub(builder, Club); + CharacterExcel.AddSchool(builder, School); + CharacterExcel.AddAimIKType(builder, AimIKType); + CharacterExcel.AddArmorType(builder, ArmorType); + CharacterExcel.AddBulletType(builder, BulletType); + CharacterExcel.AddTacticRange(builder, TacticRange); + CharacterExcel.AddWeaponType(builder, WeaponType); + CharacterExcel.AddTacticRole(builder, TacticRole); + CharacterExcel.AddSubPartsCount(builder, SubPartsCount); + CharacterExcel.AddTacticEntityType(builder, TacticEntityType); + CharacterExcel.AddRarity(builder, Rarity); + CharacterExcel.AddLocalizeEtcId(builder, LocalizeEtcId); + CharacterExcel.AddCollectionVisibleEndDate(builder, CollectionVisibleEndDateOffset); + CharacterExcel.AddCollectionVisibleStartDate(builder, CollectionVisibleStartDateOffset); + CharacterExcel.AddReleaseDate(builder, ReleaseDateOffset); + CharacterExcel.AddProductionStep(builder, ProductionStep); + CharacterExcel.AddDevName(builder, DevNameOffset); + CharacterExcel.AddIsAirUnit(builder, IsAirUnit); + CharacterExcel.AddCanBattleItemMove(builder, CanBattleItemMove); + CharacterExcel.AddCanCrowdControl(builder, CanCrowdControl); + CharacterExcel.AddCanFix(builder, CanFix); + CharacterExcel.AddCanMove(builder, CanMove); + CharacterExcel.AddHPBarHide(builder, HPBarHide); + CharacterExcel.AddDisplayEnemyInfo(builder, DisplayEnemyInfo); + CharacterExcel.AddJumpable(builder, Jumpable); + CharacterExcel.AddIsDummy(builder, IsDummy); + CharacterExcel.AddCanSurvive(builder, CanSurvive); + CharacterExcel.AddIsNPC(builder, IsNPC); + CharacterExcel.AddIsPlayableCharacter(builder, IsPlayableCharacter); + CharacterExcel.AddCollectionVisible(builder, CollectionVisible); + CharacterExcel.AddIsPlayable(builder, IsPlayable); + return CharacterExcel.EndCharacterExcel(builder); + } - public static void StartCharacterExcel(FlatBufferBuilder builder) { builder.StartTable(64); } - public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(1, devNameOffset.Value, 0); } - public static void AddCostumeGroupId(FlatBufferBuilder builder, long costumeGroupId) { builder.AddLong(2, costumeGroupId, 0); } - public static void AddIsPlayable(FlatBufferBuilder builder, bool isPlayable) { builder.AddBool(3, isPlayable, false); } - public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(4, (int)productionStep, 0); } - public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(5, collectionVisible, false); } - public static void AddReleaseDate(FlatBufferBuilder builder, StringOffset releaseDateOffset) { builder.AddOffset(6, releaseDateOffset.Value, 0); } - public static void AddCollectionVisibleStartDate(FlatBufferBuilder builder, StringOffset collectionVisibleStartDateOffset) { builder.AddOffset(7, collectionVisibleStartDateOffset.Value, 0); } - public static void AddCollectionVisibleEndDate(FlatBufferBuilder builder, StringOffset collectionVisibleEndDateOffset) { builder.AddOffset(8, collectionVisibleEndDateOffset.Value, 0); } - public static void AddIsPlayableCharacter(FlatBufferBuilder builder, bool isPlayableCharacter) { builder.AddBool(9, isPlayableCharacter, false); } - public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(10, localizeEtcId, 0); } - public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(11, (int)rarity, 0); } - public static void AddIsNpc(FlatBufferBuilder builder, bool isNpc) { builder.AddBool(12, isNpc, false); } - public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(13, (int)tacticEntityType, 0); } - public static void AddCanSurvive(FlatBufferBuilder builder, bool canSurvive) { builder.AddBool(14, canSurvive, false); } - public static void AddIsDummy(FlatBufferBuilder builder, bool isDummy) { builder.AddBool(15, isDummy, false); } - public static void AddSubPartsCount(FlatBufferBuilder builder, int subPartsCount) { builder.AddInt(16, subPartsCount, 0); } - public static void AddTacticRole(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRole tacticRole) { builder.AddInt(17, (int)tacticRole, 0); } - public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(18, (int)weaponType, 0); } - public static void AddTacticRange(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRange tacticRange) { builder.AddInt(19, (int)tacticRange, 0); } - public static void AddBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType) { builder.AddInt(20, (int)bulletType, 0); } - public static void AddArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType) { builder.AddInt(21, (int)armorType, 0); } - public static void AddAimIkType(FlatBufferBuilder builder, SCHALE.Common.FlatData.AimIKType aimIkType) { builder.AddInt(22, (int)aimIkType, 0); } - public static void AddSchool(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school) { builder.AddInt(23, (int)school, 0); } - public static void AddClub(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club) { builder.AddInt(24, (int)club, 0); } - public static void AddDefaultStarGrade(FlatBufferBuilder builder, int defaultStarGrade) { builder.AddInt(25, defaultStarGrade, 0); } - public static void AddMaxStarGrade(FlatBufferBuilder builder, int maxStarGrade) { builder.AddInt(26, maxStarGrade, 0); } - public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(27, (int)statLevelUpType, 0); } - public static void AddSquadType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SquadType squadType) { builder.AddInt(28, (int)squadType, 0); } - public static void AddJumpable(FlatBufferBuilder builder, bool jumpable) { builder.AddBool(29, jumpable, false); } - public static void AddPersonalityId(FlatBufferBuilder builder, long personalityId) { builder.AddLong(30, personalityId, 0); } - public static void AddCharacterAiId(FlatBufferBuilder builder, long characterAiId) { builder.AddLong(31, characterAiId, 0); } - public static void AddExternalBtId(FlatBufferBuilder builder, long externalBtId) { builder.AddLong(32, externalBtId, 0); } - public static void AddMainCombatStyleId(FlatBufferBuilder builder, long mainCombatStyleId) { builder.AddLong(33, mainCombatStyleId, 0); } - public static void AddCombatStyleIndex(FlatBufferBuilder builder, int combatStyleIndex) { builder.AddInt(34, combatStyleIndex, 0); } - public static void AddScenarioCharacter(FlatBufferBuilder builder, StringOffset scenarioCharacterOffset) { builder.AddOffset(35, scenarioCharacterOffset.Value, 0); } - public static void AddSpawnTemplateId(FlatBufferBuilder builder, uint spawnTemplateId) { builder.AddUint(36, spawnTemplateId, 0); } - public static void AddFavorLevelupType(FlatBufferBuilder builder, int favorLevelupType) { builder.AddInt(37, favorLevelupType, 0); } - public static void AddEquipmentSlot(FlatBufferBuilder builder, VectorOffset equipmentSlotOffset) { builder.AddOffset(38, equipmentSlotOffset.Value, 0); } - public static VectorOffset CreateEquipmentSlotVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } - public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartEquipmentSlotVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddWeaponLocalizeId(FlatBufferBuilder builder, uint weaponLocalizeId) { builder.AddUint(39, weaponLocalizeId, 0); } - public static void AddDisplayEnemyInfo(FlatBufferBuilder builder, bool displayEnemyInfo) { builder.AddBool(40, displayEnemyInfo, false); } - public static void AddBodyRadius(FlatBufferBuilder builder, long bodyRadius) { builder.AddLong(41, bodyRadius, 0); } - public static void AddRandomEffectRadius(FlatBufferBuilder builder, long randomEffectRadius) { builder.AddLong(42, randomEffectRadius, 0); } - public static void AddHpBarHide(FlatBufferBuilder builder, bool hpBarHide) { builder.AddBool(43, hpBarHide, false); } - public static void AddHpBarHeight(FlatBufferBuilder builder, float hpBarHeight) { builder.AddFloat(44, hpBarHeight, 0.0f); } - public static void AddHighlightFloaterHeight(FlatBufferBuilder builder, float highlightFloaterHeight) { builder.AddFloat(45, highlightFloaterHeight, 0.0f); } - public static void AddEmojiOffsetX(FlatBufferBuilder builder, float emojiOffsetX) { builder.AddFloat(46, emojiOffsetX, 0.0f); } - public static void AddEmojiOffsetY(FlatBufferBuilder builder, float emojiOffsetY) { builder.AddFloat(47, emojiOffsetY, 0.0f); } - public static void AddMoveStartFrame(FlatBufferBuilder builder, int moveStartFrame) { builder.AddInt(48, moveStartFrame, 0); } - public static void AddMoveEndFrame(FlatBufferBuilder builder, int moveEndFrame) { builder.AddInt(49, moveEndFrame, 0); } - public static void AddJumpMotionFrame(FlatBufferBuilder builder, int jumpMotionFrame) { builder.AddInt(50, jumpMotionFrame, 0); } - public static void AddAppearFrame(FlatBufferBuilder builder, int appearFrame) { builder.AddInt(51, appearFrame, 0); } - public static void AddCanMove(FlatBufferBuilder builder, bool canMove) { builder.AddBool(52, canMove, false); } - public static void AddCanFix(FlatBufferBuilder builder, bool canFix) { builder.AddBool(53, canFix, false); } - public static void AddCanCrowdControl(FlatBufferBuilder builder, bool canCrowdControl) { builder.AddBool(54, canCrowdControl, false); } - public static void AddCanBattleItemMove(FlatBufferBuilder builder, bool canBattleItemMove) { builder.AddBool(55, canBattleItemMove, false); } - public static void AddIsAirUnit(FlatBufferBuilder builder, bool isAirUnit) { builder.AddBool(56, isAirUnit, false); } - public static void AddAirUnitHeight(FlatBufferBuilder builder, long airUnitHeight) { builder.AddLong(57, airUnitHeight, 0); } - public static void AddTags(FlatBufferBuilder builder, VectorOffset tagsOffset) { builder.AddOffset(58, tagsOffset.Value, 0); } - public static VectorOffset CreateTagsVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } - public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartTagsVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddSecretStoneItemId(FlatBufferBuilder builder, long secretStoneItemId) { builder.AddLong(59, secretStoneItemId, 0); } - public static void AddSecretStoneItemAmount(FlatBufferBuilder builder, int secretStoneItemAmount) { builder.AddInt(60, secretStoneItemAmount, 0); } - public static void AddCharacterPieceItemId(FlatBufferBuilder builder, long characterPieceItemId) { builder.AddLong(61, characterPieceItemId, 0); } - public static void AddCharacterPieceItemAmount(FlatBufferBuilder builder, int characterPieceItemAmount) { builder.AddInt(62, characterPieceItemAmount, 0); } - public static void AddCombineRecipeId(FlatBufferBuilder builder, long combineRecipeId) { builder.AddLong(63, combineRecipeId, 0); } - public static Offset EndCharacterExcel(FlatBufferBuilder builder) - { - int o = builder.EndTable(); - return new Offset(o); - } - public CharacterExcelT UnPack() - { - var _o = new CharacterExcelT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(CharacterExcelT _o) - { - byte[] key = TableEncryptionService.CreateKey("Character"); - _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.DevName = TableEncryptionService.Convert(this.DevName, key); - _o.CostumeGroupId = TableEncryptionService.Convert(this.CostumeGroupId, key); - _o.IsPlayable = TableEncryptionService.Convert(this.IsPlayable, key); - _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); - _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); - _o.ReleaseDate = TableEncryptionService.Convert(this.ReleaseDate, key); - _o.CollectionVisibleStartDate = TableEncryptionService.Convert(this.CollectionVisibleStartDate, key); - _o.CollectionVisibleEndDate = TableEncryptionService.Convert(this.CollectionVisibleEndDate, key); - _o.IsPlayableCharacter = TableEncryptionService.Convert(this.IsPlayableCharacter, key); - _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); - _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); - _o.IsNpc = TableEncryptionService.Convert(this.IsNpc, key); - _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key); - _o.CanSurvive = TableEncryptionService.Convert(this.CanSurvive, key); - _o.IsDummy = TableEncryptionService.Convert(this.IsDummy, key); - _o.SubPartsCount = TableEncryptionService.Convert(this.SubPartsCount, key); - _o.TacticRole = TableEncryptionService.Convert(this.TacticRole, key); - _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key); - _o.TacticRange = TableEncryptionService.Convert(this.TacticRange, key); - _o.BulletType = TableEncryptionService.Convert(this.BulletType, key); - _o.ArmorType = TableEncryptionService.Convert(this.ArmorType, key); - _o.AimIkType = TableEncryptionService.Convert(this.AimIkType, key); - _o.School = TableEncryptionService.Convert(this.School, key); - _o.Club = TableEncryptionService.Convert(this.Club, key); - _o.DefaultStarGrade = TableEncryptionService.Convert(this.DefaultStarGrade, key); - _o.MaxStarGrade = TableEncryptionService.Convert(this.MaxStarGrade, key); - _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key); - _o.SquadType = TableEncryptionService.Convert(this.SquadType, key); - _o.Jumpable = TableEncryptionService.Convert(this.Jumpable, key); - _o.PersonalityId = TableEncryptionService.Convert(this.PersonalityId, key); - _o.CharacterAiId = TableEncryptionService.Convert(this.CharacterAiId, key); - _o.ExternalBtId = TableEncryptionService.Convert(this.ExternalBtId, key); - _o.MainCombatStyleId = TableEncryptionService.Convert(this.MainCombatStyleId, key); - _o.CombatStyleIndex = TableEncryptionService.Convert(this.CombatStyleIndex, key); - _o.ScenarioCharacter = TableEncryptionService.Convert(this.ScenarioCharacter, key); - _o.SpawnTemplateId = TableEncryptionService.Convert(this.SpawnTemplateId, key); - _o.FavorLevelupType = TableEncryptionService.Convert(this.FavorLevelupType, key); - _o.EquipmentSlot = new List(); - for (var _j = 0; _j < this.EquipmentSlotLength; ++_j) { _o.EquipmentSlot.Add(TableEncryptionService.Convert(this.EquipmentSlot(_j), key)); } - _o.WeaponLocalizeId = TableEncryptionService.Convert(this.WeaponLocalizeId, key); - _o.DisplayEnemyInfo = TableEncryptionService.Convert(this.DisplayEnemyInfo, key); - _o.BodyRadius = TableEncryptionService.Convert(this.BodyRadius, key); - _o.RandomEffectRadius = TableEncryptionService.Convert(this.RandomEffectRadius, key); - _o.HpBarHide = TableEncryptionService.Convert(this.HpBarHide, key); - _o.HpBarHeight = TableEncryptionService.Convert(this.HpBarHeight, key); - _o.HighlightFloaterHeight = TableEncryptionService.Convert(this.HighlightFloaterHeight, key); - _o.EmojiOffsetX = TableEncryptionService.Convert(this.EmojiOffsetX, key); - _o.EmojiOffsetY = TableEncryptionService.Convert(this.EmojiOffsetY, key); - _o.MoveStartFrame = TableEncryptionService.Convert(this.MoveStartFrame, key); - _o.MoveEndFrame = TableEncryptionService.Convert(this.MoveEndFrame, key); - _o.JumpMotionFrame = TableEncryptionService.Convert(this.JumpMotionFrame, key); - _o.AppearFrame = TableEncryptionService.Convert(this.AppearFrame, key); - _o.CanMove = TableEncryptionService.Convert(this.CanMove, key); - _o.CanFix = TableEncryptionService.Convert(this.CanFix, key); - _o.CanCrowdControl = TableEncryptionService.Convert(this.CanCrowdControl, key); - _o.CanBattleItemMove = TableEncryptionService.Convert(this.CanBattleItemMove, key); - _o.IsAirUnit = TableEncryptionService.Convert(this.IsAirUnit, key); - _o.AirUnitHeight = TableEncryptionService.Convert(this.AirUnitHeight, key); - _o.Tags = new List(); - for (var _j = 0; _j < this.TagsLength; ++_j) { _o.Tags.Add(TableEncryptionService.Convert(this.Tags(_j), key)); } - _o.SecretStoneItemId = TableEncryptionService.Convert(this.SecretStoneItemId, key); - _o.SecretStoneItemAmount = TableEncryptionService.Convert(this.SecretStoneItemAmount, key); - _o.CharacterPieceItemId = TableEncryptionService.Convert(this.CharacterPieceItemId, key); - _o.CharacterPieceItemAmount = TableEncryptionService.Convert(this.CharacterPieceItemAmount, key); - _o.CombineRecipeId = TableEncryptionService.Convert(this.CombineRecipeId, key); - } - public static Offset Pack(FlatBufferBuilder builder, CharacterExcelT _o) - { - if (_o == null) return default(Offset); - var _dev_name = _o.DevName == null ? default(StringOffset) : builder.CreateString(_o.DevName); - var _release_date = _o.ReleaseDate == null ? default(StringOffset) : builder.CreateString(_o.ReleaseDate); - var _collection_visible_start_date = _o.CollectionVisibleStartDate == null ? default(StringOffset) : builder.CreateString(_o.CollectionVisibleStartDate); - var _collection_visible_end_date = _o.CollectionVisibleEndDate == null ? default(StringOffset) : builder.CreateString(_o.CollectionVisibleEndDate); - var _scenario_character = _o.ScenarioCharacter == null ? default(StringOffset) : builder.CreateString(_o.ScenarioCharacter); - var _equipment_slot = default(VectorOffset); - if (_o.EquipmentSlot != null) - { - var __equipment_slot = _o.EquipmentSlot.ToArray(); - _equipment_slot = CreateEquipmentSlotVector(builder, __equipment_slot); - } - var _tags = default(VectorOffset); - if (_o.Tags != null) - { - var __tags = _o.Tags.ToArray(); - _tags = CreateTagsVector(builder, __tags); - } - return CreateCharacterExcel( - builder, - _o.Id, - _dev_name, - _o.CostumeGroupId, - _o.IsPlayable, - _o.ProductionStep, - _o.CollectionVisible, - _release_date, - _collection_visible_start_date, - _collection_visible_end_date, - _o.IsPlayableCharacter, - _o.LocalizeEtcId, - _o.Rarity, - _o.IsNpc, - _o.TacticEntityType, - _o.CanSurvive, - _o.IsDummy, - _o.SubPartsCount, - _o.TacticRole, - _o.WeaponType, - _o.TacticRange, - _o.BulletType, - _o.ArmorType, - _o.AimIkType, - _o.School, - _o.Club, - _o.DefaultStarGrade, - _o.MaxStarGrade, - _o.StatLevelUpType, - _o.SquadType, - _o.Jumpable, - _o.PersonalityId, - _o.CharacterAiId, - _o.ExternalBtId, - _o.MainCombatStyleId, - _o.CombatStyleIndex, - _scenario_character, - _o.SpawnTemplateId, - _o.FavorLevelupType, - _equipment_slot, - _o.WeaponLocalizeId, - _o.DisplayEnemyInfo, - _o.BodyRadius, - _o.RandomEffectRadius, - _o.HpBarHide, - _o.HpBarHeight, - _o.HighlightFloaterHeight, - _o.EmojiOffsetX, - _o.EmojiOffsetY, - _o.MoveStartFrame, - _o.MoveEndFrame, - _o.JumpMotionFrame, - _o.AppearFrame, - _o.CanMove, - _o.CanFix, - _o.CanCrowdControl, - _o.CanBattleItemMove, - _o.IsAirUnit, - _o.AirUnitHeight, - _tags, - _o.SecretStoneItemId, - _o.SecretStoneItemAmount, - _o.CharacterPieceItemId, - _o.CharacterPieceItemAmount, - _o.CombineRecipeId); - } + public static void StartCharacterExcel(FlatBufferBuilder builder) { builder.StartTable(64); } + public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } + public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(1, devNameOffset.Value, 0); } + public static void AddCostumeGroupId(FlatBufferBuilder builder, long costumeGroupId) { builder.AddLong(2, costumeGroupId, 0); } + public static void AddIsPlayable(FlatBufferBuilder builder, bool isPlayable) { builder.AddBool(3, isPlayable, false); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(4, (int)productionStep, 0); } + public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(5, collectionVisible, false); } + public static void AddReleaseDate(FlatBufferBuilder builder, StringOffset releaseDateOffset) { builder.AddOffset(6, releaseDateOffset.Value, 0); } + public static void AddCollectionVisibleStartDate(FlatBufferBuilder builder, StringOffset collectionVisibleStartDateOffset) { builder.AddOffset(7, collectionVisibleStartDateOffset.Value, 0); } + public static void AddCollectionVisibleEndDate(FlatBufferBuilder builder, StringOffset collectionVisibleEndDateOffset) { builder.AddOffset(8, collectionVisibleEndDateOffset.Value, 0); } + public static void AddIsPlayableCharacter(FlatBufferBuilder builder, bool isPlayableCharacter) { builder.AddBool(9, isPlayableCharacter, false); } + public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(10, localizeEtcId, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(11, (int)rarity, 0); } + public static void AddIsNPC(FlatBufferBuilder builder, bool isNPC) { builder.AddBool(12, isNPC, false); } + public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(13, (int)tacticEntityType, 0); } + public static void AddCanSurvive(FlatBufferBuilder builder, bool canSurvive) { builder.AddBool(14, canSurvive, false); } + public static void AddIsDummy(FlatBufferBuilder builder, bool isDummy) { builder.AddBool(15, isDummy, false); } + public static void AddSubPartsCount(FlatBufferBuilder builder, int subPartsCount) { builder.AddInt(16, subPartsCount, 0); } + public static void AddTacticRole(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRole tacticRole) { builder.AddInt(17, (int)tacticRole, 0); } + public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(18, (int)weaponType, 0); } + public static void AddTacticRange(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRange tacticRange) { builder.AddInt(19, (int)tacticRange, 0); } + public static void AddBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType) { builder.AddInt(20, (int)bulletType, 0); } + public static void AddArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType armorType) { builder.AddInt(21, (int)armorType, 0); } + public static void AddAimIKType(FlatBufferBuilder builder, SCHALE.Common.FlatData.AimIKType aimIKType) { builder.AddInt(22, (int)aimIKType, 0); } + public static void AddSchool(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school) { builder.AddInt(23, (int)school, 0); } + public static void AddClub(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club) { builder.AddInt(24, (int)club, 0); } + public static void AddDefaultStarGrade(FlatBufferBuilder builder, int defaultStarGrade) { builder.AddInt(25, defaultStarGrade, 0); } + public static void AddMaxStarGrade(FlatBufferBuilder builder, int maxStarGrade) { builder.AddInt(26, maxStarGrade, 0); } + public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(27, (int)statLevelUpType, 0); } + public static void AddSquadType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SquadType squadType) { builder.AddInt(28, (int)squadType, 0); } + public static void AddJumpable(FlatBufferBuilder builder, bool jumpable) { builder.AddBool(29, jumpable, false); } + public static void AddPersonalityId(FlatBufferBuilder builder, long personalityId) { builder.AddLong(30, personalityId, 0); } + public static void AddCharacterAIId(FlatBufferBuilder builder, long characterAIId) { builder.AddLong(31, characterAIId, 0); } + public static void AddExternalBTId(FlatBufferBuilder builder, long externalBTId) { builder.AddLong(32, externalBTId, 0); } + public static void AddMainCombatStyleId(FlatBufferBuilder builder, long mainCombatStyleId) { builder.AddLong(33, mainCombatStyleId, 0); } + public static void AddCombatStyleIndex(FlatBufferBuilder builder, int combatStyleIndex) { builder.AddInt(34, combatStyleIndex, 0); } + public static void AddScenarioCharacter(FlatBufferBuilder builder, StringOffset scenarioCharacterOffset) { builder.AddOffset(35, scenarioCharacterOffset.Value, 0); } + public static void AddSpawnTemplateId(FlatBufferBuilder builder, uint spawnTemplateId) { builder.AddUint(36, spawnTemplateId, 0); } + public static void AddFavorLevelupType(FlatBufferBuilder builder, int favorLevelupType) { builder.AddInt(37, favorLevelupType, 0); } + public static void AddEquipmentSlot(FlatBufferBuilder builder, VectorOffset equipmentSlotOffset) { builder.AddOffset(38, equipmentSlotOffset.Value, 0); } + public static VectorOffset CreateEquipmentSlotVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } + public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateEquipmentSlotVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartEquipmentSlotVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } + public static void AddWeaponLocalizeId(FlatBufferBuilder builder, uint weaponLocalizeId) { builder.AddUint(39, weaponLocalizeId, 0); } + public static void AddDisplayEnemyInfo(FlatBufferBuilder builder, bool displayEnemyInfo) { builder.AddBool(40, displayEnemyInfo, false); } + public static void AddBodyRadius(FlatBufferBuilder builder, long bodyRadius) { builder.AddLong(41, bodyRadius, 0); } + public static void AddRandomEffectRadius(FlatBufferBuilder builder, long randomEffectRadius) { builder.AddLong(42, randomEffectRadius, 0); } + public static void AddHPBarHide(FlatBufferBuilder builder, bool hPBarHide) { builder.AddBool(43, hPBarHide, false); } + public static void AddHpBarHeight(FlatBufferBuilder builder, float hpBarHeight) { builder.AddFloat(44, hpBarHeight, 0.0f); } + public static void AddHighlightFloaterHeight(FlatBufferBuilder builder, float highlightFloaterHeight) { builder.AddFloat(45, highlightFloaterHeight, 0.0f); } + public static void AddEmojiOffsetX(FlatBufferBuilder builder, float emojiOffsetX) { builder.AddFloat(46, emojiOffsetX, 0.0f); } + public static void AddEmojiOffsetY(FlatBufferBuilder builder, float emojiOffsetY) { builder.AddFloat(47, emojiOffsetY, 0.0f); } + public static void AddMoveStartFrame(FlatBufferBuilder builder, int moveStartFrame) { builder.AddInt(48, moveStartFrame, 0); } + public static void AddMoveEndFrame(FlatBufferBuilder builder, int moveEndFrame) { builder.AddInt(49, moveEndFrame, 0); } + public static void AddJumpMotionFrame(FlatBufferBuilder builder, int jumpMotionFrame) { builder.AddInt(50, jumpMotionFrame, 0); } + public static void AddAppearFrame(FlatBufferBuilder builder, int appearFrame) { builder.AddInt(51, appearFrame, 0); } + public static void AddCanMove(FlatBufferBuilder builder, bool canMove) { builder.AddBool(52, canMove, false); } + public static void AddCanFix(FlatBufferBuilder builder, bool canFix) { builder.AddBool(53, canFix, false); } + public static void AddCanCrowdControl(FlatBufferBuilder builder, bool canCrowdControl) { builder.AddBool(54, canCrowdControl, false); } + public static void AddCanBattleItemMove(FlatBufferBuilder builder, bool canBattleItemMove) { builder.AddBool(55, canBattleItemMove, false); } + public static void AddIsAirUnit(FlatBufferBuilder builder, bool isAirUnit) { builder.AddBool(56, isAirUnit, false); } + public static void AddAirUnitHeight(FlatBufferBuilder builder, long airUnitHeight) { builder.AddLong(57, airUnitHeight, 0); } + public static void AddTags(FlatBufferBuilder builder, VectorOffset tagsOffset) { builder.AddOffset(58, tagsOffset.Value, 0); } + public static VectorOffset CreateTagsVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } + public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateTagsVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartTagsVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } + public static void AddSecretStoneItemId(FlatBufferBuilder builder, long secretStoneItemId) { builder.AddLong(59, secretStoneItemId, 0); } + public static void AddSecretStoneItemAmount(FlatBufferBuilder builder, int secretStoneItemAmount) { builder.AddInt(60, secretStoneItemAmount, 0); } + public static void AddCharacterPieceItemId(FlatBufferBuilder builder, long characterPieceItemId) { builder.AddLong(61, characterPieceItemId, 0); } + public static void AddCharacterPieceItemAmount(FlatBufferBuilder builder, int characterPieceItemAmount) { builder.AddInt(62, characterPieceItemAmount, 0); } + public static void AddCombineRecipeId(FlatBufferBuilder builder, long combineRecipeId) { builder.AddLong(63, combineRecipeId, 0); } + public static Offset EndCharacterExcel(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public CharacterExcelT UnPack() { + var _o = new CharacterExcelT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(CharacterExcelT _o) { + byte[] key = TableEncryptionService.CreateKey("Character"); + _o.Id = TableEncryptionService.Convert(this.Id, key); + _o.DevName = TableEncryptionService.Convert(this.DevName, key); + _o.CostumeGroupId = TableEncryptionService.Convert(this.CostumeGroupId, key); + _o.IsPlayable = TableEncryptionService.Convert(this.IsPlayable, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); + _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); + _o.ReleaseDate = TableEncryptionService.Convert(this.ReleaseDate, key); + _o.CollectionVisibleStartDate = TableEncryptionService.Convert(this.CollectionVisibleStartDate, key); + _o.CollectionVisibleEndDate = TableEncryptionService.Convert(this.CollectionVisibleEndDate, key); + _o.IsPlayableCharacter = TableEncryptionService.Convert(this.IsPlayableCharacter, key); + _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); + _o.IsNPC = TableEncryptionService.Convert(this.IsNPC, key); + _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key); + _o.CanSurvive = TableEncryptionService.Convert(this.CanSurvive, key); + _o.IsDummy = TableEncryptionService.Convert(this.IsDummy, key); + _o.SubPartsCount = TableEncryptionService.Convert(this.SubPartsCount, key); + _o.TacticRole = TableEncryptionService.Convert(this.TacticRole, key); + _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key); + _o.TacticRange = TableEncryptionService.Convert(this.TacticRange, key); + _o.BulletType = TableEncryptionService.Convert(this.BulletType, key); + _o.ArmorType = TableEncryptionService.Convert(this.ArmorType, key); + _o.AimIKType = TableEncryptionService.Convert(this.AimIKType, key); + _o.School = TableEncryptionService.Convert(this.School, key); + _o.Club = TableEncryptionService.Convert(this.Club, key); + _o.DefaultStarGrade = TableEncryptionService.Convert(this.DefaultStarGrade, key); + _o.MaxStarGrade = TableEncryptionService.Convert(this.MaxStarGrade, key); + _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key); + _o.SquadType = TableEncryptionService.Convert(this.SquadType, key); + _o.Jumpable = TableEncryptionService.Convert(this.Jumpable, key); + _o.PersonalityId = TableEncryptionService.Convert(this.PersonalityId, key); + _o.CharacterAIId = TableEncryptionService.Convert(this.CharacterAIId, key); + _o.ExternalBTId = TableEncryptionService.Convert(this.ExternalBTId, key); + _o.MainCombatStyleId = TableEncryptionService.Convert(this.MainCombatStyleId, key); + _o.CombatStyleIndex = TableEncryptionService.Convert(this.CombatStyleIndex, key); + _o.ScenarioCharacter = TableEncryptionService.Convert(this.ScenarioCharacter, key); + _o.SpawnTemplateId = TableEncryptionService.Convert(this.SpawnTemplateId, key); + _o.FavorLevelupType = TableEncryptionService.Convert(this.FavorLevelupType, key); + _o.EquipmentSlot = new List(); + for (var _j = 0; _j < this.EquipmentSlotLength; ++_j) {_o.EquipmentSlot.Add(TableEncryptionService.Convert(this.EquipmentSlot(_j), key));} + _o.WeaponLocalizeId = TableEncryptionService.Convert(this.WeaponLocalizeId, key); + _o.DisplayEnemyInfo = TableEncryptionService.Convert(this.DisplayEnemyInfo, key); + _o.BodyRadius = TableEncryptionService.Convert(this.BodyRadius, key); + _o.RandomEffectRadius = TableEncryptionService.Convert(this.RandomEffectRadius, key); + _o.HPBarHide = TableEncryptionService.Convert(this.HPBarHide, key); + _o.HpBarHeight = TableEncryptionService.Convert(this.HpBarHeight, key); + _o.HighlightFloaterHeight = TableEncryptionService.Convert(this.HighlightFloaterHeight, key); + _o.EmojiOffsetX = TableEncryptionService.Convert(this.EmojiOffsetX, key); + _o.EmojiOffsetY = TableEncryptionService.Convert(this.EmojiOffsetY, key); + _o.MoveStartFrame = TableEncryptionService.Convert(this.MoveStartFrame, key); + _o.MoveEndFrame = TableEncryptionService.Convert(this.MoveEndFrame, key); + _o.JumpMotionFrame = TableEncryptionService.Convert(this.JumpMotionFrame, key); + _o.AppearFrame = TableEncryptionService.Convert(this.AppearFrame, key); + _o.CanMove = TableEncryptionService.Convert(this.CanMove, key); + _o.CanFix = TableEncryptionService.Convert(this.CanFix, key); + _o.CanCrowdControl = TableEncryptionService.Convert(this.CanCrowdControl, key); + _o.CanBattleItemMove = TableEncryptionService.Convert(this.CanBattleItemMove, key); + _o.IsAirUnit = TableEncryptionService.Convert(this.IsAirUnit, key); + _o.AirUnitHeight = TableEncryptionService.Convert(this.AirUnitHeight, key); + _o.Tags = new List(); + for (var _j = 0; _j < this.TagsLength; ++_j) {_o.Tags.Add(TableEncryptionService.Convert(this.Tags(_j), key));} + _o.SecretStoneItemId = TableEncryptionService.Convert(this.SecretStoneItemId, key); + _o.SecretStoneItemAmount = TableEncryptionService.Convert(this.SecretStoneItemAmount, key); + _o.CharacterPieceItemId = TableEncryptionService.Convert(this.CharacterPieceItemId, key); + _o.CharacterPieceItemAmount = TableEncryptionService.Convert(this.CharacterPieceItemAmount, key); + _o.CombineRecipeId = TableEncryptionService.Convert(this.CombineRecipeId, key); + } + public static Offset Pack(FlatBufferBuilder builder, CharacterExcelT _o) { + if (_o == null) return default(Offset); + var _DevName = _o.DevName == null ? default(StringOffset) : builder.CreateString(_o.DevName); + var _ReleaseDate = _o.ReleaseDate == null ? default(StringOffset) : builder.CreateString(_o.ReleaseDate); + var _CollectionVisibleStartDate = _o.CollectionVisibleStartDate == null ? default(StringOffset) : builder.CreateString(_o.CollectionVisibleStartDate); + var _CollectionVisibleEndDate = _o.CollectionVisibleEndDate == null ? default(StringOffset) : builder.CreateString(_o.CollectionVisibleEndDate); + var _ScenarioCharacter = _o.ScenarioCharacter == null ? default(StringOffset) : builder.CreateString(_o.ScenarioCharacter); + var _EquipmentSlot = default(VectorOffset); + if (_o.EquipmentSlot != null) { + var __EquipmentSlot = _o.EquipmentSlot.ToArray(); + _EquipmentSlot = CreateEquipmentSlotVector(builder, __EquipmentSlot); } - - public class CharacterExcelT - { - public long Id { get; set; } - public string DevName { get; set; } - public long CostumeGroupId { get; set; } - public bool IsPlayable { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } - public bool CollectionVisible { get; set; } - public string ReleaseDate { get; set; } - public string CollectionVisibleStartDate { get; set; } - public string CollectionVisibleEndDate { get; set; } - public bool IsPlayableCharacter { get; set; } - public uint LocalizeEtcId { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity { get; set; } - public bool IsNpc { get; set; } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; } - public bool CanSurvive { get; set; } - public bool IsDummy { get; set; } - public int SubPartsCount { get; set; } - public SCHALE.Common.FlatData.TacticRole TacticRole { get; set; } - public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; } - public SCHALE.Common.FlatData.TacticRange TacticRange { get; set; } - public SCHALE.Common.FlatData.BulletType BulletType { get; set; } - public SCHALE.Common.FlatData.ArmorType ArmorType { get; set; } - public SCHALE.Common.FlatData.AimIKType AimIkType { get; set; } - public SCHALE.Common.FlatData.School School { get; set; } - public SCHALE.Common.FlatData.Club Club { get; set; } - public int DefaultStarGrade { get; set; } - public int MaxStarGrade { get; set; } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; } - public SCHALE.Common.FlatData.SquadType SquadType { get; set; } - public bool Jumpable { get; set; } - public long PersonalityId { get; set; } - public long CharacterAiId { get; set; } - public long ExternalBtId { get; set; } - public long MainCombatStyleId { get; set; } - public int CombatStyleIndex { get; set; } - public string ScenarioCharacter { get; set; } - public uint SpawnTemplateId { get; set; } - public int FavorLevelupType { get; set; } - public List EquipmentSlot { get; set; } - public uint WeaponLocalizeId { get; set; } - public bool DisplayEnemyInfo { get; set; } - public long BodyRadius { get; set; } - public long RandomEffectRadius { get; set; } - public bool HpBarHide { get; set; } - public float HpBarHeight { get; set; } - public float HighlightFloaterHeight { get; set; } - public float EmojiOffsetX { get; set; } - public float EmojiOffsetY { get; set; } - public int MoveStartFrame { get; set; } - public int MoveEndFrame { get; set; } - public int JumpMotionFrame { get; set; } - public int AppearFrame { get; set; } - public bool CanMove { get; set; } - public bool CanFix { get; set; } - public bool CanCrowdControl { get; set; } - public bool CanBattleItemMove { get; set; } - public bool IsAirUnit { get; set; } - public long AirUnitHeight { get; set; } - public List Tags { get; set; } - public long SecretStoneItemId { get; set; } - public int SecretStoneItemAmount { get; set; } - public long CharacterPieceItemId { get; set; } - public int CharacterPieceItemAmount { get; set; } - public long CombineRecipeId { get; set; } - - public CharacterExcelT() - { - this.Id = 0; - this.DevName = null; - this.CostumeGroupId = 0; - this.IsPlayable = false; - this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; - this.CollectionVisible = false; - this.ReleaseDate = null; - this.CollectionVisibleStartDate = null; - this.CollectionVisibleEndDate = null; - this.IsPlayableCharacter = false; - this.LocalizeEtcId = 0; - this.Rarity = SCHALE.Common.FlatData.Rarity.N; - this.IsNpc = false; - this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None; - this.CanSurvive = false; - this.IsDummy = false; - this.SubPartsCount = 0; - this.TacticRole = SCHALE.Common.FlatData.TacticRole.None; - this.WeaponType = SCHALE.Common.FlatData.WeaponType.None; - this.TacticRange = SCHALE.Common.FlatData.TacticRange.Back; - this.BulletType = SCHALE.Common.FlatData.BulletType.Normal; - this.ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor; - this.AimIkType = SCHALE.Common.FlatData.AimIKType.None; - this.School = SCHALE.Common.FlatData.School.None; - this.Club = SCHALE.Common.FlatData.Club.None; - this.DefaultStarGrade = 0; - this.MaxStarGrade = 0; - this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard; - this.SquadType = SCHALE.Common.FlatData.SquadType.None; - this.Jumpable = false; - this.PersonalityId = 0; - this.CharacterAiId = 0; - this.ExternalBtId = 0; - this.MainCombatStyleId = 0; - this.CombatStyleIndex = 0; - this.ScenarioCharacter = null; - this.SpawnTemplateId = 0; - this.FavorLevelupType = 0; - this.EquipmentSlot = null; - this.WeaponLocalizeId = 0; - this.DisplayEnemyInfo = false; - this.BodyRadius = 0; - this.RandomEffectRadius = 0; - this.HpBarHide = false; - this.HpBarHeight = 0.0f; - this.HighlightFloaterHeight = 0.0f; - this.EmojiOffsetX = 0.0f; - this.EmojiOffsetY = 0.0f; - this.MoveStartFrame = 0; - this.MoveEndFrame = 0; - this.JumpMotionFrame = 0; - this.AppearFrame = 0; - this.CanMove = false; - this.CanFix = false; - this.CanCrowdControl = false; - this.CanBattleItemMove = false; - this.IsAirUnit = false; - this.AirUnitHeight = 0; - this.Tags = null; - this.SecretStoneItemId = 0; - this.SecretStoneItemAmount = 0; - this.CharacterPieceItemId = 0; - this.CharacterPieceItemAmount = 0; - this.CombineRecipeId = 0; - } + var _Tags = default(VectorOffset); + if (_o.Tags != null) { + var __Tags = _o.Tags.ToArray(); + _Tags = CreateTagsVector(builder, __Tags); } + return CreateCharacterExcel( + builder, + _o.Id, + _DevName, + _o.CostumeGroupId, + _o.IsPlayable, + _o.ProductionStep, + _o.CollectionVisible, + _ReleaseDate, + _CollectionVisibleStartDate, + _CollectionVisibleEndDate, + _o.IsPlayableCharacter, + _o.LocalizeEtcId, + _o.Rarity, + _o.IsNPC, + _o.TacticEntityType, + _o.CanSurvive, + _o.IsDummy, + _o.SubPartsCount, + _o.TacticRole, + _o.WeaponType, + _o.TacticRange, + _o.BulletType, + _o.ArmorType, + _o.AimIKType, + _o.School, + _o.Club, + _o.DefaultStarGrade, + _o.MaxStarGrade, + _o.StatLevelUpType, + _o.SquadType, + _o.Jumpable, + _o.PersonalityId, + _o.CharacterAIId, + _o.ExternalBTId, + _o.MainCombatStyleId, + _o.CombatStyleIndex, + _ScenarioCharacter, + _o.SpawnTemplateId, + _o.FavorLevelupType, + _EquipmentSlot, + _o.WeaponLocalizeId, + _o.DisplayEnemyInfo, + _o.BodyRadius, + _o.RandomEffectRadius, + _o.HPBarHide, + _o.HpBarHeight, + _o.HighlightFloaterHeight, + _o.EmojiOffsetX, + _o.EmojiOffsetY, + _o.MoveStartFrame, + _o.MoveEndFrame, + _o.JumpMotionFrame, + _o.AppearFrame, + _o.CanMove, + _o.CanFix, + _o.CanCrowdControl, + _o.CanBattleItemMove, + _o.IsAirUnit, + _o.AirUnitHeight, + _Tags, + _o.SecretStoneItemId, + _o.SecretStoneItemAmount, + _o.CharacterPieceItemId, + _o.CharacterPieceItemAmount, + _o.CombineRecipeId); + } +} + +public class CharacterExcelT +{ + public long Id { get; set; } + public string DevName { get; set; } + public long CostumeGroupId { get; set; } + public bool IsPlayable { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } + public bool CollectionVisible { get; set; } + public string ReleaseDate { get; set; } + public string CollectionVisibleStartDate { get; set; } + public string CollectionVisibleEndDate { get; set; } + public bool IsPlayableCharacter { get; set; } + public uint LocalizeEtcId { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } + public bool IsNPC { get; set; } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; } + public bool CanSurvive { get; set; } + public bool IsDummy { get; set; } + public int SubPartsCount { get; set; } + public SCHALE.Common.FlatData.TacticRole TacticRole { get; set; } + public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; } + public SCHALE.Common.FlatData.TacticRange TacticRange { get; set; } + public SCHALE.Common.FlatData.BulletType BulletType { get; set; } + public SCHALE.Common.FlatData.ArmorType ArmorType { get; set; } + public SCHALE.Common.FlatData.AimIKType AimIKType { get; set; } + public SCHALE.Common.FlatData.School School { get; set; } + public SCHALE.Common.FlatData.Club Club { get; set; } + public int DefaultStarGrade { get; set; } + public int MaxStarGrade { get; set; } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; } + public SCHALE.Common.FlatData.SquadType SquadType { get; set; } + public bool Jumpable { get; set; } + public long PersonalityId { get; set; } + public long CharacterAIId { get; set; } + public long ExternalBTId { get; set; } + public long MainCombatStyleId { get; set; } + public int CombatStyleIndex { get; set; } + public string ScenarioCharacter { get; set; } + public uint SpawnTemplateId { get; set; } + public int FavorLevelupType { get; set; } + public List EquipmentSlot { get; set; } + public uint WeaponLocalizeId { get; set; } + public bool DisplayEnemyInfo { get; set; } + public long BodyRadius { get; set; } + public long RandomEffectRadius { get; set; } + public bool HPBarHide { get; set; } + public float HpBarHeight { get; set; } + public float HighlightFloaterHeight { get; set; } + public float EmojiOffsetX { get; set; } + public float EmojiOffsetY { get; set; } + public int MoveStartFrame { get; set; } + public int MoveEndFrame { get; set; } + public int JumpMotionFrame { get; set; } + public int AppearFrame { get; set; } + public bool CanMove { get; set; } + public bool CanFix { get; set; } + public bool CanCrowdControl { get; set; } + public bool CanBattleItemMove { get; set; } + public bool IsAirUnit { get; set; } + public long AirUnitHeight { get; set; } + public List Tags { get; set; } + public long SecretStoneItemId { get; set; } + public int SecretStoneItemAmount { get; set; } + public long CharacterPieceItemId { get; set; } + public int CharacterPieceItemAmount { get; set; } + public long CombineRecipeId { get; set; } + + public CharacterExcelT() { + this.Id = 0; + this.DevName = null; + this.CostumeGroupId = 0; + this.IsPlayable = false; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.CollectionVisible = false; + this.ReleaseDate = null; + this.CollectionVisibleStartDate = null; + this.CollectionVisibleEndDate = null; + this.IsPlayableCharacter = false; + this.LocalizeEtcId = 0; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; + this.IsNPC = false; + this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None; + this.CanSurvive = false; + this.IsDummy = false; + this.SubPartsCount = 0; + this.TacticRole = SCHALE.Common.FlatData.TacticRole.None; + this.WeaponType = SCHALE.Common.FlatData.WeaponType.None; + this.TacticRange = SCHALE.Common.FlatData.TacticRange.Back; + this.BulletType = SCHALE.Common.FlatData.BulletType.Normal; + this.ArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor; + this.AimIKType = SCHALE.Common.FlatData.AimIKType.None; + this.School = SCHALE.Common.FlatData.School.None; + this.Club = SCHALE.Common.FlatData.Club.None; + this.DefaultStarGrade = 0; + this.MaxStarGrade = 0; + this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard; + this.SquadType = SCHALE.Common.FlatData.SquadType.None; + this.Jumpable = false; + this.PersonalityId = 0; + this.CharacterAIId = 0; + this.ExternalBTId = 0; + this.MainCombatStyleId = 0; + this.CombatStyleIndex = 0; + this.ScenarioCharacter = null; + this.SpawnTemplateId = 0; + this.FavorLevelupType = 0; + this.EquipmentSlot = null; + this.WeaponLocalizeId = 0; + this.DisplayEnemyInfo = false; + this.BodyRadius = 0; + this.RandomEffectRadius = 0; + this.HPBarHide = false; + this.HpBarHeight = 0.0f; + this.HighlightFloaterHeight = 0.0f; + this.EmojiOffsetX = 0.0f; + this.EmojiOffsetY = 0.0f; + this.MoveStartFrame = 0; + this.MoveEndFrame = 0; + this.JumpMotionFrame = 0; + this.AppearFrame = 0; + this.CanMove = false; + this.CanFix = false; + this.CanCrowdControl = false; + this.CanBattleItemMove = false; + this.IsAirUnit = false; + this.AirUnitHeight = 0; + this.Tags = null; + this.SecretStoneItemId = 0; + this.SecretStoneItemAmount = 0; + this.CharacterPieceItemId = 0; + this.CharacterPieceItemAmount = 0; + this.CombineRecipeId = 0; + } +} - static public class CharacterExcelVerify - { - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 6 /*DevName*/, false) - && verifier.VerifyField(tablePos, 8 /*CostumeGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*IsPlayable*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 12 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*CollectionVisible*/, 1 /*bool*/, 1, false) - && verifier.VerifyString(tablePos, 16 /*ReleaseDate*/, false) - && verifier.VerifyString(tablePos, 18 /*CollectionVisibleStartDate*/, false) - && verifier.VerifyString(tablePos, 20 /*CollectionVisibleEndDate*/, false) - && verifier.VerifyField(tablePos, 22 /*IsPlayableCharacter*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 24 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 26 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) - && verifier.VerifyField(tablePos, 28 /*IsNpc*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 30 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) - && verifier.VerifyField(tablePos, 32 /*CanSurvive*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 34 /*IsDummy*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 36 /*SubPartsCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 38 /*TacticRole*/, 4 /*SCHALE.Common.FlatData.TacticRole*/, 4, false) - && verifier.VerifyField(tablePos, 40 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) - && verifier.VerifyField(tablePos, 42 /*TacticRange*/, 4 /*SCHALE.Common.FlatData.TacticRange*/, 4, false) - && verifier.VerifyField(tablePos, 44 /*BulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) - && verifier.VerifyField(tablePos, 46 /*ArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) - && verifier.VerifyField(tablePos, 48 /*AimIkType*/, 4 /*SCHALE.Common.FlatData.AimIKType*/, 4, false) - && verifier.VerifyField(tablePos, 50 /*School*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) - && verifier.VerifyField(tablePos, 52 /*Club*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) - && verifier.VerifyField(tablePos, 54 /*DefaultStarGrade*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 56 /*MaxStarGrade*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 58 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) - && verifier.VerifyField(tablePos, 60 /*SquadType*/, 4 /*SCHALE.Common.FlatData.SquadType*/, 4, false) - && verifier.VerifyField(tablePos, 62 /*Jumpable*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 64 /*PersonalityId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 66 /*CharacterAiId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 68 /*ExternalBtId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 70 /*MainCombatStyleId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 72 /*CombatStyleIndex*/, 4 /*int*/, 4, false) - && verifier.VerifyString(tablePos, 74 /*ScenarioCharacter*/, false) - && verifier.VerifyField(tablePos, 76 /*SpawnTemplateId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 78 /*FavorLevelupType*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 80 /*EquipmentSlot*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, false) - && verifier.VerifyField(tablePos, 82 /*WeaponLocalizeId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 84 /*DisplayEnemyInfo*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 86 /*BodyRadius*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 88 /*RandomEffectRadius*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 90 /*HpBarHide*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 92 /*HpBarHeight*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 94 /*HighlightFloaterHeight*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 96 /*EmojiOffsetX*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 98 /*EmojiOffsetY*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 100 /*MoveStartFrame*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 102 /*MoveEndFrame*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 104 /*JumpMotionFrame*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 106 /*AppearFrame*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 108 /*CanMove*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 110 /*CanFix*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 112 /*CanCrowdControl*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 114 /*CanBattleItemMove*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 116 /*IsAirUnit*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 118 /*AirUnitHeight*/, 8 /*long*/, 8, false) - && verifier.VerifyVectorOfData(tablePos, 120 /*Tags*/, 4 /*SCHALE.Common.FlatData.Tag*/, false) - && verifier.VerifyField(tablePos, 122 /*SecretStoneItemId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 124 /*SecretStoneItemAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 126 /*CharacterPieceItemId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 128 /*CharacterPieceItemAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 130 /*CombineRecipeId*/, 8 /*long*/, 8, false) - && verifier.VerifyTableEnd(tablePos); - } - } +static public class CharacterExcelVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 6 /*DevName*/, false) + && verifier.VerifyField(tablePos, 8 /*CostumeGroupId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 10 /*IsPlayable*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 12 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*CollectionVisible*/, 1 /*bool*/, 1, false) + && verifier.VerifyString(tablePos, 16 /*ReleaseDate*/, false) + && verifier.VerifyString(tablePos, 18 /*CollectionVisibleStartDate*/, false) + && verifier.VerifyString(tablePos, 20 /*CollectionVisibleEndDate*/, false) + && verifier.VerifyField(tablePos, 22 /*IsPlayableCharacter*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 24 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 28 /*IsNPC*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 30 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) + && verifier.VerifyField(tablePos, 32 /*CanSurvive*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 34 /*IsDummy*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 36 /*SubPartsCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 38 /*TacticRole*/, 4 /*SCHALE.Common.FlatData.TacticRole*/, 4, false) + && verifier.VerifyField(tablePos, 40 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) + && verifier.VerifyField(tablePos, 42 /*TacticRange*/, 4 /*SCHALE.Common.FlatData.TacticRange*/, 4, false) + && verifier.VerifyField(tablePos, 44 /*BulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) + && verifier.VerifyField(tablePos, 46 /*ArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) + && verifier.VerifyField(tablePos, 48 /*AimIKType*/, 4 /*SCHALE.Common.FlatData.AimIKType*/, 4, false) + && verifier.VerifyField(tablePos, 50 /*School*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) + && verifier.VerifyField(tablePos, 52 /*Club*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) + && verifier.VerifyField(tablePos, 54 /*DefaultStarGrade*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 56 /*MaxStarGrade*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 58 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) + && verifier.VerifyField(tablePos, 60 /*SquadType*/, 4 /*SCHALE.Common.FlatData.SquadType*/, 4, false) + && verifier.VerifyField(tablePos, 62 /*Jumpable*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 64 /*PersonalityId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 66 /*CharacterAIId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 68 /*ExternalBTId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 70 /*MainCombatStyleId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 72 /*CombatStyleIndex*/, 4 /*int*/, 4, false) + && verifier.VerifyString(tablePos, 74 /*ScenarioCharacter*/, false) + && verifier.VerifyField(tablePos, 76 /*SpawnTemplateId*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 78 /*FavorLevelupType*/, 4 /*int*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 80 /*EquipmentSlot*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, false) + && verifier.VerifyField(tablePos, 82 /*WeaponLocalizeId*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 84 /*DisplayEnemyInfo*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 86 /*BodyRadius*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 88 /*RandomEffectRadius*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 90 /*HPBarHide*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 92 /*HpBarHeight*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 94 /*HighlightFloaterHeight*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 96 /*EmojiOffsetX*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 98 /*EmojiOffsetY*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 100 /*MoveStartFrame*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 102 /*MoveEndFrame*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 104 /*JumpMotionFrame*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 106 /*AppearFrame*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 108 /*CanMove*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 110 /*CanFix*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 112 /*CanCrowdControl*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 114 /*CanBattleItemMove*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 116 /*IsAirUnit*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 118 /*AirUnitHeight*/, 8 /*long*/, 8, false) + && verifier.VerifyVectorOfData(tablePos, 120 /*Tags*/, 4 /*SCHALE.Common.FlatData.Tag*/, false) + && verifier.VerifyField(tablePos, 122 /*SecretStoneItemId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 124 /*SecretStoneItemAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 126 /*CharacterPieceItemId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 128 /*CharacterPieceItemAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 130 /*CombineRecipeId*/, 8 /*long*/, 8, false) + && verifier.VerifyTableEnd(tablePos); + } +} } diff --git a/SCHALE.Common/FlatData/CharacterExcelTable.cs b/SCHALE.Common/FlatData/CharacterExcelTable.cs index 9e202f1..2c0213a 100644 --- a/SCHALE.Common/FlatData/CharacterExcelTable.cs +++ b/SCHALE.Common/FlatData/CharacterExcelTable.cs @@ -24,9 +24,9 @@ public struct CharacterExcelTable : IFlatbufferObject public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } public static Offset CreateCharacterExcelTable(FlatBufferBuilder builder, - VectorOffset data_listOffset = default(VectorOffset)) { + VectorOffset DataListOffset = default(VectorOffset)) { builder.StartTable(1); - CharacterExcelTable.AddDataList(builder, data_listOffset); + CharacterExcelTable.AddDataList(builder, DataListOffset); return CharacterExcelTable.EndCharacterExcelTable(builder); } @@ -53,15 +53,15 @@ public struct CharacterExcelTable : IFlatbufferObject } public static Offset Pack(FlatBufferBuilder builder, CharacterExcelTableT _o) { if (_o == null) return default(Offset); - var _data_list = default(VectorOffset); + var _DataList = default(VectorOffset); if (_o.DataList != null) { - var __data_list = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.CharacterExcel.Pack(builder, _o.DataList[_j]); } - _data_list = CreateDataListVector(builder, __data_list); + var __DataList = new Offset[_o.DataList.Count]; + for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterExcel.Pack(builder, _o.DataList[_j]); } + _DataList = CreateDataListVector(builder, __DataList); } return CreateCharacterExcelTable( builder, - _data_list); + _DataList); } } diff --git a/SCHALE.Common/FlatData/CharacterGearExcel.cs b/SCHALE.Common/FlatData/CharacterGearExcel.cs index 9b78578..b3b0f93 100644 --- a/SCHALE.Common/FlatData/CharacterGearExcel.cs +++ b/SCHALE.Common/FlatData/CharacterGearExcel.cs @@ -22,7 +22,7 @@ public struct CharacterGearExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CharacterId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public long Tier { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long NextTierEquipment { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RecipeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -79,7 +79,7 @@ public struct CharacterGearExcel : IFlatbufferObject public static Offset CreateCharacterGearExcel(FlatBufferBuilder builder, long Id = 0, long CharacterId = 0, - SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, + SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard, long Tier = 0, long NextTierEquipment = 0, long RecipeId = 0, @@ -107,14 +107,14 @@ public struct CharacterGearExcel : IFlatbufferObject CharacterGearExcel.AddMinStatValue(builder, MinStatValueOffset); CharacterGearExcel.AddStatType(builder, StatTypeOffset); CharacterGearExcel.AddLearnSkillSlot(builder, LearnSkillSlotOffset); - CharacterGearExcel.AddStatLevelUpType_(builder, StatLevelUpType_); + CharacterGearExcel.AddStatLevelUpType(builder, StatLevelUpType); return CharacterGearExcel.EndCharacterGearExcel(builder); } public static void StartCharacterGearExcel(FlatBufferBuilder builder) { builder.StartTable(15); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(1, characterId, 0); } - public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(2, (int)statLevelUpType_, 0); } + public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(2, (int)statLevelUpType, 0); } public static void AddTier(FlatBufferBuilder builder, long tier) { builder.AddLong(3, tier, 0); } public static void AddNextTierEquipment(FlatBufferBuilder builder, long nextTierEquipment) { builder.AddLong(4, nextTierEquipment, 0); } public static void AddRecipeId(FlatBufferBuilder builder, long recipeId) { builder.AddLong(5, recipeId, 0); } @@ -160,7 +160,7 @@ public struct CharacterGearExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("CharacterGear"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key); - _o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); + _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key); _o.Tier = TableEncryptionService.Convert(this.Tier, key); _o.NextTierEquipment = TableEncryptionService.Convert(this.NextTierEquipment, key); _o.RecipeId = TableEncryptionService.Convert(this.RecipeId, key); @@ -206,7 +206,7 @@ public struct CharacterGearExcel : IFlatbufferObject builder, _o.Id, _o.CharacterId, - _o.StatLevelUpType_, + _o.StatLevelUpType, _o.Tier, _o.NextTierEquipment, _o.RecipeId, @@ -226,7 +226,7 @@ public class CharacterGearExcelT { public long Id { get; set; } public long CharacterId { get; set; } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; } public long Tier { get; set; } public long NextTierEquipment { get; set; } public long RecipeId { get; set; } @@ -243,7 +243,7 @@ public class CharacterGearExcelT public CharacterGearExcelT() { this.Id = 0; this.CharacterId = 0; - this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; + this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.Tier = 0; this.NextTierEquipment = 0; this.RecipeId = 0; @@ -267,7 +267,7 @@ static public class CharacterGearExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*CharacterId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Tier*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*NextTierEquipment*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*RecipeId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CharacterGearExcelTable.cs b/SCHALE.Common/FlatData/CharacterGearExcelTable.cs deleted file mode 100644 index 58e3124..0000000 --- a/SCHALE.Common/FlatData/CharacterGearExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct CharacterGearExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static CharacterGearExcelTable GetRootAsCharacterGearExcelTable(ByteBuffer _bb) { return GetRootAsCharacterGearExcelTable(_bb, new CharacterGearExcelTable()); } - public static CharacterGearExcelTable GetRootAsCharacterGearExcelTable(ByteBuffer _bb, CharacterGearExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public CharacterGearExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.CharacterGearExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CharacterGearExcel?)(new SCHALE.Common.FlatData.CharacterGearExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateCharacterGearExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - CharacterGearExcelTable.AddDataList(builder, DataListOffset); - return CharacterGearExcelTable.EndCharacterGearExcelTable(builder); - } - - public static void StartCharacterGearExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndCharacterGearExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public CharacterGearExcelTableT UnPack() { - var _o = new CharacterGearExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(CharacterGearExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("CharacterGearExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, CharacterGearExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterGearExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateCharacterGearExcelTable( - builder, - _DataList); - } -} - -public class CharacterGearExcelTableT -{ - public List DataList { get; set; } - - public CharacterGearExcelTableT() { - this.DataList = null; - } -} - - -static public class CharacterGearExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CharacterGearExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/CharacterGearLevelExcelTable.cs b/SCHALE.Common/FlatData/CharacterGearLevelExcelTable.cs deleted file mode 100644 index 7d8d7c6..0000000 --- a/SCHALE.Common/FlatData/CharacterGearLevelExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct CharacterGearLevelExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static CharacterGearLevelExcelTable GetRootAsCharacterGearLevelExcelTable(ByteBuffer _bb) { return GetRootAsCharacterGearLevelExcelTable(_bb, new CharacterGearLevelExcelTable()); } - public static CharacterGearLevelExcelTable GetRootAsCharacterGearLevelExcelTable(ByteBuffer _bb, CharacterGearLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public CharacterGearLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.CharacterGearLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CharacterGearLevelExcel?)(new SCHALE.Common.FlatData.CharacterGearLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateCharacterGearLevelExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - CharacterGearLevelExcelTable.AddDataList(builder, DataListOffset); - return CharacterGearLevelExcelTable.EndCharacterGearLevelExcelTable(builder); - } - - public static void StartCharacterGearLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndCharacterGearLevelExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public CharacterGearLevelExcelTableT UnPack() { - var _o = new CharacterGearLevelExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(CharacterGearLevelExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("CharacterGearLevelExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, CharacterGearLevelExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CharacterGearLevelExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateCharacterGearLevelExcelTable( - builder, - _DataList); - } -} - -public class CharacterGearLevelExcelTableT -{ - public List DataList { get; set; } - - public CharacterGearLevelExcelTableT() { - this.DataList = null; - } -} - - -static public class CharacterGearLevelExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CharacterGearLevelExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/CharacterPotentialExcel.cs b/SCHALE.Common/FlatData/CharacterPotentialExcel.cs index 93bf00f..352a0bc 100644 --- a/SCHALE.Common/FlatData/CharacterPotentialExcel.cs +++ b/SCHALE.Common/FlatData/CharacterPotentialExcel.cs @@ -22,18 +22,18 @@ public struct CharacterPotentialExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PotentialStatGroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PotentialStatBonusRateType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PotentialStatBonusRateType.None; } } + public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.PotentialStatBonusRateType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PotentialStatBonusRateType.None; } } public bool IsUnnecessaryStat { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public static Offset CreateCharacterPotentialExcel(FlatBufferBuilder builder, long Id = 0, long PotentialStatGroupId = 0, - SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ = SCHALE.Common.FlatData.PotentialStatBonusRateType.None, + SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType = SCHALE.Common.FlatData.PotentialStatBonusRateType.None, bool IsUnnecessaryStat = false) { builder.StartTable(4); CharacterPotentialExcel.AddPotentialStatGroupId(builder, PotentialStatGroupId); CharacterPotentialExcel.AddId(builder, Id); - CharacterPotentialExcel.AddPotentialStatBonusRateType_(builder, PotentialStatBonusRateType_); + CharacterPotentialExcel.AddPotentialStatBonusRateType(builder, PotentialStatBonusRateType); CharacterPotentialExcel.AddIsUnnecessaryStat(builder, IsUnnecessaryStat); return CharacterPotentialExcel.EndCharacterPotentialExcel(builder); } @@ -41,7 +41,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject public static void StartCharacterPotentialExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddPotentialStatGroupId(FlatBufferBuilder builder, long potentialStatGroupId) { builder.AddLong(1, potentialStatGroupId, 0); } - public static void AddPotentialStatBonusRateType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PotentialStatBonusRateType potentialStatBonusRateType_) { builder.AddInt(2, (int)potentialStatBonusRateType_, 0); } + public static void AddPotentialStatBonusRateType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PotentialStatBonusRateType potentialStatBonusRateType) { builder.AddInt(2, (int)potentialStatBonusRateType, 0); } public static void AddIsUnnecessaryStat(FlatBufferBuilder builder, bool isUnnecessaryStat) { builder.AddBool(3, isUnnecessaryStat, false); } public static Offset EndCharacterPotentialExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -56,7 +56,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("CharacterPotential"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.PotentialStatGroupId = TableEncryptionService.Convert(this.PotentialStatGroupId, key); - _o.PotentialStatBonusRateType_ = TableEncryptionService.Convert(this.PotentialStatBonusRateType_, key); + _o.PotentialStatBonusRateType = TableEncryptionService.Convert(this.PotentialStatBonusRateType, key); _o.IsUnnecessaryStat = TableEncryptionService.Convert(this.IsUnnecessaryStat, key); } public static Offset Pack(FlatBufferBuilder builder, CharacterPotentialExcelT _o) { @@ -65,7 +65,7 @@ public struct CharacterPotentialExcel : IFlatbufferObject builder, _o.Id, _o.PotentialStatGroupId, - _o.PotentialStatBonusRateType_, + _o.PotentialStatBonusRateType, _o.IsUnnecessaryStat); } } @@ -74,13 +74,13 @@ public class CharacterPotentialExcelT { public long Id { get; set; } public long PotentialStatGroupId { get; set; } - public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType_ { get; set; } + public SCHALE.Common.FlatData.PotentialStatBonusRateType PotentialStatBonusRateType { get; set; } public bool IsUnnecessaryStat { get; set; } public CharacterPotentialExcelT() { this.Id = 0; this.PotentialStatGroupId = 0; - this.PotentialStatBonusRateType_ = SCHALE.Common.FlatData.PotentialStatBonusRateType.None; + this.PotentialStatBonusRateType = SCHALE.Common.FlatData.PotentialStatBonusRateType.None; this.IsUnnecessaryStat = false; } } @@ -93,7 +93,7 @@ static public class CharacterPotentialExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*PotentialStatGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*PotentialStatBonusRateType_*/, 4 /*SCHALE.Common.FlatData.PotentialStatBonusRateType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*PotentialStatBonusRateType*/, 4 /*SCHALE.Common.FlatData.PotentialStatBonusRateType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*IsUnnecessaryStat*/, 1 /*bool*/, 1, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/CharacterStatLimitExcel.cs b/SCHALE.Common/FlatData/CharacterStatLimitExcel.cs index 52c4098..e9b8966 100644 --- a/SCHALE.Common/FlatData/CharacterStatLimitExcel.cs +++ b/SCHALE.Common/FlatData/CharacterStatLimitExcel.cs @@ -21,8 +21,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject public CharacterStatLimitExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } - public SCHALE.Common.FlatData.StatType StatType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } + public SCHALE.Common.FlatData.StatType StatType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } } public long StatMinValue { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StatMaxValue { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StatRatioMinValue { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,8 +30,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject public static Offset CreateCharacterStatLimitExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, - SCHALE.Common.FlatData.StatType StatType_ = SCHALE.Common.FlatData.StatType.None, + SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None, + SCHALE.Common.FlatData.StatType StatType = SCHALE.Common.FlatData.StatType.None, long StatMinValue = 0, long StatMaxValue = 0, long StatRatioMinValue = 0, @@ -42,15 +42,15 @@ public struct CharacterStatLimitExcel : IFlatbufferObject CharacterStatLimitExcel.AddStatMaxValue(builder, StatMaxValue); CharacterStatLimitExcel.AddStatMinValue(builder, StatMinValue); CharacterStatLimitExcel.AddId(builder, Id); - CharacterStatLimitExcel.AddStatType_(builder, StatType_); - CharacterStatLimitExcel.AddTacticEntityType_(builder, TacticEntityType_); + CharacterStatLimitExcel.AddStatType(builder, StatType); + CharacterStatLimitExcel.AddTacticEntityType(builder, TacticEntityType); return CharacterStatLimitExcel.EndCharacterStatLimitExcel(builder); } public static void StartCharacterStatLimitExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } - public static void AddStatType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType statType_) { builder.AddInt(2, (int)statType_, 0); } + public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); } + public static void AddStatType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType statType) { builder.AddInt(2, (int)statType, 0); } public static void AddStatMinValue(FlatBufferBuilder builder, long statMinValue) { builder.AddLong(3, statMinValue, 0); } public static void AddStatMaxValue(FlatBufferBuilder builder, long statMaxValue) { builder.AddLong(4, statMaxValue, 0); } public static void AddStatRatioMinValue(FlatBufferBuilder builder, long statRatioMinValue) { builder.AddLong(5, statRatioMinValue, 0); } @@ -67,8 +67,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject public void UnPackTo(CharacterStatLimitExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CharacterStatLimit"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); - _o.StatType_ = TableEncryptionService.Convert(this.StatType_, key); + _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key); + _o.StatType = TableEncryptionService.Convert(this.StatType, key); _o.StatMinValue = TableEncryptionService.Convert(this.StatMinValue, key); _o.StatMaxValue = TableEncryptionService.Convert(this.StatMaxValue, key); _o.StatRatioMinValue = TableEncryptionService.Convert(this.StatRatioMinValue, key); @@ -79,8 +79,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject return CreateCharacterStatLimitExcel( builder, _o.Id, - _o.TacticEntityType_, - _o.StatType_, + _o.TacticEntityType, + _o.StatType, _o.StatMinValue, _o.StatMaxValue, _o.StatRatioMinValue, @@ -91,8 +91,8 @@ public struct CharacterStatLimitExcel : IFlatbufferObject public class CharacterStatLimitExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } - public SCHALE.Common.FlatData.StatType StatType_ { get; set; } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; } + public SCHALE.Common.FlatData.StatType StatType { get; set; } public long StatMinValue { get; set; } public long StatMaxValue { get; set; } public long StatRatioMinValue { get; set; } @@ -100,8 +100,8 @@ public class CharacterStatLimitExcelT public CharacterStatLimitExcelT() { this.Id = 0; - this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; - this.StatType_ = SCHALE.Common.FlatData.StatType.None; + this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None; + this.StatType = SCHALE.Common.FlatData.StatType.None; this.StatMinValue = 0; this.StatMaxValue = 0; this.StatRatioMinValue = 0; @@ -116,8 +116,8 @@ static public class CharacterStatLimitExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*StatType_*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*StatType*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*StatMinValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*StatMaxValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*StatRatioMinValue*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CharacterStatsTransExcel.cs b/SCHALE.Common/FlatData/CharacterStatsTransExcel.cs index c6ba679..fc9aa45 100644 --- a/SCHALE.Common/FlatData/CharacterStatsTransExcel.cs +++ b/SCHALE.Common/FlatData/CharacterStatsTransExcel.cs @@ -21,28 +21,28 @@ public struct CharacterStatsTransExcel : IFlatbufferObject public CharacterStatsTransExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public SCHALE.Common.FlatData.StatType TransSupportStats { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StatType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatType.None; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public int TransSupportStatsFactor { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StatTransType StatTransType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatTransType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatTransType.SpecialTransStat; } } + public SCHALE.Common.FlatData.StatTransType StatTransType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatTransType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatTransType.SpecialTransStat; } } public static Offset CreateCharacterStatsTransExcel(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType TransSupportStats = SCHALE.Common.FlatData.StatType.None, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base, + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base, int TransSupportStatsFactor = 0, - SCHALE.Common.FlatData.StatTransType StatTransType_ = SCHALE.Common.FlatData.StatTransType.SpecialTransStat) { + SCHALE.Common.FlatData.StatTransType StatTransType = SCHALE.Common.FlatData.StatTransType.SpecialTransStat) { builder.StartTable(4); - CharacterStatsTransExcel.AddStatTransType_(builder, StatTransType_); + CharacterStatsTransExcel.AddStatTransType(builder, StatTransType); CharacterStatsTransExcel.AddTransSupportStatsFactor(builder, TransSupportStatsFactor); - CharacterStatsTransExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + CharacterStatsTransExcel.AddEchelonExtensionType(builder, EchelonExtensionType); CharacterStatsTransExcel.AddTransSupportStats(builder, TransSupportStats); return CharacterStatsTransExcel.EndCharacterStatsTransExcel(builder); } public static void StartCharacterStatsTransExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void AddTransSupportStats(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatType transSupportStats) { builder.AddInt(0, (int)transSupportStats, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(1, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(1, (int)echelonExtensionType, 0); } public static void AddTransSupportStatsFactor(FlatBufferBuilder builder, int transSupportStatsFactor) { builder.AddInt(2, transSupportStatsFactor, 0); } - public static void AddStatTransType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatTransType statTransType_) { builder.AddInt(3, (int)statTransType_, 0); } + public static void AddStatTransType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatTransType statTransType) { builder.AddInt(3, (int)statTransType, 0); } public static Offset EndCharacterStatsTransExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -55,33 +55,33 @@ public struct CharacterStatsTransExcel : IFlatbufferObject public void UnPackTo(CharacterStatsTransExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CharacterStatsTrans"); _o.TransSupportStats = TableEncryptionService.Convert(this.TransSupportStats, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); _o.TransSupportStatsFactor = TableEncryptionService.Convert(this.TransSupportStatsFactor, key); - _o.StatTransType_ = TableEncryptionService.Convert(this.StatTransType_, key); + _o.StatTransType = TableEncryptionService.Convert(this.StatTransType, key); } public static Offset Pack(FlatBufferBuilder builder, CharacterStatsTransExcelT _o) { if (_o == null) return default(Offset); return CreateCharacterStatsTransExcel( builder, _o.TransSupportStats, - _o.EchelonExtensionType_, + _o.EchelonExtensionType, _o.TransSupportStatsFactor, - _o.StatTransType_); + _o.StatTransType); } } public class CharacterStatsTransExcelT { public SCHALE.Common.FlatData.StatType TransSupportStats { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public int TransSupportStatsFactor { get; set; } - public SCHALE.Common.FlatData.StatTransType StatTransType_ { get; set; } + public SCHALE.Common.FlatData.StatTransType StatTransType { get; set; } public CharacterStatsTransExcelT() { this.TransSupportStats = SCHALE.Common.FlatData.StatType.None; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.TransSupportStatsFactor = 0; - this.StatTransType_ = SCHALE.Common.FlatData.StatTransType.SpecialTransStat; + this.StatTransType = SCHALE.Common.FlatData.StatTransType.SpecialTransStat; } } @@ -92,9 +92,9 @@ static public class CharacterStatsTransExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*TransSupportStats*/, 4 /*SCHALE.Common.FlatData.StatType*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*TransSupportStatsFactor*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*StatTransType_*/, 4 /*SCHALE.Common.FlatData.StatTransType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*StatTransType*/, 4 /*SCHALE.Common.FlatData.StatTransType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/CharacterVoiceExcel.cs b/SCHALE.Common/FlatData/CharacterVoiceExcel.cs index a94e7e9..7da8705 100644 --- a/SCHALE.Common/FlatData/CharacterVoiceExcel.cs +++ b/SCHALE.Common/FlatData/CharacterVoiceExcel.cs @@ -27,7 +27,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject public int Priority { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long DisplayOrder { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool CollectionVisible { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CVCollectionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVCollectionType.CVNormal; } } public long UnlockFavorRank { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string LocalizeCVGroup { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -71,7 +71,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject int Priority = 0, long DisplayOrder = 0, bool CollectionVisible = false, - SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal, + SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal, long UnlockFavorRank = 0, StringOffset LocalizeCVGroupOffset = default(StringOffset), VectorOffset Nation_Offset = default(VectorOffset), @@ -88,7 +88,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject CharacterVoiceExcel.AddVolume(builder, VolumeOffset); CharacterVoiceExcel.AddNation_(builder, Nation_Offset); CharacterVoiceExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); - CharacterVoiceExcel.AddCVCollectionType_(builder, CVCollectionType_); + CharacterVoiceExcel.AddCVCollectionType(builder, CVCollectionType); CharacterVoiceExcel.AddPriority(builder, Priority); CharacterVoiceExcel.AddVoiceHash(builder, VoiceHash); CharacterVoiceExcel.AddCollectionVisible(builder, CollectionVisible); @@ -104,7 +104,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject public static void AddPriority(FlatBufferBuilder builder, int priority) { builder.AddInt(4, priority, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(5, displayOrder, 0); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(6, collectionVisible, false); } - public static void AddCVCollectionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType_) { builder.AddInt(7, (int)cVCollectionType_, 0); } + public static void AddCVCollectionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVCollectionType cVCollectionType) { builder.AddInt(7, (int)cVCollectionType, 0); } public static void AddUnlockFavorRank(FlatBufferBuilder builder, long unlockFavorRank) { builder.AddLong(8, unlockFavorRank, 0); } public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(9, localizeCVGroupOffset.Value, 0); } public static void AddNation_(FlatBufferBuilder builder, VectorOffset nation_Offset) { builder.AddOffset(10, nation_Offset.Value, 0); } @@ -149,7 +149,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject _o.Priority = TableEncryptionService.Convert(this.Priority, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); - _o.CVCollectionType_ = TableEncryptionService.Convert(this.CVCollectionType_, key); + _o.CVCollectionType = TableEncryptionService.Convert(this.CVCollectionType, key); _o.UnlockFavorRank = TableEncryptionService.Convert(this.UnlockFavorRank, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); _o.Nation_ = new List(); @@ -194,7 +194,7 @@ public struct CharacterVoiceExcel : IFlatbufferObject _o.Priority, _o.DisplayOrder, _o.CollectionVisible, - _o.CVCollectionType_, + _o.CVCollectionType, _o.UnlockFavorRank, _LocalizeCVGroup, _Nation_, @@ -213,7 +213,7 @@ public class CharacterVoiceExcelT public int Priority { get; set; } public long DisplayOrder { get; set; } public bool CollectionVisible { get; set; } - public SCHALE.Common.FlatData.CVCollectionType CVCollectionType_ { get; set; } + public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; } public long UnlockFavorRank { get; set; } public string LocalizeCVGroup { get; set; } public List Nation_ { get; set; } @@ -229,7 +229,7 @@ public class CharacterVoiceExcelT this.Priority = 0; this.DisplayOrder = 0; this.CollectionVisible = false; - this.CVCollectionType_ = SCHALE.Common.FlatData.CVCollectionType.CVNormal; + this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; this.UnlockFavorRank = 0; this.LocalizeCVGroup = null; this.Nation_ = null; @@ -252,7 +252,7 @@ static public class CharacterVoiceExcelVerify && verifier.VerifyField(tablePos, 12 /*Priority*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*CollectionVisible*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 18 /*CVCollectionType_*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) + && verifier.VerifyField(tablePos, 18 /*CVCollectionType*/, 4 /*SCHALE.Common.FlatData.CVCollectionType*/, 4, false) && verifier.VerifyField(tablePos, 20 /*UnlockFavorRank*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 22 /*LocalizeCVGroup*/, false) && verifier.VerifyVectorOfData(tablePos, 24 /*Nation_*/, 4 /*SCHALE.Common.FlatData.Nation*/, false) diff --git a/SCHALE.Common/FlatData/CharacterWeaponExcel.cs b/SCHALE.Common/FlatData/CharacterWeaponExcel.cs index 1a818dd..fe24884 100644 --- a/SCHALE.Common/FlatData/CharacterWeaponExcel.cs +++ b/SCHALE.Common/FlatData/CharacterWeaponExcel.cs @@ -29,7 +29,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject #endif public byte[] GetImagePathArray() { return __p.__vector_as_array(6); } public long SetRecipe { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public long AttackPower { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AttackPower100 { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaxHP { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -83,7 +83,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject long Id = 0, StringOffset ImagePathOffset = default(StringOffset), long SetRecipe = 0, - SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, + SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard, long AttackPower = 0, long AttackPower100 = 0, long MaxHP = 0, @@ -111,7 +111,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject CharacterWeaponExcel.AddMaxLevel(builder, MaxLevelOffset); CharacterWeaponExcel.AddRecipeId(builder, RecipeIdOffset); CharacterWeaponExcel.AddUnlock(builder, UnlockOffset); - CharacterWeaponExcel.AddStatLevelUpType_(builder, StatLevelUpType_); + CharacterWeaponExcel.AddStatLevelUpType(builder, StatLevelUpType); CharacterWeaponExcel.AddImagePath(builder, ImagePathOffset); return CharacterWeaponExcel.EndCharacterWeaponExcel(builder); } @@ -120,7 +120,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(1, imagePathOffset.Value, 0); } public static void AddSetRecipe(FlatBufferBuilder builder, long setRecipe) { builder.AddLong(2, setRecipe, 0); } - public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(3, (int)statLevelUpType_, 0); } + public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(3, (int)statLevelUpType, 0); } public static void AddAttackPower(FlatBufferBuilder builder, long attackPower) { builder.AddLong(4, attackPower, 0); } public static void AddAttackPower100(FlatBufferBuilder builder, long attackPower100) { builder.AddLong(5, attackPower100, 0); } public static void AddMaxHP(FlatBufferBuilder builder, long maxHP) { builder.AddLong(6, maxHP, 0); } @@ -177,7 +177,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.ImagePath = TableEncryptionService.Convert(this.ImagePath, key); _o.SetRecipe = TableEncryptionService.Convert(this.SetRecipe, key); - _o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); + _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key); _o.AttackPower = TableEncryptionService.Convert(this.AttackPower, key); _o.AttackPower100 = TableEncryptionService.Convert(this.AttackPower100, key); _o.MaxHP = TableEncryptionService.Convert(this.MaxHP, key); @@ -236,7 +236,7 @@ public struct CharacterWeaponExcel : IFlatbufferObject _o.Id, _ImagePath, _o.SetRecipe, - _o.StatLevelUpType_, + _o.StatLevelUpType, _o.AttackPower, _o.AttackPower100, _o.MaxHP, @@ -257,7 +257,7 @@ public class CharacterWeaponExcelT public long Id { get; set; } public string ImagePath { get; set; } public long SetRecipe { get; set; } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; } public long AttackPower { get; set; } public long AttackPower100 { get; set; } public long MaxHP { get; set; } @@ -275,7 +275,7 @@ public class CharacterWeaponExcelT this.Id = 0; this.ImagePath = null; this.SetRecipe = 0; - this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; + this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.AttackPower = 0; this.AttackPower100 = 0; this.MaxHP = 0; @@ -300,7 +300,7 @@ static public class CharacterWeaponExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*ImagePath*/, false) && verifier.VerifyField(tablePos, 8 /*SetRecipe*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*AttackPower*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*AttackPower100*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*MaxHP*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CharacterWeaponExpBonusExcel.cs b/SCHALE.Common/FlatData/CharacterWeaponExpBonusExcel.cs index ea8de04..cb9086e 100644 --- a/SCHALE.Common/FlatData/CharacterWeaponExpBonusExcel.cs +++ b/SCHALE.Common/FlatData/CharacterWeaponExpBonusExcel.cs @@ -20,14 +20,14 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public CharacterWeaponExpBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.WeaponType WeaponType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } + public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } public int WeaponExpGrowthA { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthB { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthC { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int WeaponExpGrowthZ { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public static Offset CreateCharacterWeaponExpBonusExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.WeaponType WeaponType_ = SCHALE.Common.FlatData.WeaponType.None, + SCHALE.Common.FlatData.WeaponType WeaponType = SCHALE.Common.FlatData.WeaponType.None, int WeaponExpGrowthA = 0, int WeaponExpGrowthB = 0, int WeaponExpGrowthC = 0, @@ -37,12 +37,12 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject CharacterWeaponExpBonusExcel.AddWeaponExpGrowthC(builder, WeaponExpGrowthC); CharacterWeaponExpBonusExcel.AddWeaponExpGrowthB(builder, WeaponExpGrowthB); CharacterWeaponExpBonusExcel.AddWeaponExpGrowthA(builder, WeaponExpGrowthA); - CharacterWeaponExpBonusExcel.AddWeaponType_(builder, WeaponType_); + CharacterWeaponExpBonusExcel.AddWeaponType(builder, WeaponType); return CharacterWeaponExpBonusExcel.EndCharacterWeaponExpBonusExcel(builder); } public static void StartCharacterWeaponExpBonusExcel(FlatBufferBuilder builder) { builder.StartTable(5); } - public static void AddWeaponType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType_) { builder.AddInt(0, (int)weaponType_, 0); } + public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(0, (int)weaponType, 0); } public static void AddWeaponExpGrowthA(FlatBufferBuilder builder, int weaponExpGrowthA) { builder.AddInt(1, weaponExpGrowthA, 0); } public static void AddWeaponExpGrowthB(FlatBufferBuilder builder, int weaponExpGrowthB) { builder.AddInt(2, weaponExpGrowthB, 0); } public static void AddWeaponExpGrowthC(FlatBufferBuilder builder, int weaponExpGrowthC) { builder.AddInt(3, weaponExpGrowthC, 0); } @@ -58,7 +58,7 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject } public void UnPackTo(CharacterWeaponExpBonusExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CharacterWeaponExpBonus"); - _o.WeaponType_ = TableEncryptionService.Convert(this.WeaponType_, key); + _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key); _o.WeaponExpGrowthA = TableEncryptionService.Convert(this.WeaponExpGrowthA, key); _o.WeaponExpGrowthB = TableEncryptionService.Convert(this.WeaponExpGrowthB, key); _o.WeaponExpGrowthC = TableEncryptionService.Convert(this.WeaponExpGrowthC, key); @@ -68,7 +68,7 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject if (_o == null) return default(Offset); return CreateCharacterWeaponExpBonusExcel( builder, - _o.WeaponType_, + _o.WeaponType, _o.WeaponExpGrowthA, _o.WeaponExpGrowthB, _o.WeaponExpGrowthC, @@ -78,14 +78,14 @@ public struct CharacterWeaponExpBonusExcel : IFlatbufferObject public class CharacterWeaponExpBonusExcelT { - public SCHALE.Common.FlatData.WeaponType WeaponType_ { get; set; } + public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; } public int WeaponExpGrowthA { get; set; } public int WeaponExpGrowthB { get; set; } public int WeaponExpGrowthC { get; set; } public int WeaponExpGrowthZ { get; set; } public CharacterWeaponExpBonusExcelT() { - this.WeaponType_ = SCHALE.Common.FlatData.WeaponType.None; + this.WeaponType = SCHALE.Common.FlatData.WeaponType.None; this.WeaponExpGrowthA = 0; this.WeaponExpGrowthB = 0; this.WeaponExpGrowthC = 0; @@ -99,7 +99,7 @@ static public class CharacterWeaponExpBonusExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*WeaponType_*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*WeaponExpGrowthA*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*WeaponExpGrowthB*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*WeaponExpGrowthC*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/ClanAssistSlotExcel.cs b/SCHALE.Common/FlatData/ClanAssistSlotExcel.cs index 83bca09..d458198 100644 --- a/SCHALE.Common/FlatData/ClanAssistSlotExcel.cs +++ b/SCHALE.Common/FlatData/ClanAssistSlotExcel.cs @@ -21,7 +21,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject public ClanAssistSlotExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long SlotId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonType EchelonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } + public SCHALE.Common.FlatData.EchelonType EchelonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } public long SlotNumber { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AssistTermRewardPeriodFromSec { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AssistRewardLimit { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -31,7 +31,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject public static Offset CreateClanAssistSlotExcel(FlatBufferBuilder builder, long SlotId = 0, - SCHALE.Common.FlatData.EchelonType EchelonType_ = SCHALE.Common.FlatData.EchelonType.None, + SCHALE.Common.FlatData.EchelonType EchelonType = SCHALE.Common.FlatData.EchelonType.None, long SlotNumber = 0, long AssistTermRewardPeriodFromSec = 0, long AssistRewardLimit = 0, @@ -46,13 +46,13 @@ public struct ClanAssistSlotExcel : IFlatbufferObject ClanAssistSlotExcel.AddAssistTermRewardPeriodFromSec(builder, AssistTermRewardPeriodFromSec); ClanAssistSlotExcel.AddSlotNumber(builder, SlotNumber); ClanAssistSlotExcel.AddSlotId(builder, SlotId); - ClanAssistSlotExcel.AddEchelonType_(builder, EchelonType_); + ClanAssistSlotExcel.AddEchelonType(builder, EchelonType); return ClanAssistSlotExcel.EndClanAssistSlotExcel(builder); } public static void StartClanAssistSlotExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddSlotId(FlatBufferBuilder builder, long slotId) { builder.AddLong(0, slotId, 0); } - public static void AddEchelonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType_) { builder.AddInt(1, (int)echelonType_, 0); } + public static void AddEchelonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType) { builder.AddInt(1, (int)echelonType, 0); } public static void AddSlotNumber(FlatBufferBuilder builder, long slotNumber) { builder.AddLong(2, slotNumber, 0); } public static void AddAssistTermRewardPeriodFromSec(FlatBufferBuilder builder, long assistTermRewardPeriodFromSec) { builder.AddLong(3, assistTermRewardPeriodFromSec, 0); } public static void AddAssistRewardLimit(FlatBufferBuilder builder, long assistRewardLimit) { builder.AddLong(4, assistRewardLimit, 0); } @@ -71,7 +71,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject public void UnPackTo(ClanAssistSlotExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ClanAssistSlot"); _o.SlotId = TableEncryptionService.Convert(this.SlotId, key); - _o.EchelonType_ = TableEncryptionService.Convert(this.EchelonType_, key); + _o.EchelonType = TableEncryptionService.Convert(this.EchelonType, key); _o.SlotNumber = TableEncryptionService.Convert(this.SlotNumber, key); _o.AssistTermRewardPeriodFromSec = TableEncryptionService.Convert(this.AssistTermRewardPeriodFromSec, key); _o.AssistRewardLimit = TableEncryptionService.Convert(this.AssistRewardLimit, key); @@ -84,7 +84,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject return CreateClanAssistSlotExcel( builder, _o.SlotId, - _o.EchelonType_, + _o.EchelonType, _o.SlotNumber, _o.AssistTermRewardPeriodFromSec, _o.AssistRewardLimit, @@ -97,7 +97,7 @@ public struct ClanAssistSlotExcel : IFlatbufferObject public class ClanAssistSlotExcelT { public long SlotId { get; set; } - public SCHALE.Common.FlatData.EchelonType EchelonType_ { get; set; } + public SCHALE.Common.FlatData.EchelonType EchelonType { get; set; } public long SlotNumber { get; set; } public long AssistTermRewardPeriodFromSec { get; set; } public long AssistRewardLimit { get; set; } @@ -107,7 +107,7 @@ public class ClanAssistSlotExcelT public ClanAssistSlotExcelT() { this.SlotId = 0; - this.EchelonType_ = SCHALE.Common.FlatData.EchelonType.None; + this.EchelonType = SCHALE.Common.FlatData.EchelonType.None; this.SlotNumber = 0; this.AssistTermRewardPeriodFromSec = 0; this.AssistRewardLimit = 0; @@ -124,7 +124,7 @@ static public class ClanAssistSlotExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*SlotId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EchelonType_*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EchelonType*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*SlotNumber*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*AssistTermRewardPeriodFromSec*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*AssistRewardLimit*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ClanAssistSlotExcelTable.cs b/SCHALE.Common/FlatData/ClanAssistSlotExcelTable.cs deleted file mode 100644 index e6fe9e5..0000000 --- a/SCHALE.Common/FlatData/ClanAssistSlotExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct ClanAssistSlotExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static ClanAssistSlotExcelTable GetRootAsClanAssistSlotExcelTable(ByteBuffer _bb) { return GetRootAsClanAssistSlotExcelTable(_bb, new ClanAssistSlotExcelTable()); } - public static ClanAssistSlotExcelTable GetRootAsClanAssistSlotExcelTable(ByteBuffer _bb, ClanAssistSlotExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public ClanAssistSlotExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.ClanAssistSlotExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanAssistSlotExcel?)(new SCHALE.Common.FlatData.ClanAssistSlotExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateClanAssistSlotExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - ClanAssistSlotExcelTable.AddDataList(builder, DataListOffset); - return ClanAssistSlotExcelTable.EndClanAssistSlotExcelTable(builder); - } - - public static void StartClanAssistSlotExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndClanAssistSlotExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public ClanAssistSlotExcelTableT UnPack() { - var _o = new ClanAssistSlotExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(ClanAssistSlotExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("ClanAssistSlotExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, ClanAssistSlotExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ClanAssistSlotExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateClanAssistSlotExcelTable( - builder, - _DataList); - } -} - -public class ClanAssistSlotExcelTableT -{ - public List DataList { get; set; } - - public ClanAssistSlotExcelTableT() { - this.DataList = null; - } -} - - -static public class ClanAssistSlotExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ClanAssistSlotExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ClanRewardExcel.cs b/SCHALE.Common/FlatData/ClanRewardExcel.cs index 7a7b548..1042436 100644 --- a/SCHALE.Common/FlatData/ClanRewardExcel.cs +++ b/SCHALE.Common/FlatData/ClanRewardExcel.cs @@ -20,15 +20,15 @@ public struct ClanRewardExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public ClanRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ClanRewardType.None; } } - public SCHALE.Common.FlatData.EchelonType EchelonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } + public SCHALE.Common.FlatData.ClanRewardType ClanRewardType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ClanRewardType.None; } } + public SCHALE.Common.FlatData.EchelonType EchelonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardParcelId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardParcelAmount { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateClanRewardExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ = SCHALE.Common.FlatData.ClanRewardType.None, - SCHALE.Common.FlatData.EchelonType EchelonType_ = SCHALE.Common.FlatData.EchelonType.None, + SCHALE.Common.FlatData.ClanRewardType ClanRewardType = SCHALE.Common.FlatData.ClanRewardType.None, + SCHALE.Common.FlatData.EchelonType EchelonType = SCHALE.Common.FlatData.EchelonType.None, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardParcelId = 0, long RewardParcelAmount = 0) { @@ -36,14 +36,14 @@ public struct ClanRewardExcel : IFlatbufferObject ClanRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmount); ClanRewardExcel.AddRewardParcelId(builder, RewardParcelId); ClanRewardExcel.AddRewardParcelType(builder, RewardParcelType); - ClanRewardExcel.AddEchelonType_(builder, EchelonType_); - ClanRewardExcel.AddClanRewardType_(builder, ClanRewardType_); + ClanRewardExcel.AddEchelonType(builder, EchelonType); + ClanRewardExcel.AddClanRewardType(builder, ClanRewardType); return ClanRewardExcel.EndClanRewardExcel(builder); } public static void StartClanRewardExcel(FlatBufferBuilder builder) { builder.StartTable(5); } - public static void AddClanRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ClanRewardType clanRewardType_) { builder.AddInt(0, (int)clanRewardType_, 0); } - public static void AddEchelonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType_) { builder.AddInt(1, (int)echelonType_, 0); } + public static void AddClanRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ClanRewardType clanRewardType) { builder.AddInt(0, (int)clanRewardType, 0); } + public static void AddEchelonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonType echelonType) { builder.AddInt(1, (int)echelonType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(2, (int)rewardParcelType, 0); } public static void AddRewardParcelId(FlatBufferBuilder builder, long rewardParcelId) { builder.AddLong(3, rewardParcelId, 0); } public static void AddRewardParcelAmount(FlatBufferBuilder builder, long rewardParcelAmount) { builder.AddLong(4, rewardParcelAmount, 0); } @@ -58,8 +58,8 @@ public struct ClanRewardExcel : IFlatbufferObject } public void UnPackTo(ClanRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ClanReward"); - _o.ClanRewardType_ = TableEncryptionService.Convert(this.ClanRewardType_, key); - _o.EchelonType_ = TableEncryptionService.Convert(this.EchelonType_, key); + _o.ClanRewardType = TableEncryptionService.Convert(this.ClanRewardType, key); + _o.EchelonType = TableEncryptionService.Convert(this.EchelonType, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelId = TableEncryptionService.Convert(this.RewardParcelId, key); _o.RewardParcelAmount = TableEncryptionService.Convert(this.RewardParcelAmount, key); @@ -68,8 +68,8 @@ public struct ClanRewardExcel : IFlatbufferObject if (_o == null) return default(Offset); return CreateClanRewardExcel( builder, - _o.ClanRewardType_, - _o.EchelonType_, + _o.ClanRewardType, + _o.EchelonType, _o.RewardParcelType, _o.RewardParcelId, _o.RewardParcelAmount); @@ -78,15 +78,15 @@ public struct ClanRewardExcel : IFlatbufferObject public class ClanRewardExcelT { - public SCHALE.Common.FlatData.ClanRewardType ClanRewardType_ { get; set; } - public SCHALE.Common.FlatData.EchelonType EchelonType_ { get; set; } + public SCHALE.Common.FlatData.ClanRewardType ClanRewardType { get; set; } + public SCHALE.Common.FlatData.EchelonType EchelonType { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardParcelId { get; set; } public long RewardParcelAmount { get; set; } public ClanRewardExcelT() { - this.ClanRewardType_ = SCHALE.Common.FlatData.ClanRewardType.None; - this.EchelonType_ = SCHALE.Common.FlatData.EchelonType.None; + this.ClanRewardType = SCHALE.Common.FlatData.ClanRewardType.None; + this.EchelonType = SCHALE.Common.FlatData.EchelonType.None; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelId = 0; this.RewardParcelAmount = 0; @@ -99,8 +99,8 @@ static public class ClanRewardExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ClanRewardType_*/, 4 /*SCHALE.Common.FlatData.ClanRewardType*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*EchelonType_*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ClanRewardType*/, 4 /*SCHALE.Common.FlatData.ClanRewardType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EchelonType*/, 4 /*SCHALE.Common.FlatData.EchelonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelAmount*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ClanRewardExcelTable.cs b/SCHALE.Common/FlatData/ClanRewardExcelTable.cs deleted file mode 100644 index 42ec640..0000000 --- a/SCHALE.Common/FlatData/ClanRewardExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct ClanRewardExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static ClanRewardExcelTable GetRootAsClanRewardExcelTable(ByteBuffer _bb) { return GetRootAsClanRewardExcelTable(_bb, new ClanRewardExcelTable()); } - public static ClanRewardExcelTable GetRootAsClanRewardExcelTable(ByteBuffer _bb, ClanRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public ClanRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.ClanRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ClanRewardExcel?)(new SCHALE.Common.FlatData.ClanRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateClanRewardExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - ClanRewardExcelTable.AddDataList(builder, DataListOffset); - return ClanRewardExcelTable.EndClanRewardExcelTable(builder); - } - - public static void StartClanRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndClanRewardExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public ClanRewardExcelTableT UnPack() { - var _o = new ClanRewardExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(ClanRewardExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("ClanRewardExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, ClanRewardExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ClanRewardExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateClanRewardExcelTable( - builder, - _DataList); - } -} - -public class ClanRewardExcelTableT -{ - public List DataList { get; set; } - - public ClanRewardExcelTableT() { - this.DataList = null; - } -} - - -static public class ClanRewardExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ClanRewardExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ClearDeckRuleExcel.cs b/SCHALE.Common/FlatData/ClearDeckRuleExcel.cs index 4a721c5..a55218c 100644 --- a/SCHALE.Common/FlatData/ClearDeckRuleExcel.cs +++ b/SCHALE.Common/FlatData/ClearDeckRuleExcel.cs @@ -20,20 +20,20 @@ public struct ClearDeckRuleExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public ClearDeckRuleExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long SizeLimit { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateClearDeckRuleExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long SizeLimit = 0) { builder.StartTable(2); ClearDeckRuleExcel.AddSizeLimit(builder, SizeLimit); - ClearDeckRuleExcel.AddContentType_(builder, ContentType_); + ClearDeckRuleExcel.AddContentType(builder, ContentType); return ClearDeckRuleExcel.EndClearDeckRuleExcel(builder); } public static void StartClearDeckRuleExcel(FlatBufferBuilder builder) { builder.StartTable(2); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(0, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(0, (int)contentType, 0); } public static void AddSizeLimit(FlatBufferBuilder builder, long sizeLimit) { builder.AddLong(1, sizeLimit, 0); } public static Offset EndClearDeckRuleExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -46,25 +46,25 @@ public struct ClearDeckRuleExcel : IFlatbufferObject } public void UnPackTo(ClearDeckRuleExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ClearDeckRule"); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.SizeLimit = TableEncryptionService.Convert(this.SizeLimit, key); } public static Offset Pack(FlatBufferBuilder builder, ClearDeckRuleExcelT _o) { if (_o == null) return default(Offset); return CreateClearDeckRuleExcel( builder, - _o.ContentType_, + _o.ContentType, _o.SizeLimit); } } public class ClearDeckRuleExcelT { - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long SizeLimit { get; set; } public ClearDeckRuleExcelT() { - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.SizeLimit = 0; } } @@ -75,7 +75,7 @@ static public class ClearDeckRuleExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*SizeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/CombatEmojiExcel.cs b/SCHALE.Common/FlatData/CombatEmojiExcel.cs index d5c8c32..74bc832 100644 --- a/SCHALE.Common/FlatData/CombatEmojiExcel.cs +++ b/SCHALE.Common/FlatData/CombatEmojiExcel.cs @@ -21,7 +21,7 @@ public struct CombatEmojiExcel : IFlatbufferObject public CombatEmojiExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmojiEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmojiEvent.EnterConver; } } + public SCHALE.Common.FlatData.EmojiEvent EmojiEvent { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmojiEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmojiEvent.EnterConver; } } public int OrderOfPriority { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public bool EmojiDuration { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool EmojiReversal { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -31,7 +31,7 @@ public struct CombatEmojiExcel : IFlatbufferObject public static Offset CreateCombatEmojiExcel(FlatBufferBuilder builder, long UniqueId = 0, - SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ = SCHALE.Common.FlatData.EmojiEvent.EnterConver, + SCHALE.Common.FlatData.EmojiEvent EmojiEvent = SCHALE.Common.FlatData.EmojiEvent.EnterConver, int OrderOfPriority = 0, bool EmojiDuration = false, bool EmojiReversal = false, @@ -42,7 +42,7 @@ public struct CombatEmojiExcel : IFlatbufferObject CombatEmojiExcel.AddUniqueId(builder, UniqueId); CombatEmojiExcel.AddShowEmojiDelay(builder, ShowEmojiDelay); CombatEmojiExcel.AddOrderOfPriority(builder, OrderOfPriority); - CombatEmojiExcel.AddEmojiEvent_(builder, EmojiEvent_); + CombatEmojiExcel.AddEmojiEvent(builder, EmojiEvent); CombatEmojiExcel.AddShowDefaultBG(builder, ShowDefaultBG); CombatEmojiExcel.AddEmojiTurnOn(builder, EmojiTurnOn); CombatEmojiExcel.AddEmojiReversal(builder, EmojiReversal); @@ -52,7 +52,7 @@ public struct CombatEmojiExcel : IFlatbufferObject public static void StartCombatEmojiExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddEmojiEvent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmojiEvent emojiEvent_) { builder.AddInt(1, (int)emojiEvent_, 0); } + public static void AddEmojiEvent(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmojiEvent emojiEvent) { builder.AddInt(1, (int)emojiEvent, 0); } public static void AddOrderOfPriority(FlatBufferBuilder builder, int orderOfPriority) { builder.AddInt(2, orderOfPriority, 0); } public static void AddEmojiDuration(FlatBufferBuilder builder, bool emojiDuration) { builder.AddBool(3, emojiDuration, false); } public static void AddEmojiReversal(FlatBufferBuilder builder, bool emojiReversal) { builder.AddBool(4, emojiReversal, false); } @@ -71,7 +71,7 @@ public struct CombatEmojiExcel : IFlatbufferObject public void UnPackTo(CombatEmojiExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CombatEmoji"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); - _o.EmojiEvent_ = TableEncryptionService.Convert(this.EmojiEvent_, key); + _o.EmojiEvent = TableEncryptionService.Convert(this.EmojiEvent, key); _o.OrderOfPriority = TableEncryptionService.Convert(this.OrderOfPriority, key); _o.EmojiDuration = TableEncryptionService.Convert(this.EmojiDuration, key); _o.EmojiReversal = TableEncryptionService.Convert(this.EmojiReversal, key); @@ -84,7 +84,7 @@ public struct CombatEmojiExcel : IFlatbufferObject return CreateCombatEmojiExcel( builder, _o.UniqueId, - _o.EmojiEvent_, + _o.EmojiEvent, _o.OrderOfPriority, _o.EmojiDuration, _o.EmojiReversal, @@ -97,7 +97,7 @@ public struct CombatEmojiExcel : IFlatbufferObject public class CombatEmojiExcelT { public long UniqueId { get; set; } - public SCHALE.Common.FlatData.EmojiEvent EmojiEvent_ { get; set; } + public SCHALE.Common.FlatData.EmojiEvent EmojiEvent { get; set; } public int OrderOfPriority { get; set; } public bool EmojiDuration { get; set; } public bool EmojiReversal { get; set; } @@ -107,7 +107,7 @@ public class CombatEmojiExcelT public CombatEmojiExcelT() { this.UniqueId = 0; - this.EmojiEvent_ = SCHALE.Common.FlatData.EmojiEvent.EnterConver; + this.EmojiEvent = SCHALE.Common.FlatData.EmojiEvent.EnterConver; this.OrderOfPriority = 0; this.EmojiDuration = false; this.EmojiReversal = false; @@ -124,7 +124,7 @@ static public class CombatEmojiExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EmojiEvent_*/, 4 /*SCHALE.Common.FlatData.EmojiEvent*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EmojiEvent*/, 4 /*SCHALE.Common.FlatData.EmojiEvent*/, 4, false) && verifier.VerifyField(tablePos, 8 /*OrderOfPriority*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*EmojiDuration*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*EmojiReversal*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/ConquestEventExcel.cs b/SCHALE.Common/FlatData/ConquestEventExcel.cs index f869fa2..950fb0b 100644 --- a/SCHALE.Common/FlatData/ConquestEventExcel.cs +++ b/SCHALE.Common/FlatData/ConquestEventExcel.cs @@ -22,7 +22,7 @@ public struct ConquestEventExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MainStoryEventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestEventType.None; } } + public SCHALE.Common.FlatData.ConquestEventType ConquestEventType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestEventType.None; } } public bool UseErosion { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseUnexpectedEvent { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool UseCalculate { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -116,7 +116,7 @@ public struct ConquestEventExcel : IFlatbufferObject public static Offset CreateConquestEventExcel(FlatBufferBuilder builder, long EventContentId = 0, long MainStoryEventContentId = 0, - SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ = SCHALE.Common.FlatData.ConquestEventType.None, + SCHALE.Common.FlatData.ConquestEventType ConquestEventType = SCHALE.Common.FlatData.ConquestEventType.None, bool UseErosion = false, bool UseUnexpectedEvent = false, bool UseCalculate = false, @@ -162,7 +162,7 @@ public struct ConquestEventExcel : IFlatbufferObject ConquestEventExcel.AddEvnetScenarioBG(builder, EvnetScenarioBGOffset); ConquestEventExcel.AddEvnetMapNameLocalize(builder, EvnetMapNameLocalizeOffset); ConquestEventExcel.AddEvnetMapGoalLocalize(builder, EvnetMapGoalLocalizeOffset); - ConquestEventExcel.AddConquestEventType_(builder, ConquestEventType_); + ConquestEventExcel.AddConquestEventType(builder, ConquestEventType); ConquestEventExcel.AddUseConquestObject(builder, UseConquestObject); ConquestEventExcel.AddUseCalculate(builder, UseCalculate); ConquestEventExcel.AddUseUnexpectedEvent(builder, UseUnexpectedEvent); @@ -173,7 +173,7 @@ public struct ConquestEventExcel : IFlatbufferObject public static void StartConquestEventExcel(FlatBufferBuilder builder) { builder.StartTable(26); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddMainStoryEventContentId(FlatBufferBuilder builder, long mainStoryEventContentId) { builder.AddLong(1, mainStoryEventContentId, 0); } - public static void AddConquestEventType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestEventType conquestEventType_) { builder.AddInt(2, (int)conquestEventType_, 0); } + public static void AddConquestEventType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestEventType conquestEventType) { builder.AddInt(2, (int)conquestEventType, 0); } public static void AddUseErosion(FlatBufferBuilder builder, bool useErosion) { builder.AddBool(3, useErosion, false); } public static void AddUseUnexpectedEvent(FlatBufferBuilder builder, bool useUnexpectedEvent) { builder.AddBool(4, useUnexpectedEvent, false); } public static void AddUseCalculate(FlatBufferBuilder builder, bool useCalculate) { builder.AddBool(5, useCalculate, false); } @@ -210,7 +210,7 @@ public struct ConquestEventExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("ConquestEvent"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.MainStoryEventContentId = TableEncryptionService.Convert(this.MainStoryEventContentId, key); - _o.ConquestEventType_ = TableEncryptionService.Convert(this.ConquestEventType_, key); + _o.ConquestEventType = TableEncryptionService.Convert(this.ConquestEventType, key); _o.UseErosion = TableEncryptionService.Convert(this.UseErosion, key); _o.UseUnexpectedEvent = TableEncryptionService.Convert(this.UseUnexpectedEvent, key); _o.UseCalculate = TableEncryptionService.Convert(this.UseCalculate, key); @@ -252,7 +252,7 @@ public struct ConquestEventExcel : IFlatbufferObject builder, _o.EventContentId, _o.MainStoryEventContentId, - _o.ConquestEventType_, + _o.ConquestEventType, _o.UseErosion, _o.UseUnexpectedEvent, _o.UseCalculate, @@ -283,7 +283,7 @@ public class ConquestEventExcelT { public long EventContentId { get; set; } public long MainStoryEventContentId { get; set; } - public SCHALE.Common.FlatData.ConquestEventType ConquestEventType_ { get; set; } + public SCHALE.Common.FlatData.ConquestEventType ConquestEventType { get; set; } public bool UseErosion { get; set; } public bool UseUnexpectedEvent { get; set; } public bool UseCalculate { get; set; } @@ -311,7 +311,7 @@ public class ConquestEventExcelT public ConquestEventExcelT() { this.EventContentId = 0; this.MainStoryEventContentId = 0; - this.ConquestEventType_ = SCHALE.Common.FlatData.ConquestEventType.None; + this.ConquestEventType = SCHALE.Common.FlatData.ConquestEventType.None; this.UseErosion = false; this.UseUnexpectedEvent = false; this.UseCalculate = false; @@ -346,7 +346,7 @@ static public class ConquestEventExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*MainStoryEventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ConquestEventType_*/, 4 /*SCHALE.Common.FlatData.ConquestEventType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ConquestEventType*/, 4 /*SCHALE.Common.FlatData.ConquestEventType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*UseErosion*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*UseUnexpectedEvent*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*UseCalculate*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/ConquestObjectExcel.cs b/SCHALE.Common/FlatData/ConquestObjectExcel.cs index 33587c6..cfd53a0 100644 --- a/SCHALE.Common/FlatData/ConquestObjectExcel.cs +++ b/SCHALE.Common/FlatData/ConquestObjectExcel.cs @@ -22,7 +22,7 @@ public struct ConquestObjectExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestObjectType.None; } } + public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ConquestObjectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ConquestObjectType.None; } } public uint Key { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public string Name { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -48,7 +48,7 @@ public struct ConquestObjectExcel : IFlatbufferObject public static Offset CreateConquestObjectExcel(FlatBufferBuilder builder, long Id = 0, long EventContentId = 0, - SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ = SCHALE.Common.FlatData.ConquestObjectType.None, + SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType = SCHALE.Common.FlatData.ConquestObjectType.None, uint Key = 0, StringOffset NameOffset = default(StringOffset), StringOffset PrefabNameOffset = default(StringOffset), @@ -69,7 +69,7 @@ public struct ConquestObjectExcel : IFlatbufferObject ConquestObjectExcel.AddPrefabName(builder, PrefabNameOffset); ConquestObjectExcel.AddName(builder, NameOffset); ConquestObjectExcel.AddKey(builder, Key); - ConquestObjectExcel.AddConquestObjectType_(builder, ConquestObjectType_); + ConquestObjectExcel.AddConquestObjectType(builder, ConquestObjectType); ConquestObjectExcel.AddDisposable(builder, Disposable); return ConquestObjectExcel.EndConquestObjectExcel(builder); } @@ -77,7 +77,7 @@ public struct ConquestObjectExcel : IFlatbufferObject public static void StartConquestObjectExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); } - public static void AddConquestObjectType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestObjectType conquestObjectType_) { builder.AddInt(2, (int)conquestObjectType_, 0); } + public static void AddConquestObjectType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ConquestObjectType conquestObjectType) { builder.AddInt(2, (int)conquestObjectType, 0); } public static void AddKey(FlatBufferBuilder builder, uint key) { builder.AddUint(3, key, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(4, nameOffset.Value, 0); } public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(5, prefabNameOffset.Value, 0); } @@ -100,7 +100,7 @@ public struct ConquestObjectExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("ConquestObject"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.ConquestObjectType_ = TableEncryptionService.Convert(this.ConquestObjectType_, key); + _o.ConquestObjectType = TableEncryptionService.Convert(this.ConquestObjectType, key); _o.Key = TableEncryptionService.Convert(this.Key, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key); @@ -119,7 +119,7 @@ public struct ConquestObjectExcel : IFlatbufferObject builder, _o.Id, _o.EventContentId, - _o.ConquestObjectType_, + _o.ConquestObjectType, _o.Key, _Name, _PrefabName, @@ -136,7 +136,7 @@ public class ConquestObjectExcelT { public long Id { get; set; } public long EventContentId { get; set; } - public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType_ { get; set; } + public SCHALE.Common.FlatData.ConquestObjectType ConquestObjectType { get; set; } public uint Key { get; set; } public string Name { get; set; } public string PrefabName { get; set; } @@ -150,7 +150,7 @@ public class ConquestObjectExcelT public ConquestObjectExcelT() { this.Id = 0; this.EventContentId = 0; - this.ConquestObjectType_ = SCHALE.Common.FlatData.ConquestObjectType.None; + this.ConquestObjectType = SCHALE.Common.FlatData.ConquestObjectType.None; this.Key = 0; this.Name = null; this.PrefabName = null; @@ -171,7 +171,7 @@ static public class ConquestObjectExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ConquestObjectType_*/, 4 /*SCHALE.Common.FlatData.ConquestObjectType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ConquestObjectType*/, 4 /*SCHALE.Common.FlatData.ConquestObjectType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Key*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 12 /*Name*/, false) && verifier.VerifyString(tablePos, 14 /*PrefabName*/, false) diff --git a/SCHALE.Common/FlatData/ConquestRewardExcel.cs b/SCHALE.Common/FlatData/ConquestRewardExcel.cs index 8eafd5e..9604d87 100644 --- a/SCHALE.Common/FlatData/ConquestRewardExcel.cs +++ b/SCHALE.Common/FlatData/ConquestRewardExcel.cs @@ -21,7 +21,7 @@ public struct ConquestRewardExcel : IFlatbufferObject public ConquestRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct ConquestRewardExcel : IFlatbufferObject public static Offset CreateConquestRewardExcel(FlatBufferBuilder builder, long GroupId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int RewardProb = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardId = 0, @@ -42,14 +42,14 @@ public struct ConquestRewardExcel : IFlatbufferObject ConquestRewardExcel.AddRewardAmount(builder, RewardAmount); ConquestRewardExcel.AddRewardParcelType(builder, RewardParcelType); ConquestRewardExcel.AddRewardProb(builder, RewardProb); - ConquestRewardExcel.AddRewardTag_(builder, RewardTag_); + ConquestRewardExcel.AddRewardTag(builder, RewardTag); ConquestRewardExcel.AddIsDisplayed(builder, IsDisplayed); return ConquestRewardExcel.EndConquestRewardExcel(builder); } public static void StartConquestRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } @@ -67,7 +67,7 @@ public struct ConquestRewardExcel : IFlatbufferObject public void UnPackTo(ConquestRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ConquestReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key); @@ -79,7 +79,7 @@ public struct ConquestRewardExcel : IFlatbufferObject return CreateConquestRewardExcel( builder, _o.GroupId, - _o.RewardTag_, + _o.RewardTag, _o.RewardProb, _o.RewardParcelType, _o.RewardId, @@ -91,7 +91,7 @@ public struct ConquestRewardExcel : IFlatbufferObject public class ConquestRewardExcelT { public long GroupId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int RewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardId { get; set; } @@ -100,7 +100,7 @@ public class ConquestRewardExcelT public ConquestRewardExcelT() { this.GroupId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardProb = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardId = 0; @@ -116,7 +116,7 @@ static public class ConquestRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ConquestUnitExcel.cs b/SCHALE.Common/FlatData/ConquestUnitExcel.cs index 46b5637..e25424a 100644 --- a/SCHALE.Common/FlatData/ConquestUnitExcel.cs +++ b/SCHALE.Common/FlatData/ConquestUnitExcel.cs @@ -91,11 +91,11 @@ public struct ConquestUnitExcel : IFlatbufferObject public long EnterScenarioGroupId { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ClearScenarioGroupId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ConquestRewardId { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long TacticRewardExp { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FixedEchelonId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateConquestUnitExcel(FlatBufferBuilder builder, long Id = 0, @@ -125,11 +125,11 @@ public struct ConquestUnitExcel : IFlatbufferObject long EnterScenarioGroupId = 0, long ClearScenarioGroupId = 0, long ConquestRewardId = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, long TacticRewardExp = 0, long FixedEchelonId = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(32); ConquestUnitExcel.AddFixedEchelonId(builder, FixedEchelonId); ConquestUnitExcel.AddTacticRewardExp(builder, TacticRewardExp); @@ -144,9 +144,9 @@ public struct ConquestUnitExcel : IFlatbufferObject ConquestUnitExcel.AddPrevUnitGroup(builder, PrevUnitGroup); ConquestUnitExcel.AddUnitGroup(builder, UnitGroup); ConquestUnitExcel.AddId(builder, Id); - ConquestUnitExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + ConquestUnitExcel.AddEchelonExtensionType(builder, EchelonExtensionType); ConquestUnitExcel.AddRecommandLevel(builder, RecommandLevel); - ConquestUnitExcel.AddStageTopography_(builder, StageTopography_); + ConquestUnitExcel.AddStageTopography(builder, StageTopography); ConquestUnitExcel.AddManageEchelonStageEnterCostAmount(builder, ManageEchelonStageEnterCostAmount); ConquestUnitExcel.AddManageEchelonStageEnterCostType(builder, ManageEchelonStageEnterCostType); ConquestUnitExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); @@ -204,11 +204,11 @@ public struct ConquestUnitExcel : IFlatbufferObject public static void AddEnterScenarioGroupId(FlatBufferBuilder builder, long enterScenarioGroupId) { builder.AddLong(24, enterScenarioGroupId, 0); } public static void AddClearScenarioGroupId(FlatBufferBuilder builder, long clearScenarioGroupId) { builder.AddLong(25, clearScenarioGroupId, 0); } public static void AddConquestRewardId(FlatBufferBuilder builder, long conquestRewardId) { builder.AddLong(26, conquestRewardId, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(27, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(27, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); } public static void AddTacticRewardExp(FlatBufferBuilder builder, long tacticRewardExp) { builder.AddLong(29, tacticRewardExp, 0); } public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(30, fixedEchelonId, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(31, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(31, (int)echelonExtensionType, 0); } public static Offset EndConquestUnitExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -249,11 +249,11 @@ public struct ConquestUnitExcel : IFlatbufferObject _o.EnterScenarioGroupId = TableEncryptionService.Convert(this.EnterScenarioGroupId, key); _o.ClearScenarioGroupId = TableEncryptionService.Convert(this.ClearScenarioGroupId, key); _o.ConquestRewardId = TableEncryptionService.Convert(this.ConquestRewardId, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.TacticRewardExp = TableEncryptionService.Convert(this.TacticRewardExp, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, ConquestUnitExcelT _o) { if (_o == null) return default(Offset); @@ -301,11 +301,11 @@ public struct ConquestUnitExcel : IFlatbufferObject _o.EnterScenarioGroupId, _o.ClearScenarioGroupId, _o.ConquestRewardId, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.TacticRewardExp, _o.FixedEchelonId, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -338,11 +338,11 @@ public class ConquestUnitExcelT public long EnterScenarioGroupId { get; set; } public long ClearScenarioGroupId { get; set; } public long ConquestRewardId { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public long TacticRewardExp { get; set; } public long FixedEchelonId { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public ConquestUnitExcelT() { this.Id = 0; @@ -372,11 +372,11 @@ public class ConquestUnitExcelT this.EnterScenarioGroupId = 0; this.ClearScenarioGroupId = 0; this.ConquestRewardId = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.TacticRewardExp = 0; this.FixedEchelonId = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -413,11 +413,11 @@ static public class ConquestUnitExcelVerify && verifier.VerifyField(tablePos, 52 /*EnterScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 54 /*ClearScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 56 /*ConquestRewardId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 58 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 58 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 62 /*TacticRewardExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 64 /*FixedEchelonId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 66 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 66 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ConstArenaExcel.cs b/SCHALE.Common/FlatData/ConstArenaExcel.cs index 573343f..e0750f1 100644 --- a/SCHALE.Common/FlatData/ConstArenaExcel.cs +++ b/SCHALE.Common/FlatData/ConstArenaExcel.cs @@ -125,6 +125,7 @@ public struct ConstArenaExcel : IFlatbufferObject #endif public byte[] GetShowSeasonChangeInfoEndTimeArray() { return __p.__vector_as_array(64); } public long ShowSeasonId { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int ArenaHistoryQueryLimitDays { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public static Offset CreateConstArenaExcel(FlatBufferBuilder builder, long AttackCoolTime = 0, @@ -158,8 +159,9 @@ public struct ConstArenaExcel : IFlatbufferObject long SkipAllowedTimeMilliSeconds = 0, StringOffset ShowSeasonChangeInfoStartTimeOffset = default(StringOffset), StringOffset ShowSeasonChangeInfoEndTimeOffset = default(StringOffset), - long ShowSeasonId = 0) { - builder.StartTable(32); + long ShowSeasonId = 0, + int ArenaHistoryQueryLimitDays = 0) { + builder.StartTable(33); ConstArenaExcel.AddShowSeasonId(builder, ShowSeasonId); ConstArenaExcel.AddSkipAllowedTimeMilliSeconds(builder, SkipAllowedTimeMilliSeconds); ConstArenaExcel.AddEchelonSettingIntervalMilliSeconds(builder, EchelonSettingIntervalMilliSeconds); @@ -179,6 +181,7 @@ public struct ConstArenaExcel : IFlatbufferObject ConstArenaExcel.AddDefenseCoolTime(builder, DefenseCoolTime); ConstArenaExcel.AddBattleDuration(builder, BattleDuration); ConstArenaExcel.AddAttackCoolTime(builder, AttackCoolTime); + ConstArenaExcel.AddArenaHistoryQueryLimitDays(builder, ArenaHistoryQueryLimitDays); ConstArenaExcel.AddShowSeasonChangeInfoEndTime(builder, ShowSeasonChangeInfoEndTimeOffset); ConstArenaExcel.AddShowSeasonChangeInfoStartTime(builder, ShowSeasonChangeInfoStartTimeOffset); ConstArenaExcel.AddHiddenCharacterImagePath(builder, HiddenCharacterImagePathOffset); @@ -195,7 +198,7 @@ public struct ConstArenaExcel : IFlatbufferObject return ConstArenaExcel.EndConstArenaExcel(builder); } - public static void StartConstArenaExcel(FlatBufferBuilder builder) { builder.StartTable(32); } + public static void StartConstArenaExcel(FlatBufferBuilder builder) { builder.StartTable(33); } public static void AddAttackCoolTime(FlatBufferBuilder builder, long attackCoolTime) { builder.AddLong(0, attackCoolTime, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(1, battleDuration, 0); } public static void AddDefenseCoolTime(FlatBufferBuilder builder, long defenseCoolTime) { builder.AddLong(2, defenseCoolTime, 0); } @@ -263,6 +266,7 @@ public struct ConstArenaExcel : IFlatbufferObject public static void AddShowSeasonChangeInfoStartTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoStartTimeOffset) { builder.AddOffset(29, showSeasonChangeInfoStartTimeOffset.Value, 0); } public static void AddShowSeasonChangeInfoEndTime(FlatBufferBuilder builder, StringOffset showSeasonChangeInfoEndTimeOffset) { builder.AddOffset(30, showSeasonChangeInfoEndTimeOffset.Value, 0); } public static void AddShowSeasonId(FlatBufferBuilder builder, long showSeasonId) { builder.AddLong(31, showSeasonId, 0); } + public static void AddArenaHistoryQueryLimitDays(FlatBufferBuilder builder, int arenaHistoryQueryLimitDays) { builder.AddInt(32, arenaHistoryQueryLimitDays, 0); } public static Offset EndConstArenaExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -313,6 +317,7 @@ public struct ConstArenaExcel : IFlatbufferObject _o.ShowSeasonChangeInfoStartTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoStartTime, key); _o.ShowSeasonChangeInfoEndTime = TableEncryptionService.Convert(this.ShowSeasonChangeInfoEndTime, key); _o.ShowSeasonId = TableEncryptionService.Convert(this.ShowSeasonId, key); + _o.ArenaHistoryQueryLimitDays = TableEncryptionService.Convert(this.ArenaHistoryQueryLimitDays, key); } public static Offset Pack(FlatBufferBuilder builder, ConstArenaExcelT _o) { if (_o == null) return default(Offset); @@ -390,7 +395,8 @@ public struct ConstArenaExcel : IFlatbufferObject _o.SkipAllowedTimeMilliSeconds, _ShowSeasonChangeInfoStartTime, _ShowSeasonChangeInfoEndTime, - _o.ShowSeasonId); + _o.ShowSeasonId, + _o.ArenaHistoryQueryLimitDays); } } @@ -428,6 +434,7 @@ public class ConstArenaExcelT public string ShowSeasonChangeInfoStartTime { get; set; } public string ShowSeasonChangeInfoEndTime { get; set; } public long ShowSeasonId { get; set; } + public int ArenaHistoryQueryLimitDays { get; set; } public ConstArenaExcelT() { this.AttackCoolTime = 0; @@ -462,6 +469,7 @@ public class ConstArenaExcelT this.ShowSeasonChangeInfoStartTime = null; this.ShowSeasonChangeInfoEndTime = null; this.ShowSeasonId = 0; + this.ArenaHistoryQueryLimitDays = 0; } } @@ -503,6 +511,7 @@ static public class ConstArenaExcelVerify && verifier.VerifyString(tablePos, 62 /*ShowSeasonChangeInfoStartTime*/, false) && verifier.VerifyString(tablePos, 64 /*ShowSeasonChangeInfoEndTime*/, false) && verifier.VerifyField(tablePos, 66 /*ShowSeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 68 /*ArenaHistoryQueryLimitDays*/, 4 /*int*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ConstCommonExcel.cs b/SCHALE.Common/FlatData/ConstCommonExcel.cs index 54a377d..e673dc1 100644 --- a/SCHALE.Common/FlatData/ConstCommonExcel.cs +++ b/SCHALE.Common/FlatData/ConstCommonExcel.cs @@ -43,196 +43,200 @@ public struct ConstCommonExcel : IFlatbufferObject public int MainSquadExpBonus { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int SupportSquadExpBonus { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int AccountExpRatio { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MissionToastLifeTime { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExpItemInsertLimit { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExpItemInsertAccelTime { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharacterLvUpCoefficient { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int EquipmentLvUpCoefficient { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExpEquipInsertLimit { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int EquipLvUpCoefficient { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int NicknameLength { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CraftDuration(int j) { int o = __p.__offset(66); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } - public int CraftDurationLength { get { int o = __p.__offset(66); return o != 0 ? __p.__vector_len(o) : 0; } } + public int NewbieAccountExpRatio { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int NewbieExpBoostActivateLevel { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MissionToastLifeTime { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ExpItemInsertLimit { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ExpItemInsertAccelTime { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharacterLvUpCoefficient { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int EquipmentLvUpCoefficient { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ExpEquipInsertLimit { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int EquipLvUpCoefficient { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int NicknameLength { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CraftDuration(int j) { int o = __p.__offset(70); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } + public int CraftDurationLength { get { int o = __p.__offset(70); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetCraftDurationBytes() { return __p.__vector_as_span(66, 4); } + public Span GetCraftDurationBytes() { return __p.__vector_as_span(70, 4); } #else - public ArraySegment? GetCraftDurationBytes() { return __p.__vector_as_arraysegment(66); } + public ArraySegment? GetCraftDurationBytes() { return __p.__vector_as_arraysegment(70); } #endif - public int[] GetCraftDurationArray() { return __p.__vector_as_array(66); } - public int CraftLimitTime { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ShiftingCraftDuration(int j) { int o = __p.__offset(70); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } - public int ShiftingCraftDurationLength { get { int o = __p.__offset(70); return o != 0 ? __p.__vector_len(o) : 0; } } + public int[] GetCraftDurationArray() { return __p.__vector_as_array(70); } + public int CraftLimitTime { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ShiftingCraftDuration(int j) { int o = __p.__offset(74); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } + public int ShiftingCraftDurationLength { get { int o = __p.__offset(74); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetShiftingCraftDurationBytes() { return __p.__vector_as_span(70, 4); } + public Span GetShiftingCraftDurationBytes() { return __p.__vector_as_span(74, 4); } #else - public ArraySegment? GetShiftingCraftDurationBytes() { return __p.__vector_as_arraysegment(70); } + public ArraySegment? GetShiftingCraftDurationBytes() { return __p.__vector_as_arraysegment(74); } #endif - public int[] GetShiftingCraftDurationArray() { return __p.__vector_as_array(70); } - public int ShiftingCraftTicketConsumeAmount { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ShiftingCraftSlotMaxCapacity { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CraftTicketItemUniqueId { get { int o = __p.__offset(76); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CraftTicketConsumeAmount { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ParcelType AcademyEnterCostType { get { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } - public long AcademyEnterCostId { get { int o = __p.__offset(82); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int AcademyTicketCost { get { int o = __p.__offset(84); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MassangerMessageExpireDay { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CraftLeafNodeGenerateLv1Count { get { int o = __p.__offset(88); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CraftLeafNodeGenerateLv2Count { get { int o = __p.__offset(90); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int TutorialGachaShopId { get { int o = __p.__offset(92); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int BeforehandGachaShopId { get { int o = __p.__offset(94); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int TutorialGachaGoodsId { get { int o = __p.__offset(96); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int EquipmentSlotOpenLevel(int j) { int o = __p.__offset(98); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } - public int EquipmentSlotOpenLevelLength { get { int o = __p.__offset(98); return o != 0 ? __p.__vector_len(o) : 0; } } + public int[] GetShiftingCraftDurationArray() { return __p.__vector_as_array(74); } + public int ShiftingCraftTicketConsumeAmount { get { int o = __p.__offset(76); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ShiftingCraftSlotMaxCapacity { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CraftTicketItemUniqueId { get { int o = __p.__offset(80); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CraftTicketConsumeAmount { get { int o = __p.__offset(82); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.ParcelType AcademyEnterCostType { get { int o = __p.__offset(84); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public long AcademyEnterCostId { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int AcademyTicketCost { get { int o = __p.__offset(88); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MassangerMessageExpireDay { get { int o = __p.__offset(90); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CraftLeafNodeGenerateLv1Count { get { int o = __p.__offset(92); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CraftLeafNodeGenerateLv2Count { get { int o = __p.__offset(94); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int TutorialGachaShopId { get { int o = __p.__offset(96); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int BeforehandGachaShopId { get { int o = __p.__offset(98); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int TutorialGachaGoodsId { get { int o = __p.__offset(100); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int EquipmentSlotOpenLevel(int j) { int o = __p.__offset(102); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } + public int EquipmentSlotOpenLevelLength { get { int o = __p.__offset(102); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_span(98, 4); } + public Span GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_span(102, 4); } #else - public ArraySegment? GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_arraysegment(98); } + public ArraySegment? GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_arraysegment(102); } #endif - public int[] GetEquipmentSlotOpenLevelArray() { return __p.__vector_as_array(98); } - public float ScenarioAutoDelayMillisec { get { int o = __p.__offset(100); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public long JoinOrCreateClanCoolTimeFromHour { get { int o = __p.__offset(102); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ClanMaxMember { get { int o = __p.__offset(104); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ClanSearchResultCount { get { int o = __p.__offset(106); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ClanMaxApplicant { get { int o = __p.__offset(108); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ClanRejoinCoolTimeFromSecond { get { int o = __p.__offset(110); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int ClanWordBalloonMaxCharacter { get { int o = __p.__offset(112); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long CallNameRenameCoolTimeFromHour { get { int o = __p.__offset(114); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CallNameMinimumLength { get { int o = __p.__offset(116); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CallNameMaximumLength { get { int o = __p.__offset(118); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LobbyToScreenModeWaitTime { get { int o = __p.__offset(120); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ScreenshotToLobbyButtonHideDelay { get { int o = __p.__offset(122); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long PrologueScenarioID01 { get { int o = __p.__offset(124); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long PrologueScenarioID02 { get { int o = __p.__offset(126); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long TutorialHardStage11 { get { int o = __p.__offset(128); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long TutorialSpeedButtonStage { get { int o = __p.__offset(130); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long TutorialCharacterDefaultCount { get { int o = __p.__offset(132); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ShopCategoryType TutorialShopCategoryType { get { int o = __p.__offset(134); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopCategoryType.General; } } - public long AdventureStrategyPlayTimeLimitInSeconds { get { int o = __p.__offset(136); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long WeekDungoenTacticPlayTimeLimitInSeconds { get { int o = __p.__offset(138); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long RaidTacticPlayTimeLimitInSeconds { get { int o = __p.__offset(140); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long RaidOpponentListAmount { get { int o = __p.__offset(142); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CraftBaseGoldRequired(int j) { int o = __p.__offset(144); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int CraftBaseGoldRequiredLength { get { int o = __p.__offset(144); return o != 0 ? __p.__vector_len(o) : 0; } } + public int[] GetEquipmentSlotOpenLevelArray() { return __p.__vector_as_array(102); } + public float ScenarioAutoDelayMillisec { get { int o = __p.__offset(104); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public long JoinOrCreateClanCoolTimeFromHour { get { int o = __p.__offset(106); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ClanMaxMember { get { int o = __p.__offset(108); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ClanSearchResultCount { get { int o = __p.__offset(110); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ClanMaxApplicant { get { int o = __p.__offset(112); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ClanRejoinCoolTimeFromSecond { get { int o = __p.__offset(114); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int ClanWordBalloonMaxCharacter { get { int o = __p.__offset(116); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long CallNameRenameCoolTimeFromHour { get { int o = __p.__offset(118); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CallNameMinimumLength { get { int o = __p.__offset(120); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CallNameMaximumLength { get { int o = __p.__offset(122); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LobbyToScreenModeWaitTime { get { int o = __p.__offset(124); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ScreenshotToLobbyButtonHideDelay { get { int o = __p.__offset(126); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long PrologueScenarioID01 { get { int o = __p.__offset(128); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long PrologueScenarioID02 { get { int o = __p.__offset(130); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long TutorialHardStage11 { get { int o = __p.__offset(132); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long TutorialSpeedButtonStage { get { int o = __p.__offset(134); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long TutorialCharacterDefaultCount { get { int o = __p.__offset(136); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.ShopCategoryType TutorialShopCategoryType { get { int o = __p.__offset(138); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopCategoryType.General; } } + public long AdventureStrategyPlayTimeLimitInSeconds { get { int o = __p.__offset(140); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long WeekDungoenTacticPlayTimeLimitInSeconds { get { int o = __p.__offset(142); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long RaidTacticPlayTimeLimitInSeconds { get { int o = __p.__offset(144); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long RaidOpponentListAmount { get { int o = __p.__offset(146); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CraftBaseGoldRequired(int j) { int o = __p.__offset(148); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int CraftBaseGoldRequiredLength { get { int o = __p.__offset(148); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_span(144, 8); } + public Span GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_span(148, 8); } #else - public ArraySegment? GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_arraysegment(144); } + public ArraySegment? GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_arraysegment(148); } #endif - public long[] GetCraftBaseGoldRequiredArray() { return __p.__vector_as_array(144); } - public int PostExpiredDayAttendance { get { int o = __p.__offset(146); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PostExpiredDayInventoryOverflow { get { int o = __p.__offset(148); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PostExpiredDayGameManager { get { int o = __p.__offset(150); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public string UILabelCharacterWrap { get { int o = __p.__offset(152); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long[] GetCraftBaseGoldRequiredArray() { return __p.__vector_as_array(148); } + public int PostExpiredDayAttendance { get { int o = __p.__offset(150); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PostExpiredDayInventoryOverflow { get { int o = __p.__offset(152); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PostExpiredDayGameManager { get { int o = __p.__offset(154); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public string UILabelCharacterWrap { get { int o = __p.__offset(156); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetUILabelCharacterWrapBytes() { return __p.__vector_as_span(152, 1); } + public Span GetUILabelCharacterWrapBytes() { return __p.__vector_as_span(156, 1); } #else - public ArraySegment? GetUILabelCharacterWrapBytes() { return __p.__vector_as_arraysegment(152); } + public ArraySegment? GetUILabelCharacterWrapBytes() { return __p.__vector_as_arraysegment(156); } #endif - public byte[] GetUILabelCharacterWrapArray() { return __p.__vector_as_array(152); } - public float RequestTimeOut { get { int o = __p.__offset(154); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } - public int MailStorageSoftCap { get { int o = __p.__offset(156); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MailStorageHardCap { get { int o = __p.__offset(158); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeckStorageSize { get { int o = __p.__offset(160); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeckNoStarViewCount { get { int o = __p.__offset(162); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeck1StarViewCount { get { int o = __p.__offset(164); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeck2StarViewCount { get { int o = __p.__offset(166); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeck3StarViewCount { get { int o = __p.__offset(168); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExSkillLevelMax { get { int o = __p.__offset(170); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PublicSkillLevelMax { get { int o = __p.__offset(172); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PassiveSkillLevelMax { get { int o = __p.__offset(174); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExtraPassiveSkillLevelMax { get { int o = __p.__offset(176); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int AccountCommentMaxLength { get { int o = __p.__offset(178); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CafeSummonCoolTimeFromHour { get { int o = __p.__offset(180); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long LimitedStageDailyClearCount { get { int o = __p.__offset(182); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LimitedStageEntryTimeLimit { get { int o = __p.__offset(184); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LimitedStageEntryTimeBuffer { get { int o = __p.__offset(186); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LimitedStagePointAmount { get { int o = __p.__offset(188); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LimitedStagePointPerApMin { get { int o = __p.__offset(190); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long LimitedStagePointPerApMax { get { int o = __p.__offset(192); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int AccountLinkReward { get { int o = __p.__offset(194); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MonthlyProductCheckDays { get { int o = __p.__offset(196); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int WeaponLvUpCoefficient { get { int o = __p.__offset(198); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ShowRaidMyListCount { get { int o = __p.__offset(200); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MaxLevelExpMasterCoinRatio { get { int o = __p.__offset(202); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ParcelType RaidEnterCostType { get { int o = __p.__offset(204); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } - public long RaidEnterCostId { get { int o = __p.__offset(206); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long RaidTicketCost { get { int o = __p.__offset(208); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string TimeAttackDungeonScenarioId { get { int o = __p.__offset(210); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetUILabelCharacterWrapArray() { return __p.__vector_as_array(156); } + public float RequestTimeOut { get { int o = __p.__offset(158); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public int MailStorageSoftCap { get { int o = __p.__offset(160); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MailStorageHardCap { get { int o = __p.__offset(162); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeckStorageSize { get { int o = __p.__offset(164); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeckNoStarViewCount { get { int o = __p.__offset(166); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeck1StarViewCount { get { int o = __p.__offset(168); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeck2StarViewCount { get { int o = __p.__offset(170); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeck3StarViewCount { get { int o = __p.__offset(172); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ExSkillLevelMax { get { int o = __p.__offset(174); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PublicSkillLevelMax { get { int o = __p.__offset(176); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PassiveSkillLevelMax { get { int o = __p.__offset(178); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ExtraPassiveSkillLevelMax { get { int o = __p.__offset(180); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int AccountCommentMaxLength { get { int o = __p.__offset(182); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CafeSummonCoolTimeFromHour { get { int o = __p.__offset(184); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long LimitedStageDailyClearCount { get { int o = __p.__offset(186); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitedStageEntryTimeLimit { get { int o = __p.__offset(188); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitedStageEntryTimeBuffer { get { int o = __p.__offset(190); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitedStagePointAmount { get { int o = __p.__offset(192); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitedStagePointPerApMin { get { int o = __p.__offset(194); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long LimitedStagePointPerApMax { get { int o = __p.__offset(196); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int AccountLinkReward { get { int o = __p.__offset(198); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MonthlyProductCheckDays { get { int o = __p.__offset(200); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int WeaponLvUpCoefficient { get { int o = __p.__offset(202); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ShowRaidMyListCount { get { int o = __p.__offset(204); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MaxLevelExpMasterCoinRatio { get { int o = __p.__offset(206); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.ParcelType RaidEnterCostType { get { int o = __p.__offset(208); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public long RaidEnterCostId { get { int o = __p.__offset(210); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long RaidTicketCost { get { int o = __p.__offset(212); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string TimeAttackDungeonScenarioId { get { int o = __p.__offset(214); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_span(210, 1); } + public Span GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_span(214, 1); } #else - public ArraySegment? GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_arraysegment(210); } + public ArraySegment? GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_arraysegment(214); } #endif - public byte[] GetTimeAttackDungeonScenarioIdArray() { return __p.__vector_as_array(210); } - public int TimeAttackDungoenPlayCountPerTicket { get { int o = __p.__offset(212); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ParcelType TimeAttackDungeonEnterCostType { get { int o = __p.__offset(214); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } - public long TimeAttackDungeonEnterCostId { get { int o = __p.__offset(216); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long TimeAttackDungeonEnterCost { get { int o = __p.__offset(218); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long ClanLeaderTransferLastLoginLimit { get { int o = __p.__offset(220); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int MonthlyProductRepurchasePopupLimit { get { int o = __p.__offset(222); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.Tag CommonFavorItemTags(int j) { int o = __p.__offset(224); return o != 0 ? (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.Tag)0; } - public int CommonFavorItemTagsLength { get { int o = __p.__offset(224); return o != 0 ? __p.__vector_len(o) : 0; } } + public byte[] GetTimeAttackDungeonScenarioIdArray() { return __p.__vector_as_array(214); } + public int TimeAttackDungoenPlayCountPerTicket { get { int o = __p.__offset(216); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.ParcelType TimeAttackDungeonEnterCostType { get { int o = __p.__offset(218); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public long TimeAttackDungeonEnterCostId { get { int o = __p.__offset(220); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long TimeAttackDungeonEnterCost { get { int o = __p.__offset(222); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ClanLeaderTransferLastLoginLimit { get { int o = __p.__offset(224); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int MonthlyProductRepurchasePopupLimit { get { int o = __p.__offset(226); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.Tag CommonFavorItemTags(int j) { int o = __p.__offset(228); return o != 0 ? (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.Tag)0; } + public int CommonFavorItemTagsLength { get { int o = __p.__offset(228); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetCommonFavorItemTagsBytes() { return __p.__vector_as_span(224, 4); } + public Span GetCommonFavorItemTagsBytes() { return __p.__vector_as_span(228, 4); } #else - public ArraySegment? GetCommonFavorItemTagsBytes() { return __p.__vector_as_arraysegment(224); } + public ArraySegment? GetCommonFavorItemTagsBytes() { return __p.__vector_as_arraysegment(228); } #endif - public SCHALE.Common.FlatData.Tag[] GetCommonFavorItemTagsArray() { int o = __p.__offset(224); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.Tag[] a = new SCHALE.Common.FlatData.Tag[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(p + i * 4); } return a; } - public long MaxApMasterCoinPerWeek { get { int o = __p.__offset(226); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CraftOpenExpTier1 { get { int o = __p.__offset(228); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CraftOpenExpTier2 { get { int o = __p.__offset(230); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CraftOpenExpTier3 { get { int o = __p.__offset(232); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long CharacterEquipmentGearSlot { get { int o = __p.__offset(234); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int BirthDayDDay { get { int o = __p.__offset(236); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int RecommendedFriendsLvDifferenceLimit { get { int o = __p.__offset(238); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int DDosDetectCount { get { int o = __p.__offset(240); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int DDosCheckIntervalInSeconds { get { int o = __p.__offset(242); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MaxFriendsCount { get { int o = __p.__offset(244); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MaxFriendsRequest { get { int o = __p.__offset(246); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FriendsSearchRequestCount { get { int o = __p.__offset(248); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FriendsMaxApplicant { get { int o = __p.__offset(250); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long IdCardDefaultCharacterId { get { int o = __p.__offset(252); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long IdCardDefaultBgId { get { int o = __p.__offset(254); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long WorldRaidGemEnterCost { get { int o = __p.__offset(256); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long WorldRaidGemEnterAmout { get { int o = __p.__offset(258); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long FriendIdCardCommentMaxLength { get { int o = __p.__offset(260); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int FormationPresetNumberOfEchelonTab { get { int o = __p.__offset(262); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FormationPresetNumberOfEchelon { get { int o = __p.__offset(264); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FormationPresetRecentNumberOfEchelon { get { int o = __p.__offset(266); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FormationPresetEchelonTabTextLength { get { int o = __p.__offset(268); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int FormationPresetEchelonSlotTextLength { get { int o = __p.__offset(270); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharProfileRowIntervalKr { get { int o = __p.__offset(272); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharProfileRowIntervalJp { get { int o = __p.__offset(274); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharProfilePopupRowIntervalKr { get { int o = __p.__offset(276); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharProfilePopupRowIntervalJp { get { int o = __p.__offset(278); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int BeforehandGachaCount { get { int o = __p.__offset(280); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int BeforehandGachaGroupId { get { int o = __p.__offset(282); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int RenewalDisplayOrderDay { get { int o = __p.__offset(284); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public long EmblemDefaultId { get { int o = __p.__offset(286); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string BirthdayMailStartDate { get { int o = __p.__offset(288); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public SCHALE.Common.FlatData.Tag[] GetCommonFavorItemTagsArray() { int o = __p.__offset(228); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.Tag[] a = new SCHALE.Common.FlatData.Tag[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.Tag)__p.bb.GetInt(p + i * 4); } return a; } + public long MaxApMasterCoinPerWeek { get { int o = __p.__offset(230); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CraftOpenExpTier1 { get { int o = __p.__offset(232); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CraftOpenExpTier2 { get { int o = __p.__offset(234); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CraftOpenExpTier3 { get { int o = __p.__offset(236); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long CharacterEquipmentGearSlot { get { int o = __p.__offset(238); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int BirthDayDDay { get { int o = __p.__offset(240); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int RecommendedFriendsLvDifferenceLimit { get { int o = __p.__offset(242); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int DDosDetectCount { get { int o = __p.__offset(244); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int DDosCheckIntervalInSeconds { get { int o = __p.__offset(246); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MaxFriendsCount { get { int o = __p.__offset(248); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MaxFriendsRequest { get { int o = __p.__offset(250); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FriendsSearchRequestCount { get { int o = __p.__offset(252); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FriendsMaxApplicant { get { int o = __p.__offset(254); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long IdCardDefaultCharacterId { get { int o = __p.__offset(256); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long IdCardDefaultBgId { get { int o = __p.__offset(258); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long WorldRaidGemEnterCost { get { int o = __p.__offset(260); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long WorldRaidGemEnterAmout { get { int o = __p.__offset(262); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long FriendIdCardCommentMaxLength { get { int o = __p.__offset(264); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int FormationPresetNumberOfEchelonTab { get { int o = __p.__offset(266); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FormationPresetNumberOfEchelon { get { int o = __p.__offset(268); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FormationPresetRecentNumberOfEchelon { get { int o = __p.__offset(270); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FormationPresetEchelonTabTextLength { get { int o = __p.__offset(272); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int FormationPresetEchelonSlotTextLength { get { int o = __p.__offset(274); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharProfileRowIntervalKr { get { int o = __p.__offset(276); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharProfileRowIntervalJp { get { int o = __p.__offset(278); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharProfilePopupRowIntervalKr { get { int o = __p.__offset(280); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharProfilePopupRowIntervalJp { get { int o = __p.__offset(282); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int BeforehandGachaCount { get { int o = __p.__offset(284); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int BeforehandGachaGroupId { get { int o = __p.__offset(286); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int RenewalDisplayOrderDay { get { int o = __p.__offset(288); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long EmblemDefaultId { get { int o = __p.__offset(290); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string BirthdayMailStartDate { get { int o = __p.__offset(292); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetBirthdayMailStartDateBytes() { return __p.__vector_as_span(288, 1); } + public Span GetBirthdayMailStartDateBytes() { return __p.__vector_as_span(292, 1); } #else - public ArraySegment? GetBirthdayMailStartDateBytes() { return __p.__vector_as_arraysegment(288); } + public ArraySegment? GetBirthdayMailStartDateBytes() { return __p.__vector_as_arraysegment(292); } #endif - public byte[] GetBirthdayMailStartDateArray() { return __p.__vector_as_array(288); } - public int BirthdayMailRemainDate { get { int o = __p.__offset(290); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ParcelType BirthdayMailParcelType { get { int o = __p.__offset(292); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } - public long BirthdayMailParcelId { get { int o = __p.__offset(294); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int BirthdayMailParcelAmount { get { int o = __p.__offset(296); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeckAverageDeckCount { get { int o = __p.__offset(298); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeckWorldRaidSaveConditionCoefficient { get { int o = __p.__offset(300); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ClearDeckShowCount { get { int o = __p.__offset(302); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int CharacterMaxLevel { get { int o = __p.__offset(304); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PotentialBonusStatMaxLevelMaxHP { get { int o = __p.__offset(306); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PotentialBonusStatMaxLevelAttackPower { get { int o = __p.__offset(308); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PotentialBonusStatMaxLevelHealPower { get { int o = __p.__offset(310); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PotentialOpenConditionCharacterLevel { get { int o = __p.__offset(312); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int AssistStrangerMinLevel { get { int o = __p.__offset(314); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int AssistStrangerMaxLevel { get { int o = __p.__offset(316); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MaxBlockedUserCount { get { int o = __p.__offset(318); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public byte[] GetBirthdayMailStartDateArray() { return __p.__vector_as_array(292); } + public int BirthdayMailRemainDate { get { int o = __p.__offset(294); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public SCHALE.Common.FlatData.ParcelType BirthdayMailParcelType { get { int o = __p.__offset(296); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public long BirthdayMailParcelId { get { int o = __p.__offset(298); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int BirthdayMailParcelAmount { get { int o = __p.__offset(300); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeckAverageDeckCount { get { int o = __p.__offset(302); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeckWorldRaidSaveConditionCoefficient { get { int o = __p.__offset(304); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int ClearDeckShowCount { get { int o = __p.__offset(306); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CharacterMaxLevel { get { int o = __p.__offset(308); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PotentialBonusStatMaxLevelMaxHP { get { int o = __p.__offset(310); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PotentialBonusStatMaxLevelAttackPower { get { int o = __p.__offset(312); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PotentialBonusStatMaxLevelHealPower { get { int o = __p.__offset(314); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int PotentialOpenConditionCharacterLevel { get { int o = __p.__offset(316); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int AssistStrangerMinLevel { get { int o = __p.__offset(318); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int AssistStrangerMaxLevel { get { int o = __p.__offset(320); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int MaxBlockedUserCount { get { int o = __p.__offset(322); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long CafeRandomVisitMinComfortBonus { get { int o = __p.__offset(324); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int CafeRandomVisitMinLastLogin { get { int o = __p.__offset(326); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public static void StartConstCommonExcel(FlatBufferBuilder builder) { builder.StartTable(158); } + public static void StartConstCommonExcel(FlatBufferBuilder builder) { builder.StartTable(162); } public static void AddCampaignMainStageMaxRank(FlatBufferBuilder builder, int campaignMainStageMaxRank) { builder.AddInt(0, campaignMainStageMaxRank, 0); } public static void AddCampaignMainStageBestRecord(FlatBufferBuilder builder, int campaignMainStageBestRecord) { builder.AddInt(1, campaignMainStageBestRecord, 0); } public static void AddHardAdventurePlayCountRecoverDailyNumber(FlatBufferBuilder builder, int hardAdventurePlayCountRecoverDailyNumber) { builder.AddInt(2, hardAdventurePlayCountRecoverDailyNumber, 0); } @@ -256,166 +260,170 @@ public struct ConstCommonExcel : IFlatbufferObject public static void AddMainSquadExpBonus(FlatBufferBuilder builder, int mainSquadExpBonus) { builder.AddInt(20, mainSquadExpBonus, 0); } public static void AddSupportSquadExpBonus(FlatBufferBuilder builder, int supportSquadExpBonus) { builder.AddInt(21, supportSquadExpBonus, 0); } public static void AddAccountExpRatio(FlatBufferBuilder builder, int accountExpRatio) { builder.AddInt(22, accountExpRatio, 0); } - public static void AddMissionToastLifeTime(FlatBufferBuilder builder, int missionToastLifeTime) { builder.AddInt(23, missionToastLifeTime, 0); } - public static void AddExpItemInsertLimit(FlatBufferBuilder builder, int expItemInsertLimit) { builder.AddInt(24, expItemInsertLimit, 0); } - public static void AddExpItemInsertAccelTime(FlatBufferBuilder builder, int expItemInsertAccelTime) { builder.AddInt(25, expItemInsertAccelTime, 0); } - public static void AddCharacterLvUpCoefficient(FlatBufferBuilder builder, int characterLvUpCoefficient) { builder.AddInt(26, characterLvUpCoefficient, 0); } - public static void AddEquipmentLvUpCoefficient(FlatBufferBuilder builder, int equipmentLvUpCoefficient) { builder.AddInt(27, equipmentLvUpCoefficient, 0); } - public static void AddExpEquipInsertLimit(FlatBufferBuilder builder, int expEquipInsertLimit) { builder.AddInt(28, expEquipInsertLimit, 0); } - public static void AddEquipLvUpCoefficient(FlatBufferBuilder builder, int equipLvUpCoefficient) { builder.AddInt(29, equipLvUpCoefficient, 0); } - public static void AddNicknameLength(FlatBufferBuilder builder, int nicknameLength) { builder.AddInt(30, nicknameLength, 0); } - public static void AddCraftDuration(FlatBufferBuilder builder, VectorOffset craftDurationOffset) { builder.AddOffset(31, craftDurationOffset.Value, 0); } + public static void AddNewbieAccountExpRatio(FlatBufferBuilder builder, int newbieAccountExpRatio) { builder.AddInt(23, newbieAccountExpRatio, 0); } + public static void AddNewbieExpBoostActivateLevel(FlatBufferBuilder builder, int newbieExpBoostActivateLevel) { builder.AddInt(24, newbieExpBoostActivateLevel, 0); } + public static void AddMissionToastLifeTime(FlatBufferBuilder builder, int missionToastLifeTime) { builder.AddInt(25, missionToastLifeTime, 0); } + public static void AddExpItemInsertLimit(FlatBufferBuilder builder, int expItemInsertLimit) { builder.AddInt(26, expItemInsertLimit, 0); } + public static void AddExpItemInsertAccelTime(FlatBufferBuilder builder, int expItemInsertAccelTime) { builder.AddInt(27, expItemInsertAccelTime, 0); } + public static void AddCharacterLvUpCoefficient(FlatBufferBuilder builder, int characterLvUpCoefficient) { builder.AddInt(28, characterLvUpCoefficient, 0); } + public static void AddEquipmentLvUpCoefficient(FlatBufferBuilder builder, int equipmentLvUpCoefficient) { builder.AddInt(29, equipmentLvUpCoefficient, 0); } + public static void AddExpEquipInsertLimit(FlatBufferBuilder builder, int expEquipInsertLimit) { builder.AddInt(30, expEquipInsertLimit, 0); } + public static void AddEquipLvUpCoefficient(FlatBufferBuilder builder, int equipLvUpCoefficient) { builder.AddInt(31, equipLvUpCoefficient, 0); } + public static void AddNicknameLength(FlatBufferBuilder builder, int nicknameLength) { builder.AddInt(32, nicknameLength, 0); } + public static void AddCraftDuration(FlatBufferBuilder builder, VectorOffset craftDurationOffset) { builder.AddOffset(33, craftDurationOffset.Value, 0); } public static VectorOffset CreateCraftDurationVector(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt(data[i]); return builder.EndVector(); } public static VectorOffset CreateCraftDurationVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCraftDurationVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCraftDurationVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartCraftDurationVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddCraftLimitTime(FlatBufferBuilder builder, int craftLimitTime) { builder.AddInt(32, craftLimitTime, 0); } - public static void AddShiftingCraftDuration(FlatBufferBuilder builder, VectorOffset shiftingCraftDurationOffset) { builder.AddOffset(33, shiftingCraftDurationOffset.Value, 0); } + public static void AddCraftLimitTime(FlatBufferBuilder builder, int craftLimitTime) { builder.AddInt(34, craftLimitTime, 0); } + public static void AddShiftingCraftDuration(FlatBufferBuilder builder, VectorOffset shiftingCraftDurationOffset) { builder.AddOffset(35, shiftingCraftDurationOffset.Value, 0); } public static VectorOffset CreateShiftingCraftDurationVector(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt(data[i]); return builder.EndVector(); } public static VectorOffset CreateShiftingCraftDurationVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateShiftingCraftDurationVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateShiftingCraftDurationVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartShiftingCraftDurationVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddShiftingCraftTicketConsumeAmount(FlatBufferBuilder builder, int shiftingCraftTicketConsumeAmount) { builder.AddInt(34, shiftingCraftTicketConsumeAmount, 0); } - public static void AddShiftingCraftSlotMaxCapacity(FlatBufferBuilder builder, int shiftingCraftSlotMaxCapacity) { builder.AddInt(35, shiftingCraftSlotMaxCapacity, 0); } - public static void AddCraftTicketItemUniqueId(FlatBufferBuilder builder, int craftTicketItemUniqueId) { builder.AddInt(36, craftTicketItemUniqueId, 0); } - public static void AddCraftTicketConsumeAmount(FlatBufferBuilder builder, int craftTicketConsumeAmount) { builder.AddInt(37, craftTicketConsumeAmount, 0); } - public static void AddAcademyEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType academyEnterCostType) { builder.AddInt(38, (int)academyEnterCostType, 0); } - public static void AddAcademyEnterCostId(FlatBufferBuilder builder, long academyEnterCostId) { builder.AddLong(39, academyEnterCostId, 0); } - public static void AddAcademyTicketCost(FlatBufferBuilder builder, int academyTicketCost) { builder.AddInt(40, academyTicketCost, 0); } - public static void AddMassangerMessageExpireDay(FlatBufferBuilder builder, int massangerMessageExpireDay) { builder.AddInt(41, massangerMessageExpireDay, 0); } - public static void AddCraftLeafNodeGenerateLv1Count(FlatBufferBuilder builder, int craftLeafNodeGenerateLv1Count) { builder.AddInt(42, craftLeafNodeGenerateLv1Count, 0); } - public static void AddCraftLeafNodeGenerateLv2Count(FlatBufferBuilder builder, int craftLeafNodeGenerateLv2Count) { builder.AddInt(43, craftLeafNodeGenerateLv2Count, 0); } - public static void AddTutorialGachaShopId(FlatBufferBuilder builder, int tutorialGachaShopId) { builder.AddInt(44, tutorialGachaShopId, 0); } - public static void AddBeforehandGachaShopId(FlatBufferBuilder builder, int beforehandGachaShopId) { builder.AddInt(45, beforehandGachaShopId, 0); } - public static void AddTutorialGachaGoodsId(FlatBufferBuilder builder, int tutorialGachaGoodsId) { builder.AddInt(46, tutorialGachaGoodsId, 0); } - public static void AddEquipmentSlotOpenLevel(FlatBufferBuilder builder, VectorOffset equipmentSlotOpenLevelOffset) { builder.AddOffset(47, equipmentSlotOpenLevelOffset.Value, 0); } + public static void AddShiftingCraftTicketConsumeAmount(FlatBufferBuilder builder, int shiftingCraftTicketConsumeAmount) { builder.AddInt(36, shiftingCraftTicketConsumeAmount, 0); } + public static void AddShiftingCraftSlotMaxCapacity(FlatBufferBuilder builder, int shiftingCraftSlotMaxCapacity) { builder.AddInt(37, shiftingCraftSlotMaxCapacity, 0); } + public static void AddCraftTicketItemUniqueId(FlatBufferBuilder builder, int craftTicketItemUniqueId) { builder.AddInt(38, craftTicketItemUniqueId, 0); } + public static void AddCraftTicketConsumeAmount(FlatBufferBuilder builder, int craftTicketConsumeAmount) { builder.AddInt(39, craftTicketConsumeAmount, 0); } + public static void AddAcademyEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType academyEnterCostType) { builder.AddInt(40, (int)academyEnterCostType, 0); } + public static void AddAcademyEnterCostId(FlatBufferBuilder builder, long academyEnterCostId) { builder.AddLong(41, academyEnterCostId, 0); } + public static void AddAcademyTicketCost(FlatBufferBuilder builder, int academyTicketCost) { builder.AddInt(42, academyTicketCost, 0); } + public static void AddMassangerMessageExpireDay(FlatBufferBuilder builder, int massangerMessageExpireDay) { builder.AddInt(43, massangerMessageExpireDay, 0); } + public static void AddCraftLeafNodeGenerateLv1Count(FlatBufferBuilder builder, int craftLeafNodeGenerateLv1Count) { builder.AddInt(44, craftLeafNodeGenerateLv1Count, 0); } + public static void AddCraftLeafNodeGenerateLv2Count(FlatBufferBuilder builder, int craftLeafNodeGenerateLv2Count) { builder.AddInt(45, craftLeafNodeGenerateLv2Count, 0); } + public static void AddTutorialGachaShopId(FlatBufferBuilder builder, int tutorialGachaShopId) { builder.AddInt(46, tutorialGachaShopId, 0); } + public static void AddBeforehandGachaShopId(FlatBufferBuilder builder, int beforehandGachaShopId) { builder.AddInt(47, beforehandGachaShopId, 0); } + public static void AddTutorialGachaGoodsId(FlatBufferBuilder builder, int tutorialGachaGoodsId) { builder.AddInt(48, tutorialGachaGoodsId, 0); } + public static void AddEquipmentSlotOpenLevel(FlatBufferBuilder builder, VectorOffset equipmentSlotOpenLevelOffset) { builder.AddOffset(49, equipmentSlotOpenLevelOffset.Value, 0); } public static VectorOffset CreateEquipmentSlotOpenLevelVector(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt(data[i]); return builder.EndVector(); } public static VectorOffset CreateEquipmentSlotOpenLevelVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateEquipmentSlotOpenLevelVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateEquipmentSlotOpenLevelVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartEquipmentSlotOpenLevelVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddScenarioAutoDelayMillisec(FlatBufferBuilder builder, float scenarioAutoDelayMillisec) { builder.AddFloat(48, scenarioAutoDelayMillisec, 0.0f); } - public static void AddJoinOrCreateClanCoolTimeFromHour(FlatBufferBuilder builder, long joinOrCreateClanCoolTimeFromHour) { builder.AddLong(49, joinOrCreateClanCoolTimeFromHour, 0); } - public static void AddClanMaxMember(FlatBufferBuilder builder, long clanMaxMember) { builder.AddLong(50, clanMaxMember, 0); } - public static void AddClanSearchResultCount(FlatBufferBuilder builder, long clanSearchResultCount) { builder.AddLong(51, clanSearchResultCount, 0); } - public static void AddClanMaxApplicant(FlatBufferBuilder builder, long clanMaxApplicant) { builder.AddLong(52, clanMaxApplicant, 0); } - public static void AddClanRejoinCoolTimeFromSecond(FlatBufferBuilder builder, long clanRejoinCoolTimeFromSecond) { builder.AddLong(53, clanRejoinCoolTimeFromSecond, 0); } - public static void AddClanWordBalloonMaxCharacter(FlatBufferBuilder builder, int clanWordBalloonMaxCharacter) { builder.AddInt(54, clanWordBalloonMaxCharacter, 0); } - public static void AddCallNameRenameCoolTimeFromHour(FlatBufferBuilder builder, long callNameRenameCoolTimeFromHour) { builder.AddLong(55, callNameRenameCoolTimeFromHour, 0); } - public static void AddCallNameMinimumLength(FlatBufferBuilder builder, long callNameMinimumLength) { builder.AddLong(56, callNameMinimumLength, 0); } - public static void AddCallNameMaximumLength(FlatBufferBuilder builder, long callNameMaximumLength) { builder.AddLong(57, callNameMaximumLength, 0); } - public static void AddLobbyToScreenModeWaitTime(FlatBufferBuilder builder, long lobbyToScreenModeWaitTime) { builder.AddLong(58, lobbyToScreenModeWaitTime, 0); } - public static void AddScreenshotToLobbyButtonHideDelay(FlatBufferBuilder builder, long screenshotToLobbyButtonHideDelay) { builder.AddLong(59, screenshotToLobbyButtonHideDelay, 0); } - public static void AddPrologueScenarioID01(FlatBufferBuilder builder, long prologueScenarioID01) { builder.AddLong(60, prologueScenarioID01, 0); } - public static void AddPrologueScenarioID02(FlatBufferBuilder builder, long prologueScenarioID02) { builder.AddLong(61, prologueScenarioID02, 0); } - public static void AddTutorialHardStage11(FlatBufferBuilder builder, long tutorialHardStage11) { builder.AddLong(62, tutorialHardStage11, 0); } - public static void AddTutorialSpeedButtonStage(FlatBufferBuilder builder, long tutorialSpeedButtonStage) { builder.AddLong(63, tutorialSpeedButtonStage, 0); } - public static void AddTutorialCharacterDefaultCount(FlatBufferBuilder builder, long tutorialCharacterDefaultCount) { builder.AddLong(64, tutorialCharacterDefaultCount, 0); } - public static void AddTutorialShopCategoryType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType tutorialShopCategoryType) { builder.AddInt(65, (int)tutorialShopCategoryType, 0); } - public static void AddAdventureStrategyPlayTimeLimitInSeconds(FlatBufferBuilder builder, long adventureStrategyPlayTimeLimitInSeconds) { builder.AddLong(66, adventureStrategyPlayTimeLimitInSeconds, 0); } - public static void AddWeekDungoenTacticPlayTimeLimitInSeconds(FlatBufferBuilder builder, long weekDungoenTacticPlayTimeLimitInSeconds) { builder.AddLong(67, weekDungoenTacticPlayTimeLimitInSeconds, 0); } - public static void AddRaidTacticPlayTimeLimitInSeconds(FlatBufferBuilder builder, long raidTacticPlayTimeLimitInSeconds) { builder.AddLong(68, raidTacticPlayTimeLimitInSeconds, 0); } - public static void AddRaidOpponentListAmount(FlatBufferBuilder builder, long raidOpponentListAmount) { builder.AddLong(69, raidOpponentListAmount, 0); } - public static void AddCraftBaseGoldRequired(FlatBufferBuilder builder, VectorOffset craftBaseGoldRequiredOffset) { builder.AddOffset(70, craftBaseGoldRequiredOffset.Value, 0); } + public static void AddScenarioAutoDelayMillisec(FlatBufferBuilder builder, float scenarioAutoDelayMillisec) { builder.AddFloat(50, scenarioAutoDelayMillisec, 0.0f); } + public static void AddJoinOrCreateClanCoolTimeFromHour(FlatBufferBuilder builder, long joinOrCreateClanCoolTimeFromHour) { builder.AddLong(51, joinOrCreateClanCoolTimeFromHour, 0); } + public static void AddClanMaxMember(FlatBufferBuilder builder, long clanMaxMember) { builder.AddLong(52, clanMaxMember, 0); } + public static void AddClanSearchResultCount(FlatBufferBuilder builder, long clanSearchResultCount) { builder.AddLong(53, clanSearchResultCount, 0); } + public static void AddClanMaxApplicant(FlatBufferBuilder builder, long clanMaxApplicant) { builder.AddLong(54, clanMaxApplicant, 0); } + public static void AddClanRejoinCoolTimeFromSecond(FlatBufferBuilder builder, long clanRejoinCoolTimeFromSecond) { builder.AddLong(55, clanRejoinCoolTimeFromSecond, 0); } + public static void AddClanWordBalloonMaxCharacter(FlatBufferBuilder builder, int clanWordBalloonMaxCharacter) { builder.AddInt(56, clanWordBalloonMaxCharacter, 0); } + public static void AddCallNameRenameCoolTimeFromHour(FlatBufferBuilder builder, long callNameRenameCoolTimeFromHour) { builder.AddLong(57, callNameRenameCoolTimeFromHour, 0); } + public static void AddCallNameMinimumLength(FlatBufferBuilder builder, long callNameMinimumLength) { builder.AddLong(58, callNameMinimumLength, 0); } + public static void AddCallNameMaximumLength(FlatBufferBuilder builder, long callNameMaximumLength) { builder.AddLong(59, callNameMaximumLength, 0); } + public static void AddLobbyToScreenModeWaitTime(FlatBufferBuilder builder, long lobbyToScreenModeWaitTime) { builder.AddLong(60, lobbyToScreenModeWaitTime, 0); } + public static void AddScreenshotToLobbyButtonHideDelay(FlatBufferBuilder builder, long screenshotToLobbyButtonHideDelay) { builder.AddLong(61, screenshotToLobbyButtonHideDelay, 0); } + public static void AddPrologueScenarioID01(FlatBufferBuilder builder, long prologueScenarioID01) { builder.AddLong(62, prologueScenarioID01, 0); } + public static void AddPrologueScenarioID02(FlatBufferBuilder builder, long prologueScenarioID02) { builder.AddLong(63, prologueScenarioID02, 0); } + public static void AddTutorialHardStage11(FlatBufferBuilder builder, long tutorialHardStage11) { builder.AddLong(64, tutorialHardStage11, 0); } + public static void AddTutorialSpeedButtonStage(FlatBufferBuilder builder, long tutorialSpeedButtonStage) { builder.AddLong(65, tutorialSpeedButtonStage, 0); } + public static void AddTutorialCharacterDefaultCount(FlatBufferBuilder builder, long tutorialCharacterDefaultCount) { builder.AddLong(66, tutorialCharacterDefaultCount, 0); } + public static void AddTutorialShopCategoryType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType tutorialShopCategoryType) { builder.AddInt(67, (int)tutorialShopCategoryType, 0); } + public static void AddAdventureStrategyPlayTimeLimitInSeconds(FlatBufferBuilder builder, long adventureStrategyPlayTimeLimitInSeconds) { builder.AddLong(68, adventureStrategyPlayTimeLimitInSeconds, 0); } + public static void AddWeekDungoenTacticPlayTimeLimitInSeconds(FlatBufferBuilder builder, long weekDungoenTacticPlayTimeLimitInSeconds) { builder.AddLong(69, weekDungoenTacticPlayTimeLimitInSeconds, 0); } + public static void AddRaidTacticPlayTimeLimitInSeconds(FlatBufferBuilder builder, long raidTacticPlayTimeLimitInSeconds) { builder.AddLong(70, raidTacticPlayTimeLimitInSeconds, 0); } + public static void AddRaidOpponentListAmount(FlatBufferBuilder builder, long raidOpponentListAmount) { builder.AddLong(71, raidOpponentListAmount, 0); } + public static void AddCraftBaseGoldRequired(FlatBufferBuilder builder, VectorOffset craftBaseGoldRequiredOffset) { builder.AddOffset(72, craftBaseGoldRequiredOffset.Value, 0); } public static VectorOffset CreateCraftBaseGoldRequiredVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } public static VectorOffset CreateCraftBaseGoldRequiredVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCraftBaseGoldRequiredVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCraftBaseGoldRequiredVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartCraftBaseGoldRequiredVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddPostExpiredDayAttendance(FlatBufferBuilder builder, int postExpiredDayAttendance) { builder.AddInt(71, postExpiredDayAttendance, 0); } - public static void AddPostExpiredDayInventoryOverflow(FlatBufferBuilder builder, int postExpiredDayInventoryOverflow) { builder.AddInt(72, postExpiredDayInventoryOverflow, 0); } - public static void AddPostExpiredDayGameManager(FlatBufferBuilder builder, int postExpiredDayGameManager) { builder.AddInt(73, postExpiredDayGameManager, 0); } - public static void AddUILabelCharacterWrap(FlatBufferBuilder builder, StringOffset uILabelCharacterWrapOffset) { builder.AddOffset(74, uILabelCharacterWrapOffset.Value, 0); } - public static void AddRequestTimeOut(FlatBufferBuilder builder, float requestTimeOut) { builder.AddFloat(75, requestTimeOut, 0.0f); } - public static void AddMailStorageSoftCap(FlatBufferBuilder builder, int mailStorageSoftCap) { builder.AddInt(76, mailStorageSoftCap, 0); } - public static void AddMailStorageHardCap(FlatBufferBuilder builder, int mailStorageHardCap) { builder.AddInt(77, mailStorageHardCap, 0); } - public static void AddClearDeckStorageSize(FlatBufferBuilder builder, int clearDeckStorageSize) { builder.AddInt(78, clearDeckStorageSize, 0); } - public static void AddClearDeckNoStarViewCount(FlatBufferBuilder builder, int clearDeckNoStarViewCount) { builder.AddInt(79, clearDeckNoStarViewCount, 0); } - public static void AddClearDeck1StarViewCount(FlatBufferBuilder builder, int clearDeck1StarViewCount) { builder.AddInt(80, clearDeck1StarViewCount, 0); } - public static void AddClearDeck2StarViewCount(FlatBufferBuilder builder, int clearDeck2StarViewCount) { builder.AddInt(81, clearDeck2StarViewCount, 0); } - public static void AddClearDeck3StarViewCount(FlatBufferBuilder builder, int clearDeck3StarViewCount) { builder.AddInt(82, clearDeck3StarViewCount, 0); } - public static void AddExSkillLevelMax(FlatBufferBuilder builder, int exSkillLevelMax) { builder.AddInt(83, exSkillLevelMax, 0); } - public static void AddPublicSkillLevelMax(FlatBufferBuilder builder, int publicSkillLevelMax) { builder.AddInt(84, publicSkillLevelMax, 0); } - public static void AddPassiveSkillLevelMax(FlatBufferBuilder builder, int passiveSkillLevelMax) { builder.AddInt(85, passiveSkillLevelMax, 0); } - public static void AddExtraPassiveSkillLevelMax(FlatBufferBuilder builder, int extraPassiveSkillLevelMax) { builder.AddInt(86, extraPassiveSkillLevelMax, 0); } - public static void AddAccountCommentMaxLength(FlatBufferBuilder builder, int accountCommentMaxLength) { builder.AddInt(87, accountCommentMaxLength, 0); } - public static void AddCafeSummonCoolTimeFromHour(FlatBufferBuilder builder, int cafeSummonCoolTimeFromHour) { builder.AddInt(88, cafeSummonCoolTimeFromHour, 0); } - public static void AddLimitedStageDailyClearCount(FlatBufferBuilder builder, long limitedStageDailyClearCount) { builder.AddLong(89, limitedStageDailyClearCount, 0); } - public static void AddLimitedStageEntryTimeLimit(FlatBufferBuilder builder, long limitedStageEntryTimeLimit) { builder.AddLong(90, limitedStageEntryTimeLimit, 0); } - public static void AddLimitedStageEntryTimeBuffer(FlatBufferBuilder builder, long limitedStageEntryTimeBuffer) { builder.AddLong(91, limitedStageEntryTimeBuffer, 0); } - public static void AddLimitedStagePointAmount(FlatBufferBuilder builder, long limitedStagePointAmount) { builder.AddLong(92, limitedStagePointAmount, 0); } - public static void AddLimitedStagePointPerApMin(FlatBufferBuilder builder, long limitedStagePointPerApMin) { builder.AddLong(93, limitedStagePointPerApMin, 0); } - public static void AddLimitedStagePointPerApMax(FlatBufferBuilder builder, long limitedStagePointPerApMax) { builder.AddLong(94, limitedStagePointPerApMax, 0); } - public static void AddAccountLinkReward(FlatBufferBuilder builder, int accountLinkReward) { builder.AddInt(95, accountLinkReward, 0); } - public static void AddMonthlyProductCheckDays(FlatBufferBuilder builder, int monthlyProductCheckDays) { builder.AddInt(96, monthlyProductCheckDays, 0); } - public static void AddWeaponLvUpCoefficient(FlatBufferBuilder builder, int weaponLvUpCoefficient) { builder.AddInt(97, weaponLvUpCoefficient, 0); } - public static void AddShowRaidMyListCount(FlatBufferBuilder builder, int showRaidMyListCount) { builder.AddInt(98, showRaidMyListCount, 0); } - public static void AddMaxLevelExpMasterCoinRatio(FlatBufferBuilder builder, int maxLevelExpMasterCoinRatio) { builder.AddInt(99, maxLevelExpMasterCoinRatio, 0); } - public static void AddRaidEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType raidEnterCostType) { builder.AddInt(100, (int)raidEnterCostType, 0); } - public static void AddRaidEnterCostId(FlatBufferBuilder builder, long raidEnterCostId) { builder.AddLong(101, raidEnterCostId, 0); } - public static void AddRaidTicketCost(FlatBufferBuilder builder, long raidTicketCost) { builder.AddLong(102, raidTicketCost, 0); } - public static void AddTimeAttackDungeonScenarioId(FlatBufferBuilder builder, StringOffset timeAttackDungeonScenarioIdOffset) { builder.AddOffset(103, timeAttackDungeonScenarioIdOffset.Value, 0); } - public static void AddTimeAttackDungoenPlayCountPerTicket(FlatBufferBuilder builder, int timeAttackDungoenPlayCountPerTicket) { builder.AddInt(104, timeAttackDungoenPlayCountPerTicket, 0); } - public static void AddTimeAttackDungeonEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType timeAttackDungeonEnterCostType) { builder.AddInt(105, (int)timeAttackDungeonEnterCostType, 0); } - public static void AddTimeAttackDungeonEnterCostId(FlatBufferBuilder builder, long timeAttackDungeonEnterCostId) { builder.AddLong(106, timeAttackDungeonEnterCostId, 0); } - public static void AddTimeAttackDungeonEnterCost(FlatBufferBuilder builder, long timeAttackDungeonEnterCost) { builder.AddLong(107, timeAttackDungeonEnterCost, 0); } - public static void AddClanLeaderTransferLastLoginLimit(FlatBufferBuilder builder, long clanLeaderTransferLastLoginLimit) { builder.AddLong(108, clanLeaderTransferLastLoginLimit, 0); } - public static void AddMonthlyProductRepurchasePopupLimit(FlatBufferBuilder builder, int monthlyProductRepurchasePopupLimit) { builder.AddInt(109, monthlyProductRepurchasePopupLimit, 0); } - public static void AddCommonFavorItemTags(FlatBufferBuilder builder, VectorOffset commonFavorItemTagsOffset) { builder.AddOffset(110, commonFavorItemTagsOffset.Value, 0); } + public static void AddPostExpiredDayAttendance(FlatBufferBuilder builder, int postExpiredDayAttendance) { builder.AddInt(73, postExpiredDayAttendance, 0); } + public static void AddPostExpiredDayInventoryOverflow(FlatBufferBuilder builder, int postExpiredDayInventoryOverflow) { builder.AddInt(74, postExpiredDayInventoryOverflow, 0); } + public static void AddPostExpiredDayGameManager(FlatBufferBuilder builder, int postExpiredDayGameManager) { builder.AddInt(75, postExpiredDayGameManager, 0); } + public static void AddUILabelCharacterWrap(FlatBufferBuilder builder, StringOffset uILabelCharacterWrapOffset) { builder.AddOffset(76, uILabelCharacterWrapOffset.Value, 0); } + public static void AddRequestTimeOut(FlatBufferBuilder builder, float requestTimeOut) { builder.AddFloat(77, requestTimeOut, 0.0f); } + public static void AddMailStorageSoftCap(FlatBufferBuilder builder, int mailStorageSoftCap) { builder.AddInt(78, mailStorageSoftCap, 0); } + public static void AddMailStorageHardCap(FlatBufferBuilder builder, int mailStorageHardCap) { builder.AddInt(79, mailStorageHardCap, 0); } + public static void AddClearDeckStorageSize(FlatBufferBuilder builder, int clearDeckStorageSize) { builder.AddInt(80, clearDeckStorageSize, 0); } + public static void AddClearDeckNoStarViewCount(FlatBufferBuilder builder, int clearDeckNoStarViewCount) { builder.AddInt(81, clearDeckNoStarViewCount, 0); } + public static void AddClearDeck1StarViewCount(FlatBufferBuilder builder, int clearDeck1StarViewCount) { builder.AddInt(82, clearDeck1StarViewCount, 0); } + public static void AddClearDeck2StarViewCount(FlatBufferBuilder builder, int clearDeck2StarViewCount) { builder.AddInt(83, clearDeck2StarViewCount, 0); } + public static void AddClearDeck3StarViewCount(FlatBufferBuilder builder, int clearDeck3StarViewCount) { builder.AddInt(84, clearDeck3StarViewCount, 0); } + public static void AddExSkillLevelMax(FlatBufferBuilder builder, int exSkillLevelMax) { builder.AddInt(85, exSkillLevelMax, 0); } + public static void AddPublicSkillLevelMax(FlatBufferBuilder builder, int publicSkillLevelMax) { builder.AddInt(86, publicSkillLevelMax, 0); } + public static void AddPassiveSkillLevelMax(FlatBufferBuilder builder, int passiveSkillLevelMax) { builder.AddInt(87, passiveSkillLevelMax, 0); } + public static void AddExtraPassiveSkillLevelMax(FlatBufferBuilder builder, int extraPassiveSkillLevelMax) { builder.AddInt(88, extraPassiveSkillLevelMax, 0); } + public static void AddAccountCommentMaxLength(FlatBufferBuilder builder, int accountCommentMaxLength) { builder.AddInt(89, accountCommentMaxLength, 0); } + public static void AddCafeSummonCoolTimeFromHour(FlatBufferBuilder builder, int cafeSummonCoolTimeFromHour) { builder.AddInt(90, cafeSummonCoolTimeFromHour, 0); } + public static void AddLimitedStageDailyClearCount(FlatBufferBuilder builder, long limitedStageDailyClearCount) { builder.AddLong(91, limitedStageDailyClearCount, 0); } + public static void AddLimitedStageEntryTimeLimit(FlatBufferBuilder builder, long limitedStageEntryTimeLimit) { builder.AddLong(92, limitedStageEntryTimeLimit, 0); } + public static void AddLimitedStageEntryTimeBuffer(FlatBufferBuilder builder, long limitedStageEntryTimeBuffer) { builder.AddLong(93, limitedStageEntryTimeBuffer, 0); } + public static void AddLimitedStagePointAmount(FlatBufferBuilder builder, long limitedStagePointAmount) { builder.AddLong(94, limitedStagePointAmount, 0); } + public static void AddLimitedStagePointPerApMin(FlatBufferBuilder builder, long limitedStagePointPerApMin) { builder.AddLong(95, limitedStagePointPerApMin, 0); } + public static void AddLimitedStagePointPerApMax(FlatBufferBuilder builder, long limitedStagePointPerApMax) { builder.AddLong(96, limitedStagePointPerApMax, 0); } + public static void AddAccountLinkReward(FlatBufferBuilder builder, int accountLinkReward) { builder.AddInt(97, accountLinkReward, 0); } + public static void AddMonthlyProductCheckDays(FlatBufferBuilder builder, int monthlyProductCheckDays) { builder.AddInt(98, monthlyProductCheckDays, 0); } + public static void AddWeaponLvUpCoefficient(FlatBufferBuilder builder, int weaponLvUpCoefficient) { builder.AddInt(99, weaponLvUpCoefficient, 0); } + public static void AddShowRaidMyListCount(FlatBufferBuilder builder, int showRaidMyListCount) { builder.AddInt(100, showRaidMyListCount, 0); } + public static void AddMaxLevelExpMasterCoinRatio(FlatBufferBuilder builder, int maxLevelExpMasterCoinRatio) { builder.AddInt(101, maxLevelExpMasterCoinRatio, 0); } + public static void AddRaidEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType raidEnterCostType) { builder.AddInt(102, (int)raidEnterCostType, 0); } + public static void AddRaidEnterCostId(FlatBufferBuilder builder, long raidEnterCostId) { builder.AddLong(103, raidEnterCostId, 0); } + public static void AddRaidTicketCost(FlatBufferBuilder builder, long raidTicketCost) { builder.AddLong(104, raidTicketCost, 0); } + public static void AddTimeAttackDungeonScenarioId(FlatBufferBuilder builder, StringOffset timeAttackDungeonScenarioIdOffset) { builder.AddOffset(105, timeAttackDungeonScenarioIdOffset.Value, 0); } + public static void AddTimeAttackDungoenPlayCountPerTicket(FlatBufferBuilder builder, int timeAttackDungoenPlayCountPerTicket) { builder.AddInt(106, timeAttackDungoenPlayCountPerTicket, 0); } + public static void AddTimeAttackDungeonEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType timeAttackDungeonEnterCostType) { builder.AddInt(107, (int)timeAttackDungeonEnterCostType, 0); } + public static void AddTimeAttackDungeonEnterCostId(FlatBufferBuilder builder, long timeAttackDungeonEnterCostId) { builder.AddLong(108, timeAttackDungeonEnterCostId, 0); } + public static void AddTimeAttackDungeonEnterCost(FlatBufferBuilder builder, long timeAttackDungeonEnterCost) { builder.AddLong(109, timeAttackDungeonEnterCost, 0); } + public static void AddClanLeaderTransferLastLoginLimit(FlatBufferBuilder builder, long clanLeaderTransferLastLoginLimit) { builder.AddLong(110, clanLeaderTransferLastLoginLimit, 0); } + public static void AddMonthlyProductRepurchasePopupLimit(FlatBufferBuilder builder, int monthlyProductRepurchasePopupLimit) { builder.AddInt(111, monthlyProductRepurchasePopupLimit, 0); } + public static void AddCommonFavorItemTags(FlatBufferBuilder builder, VectorOffset commonFavorItemTagsOffset) { builder.AddOffset(112, commonFavorItemTagsOffset.Value, 0); } public static VectorOffset CreateCommonFavorItemTagsVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateCommonFavorItemTagsVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.Tag[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCommonFavorItemTagsVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCommonFavorItemTagsVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartCommonFavorItemTagsVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddMaxApMasterCoinPerWeek(FlatBufferBuilder builder, long maxApMasterCoinPerWeek) { builder.AddLong(111, maxApMasterCoinPerWeek, 0); } - public static void AddCraftOpenExpTier1(FlatBufferBuilder builder, long craftOpenExpTier1) { builder.AddLong(112, craftOpenExpTier1, 0); } - public static void AddCraftOpenExpTier2(FlatBufferBuilder builder, long craftOpenExpTier2) { builder.AddLong(113, craftOpenExpTier2, 0); } - public static void AddCraftOpenExpTier3(FlatBufferBuilder builder, long craftOpenExpTier3) { builder.AddLong(114, craftOpenExpTier3, 0); } - public static void AddCharacterEquipmentGearSlot(FlatBufferBuilder builder, long characterEquipmentGearSlot) { builder.AddLong(115, characterEquipmentGearSlot, 0); } - public static void AddBirthDayDDay(FlatBufferBuilder builder, int birthDayDDay) { builder.AddInt(116, birthDayDDay, 0); } - public static void AddRecommendedFriendsLvDifferenceLimit(FlatBufferBuilder builder, int recommendedFriendsLvDifferenceLimit) { builder.AddInt(117, recommendedFriendsLvDifferenceLimit, 0); } - public static void AddDDosDetectCount(FlatBufferBuilder builder, int dDosDetectCount) { builder.AddInt(118, dDosDetectCount, 0); } - public static void AddDDosCheckIntervalInSeconds(FlatBufferBuilder builder, int dDosCheckIntervalInSeconds) { builder.AddInt(119, dDosCheckIntervalInSeconds, 0); } - public static void AddMaxFriendsCount(FlatBufferBuilder builder, int maxFriendsCount) { builder.AddInt(120, maxFriendsCount, 0); } - public static void AddMaxFriendsRequest(FlatBufferBuilder builder, int maxFriendsRequest) { builder.AddInt(121, maxFriendsRequest, 0); } - public static void AddFriendsSearchRequestCount(FlatBufferBuilder builder, int friendsSearchRequestCount) { builder.AddInt(122, friendsSearchRequestCount, 0); } - public static void AddFriendsMaxApplicant(FlatBufferBuilder builder, int friendsMaxApplicant) { builder.AddInt(123, friendsMaxApplicant, 0); } - public static void AddIdCardDefaultCharacterId(FlatBufferBuilder builder, long idCardDefaultCharacterId) { builder.AddLong(124, idCardDefaultCharacterId, 0); } - public static void AddIdCardDefaultBgId(FlatBufferBuilder builder, long idCardDefaultBgId) { builder.AddLong(125, idCardDefaultBgId, 0); } - public static void AddWorldRaidGemEnterCost(FlatBufferBuilder builder, long worldRaidGemEnterCost) { builder.AddLong(126, worldRaidGemEnterCost, 0); } - public static void AddWorldRaidGemEnterAmout(FlatBufferBuilder builder, long worldRaidGemEnterAmout) { builder.AddLong(127, worldRaidGemEnterAmout, 0); } - public static void AddFriendIdCardCommentMaxLength(FlatBufferBuilder builder, long friendIdCardCommentMaxLength) { builder.AddLong(128, friendIdCardCommentMaxLength, 0); } - public static void AddFormationPresetNumberOfEchelonTab(FlatBufferBuilder builder, int formationPresetNumberOfEchelonTab) { builder.AddInt(129, formationPresetNumberOfEchelonTab, 0); } - public static void AddFormationPresetNumberOfEchelon(FlatBufferBuilder builder, int formationPresetNumberOfEchelon) { builder.AddInt(130, formationPresetNumberOfEchelon, 0); } - public static void AddFormationPresetRecentNumberOfEchelon(FlatBufferBuilder builder, int formationPresetRecentNumberOfEchelon) { builder.AddInt(131, formationPresetRecentNumberOfEchelon, 0); } - public static void AddFormationPresetEchelonTabTextLength(FlatBufferBuilder builder, int formationPresetEchelonTabTextLength) { builder.AddInt(132, formationPresetEchelonTabTextLength, 0); } - public static void AddFormationPresetEchelonSlotTextLength(FlatBufferBuilder builder, int formationPresetEchelonSlotTextLength) { builder.AddInt(133, formationPresetEchelonSlotTextLength, 0); } - public static void AddCharProfileRowIntervalKr(FlatBufferBuilder builder, int charProfileRowIntervalKr) { builder.AddInt(134, charProfileRowIntervalKr, 0); } - public static void AddCharProfileRowIntervalJp(FlatBufferBuilder builder, int charProfileRowIntervalJp) { builder.AddInt(135, charProfileRowIntervalJp, 0); } - public static void AddCharProfilePopupRowIntervalKr(FlatBufferBuilder builder, int charProfilePopupRowIntervalKr) { builder.AddInt(136, charProfilePopupRowIntervalKr, 0); } - public static void AddCharProfilePopupRowIntervalJp(FlatBufferBuilder builder, int charProfilePopupRowIntervalJp) { builder.AddInt(137, charProfilePopupRowIntervalJp, 0); } - public static void AddBeforehandGachaCount(FlatBufferBuilder builder, int beforehandGachaCount) { builder.AddInt(138, beforehandGachaCount, 0); } - public static void AddBeforehandGachaGroupId(FlatBufferBuilder builder, int beforehandGachaGroupId) { builder.AddInt(139, beforehandGachaGroupId, 0); } - public static void AddRenewalDisplayOrderDay(FlatBufferBuilder builder, int renewalDisplayOrderDay) { builder.AddInt(140, renewalDisplayOrderDay, 0); } - public static void AddEmblemDefaultId(FlatBufferBuilder builder, long emblemDefaultId) { builder.AddLong(141, emblemDefaultId, 0); } - public static void AddBirthdayMailStartDate(FlatBufferBuilder builder, StringOffset birthdayMailStartDateOffset) { builder.AddOffset(142, birthdayMailStartDateOffset.Value, 0); } - public static void AddBirthdayMailRemainDate(FlatBufferBuilder builder, int birthdayMailRemainDate) { builder.AddInt(143, birthdayMailRemainDate, 0); } - public static void AddBirthdayMailParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType birthdayMailParcelType) { builder.AddInt(144, (int)birthdayMailParcelType, 0); } - public static void AddBirthdayMailParcelId(FlatBufferBuilder builder, long birthdayMailParcelId) { builder.AddLong(145, birthdayMailParcelId, 0); } - public static void AddBirthdayMailParcelAmount(FlatBufferBuilder builder, int birthdayMailParcelAmount) { builder.AddInt(146, birthdayMailParcelAmount, 0); } - public static void AddClearDeckAverageDeckCount(FlatBufferBuilder builder, int clearDeckAverageDeckCount) { builder.AddInt(147, clearDeckAverageDeckCount, 0); } - public static void AddClearDeckWorldRaidSaveConditionCoefficient(FlatBufferBuilder builder, int clearDeckWorldRaidSaveConditionCoefficient) { builder.AddInt(148, clearDeckWorldRaidSaveConditionCoefficient, 0); } - public static void AddClearDeckShowCount(FlatBufferBuilder builder, int clearDeckShowCount) { builder.AddInt(149, clearDeckShowCount, 0); } - public static void AddCharacterMaxLevel(FlatBufferBuilder builder, int characterMaxLevel) { builder.AddInt(150, characterMaxLevel, 0); } - public static void AddPotentialBonusStatMaxLevelMaxHP(FlatBufferBuilder builder, int potentialBonusStatMaxLevelMaxHP) { builder.AddInt(151, potentialBonusStatMaxLevelMaxHP, 0); } - public static void AddPotentialBonusStatMaxLevelAttackPower(FlatBufferBuilder builder, int potentialBonusStatMaxLevelAttackPower) { builder.AddInt(152, potentialBonusStatMaxLevelAttackPower, 0); } - public static void AddPotentialBonusStatMaxLevelHealPower(FlatBufferBuilder builder, int potentialBonusStatMaxLevelHealPower) { builder.AddInt(153, potentialBonusStatMaxLevelHealPower, 0); } - public static void AddPotentialOpenConditionCharacterLevel(FlatBufferBuilder builder, int potentialOpenConditionCharacterLevel) { builder.AddInt(154, potentialOpenConditionCharacterLevel, 0); } - public static void AddAssistStrangerMinLevel(FlatBufferBuilder builder, int assistStrangerMinLevel) { builder.AddInt(155, assistStrangerMinLevel, 0); } - public static void AddAssistStrangerMaxLevel(FlatBufferBuilder builder, int assistStrangerMaxLevel) { builder.AddInt(156, assistStrangerMaxLevel, 0); } - public static void AddMaxBlockedUserCount(FlatBufferBuilder builder, int maxBlockedUserCount) { builder.AddInt(157, maxBlockedUserCount, 0); } + public static void AddMaxApMasterCoinPerWeek(FlatBufferBuilder builder, long maxApMasterCoinPerWeek) { builder.AddLong(113, maxApMasterCoinPerWeek, 0); } + public static void AddCraftOpenExpTier1(FlatBufferBuilder builder, long craftOpenExpTier1) { builder.AddLong(114, craftOpenExpTier1, 0); } + public static void AddCraftOpenExpTier2(FlatBufferBuilder builder, long craftOpenExpTier2) { builder.AddLong(115, craftOpenExpTier2, 0); } + public static void AddCraftOpenExpTier3(FlatBufferBuilder builder, long craftOpenExpTier3) { builder.AddLong(116, craftOpenExpTier3, 0); } + public static void AddCharacterEquipmentGearSlot(FlatBufferBuilder builder, long characterEquipmentGearSlot) { builder.AddLong(117, characterEquipmentGearSlot, 0); } + public static void AddBirthDayDDay(FlatBufferBuilder builder, int birthDayDDay) { builder.AddInt(118, birthDayDDay, 0); } + public static void AddRecommendedFriendsLvDifferenceLimit(FlatBufferBuilder builder, int recommendedFriendsLvDifferenceLimit) { builder.AddInt(119, recommendedFriendsLvDifferenceLimit, 0); } + public static void AddDDosDetectCount(FlatBufferBuilder builder, int dDosDetectCount) { builder.AddInt(120, dDosDetectCount, 0); } + public static void AddDDosCheckIntervalInSeconds(FlatBufferBuilder builder, int dDosCheckIntervalInSeconds) { builder.AddInt(121, dDosCheckIntervalInSeconds, 0); } + public static void AddMaxFriendsCount(FlatBufferBuilder builder, int maxFriendsCount) { builder.AddInt(122, maxFriendsCount, 0); } + public static void AddMaxFriendsRequest(FlatBufferBuilder builder, int maxFriendsRequest) { builder.AddInt(123, maxFriendsRequest, 0); } + public static void AddFriendsSearchRequestCount(FlatBufferBuilder builder, int friendsSearchRequestCount) { builder.AddInt(124, friendsSearchRequestCount, 0); } + public static void AddFriendsMaxApplicant(FlatBufferBuilder builder, int friendsMaxApplicant) { builder.AddInt(125, friendsMaxApplicant, 0); } + public static void AddIdCardDefaultCharacterId(FlatBufferBuilder builder, long idCardDefaultCharacterId) { builder.AddLong(126, idCardDefaultCharacterId, 0); } + public static void AddIdCardDefaultBgId(FlatBufferBuilder builder, long idCardDefaultBgId) { builder.AddLong(127, idCardDefaultBgId, 0); } + public static void AddWorldRaidGemEnterCost(FlatBufferBuilder builder, long worldRaidGemEnterCost) { builder.AddLong(128, worldRaidGemEnterCost, 0); } + public static void AddWorldRaidGemEnterAmout(FlatBufferBuilder builder, long worldRaidGemEnterAmout) { builder.AddLong(129, worldRaidGemEnterAmout, 0); } + public static void AddFriendIdCardCommentMaxLength(FlatBufferBuilder builder, long friendIdCardCommentMaxLength) { builder.AddLong(130, friendIdCardCommentMaxLength, 0); } + public static void AddFormationPresetNumberOfEchelonTab(FlatBufferBuilder builder, int formationPresetNumberOfEchelonTab) { builder.AddInt(131, formationPresetNumberOfEchelonTab, 0); } + public static void AddFormationPresetNumberOfEchelon(FlatBufferBuilder builder, int formationPresetNumberOfEchelon) { builder.AddInt(132, formationPresetNumberOfEchelon, 0); } + public static void AddFormationPresetRecentNumberOfEchelon(FlatBufferBuilder builder, int formationPresetRecentNumberOfEchelon) { builder.AddInt(133, formationPresetRecentNumberOfEchelon, 0); } + public static void AddFormationPresetEchelonTabTextLength(FlatBufferBuilder builder, int formationPresetEchelonTabTextLength) { builder.AddInt(134, formationPresetEchelonTabTextLength, 0); } + public static void AddFormationPresetEchelonSlotTextLength(FlatBufferBuilder builder, int formationPresetEchelonSlotTextLength) { builder.AddInt(135, formationPresetEchelonSlotTextLength, 0); } + public static void AddCharProfileRowIntervalKr(FlatBufferBuilder builder, int charProfileRowIntervalKr) { builder.AddInt(136, charProfileRowIntervalKr, 0); } + public static void AddCharProfileRowIntervalJp(FlatBufferBuilder builder, int charProfileRowIntervalJp) { builder.AddInt(137, charProfileRowIntervalJp, 0); } + public static void AddCharProfilePopupRowIntervalKr(FlatBufferBuilder builder, int charProfilePopupRowIntervalKr) { builder.AddInt(138, charProfilePopupRowIntervalKr, 0); } + public static void AddCharProfilePopupRowIntervalJp(FlatBufferBuilder builder, int charProfilePopupRowIntervalJp) { builder.AddInt(139, charProfilePopupRowIntervalJp, 0); } + public static void AddBeforehandGachaCount(FlatBufferBuilder builder, int beforehandGachaCount) { builder.AddInt(140, beforehandGachaCount, 0); } + public static void AddBeforehandGachaGroupId(FlatBufferBuilder builder, int beforehandGachaGroupId) { builder.AddInt(141, beforehandGachaGroupId, 0); } + public static void AddRenewalDisplayOrderDay(FlatBufferBuilder builder, int renewalDisplayOrderDay) { builder.AddInt(142, renewalDisplayOrderDay, 0); } + public static void AddEmblemDefaultId(FlatBufferBuilder builder, long emblemDefaultId) { builder.AddLong(143, emblemDefaultId, 0); } + public static void AddBirthdayMailStartDate(FlatBufferBuilder builder, StringOffset birthdayMailStartDateOffset) { builder.AddOffset(144, birthdayMailStartDateOffset.Value, 0); } + public static void AddBirthdayMailRemainDate(FlatBufferBuilder builder, int birthdayMailRemainDate) { builder.AddInt(145, birthdayMailRemainDate, 0); } + public static void AddBirthdayMailParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType birthdayMailParcelType) { builder.AddInt(146, (int)birthdayMailParcelType, 0); } + public static void AddBirthdayMailParcelId(FlatBufferBuilder builder, long birthdayMailParcelId) { builder.AddLong(147, birthdayMailParcelId, 0); } + public static void AddBirthdayMailParcelAmount(FlatBufferBuilder builder, int birthdayMailParcelAmount) { builder.AddInt(148, birthdayMailParcelAmount, 0); } + public static void AddClearDeckAverageDeckCount(FlatBufferBuilder builder, int clearDeckAverageDeckCount) { builder.AddInt(149, clearDeckAverageDeckCount, 0); } + public static void AddClearDeckWorldRaidSaveConditionCoefficient(FlatBufferBuilder builder, int clearDeckWorldRaidSaveConditionCoefficient) { builder.AddInt(150, clearDeckWorldRaidSaveConditionCoefficient, 0); } + public static void AddClearDeckShowCount(FlatBufferBuilder builder, int clearDeckShowCount) { builder.AddInt(151, clearDeckShowCount, 0); } + public static void AddCharacterMaxLevel(FlatBufferBuilder builder, int characterMaxLevel) { builder.AddInt(152, characterMaxLevel, 0); } + public static void AddPotentialBonusStatMaxLevelMaxHP(FlatBufferBuilder builder, int potentialBonusStatMaxLevelMaxHP) { builder.AddInt(153, potentialBonusStatMaxLevelMaxHP, 0); } + public static void AddPotentialBonusStatMaxLevelAttackPower(FlatBufferBuilder builder, int potentialBonusStatMaxLevelAttackPower) { builder.AddInt(154, potentialBonusStatMaxLevelAttackPower, 0); } + public static void AddPotentialBonusStatMaxLevelHealPower(FlatBufferBuilder builder, int potentialBonusStatMaxLevelHealPower) { builder.AddInt(155, potentialBonusStatMaxLevelHealPower, 0); } + public static void AddPotentialOpenConditionCharacterLevel(FlatBufferBuilder builder, int potentialOpenConditionCharacterLevel) { builder.AddInt(156, potentialOpenConditionCharacterLevel, 0); } + public static void AddAssistStrangerMinLevel(FlatBufferBuilder builder, int assistStrangerMinLevel) { builder.AddInt(157, assistStrangerMinLevel, 0); } + public static void AddAssistStrangerMaxLevel(FlatBufferBuilder builder, int assistStrangerMaxLevel) { builder.AddInt(158, assistStrangerMaxLevel, 0); } + public static void AddMaxBlockedUserCount(FlatBufferBuilder builder, int maxBlockedUserCount) { builder.AddInt(159, maxBlockedUserCount, 0); } + public static void AddCafeRandomVisitMinComfortBonus(FlatBufferBuilder builder, long cafeRandomVisitMinComfortBonus) { builder.AddLong(160, cafeRandomVisitMinComfortBonus, 0); } + public static void AddCafeRandomVisitMinLastLogin(FlatBufferBuilder builder, int cafeRandomVisitMinLastLogin) { builder.AddInt(161, cafeRandomVisitMinLastLogin, 0); } public static Offset EndConstCommonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -450,6 +458,8 @@ public struct ConstCommonExcel : IFlatbufferObject _o.MainSquadExpBonus = TableEncryptionService.Convert(this.MainSquadExpBonus, key); _o.SupportSquadExpBonus = TableEncryptionService.Convert(this.SupportSquadExpBonus, key); _o.AccountExpRatio = TableEncryptionService.Convert(this.AccountExpRatio, key); + _o.NewbieAccountExpRatio = TableEncryptionService.Convert(this.NewbieAccountExpRatio, key); + _o.NewbieExpBoostActivateLevel = TableEncryptionService.Convert(this.NewbieExpBoostActivateLevel, key); _o.MissionToastLifeTime = TableEncryptionService.Convert(this.MissionToastLifeTime, key); _o.ExpItemInsertLimit = TableEncryptionService.Convert(this.ExpItemInsertLimit, key); _o.ExpItemInsertAccelTime = TableEncryptionService.Convert(this.ExpItemInsertAccelTime, key); @@ -590,6 +600,8 @@ public struct ConstCommonExcel : IFlatbufferObject _o.AssistStrangerMinLevel = TableEncryptionService.Convert(this.AssistStrangerMinLevel, key); _o.AssistStrangerMaxLevel = TableEncryptionService.Convert(this.AssistStrangerMaxLevel, key); _o.MaxBlockedUserCount = TableEncryptionService.Convert(this.MaxBlockedUserCount, key); + _o.CafeRandomVisitMinComfortBonus = TableEncryptionService.Convert(this.CafeRandomVisitMinComfortBonus, key); + _o.CafeRandomVisitMinLastLogin = TableEncryptionService.Convert(this.CafeRandomVisitMinLastLogin, key); } public static Offset Pack(FlatBufferBuilder builder, ConstCommonExcelT _o) { if (_o == null) return default(Offset); @@ -645,6 +657,8 @@ public struct ConstCommonExcel : IFlatbufferObject AddMainSquadExpBonus(builder, _o.MainSquadExpBonus); AddSupportSquadExpBonus(builder, _o.SupportSquadExpBonus); AddAccountExpRatio(builder, _o.AccountExpRatio); + AddNewbieAccountExpRatio(builder, _o.NewbieAccountExpRatio); + AddNewbieExpBoostActivateLevel(builder, _o.NewbieExpBoostActivateLevel); AddMissionToastLifeTime(builder, _o.MissionToastLifeTime); AddExpItemInsertLimit(builder, _o.ExpItemInsertLimit); AddExpItemInsertAccelTime(builder, _o.ExpItemInsertAccelTime); @@ -780,6 +794,8 @@ public struct ConstCommonExcel : IFlatbufferObject AddAssistStrangerMinLevel(builder, _o.AssistStrangerMinLevel); AddAssistStrangerMaxLevel(builder, _o.AssistStrangerMaxLevel); AddMaxBlockedUserCount(builder, _o.MaxBlockedUserCount); + AddCafeRandomVisitMinComfortBonus(builder, _o.CafeRandomVisitMinComfortBonus); + AddCafeRandomVisitMinLastLogin(builder, _o.CafeRandomVisitMinLastLogin); return EndConstCommonExcel(builder); } } @@ -809,6 +825,8 @@ public class ConstCommonExcelT public int MainSquadExpBonus { get; set; } public int SupportSquadExpBonus { get; set; } public int AccountExpRatio { get; set; } + public int NewbieAccountExpRatio { get; set; } + public int NewbieExpBoostActivateLevel { get; set; } public int MissionToastLifeTime { get; set; } public int ExpItemInsertLimit { get; set; } public int ExpItemInsertAccelTime { get; set; } @@ -944,6 +962,8 @@ public class ConstCommonExcelT public int AssistStrangerMinLevel { get; set; } public int AssistStrangerMaxLevel { get; set; } public int MaxBlockedUserCount { get; set; } + public long CafeRandomVisitMinComfortBonus { get; set; } + public int CafeRandomVisitMinLastLogin { get; set; } public ConstCommonExcelT() { this.CampaignMainStageMaxRank = 0; @@ -969,6 +989,8 @@ public class ConstCommonExcelT this.MainSquadExpBonus = 0; this.SupportSquadExpBonus = 0; this.AccountExpRatio = 0; + this.NewbieAccountExpRatio = 0; + this.NewbieExpBoostActivateLevel = 0; this.MissionToastLifeTime = 0; this.ExpItemInsertLimit = 0; this.ExpItemInsertAccelTime = 0; @@ -1104,6 +1126,8 @@ public class ConstCommonExcelT this.AssistStrangerMinLevel = 0; this.AssistStrangerMaxLevel = 0; this.MaxBlockedUserCount = 0; + this.CafeRandomVisitMinComfortBonus = 0; + this.CafeRandomVisitMinLastLogin = 0; } } @@ -1136,141 +1160,145 @@ static public class ConstCommonExcelVerify && verifier.VerifyField(tablePos, 44 /*MainSquadExpBonus*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 46 /*SupportSquadExpBonus*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 48 /*AccountExpRatio*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 50 /*MissionToastLifeTime*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 52 /*ExpItemInsertLimit*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 54 /*ExpItemInsertAccelTime*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 56 /*CharacterLvUpCoefficient*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 58 /*EquipmentLvUpCoefficient*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 60 /*ExpEquipInsertLimit*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 62 /*EquipLvUpCoefficient*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 64 /*NicknameLength*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 66 /*CraftDuration*/, 4 /*int*/, false) - && verifier.VerifyField(tablePos, 68 /*CraftLimitTime*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 70 /*ShiftingCraftDuration*/, 4 /*int*/, false) - && verifier.VerifyField(tablePos, 72 /*ShiftingCraftTicketConsumeAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 74 /*ShiftingCraftSlotMaxCapacity*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 76 /*CraftTicketItemUniqueId*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 78 /*CraftTicketConsumeAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 80 /*AcademyEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) - && verifier.VerifyField(tablePos, 82 /*AcademyEnterCostId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 84 /*AcademyTicketCost*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 86 /*MassangerMessageExpireDay*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 88 /*CraftLeafNodeGenerateLv1Count*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 90 /*CraftLeafNodeGenerateLv2Count*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 92 /*TutorialGachaShopId*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 94 /*BeforehandGachaShopId*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 96 /*TutorialGachaGoodsId*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 98 /*EquipmentSlotOpenLevel*/, 4 /*int*/, false) - && verifier.VerifyField(tablePos, 100 /*ScenarioAutoDelayMillisec*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 102 /*JoinOrCreateClanCoolTimeFromHour*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 104 /*ClanMaxMember*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 106 /*ClanSearchResultCount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 108 /*ClanMaxApplicant*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 110 /*ClanRejoinCoolTimeFromSecond*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 112 /*ClanWordBalloonMaxCharacter*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 114 /*CallNameRenameCoolTimeFromHour*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 116 /*CallNameMinimumLength*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 118 /*CallNameMaximumLength*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 120 /*LobbyToScreenModeWaitTime*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 122 /*ScreenshotToLobbyButtonHideDelay*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 124 /*PrologueScenarioID01*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 126 /*PrologueScenarioID02*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 128 /*TutorialHardStage11*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 130 /*TutorialSpeedButtonStage*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 132 /*TutorialCharacterDefaultCount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 134 /*TutorialShopCategoryType*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, 4, false) - && verifier.VerifyField(tablePos, 136 /*AdventureStrategyPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 138 /*WeekDungoenTacticPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 140 /*RaidTacticPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 142 /*RaidOpponentListAmount*/, 8 /*long*/, 8, false) - && verifier.VerifyVectorOfData(tablePos, 144 /*CraftBaseGoldRequired*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 146 /*PostExpiredDayAttendance*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 148 /*PostExpiredDayInventoryOverflow*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 150 /*PostExpiredDayGameManager*/, 4 /*int*/, 4, false) - && verifier.VerifyString(tablePos, 152 /*UILabelCharacterWrap*/, false) - && verifier.VerifyField(tablePos, 154 /*RequestTimeOut*/, 4 /*float*/, 4, false) - && verifier.VerifyField(tablePos, 156 /*MailStorageSoftCap*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 158 /*MailStorageHardCap*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 160 /*ClearDeckStorageSize*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 162 /*ClearDeckNoStarViewCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 164 /*ClearDeck1StarViewCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 166 /*ClearDeck2StarViewCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 168 /*ClearDeck3StarViewCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 170 /*ExSkillLevelMax*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 172 /*PublicSkillLevelMax*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 174 /*PassiveSkillLevelMax*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 176 /*ExtraPassiveSkillLevelMax*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 178 /*AccountCommentMaxLength*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 180 /*CafeSummonCoolTimeFromHour*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 182 /*LimitedStageDailyClearCount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 184 /*LimitedStageEntryTimeLimit*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 186 /*LimitedStageEntryTimeBuffer*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 188 /*LimitedStagePointAmount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 190 /*LimitedStagePointPerApMin*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 192 /*LimitedStagePointPerApMax*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 194 /*AccountLinkReward*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 196 /*MonthlyProductCheckDays*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 198 /*WeaponLvUpCoefficient*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 200 /*ShowRaidMyListCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 202 /*MaxLevelExpMasterCoinRatio*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 204 /*RaidEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) - && verifier.VerifyField(tablePos, 206 /*RaidEnterCostId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 208 /*RaidTicketCost*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 210 /*TimeAttackDungeonScenarioId*/, false) - && verifier.VerifyField(tablePos, 212 /*TimeAttackDungoenPlayCountPerTicket*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 214 /*TimeAttackDungeonEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) - && verifier.VerifyField(tablePos, 216 /*TimeAttackDungeonEnterCostId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 218 /*TimeAttackDungeonEnterCost*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 220 /*ClanLeaderTransferLastLoginLimit*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 222 /*MonthlyProductRepurchasePopupLimit*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 224 /*CommonFavorItemTags*/, 4 /*SCHALE.Common.FlatData.Tag*/, false) - && verifier.VerifyField(tablePos, 226 /*MaxApMasterCoinPerWeek*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 228 /*CraftOpenExpTier1*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 230 /*CraftOpenExpTier2*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 232 /*CraftOpenExpTier3*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 234 /*CharacterEquipmentGearSlot*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 236 /*BirthDayDDay*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 238 /*RecommendedFriendsLvDifferenceLimit*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 240 /*DDosDetectCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 242 /*DDosCheckIntervalInSeconds*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 244 /*MaxFriendsCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 246 /*MaxFriendsRequest*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 248 /*FriendsSearchRequestCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 250 /*FriendsMaxApplicant*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 252 /*IdCardDefaultCharacterId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 254 /*IdCardDefaultBgId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 256 /*WorldRaidGemEnterCost*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 258 /*WorldRaidGemEnterAmout*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 260 /*FriendIdCardCommentMaxLength*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 262 /*FormationPresetNumberOfEchelonTab*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 264 /*FormationPresetNumberOfEchelon*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 266 /*FormationPresetRecentNumberOfEchelon*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 268 /*FormationPresetEchelonTabTextLength*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 270 /*FormationPresetEchelonSlotTextLength*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 272 /*CharProfileRowIntervalKr*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 274 /*CharProfileRowIntervalJp*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 276 /*CharProfilePopupRowIntervalKr*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 278 /*CharProfilePopupRowIntervalJp*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 280 /*BeforehandGachaCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 282 /*BeforehandGachaGroupId*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 284 /*RenewalDisplayOrderDay*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 286 /*EmblemDefaultId*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 288 /*BirthdayMailStartDate*/, false) - && verifier.VerifyField(tablePos, 290 /*BirthdayMailRemainDate*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 292 /*BirthdayMailParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) - && verifier.VerifyField(tablePos, 294 /*BirthdayMailParcelId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 296 /*BirthdayMailParcelAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 298 /*ClearDeckAverageDeckCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 300 /*ClearDeckWorldRaidSaveConditionCoefficient*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 302 /*ClearDeckShowCount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 304 /*CharacterMaxLevel*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 306 /*PotentialBonusStatMaxLevelMaxHP*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 308 /*PotentialBonusStatMaxLevelAttackPower*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 310 /*PotentialBonusStatMaxLevelHealPower*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 312 /*PotentialOpenConditionCharacterLevel*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 314 /*AssistStrangerMinLevel*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 316 /*AssistStrangerMaxLevel*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 318 /*MaxBlockedUserCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 50 /*NewbieAccountExpRatio*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 52 /*NewbieExpBoostActivateLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 54 /*MissionToastLifeTime*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 56 /*ExpItemInsertLimit*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 58 /*ExpItemInsertAccelTime*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 60 /*CharacterLvUpCoefficient*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 62 /*EquipmentLvUpCoefficient*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 64 /*ExpEquipInsertLimit*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 66 /*EquipLvUpCoefficient*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 68 /*NicknameLength*/, 4 /*int*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 70 /*CraftDuration*/, 4 /*int*/, false) + && verifier.VerifyField(tablePos, 72 /*CraftLimitTime*/, 4 /*int*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 74 /*ShiftingCraftDuration*/, 4 /*int*/, false) + && verifier.VerifyField(tablePos, 76 /*ShiftingCraftTicketConsumeAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 78 /*ShiftingCraftSlotMaxCapacity*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 80 /*CraftTicketItemUniqueId*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 82 /*CraftTicketConsumeAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 84 /*AcademyEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 86 /*AcademyEnterCostId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 88 /*AcademyTicketCost*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 90 /*MassangerMessageExpireDay*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 92 /*CraftLeafNodeGenerateLv1Count*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 94 /*CraftLeafNodeGenerateLv2Count*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 96 /*TutorialGachaShopId*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 98 /*BeforehandGachaShopId*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 100 /*TutorialGachaGoodsId*/, 4 /*int*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 102 /*EquipmentSlotOpenLevel*/, 4 /*int*/, false) + && verifier.VerifyField(tablePos, 104 /*ScenarioAutoDelayMillisec*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 106 /*JoinOrCreateClanCoolTimeFromHour*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 108 /*ClanMaxMember*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 110 /*ClanSearchResultCount*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 112 /*ClanMaxApplicant*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 114 /*ClanRejoinCoolTimeFromSecond*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 116 /*ClanWordBalloonMaxCharacter*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 118 /*CallNameRenameCoolTimeFromHour*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 120 /*CallNameMinimumLength*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 122 /*CallNameMaximumLength*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 124 /*LobbyToScreenModeWaitTime*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 126 /*ScreenshotToLobbyButtonHideDelay*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 128 /*PrologueScenarioID01*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 130 /*PrologueScenarioID02*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 132 /*TutorialHardStage11*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 134 /*TutorialSpeedButtonStage*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 136 /*TutorialCharacterDefaultCount*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 138 /*TutorialShopCategoryType*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, 4, false) + && verifier.VerifyField(tablePos, 140 /*AdventureStrategyPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 142 /*WeekDungoenTacticPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 144 /*RaidTacticPlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 146 /*RaidOpponentListAmount*/, 8 /*long*/, 8, false) + && verifier.VerifyVectorOfData(tablePos, 148 /*CraftBaseGoldRequired*/, 8 /*long*/, false) + && verifier.VerifyField(tablePos, 150 /*PostExpiredDayAttendance*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 152 /*PostExpiredDayInventoryOverflow*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 154 /*PostExpiredDayGameManager*/, 4 /*int*/, 4, false) + && verifier.VerifyString(tablePos, 156 /*UILabelCharacterWrap*/, false) + && verifier.VerifyField(tablePos, 158 /*RequestTimeOut*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 160 /*MailStorageSoftCap*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 162 /*MailStorageHardCap*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 164 /*ClearDeckStorageSize*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 166 /*ClearDeckNoStarViewCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 168 /*ClearDeck1StarViewCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 170 /*ClearDeck2StarViewCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 172 /*ClearDeck3StarViewCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 174 /*ExSkillLevelMax*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 176 /*PublicSkillLevelMax*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 178 /*PassiveSkillLevelMax*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 180 /*ExtraPassiveSkillLevelMax*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 182 /*AccountCommentMaxLength*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 184 /*CafeSummonCoolTimeFromHour*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 186 /*LimitedStageDailyClearCount*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 188 /*LimitedStageEntryTimeLimit*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 190 /*LimitedStageEntryTimeBuffer*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 192 /*LimitedStagePointAmount*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 194 /*LimitedStagePointPerApMin*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 196 /*LimitedStagePointPerApMax*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 198 /*AccountLinkReward*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 200 /*MonthlyProductCheckDays*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 202 /*WeaponLvUpCoefficient*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 204 /*ShowRaidMyListCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 206 /*MaxLevelExpMasterCoinRatio*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 208 /*RaidEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 210 /*RaidEnterCostId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 212 /*RaidTicketCost*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 214 /*TimeAttackDungeonScenarioId*/, false) + && verifier.VerifyField(tablePos, 216 /*TimeAttackDungoenPlayCountPerTicket*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 218 /*TimeAttackDungeonEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 220 /*TimeAttackDungeonEnterCostId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 222 /*TimeAttackDungeonEnterCost*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 224 /*ClanLeaderTransferLastLoginLimit*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 226 /*MonthlyProductRepurchasePopupLimit*/, 4 /*int*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 228 /*CommonFavorItemTags*/, 4 /*SCHALE.Common.FlatData.Tag*/, false) + && verifier.VerifyField(tablePos, 230 /*MaxApMasterCoinPerWeek*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 232 /*CraftOpenExpTier1*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 234 /*CraftOpenExpTier2*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 236 /*CraftOpenExpTier3*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 238 /*CharacterEquipmentGearSlot*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 240 /*BirthDayDDay*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 242 /*RecommendedFriendsLvDifferenceLimit*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 244 /*DDosDetectCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 246 /*DDosCheckIntervalInSeconds*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 248 /*MaxFriendsCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 250 /*MaxFriendsRequest*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 252 /*FriendsSearchRequestCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 254 /*FriendsMaxApplicant*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 256 /*IdCardDefaultCharacterId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 258 /*IdCardDefaultBgId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 260 /*WorldRaidGemEnterCost*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 262 /*WorldRaidGemEnterAmout*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 264 /*FriendIdCardCommentMaxLength*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 266 /*FormationPresetNumberOfEchelonTab*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 268 /*FormationPresetNumberOfEchelon*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 270 /*FormationPresetRecentNumberOfEchelon*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 272 /*FormationPresetEchelonTabTextLength*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 274 /*FormationPresetEchelonSlotTextLength*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 276 /*CharProfileRowIntervalKr*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 278 /*CharProfileRowIntervalJp*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 280 /*CharProfilePopupRowIntervalKr*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 282 /*CharProfilePopupRowIntervalJp*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 284 /*BeforehandGachaCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 286 /*BeforehandGachaGroupId*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 288 /*RenewalDisplayOrderDay*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 290 /*EmblemDefaultId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 292 /*BirthdayMailStartDate*/, false) + && verifier.VerifyField(tablePos, 294 /*BirthdayMailRemainDate*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 296 /*BirthdayMailParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 298 /*BirthdayMailParcelId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 300 /*BirthdayMailParcelAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 302 /*ClearDeckAverageDeckCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 304 /*ClearDeckWorldRaidSaveConditionCoefficient*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 306 /*ClearDeckShowCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 308 /*CharacterMaxLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 310 /*PotentialBonusStatMaxLevelMaxHP*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 312 /*PotentialBonusStatMaxLevelAttackPower*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 314 /*PotentialBonusStatMaxLevelHealPower*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 316 /*PotentialOpenConditionCharacterLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 318 /*AssistStrangerMinLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 320 /*AssistStrangerMaxLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 322 /*MaxBlockedUserCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 324 /*CafeRandomVisitMinComfortBonus*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 326 /*CafeRandomVisitMinLastLogin*/, 4 /*int*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ContentEnterCostReduceExcel.cs b/SCHALE.Common/FlatData/ContentEnterCostReduceExcel.cs index 5d1928f..5f9bbc5 100644 --- a/SCHALE.Common/FlatData/ContentEnterCostReduceExcel.cs +++ b/SCHALE.Common/FlatData/ContentEnterCostReduceExcel.cs @@ -21,7 +21,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject public ContentEnterCostReduceExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EnterCostReduceGroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long StageId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ReduceEnterCostId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -29,7 +29,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject public static Offset CreateContentEnterCostReduceExcel(FlatBufferBuilder builder, long EnterCostReduceGroupId = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long StageId = 0, SCHALE.Common.FlatData.ParcelType ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None, long ReduceEnterCostId = 0, @@ -40,13 +40,13 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject ContentEnterCostReduceExcel.AddStageId(builder, StageId); ContentEnterCostReduceExcel.AddEnterCostReduceGroupId(builder, EnterCostReduceGroupId); ContentEnterCostReduceExcel.AddReduceEnterCostType(builder, ReduceEnterCostType); - ContentEnterCostReduceExcel.AddContentType_(builder, ContentType_); + ContentEnterCostReduceExcel.AddContentType(builder, ContentType); return ContentEnterCostReduceExcel.EndContentEnterCostReduceExcel(builder); } public static void StartContentEnterCostReduceExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void AddEnterCostReduceGroupId(FlatBufferBuilder builder, long enterCostReduceGroupId) { builder.AddLong(0, enterCostReduceGroupId, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); } public static void AddStageId(FlatBufferBuilder builder, long stageId) { builder.AddLong(2, stageId, 0); } public static void AddReduceEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType reduceEnterCostType) { builder.AddInt(3, (int)reduceEnterCostType, 0); } public static void AddReduceEnterCostId(FlatBufferBuilder builder, long reduceEnterCostId) { builder.AddLong(4, reduceEnterCostId, 0); } @@ -63,7 +63,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject public void UnPackTo(ContentEnterCostReduceExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ContentEnterCostReduce"); _o.EnterCostReduceGroupId = TableEncryptionService.Convert(this.EnterCostReduceGroupId, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.StageId = TableEncryptionService.Convert(this.StageId, key); _o.ReduceEnterCostType = TableEncryptionService.Convert(this.ReduceEnterCostType, key); _o.ReduceEnterCostId = TableEncryptionService.Convert(this.ReduceEnterCostId, key); @@ -74,7 +74,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject return CreateContentEnterCostReduceExcel( builder, _o.EnterCostReduceGroupId, - _o.ContentType_, + _o.ContentType, _o.StageId, _o.ReduceEnterCostType, _o.ReduceEnterCostId, @@ -85,7 +85,7 @@ public struct ContentEnterCostReduceExcel : IFlatbufferObject public class ContentEnterCostReduceExcelT { public long EnterCostReduceGroupId { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long StageId { get; set; } public SCHALE.Common.FlatData.ParcelType ReduceEnterCostType { get; set; } public long ReduceEnterCostId { get; set; } @@ -93,7 +93,7 @@ public class ContentEnterCostReduceExcelT public ContentEnterCostReduceExcelT() { this.EnterCostReduceGroupId = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.StageId = 0; this.ReduceEnterCostType = SCHALE.Common.FlatData.ParcelType.None; this.ReduceEnterCostId = 0; @@ -108,7 +108,7 @@ static public class ContentEnterCostReduceExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EnterCostReduceGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*StageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ReduceEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*ReduceEnterCostId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ContentEnterCostReduceExcelTable.cs b/SCHALE.Common/FlatData/ContentEnterCostReduceExcelTable.cs deleted file mode 100644 index 3cd237f..0000000 --- a/SCHALE.Common/FlatData/ContentEnterCostReduceExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct ContentEnterCostReduceExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static ContentEnterCostReduceExcelTable GetRootAsContentEnterCostReduceExcelTable(ByteBuffer _bb) { return GetRootAsContentEnterCostReduceExcelTable(_bb, new ContentEnterCostReduceExcelTable()); } - public static ContentEnterCostReduceExcelTable GetRootAsContentEnterCostReduceExcelTable(ByteBuffer _bb, ContentEnterCostReduceExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public ContentEnterCostReduceExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.ContentEnterCostReduceExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentEnterCostReduceExcel?)(new SCHALE.Common.FlatData.ContentEnterCostReduceExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateContentEnterCostReduceExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - ContentEnterCostReduceExcelTable.AddDataList(builder, DataListOffset); - return ContentEnterCostReduceExcelTable.EndContentEnterCostReduceExcelTable(builder); - } - - public static void StartContentEnterCostReduceExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndContentEnterCostReduceExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public ContentEnterCostReduceExcelTableT UnPack() { - var _o = new ContentEnterCostReduceExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(ContentEnterCostReduceExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("ContentEnterCostReduceExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, ContentEnterCostReduceExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ContentEnterCostReduceExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateContentEnterCostReduceExcelTable( - builder, - _DataList); - } -} - -public class ContentEnterCostReduceExcelTableT -{ - public List DataList { get; set; } - - public ContentEnterCostReduceExcelTableT() { - this.DataList = null; - } -} - - -static public class ContentEnterCostReduceExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ContentEnterCostReduceExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ContentSpoilerPopupExcel.cs b/SCHALE.Common/FlatData/ContentSpoilerPopupExcel.cs index 8b980bf..c981e28 100644 --- a/SCHALE.Common/FlatData/ContentSpoilerPopupExcel.cs +++ b/SCHALE.Common/FlatData/ContentSpoilerPopupExcel.cs @@ -20,7 +20,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public ContentSpoilerPopupExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public string SpoilerPopupTitle { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetSpoilerPopupTitleBytes() { return __p.__vector_as_span(6, 1); } @@ -39,7 +39,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject public long ConditionScenarioModeId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateContentSpoilerPopupExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, StringOffset SpoilerPopupTitleOffset = default(StringOffset), StringOffset SpoilerPopupDescriptionOffset = default(StringOffset), bool IsWarningPopUp = false, @@ -48,13 +48,13 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject ContentSpoilerPopupExcel.AddConditionScenarioModeId(builder, ConditionScenarioModeId); ContentSpoilerPopupExcel.AddSpoilerPopupDescription(builder, SpoilerPopupDescriptionOffset); ContentSpoilerPopupExcel.AddSpoilerPopupTitle(builder, SpoilerPopupTitleOffset); - ContentSpoilerPopupExcel.AddContentType_(builder, ContentType_); + ContentSpoilerPopupExcel.AddContentType(builder, ContentType); ContentSpoilerPopupExcel.AddIsWarningPopUp(builder, IsWarningPopUp); return ContentSpoilerPopupExcel.EndContentSpoilerPopupExcel(builder); } public static void StartContentSpoilerPopupExcel(FlatBufferBuilder builder) { builder.StartTable(5); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(0, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(0, (int)contentType, 0); } public static void AddSpoilerPopupTitle(FlatBufferBuilder builder, StringOffset spoilerPopupTitleOffset) { builder.AddOffset(1, spoilerPopupTitleOffset.Value, 0); } public static void AddSpoilerPopupDescription(FlatBufferBuilder builder, StringOffset spoilerPopupDescriptionOffset) { builder.AddOffset(2, spoilerPopupDescriptionOffset.Value, 0); } public static void AddIsWarningPopUp(FlatBufferBuilder builder, bool isWarningPopUp) { builder.AddBool(3, isWarningPopUp, false); } @@ -70,7 +70,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject } public void UnPackTo(ContentSpoilerPopupExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ContentSpoilerPopup"); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.SpoilerPopupTitle = TableEncryptionService.Convert(this.SpoilerPopupTitle, key); _o.SpoilerPopupDescription = TableEncryptionService.Convert(this.SpoilerPopupDescription, key); _o.IsWarningPopUp = TableEncryptionService.Convert(this.IsWarningPopUp, key); @@ -82,7 +82,7 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject var _SpoilerPopupDescription = _o.SpoilerPopupDescription == null ? default(StringOffset) : builder.CreateString(_o.SpoilerPopupDescription); return CreateContentSpoilerPopupExcel( builder, - _o.ContentType_, + _o.ContentType, _SpoilerPopupTitle, _SpoilerPopupDescription, _o.IsWarningPopUp, @@ -92,14 +92,14 @@ public struct ContentSpoilerPopupExcel : IFlatbufferObject public class ContentSpoilerPopupExcelT { - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public string SpoilerPopupTitle { get; set; } public string SpoilerPopupDescription { get; set; } public bool IsWarningPopUp { get; set; } public long ConditionScenarioModeId { get; set; } public ContentSpoilerPopupExcelT() { - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.SpoilerPopupTitle = null; this.SpoilerPopupDescription = null; this.IsWarningPopUp = false; @@ -113,7 +113,7 @@ static public class ContentSpoilerPopupExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyString(tablePos, 6 /*SpoilerPopupTitle*/, false) && verifier.VerifyString(tablePos, 8 /*SpoilerPopupDescription*/, false) && verifier.VerifyField(tablePos, 10 /*IsWarningPopUp*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/ContentsScenarioExcel.cs b/SCHALE.Common/FlatData/ContentsScenarioExcel.cs index 4b3f902..a89647d 100644 --- a/SCHALE.Common/FlatData/ContentsScenarioExcel.cs +++ b/SCHALE.Common/FlatData/ContentsScenarioExcel.cs @@ -23,7 +23,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject public uint Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public int DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ScenarioContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ScenarioContentType.Prologue; } } + public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ScenarioContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ScenarioContentType.Prologue; } } public long ScenarioGroupId(int j) { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public int ScenarioGroupIdLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -37,11 +37,11 @@ public struct ContentsScenarioExcel : IFlatbufferObject uint Id = 0, uint LocalizeId = 0, int DisplayOrder = 0, - SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ = SCHALE.Common.FlatData.ScenarioContentType.Prologue, + SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType = SCHALE.Common.FlatData.ScenarioContentType.Prologue, VectorOffset ScenarioGroupIdOffset = default(VectorOffset)) { builder.StartTable(5); ContentsScenarioExcel.AddScenarioGroupId(builder, ScenarioGroupIdOffset); - ContentsScenarioExcel.AddScenarioContentType_(builder, ScenarioContentType_); + ContentsScenarioExcel.AddScenarioContentType(builder, ScenarioContentType); ContentsScenarioExcel.AddDisplayOrder(builder, DisplayOrder); ContentsScenarioExcel.AddLocalizeId(builder, LocalizeId); ContentsScenarioExcel.AddId(builder, Id); @@ -52,7 +52,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, uint id) { builder.AddUint(0, id, 0); } public static void AddLocalizeId(FlatBufferBuilder builder, uint localizeId) { builder.AddUint(1, localizeId, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(2, displayOrder, 0); } - public static void AddScenarioContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ScenarioContentType scenarioContentType_) { builder.AddInt(3, (int)scenarioContentType_, 0); } + public static void AddScenarioContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ScenarioContentType scenarioContentType) { builder.AddInt(3, (int)scenarioContentType, 0); } public static void AddScenarioGroupId(FlatBufferBuilder builder, VectorOffset scenarioGroupIdOffset) { builder.AddOffset(4, scenarioGroupIdOffset.Value, 0); } public static VectorOffset CreateScenarioGroupIdVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } public static VectorOffset CreateScenarioGroupIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } @@ -73,7 +73,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.LocalizeId = TableEncryptionService.Convert(this.LocalizeId, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); - _o.ScenarioContentType_ = TableEncryptionService.Convert(this.ScenarioContentType_, key); + _o.ScenarioContentType = TableEncryptionService.Convert(this.ScenarioContentType, key); _o.ScenarioGroupId = new List(); for (var _j = 0; _j < this.ScenarioGroupIdLength; ++_j) {_o.ScenarioGroupId.Add(TableEncryptionService.Convert(this.ScenarioGroupId(_j), key));} } @@ -89,7 +89,7 @@ public struct ContentsScenarioExcel : IFlatbufferObject _o.Id, _o.LocalizeId, _o.DisplayOrder, - _o.ScenarioContentType_, + _o.ScenarioContentType, _ScenarioGroupId); } } @@ -99,14 +99,14 @@ public class ContentsScenarioExcelT public uint Id { get; set; } public uint LocalizeId { get; set; } public int DisplayOrder { get; set; } - public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType_ { get; set; } + public SCHALE.Common.FlatData.ScenarioContentType ScenarioContentType { get; set; } public List ScenarioGroupId { get; set; } public ContentsScenarioExcelT() { this.Id = 0; this.LocalizeId = 0; this.DisplayOrder = 0; - this.ScenarioContentType_ = SCHALE.Common.FlatData.ScenarioContentType.Prologue; + this.ScenarioContentType = SCHALE.Common.FlatData.ScenarioContentType.Prologue; this.ScenarioGroupId = null; } } @@ -120,7 +120,7 @@ static public class ContentsScenarioExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 6 /*LocalizeId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*ScenarioContentType_*/, 4 /*SCHALE.Common.FlatData.ScenarioContentType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*ScenarioContentType*/, 4 /*SCHALE.Common.FlatData.ScenarioContentType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ScenarioGroupId*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/ContentsShortcutExcel.cs b/SCHALE.Common/FlatData/ContentsShortcutExcel.cs index a764712..c25ce76 100644 --- a/SCHALE.Common/FlatData/ContentsShortcutExcel.cs +++ b/SCHALE.Common/FlatData/ContentsShortcutExcel.cs @@ -21,7 +21,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject public ContentsShortcutExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioModeVolume { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioModeChapter { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -55,7 +55,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject public static Offset CreateContentsShortcutExcel(FlatBufferBuilder builder, long UniqueId = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long EventContentId = 0, long ScenarioModeVolume = 0, long ScenarioModeChapter = 0, @@ -80,13 +80,13 @@ public struct ContentsShortcutExcel : IFlatbufferObject ContentsShortcutExcel.AddConquestMapDifficulty(builder, ConquestMapDifficulty); ContentsShortcutExcel.AddShortcutCloseTime(builder, ShortcutCloseTimeOffset); ContentsShortcutExcel.AddShortcutOpenTime(builder, ShortcutOpenTimeOffset); - ContentsShortcutExcel.AddContentType_(builder, ContentType_); + ContentsShortcutExcel.AddContentType(builder, ContentType); return ContentsShortcutExcel.EndContentsShortcutExcel(builder); } public static void StartContentsShortcutExcel(FlatBufferBuilder builder) { builder.StartTable(13); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); } public static void AddScenarioModeVolume(FlatBufferBuilder builder, long scenarioModeVolume) { builder.AddLong(3, scenarioModeVolume, 0); } public static void AddScenarioModeChapter(FlatBufferBuilder builder, long scenarioModeChapter) { builder.AddLong(4, scenarioModeChapter, 0); } @@ -115,7 +115,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject public void UnPackTo(ContentsShortcutExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ContentsShortcut"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.ScenarioModeVolume = TableEncryptionService.Convert(this.ScenarioModeVolume, key); _o.ScenarioModeChapter = TableEncryptionService.Convert(this.ScenarioModeChapter, key); @@ -143,7 +143,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject return CreateContentsShortcutExcel( builder, _o.UniqueId, - _o.ContentType_, + _o.ContentType, _o.EventContentId, _o.ScenarioModeVolume, _o.ScenarioModeChapter, @@ -161,7 +161,7 @@ public struct ContentsShortcutExcel : IFlatbufferObject public class ContentsShortcutExcelT { public long UniqueId { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long EventContentId { get; set; } public long ScenarioModeVolume { get; set; } public long ScenarioModeChapter { get; set; } @@ -176,7 +176,7 @@ public class ContentsShortcutExcelT public ContentsShortcutExcelT() { this.UniqueId = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.EventContentId = 0; this.ScenarioModeVolume = 0; this.ScenarioModeChapter = 0; @@ -198,7 +198,7 @@ static public class ContentsShortcutExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ScenarioModeVolume*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ScenarioModeChapter*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/CostumeExcel.cs b/SCHALE.Common/FlatData/CostumeExcel.cs index 73cadb2..7b51906 100644 --- a/SCHALE.Common/FlatData/CostumeExcel.cs +++ b/SCHALE.Common/FlatData/CostumeExcel.cs @@ -29,7 +29,7 @@ public struct CostumeExcel : IFlatbufferObject public ArraySegment? GetDevNameBytes() { return __p.__vector_as_arraysegment(8); } #endif public byte[] GetDevNameArray() { return __p.__vector_as_array(8); } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public bool IsDefault { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool CollectionVisible { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public string ReleaseDate { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -53,7 +53,7 @@ public struct CostumeExcel : IFlatbufferObject public ArraySegment? GetCollectionVisibleEndDateBytes() { return __p.__vector_as_arraysegment(20); } #endif public byte[] GetCollectionVisibleEndDateArray() { return __p.__vector_as_array(20); } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public long CharacterSkillListGroupId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string SpineResourceName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -71,7 +71,7 @@ public struct CostumeExcel : IFlatbufferObject public byte[] GetSpineResourceNameDioramaArray() { return __p.__vector_as_array(28); } public string SpineResourceNameDioramaForFormConversion(int j) { int o = __p.__offset(30); return o != 0 ? __p.__string(__p.__vector(o) + j * 4) : null; } public int SpineResourceNameDioramaForFormConversionLength { get { int o = __p.__offset(30); return o != 0 ? __p.__vector_len(o) : 0; } } - public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ { get { int o = __p.__offset(32); return o != 0 ? (SCHALE.Common.FlatData.EntityMaterialType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EntityMaterialType.Wood; } } + public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType { get { int o = __p.__offset(32); return o != 0 ? (SCHALE.Common.FlatData.EntityMaterialType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EntityMaterialType.Wood; } } public string ModelPrefabName { get { int o = __p.__offset(34); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetModelPrefabNameBytes() { return __p.__vector_as_span(34, 1); } @@ -167,18 +167,18 @@ public struct CostumeExcel : IFlatbufferObject long CostumeGroupId = 0, long CostumeUniqueId = 0, StringOffset DevNameOffset = default(StringOffset), - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, bool IsDefault = false, bool CollectionVisible = false, StringOffset ReleaseDateOffset = default(StringOffset), StringOffset CollectionVisibleStartDateOffset = default(StringOffset), StringOffset CollectionVisibleEndDateOffset = default(StringOffset), - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, long CharacterSkillListGroupId = 0, StringOffset SpineResourceNameOffset = default(StringOffset), StringOffset SpineResourceNameDioramaOffset = default(StringOffset), VectorOffset SpineResourceNameDioramaForFormConversionOffset = default(VectorOffset), - SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ = SCHALE.Common.FlatData.EntityMaterialType.Wood, + SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType = SCHALE.Common.FlatData.EntityMaterialType.Wood, StringOffset ModelPrefabNameOffset = default(StringOffset), StringOffset CafeModelPrefabNameOffset = default(StringOffset), StringOffset EchelonModelPrefabNameOffset = default(StringOffset), @@ -214,15 +214,15 @@ public struct CostumeExcel : IFlatbufferObject CostumeExcel.AddEchelonModelPrefabName(builder, EchelonModelPrefabNameOffset); CostumeExcel.AddCafeModelPrefabName(builder, CafeModelPrefabNameOffset); CostumeExcel.AddModelPrefabName(builder, ModelPrefabNameOffset); - CostumeExcel.AddEntityMaterialType_(builder, EntityMaterialType_); + CostumeExcel.AddEntityMaterialType(builder, EntityMaterialType); CostumeExcel.AddSpineResourceNameDioramaForFormConversion(builder, SpineResourceNameDioramaForFormConversionOffset); CostumeExcel.AddSpineResourceNameDiorama(builder, SpineResourceNameDioramaOffset); CostumeExcel.AddSpineResourceName(builder, SpineResourceNameOffset); - CostumeExcel.AddRarity_(builder, Rarity_); + CostumeExcel.AddRarity(builder, Rarity); CostumeExcel.AddCollectionVisibleEndDate(builder, CollectionVisibleEndDateOffset); CostumeExcel.AddCollectionVisibleStartDate(builder, CollectionVisibleStartDateOffset); CostumeExcel.AddReleaseDate(builder, ReleaseDateOffset); - CostumeExcel.AddProductionStep_(builder, ProductionStep_); + CostumeExcel.AddProductionStep(builder, ProductionStep); CostumeExcel.AddDevName(builder, DevNameOffset); CostumeExcel.AddShowObjectHpStatus(builder, ShowObjectHpStatus); CostumeExcel.AddAnimationValidator(builder, AnimationValidator); @@ -236,13 +236,13 @@ public struct CostumeExcel : IFlatbufferObject public static void AddCostumeGroupId(FlatBufferBuilder builder, long costumeGroupId) { builder.AddLong(0, costumeGroupId, 0); } public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(1, costumeUniqueId, 0); } public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(2, devNameOffset.Value, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(3, (int)productionStep_, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(3, (int)productionStep, 0); } public static void AddIsDefault(FlatBufferBuilder builder, bool isDefault) { builder.AddBool(4, isDefault, false); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(5, collectionVisible, false); } public static void AddReleaseDate(FlatBufferBuilder builder, StringOffset releaseDateOffset) { builder.AddOffset(6, releaseDateOffset.Value, 0); } public static void AddCollectionVisibleStartDate(FlatBufferBuilder builder, StringOffset collectionVisibleStartDateOffset) { builder.AddOffset(7, collectionVisibleStartDateOffset.Value, 0); } public static void AddCollectionVisibleEndDate(FlatBufferBuilder builder, StringOffset collectionVisibleEndDateOffset) { builder.AddOffset(8, collectionVisibleEndDateOffset.Value, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(9, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(9, (int)rarity, 0); } public static void AddCharacterSkillListGroupId(FlatBufferBuilder builder, long characterSkillListGroupId) { builder.AddLong(10, characterSkillListGroupId, 0); } public static void AddSpineResourceName(FlatBufferBuilder builder, StringOffset spineResourceNameOffset) { builder.AddOffset(11, spineResourceNameOffset.Value, 0); } public static void AddSpineResourceNameDiorama(FlatBufferBuilder builder, StringOffset spineResourceNameDioramaOffset) { builder.AddOffset(12, spineResourceNameDioramaOffset.Value, 0); } @@ -252,7 +252,7 @@ public struct CostumeExcel : IFlatbufferObject public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateSpineResourceNameDioramaForFormConversionVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartSpineResourceNameDioramaForFormConversionVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddEntityMaterialType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EntityMaterialType entityMaterialType_) { builder.AddInt(14, (int)entityMaterialType_, 0); } + public static void AddEntityMaterialType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EntityMaterialType entityMaterialType) { builder.AddInt(14, (int)entityMaterialType, 0); } public static void AddModelPrefabName(FlatBufferBuilder builder, StringOffset modelPrefabNameOffset) { builder.AddOffset(15, modelPrefabNameOffset.Value, 0); } public static void AddCafeModelPrefabName(FlatBufferBuilder builder, StringOffset cafeModelPrefabNameOffset) { builder.AddOffset(16, cafeModelPrefabNameOffset.Value, 0); } public static void AddEchelonModelPrefabName(FlatBufferBuilder builder, StringOffset echelonModelPrefabNameOffset) { builder.AddOffset(17, echelonModelPrefabNameOffset.Value, 0); } @@ -289,19 +289,19 @@ public struct CostumeExcel : IFlatbufferObject _o.CostumeGroupId = TableEncryptionService.Convert(this.CostumeGroupId, key); _o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key); _o.DevName = TableEncryptionService.Convert(this.DevName, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); _o.IsDefault = TableEncryptionService.Convert(this.IsDefault, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.ReleaseDate = TableEncryptionService.Convert(this.ReleaseDate, key); _o.CollectionVisibleStartDate = TableEncryptionService.Convert(this.CollectionVisibleStartDate, key); _o.CollectionVisibleEndDate = TableEncryptionService.Convert(this.CollectionVisibleEndDate, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.CharacterSkillListGroupId = TableEncryptionService.Convert(this.CharacterSkillListGroupId, key); _o.SpineResourceName = TableEncryptionService.Convert(this.SpineResourceName, key); _o.SpineResourceNameDiorama = TableEncryptionService.Convert(this.SpineResourceNameDiorama, key); _o.SpineResourceNameDioramaForFormConversion = new List(); for (var _j = 0; _j < this.SpineResourceNameDioramaForFormConversionLength; ++_j) {_o.SpineResourceNameDioramaForFormConversion.Add(TableEncryptionService.Convert(this.SpineResourceNameDioramaForFormConversion(_j), key));} - _o.EntityMaterialType_ = TableEncryptionService.Convert(this.EntityMaterialType_, key); + _o.EntityMaterialType = TableEncryptionService.Convert(this.EntityMaterialType, key); _o.ModelPrefabName = TableEncryptionService.Convert(this.ModelPrefabName, key); _o.CafeModelPrefabName = TableEncryptionService.Convert(this.CafeModelPrefabName, key); _o.EchelonModelPrefabName = TableEncryptionService.Convert(this.EchelonModelPrefabName, key); @@ -358,18 +358,18 @@ public struct CostumeExcel : IFlatbufferObject _o.CostumeGroupId, _o.CostumeUniqueId, _DevName, - _o.ProductionStep_, + _o.ProductionStep, _o.IsDefault, _o.CollectionVisible, _ReleaseDate, _CollectionVisibleStartDate, _CollectionVisibleEndDate, - _o.Rarity_, + _o.Rarity, _o.CharacterSkillListGroupId, _SpineResourceName, _SpineResourceNameDiorama, _SpineResourceNameDioramaForFormConversion, - _o.EntityMaterialType_, + _o.EntityMaterialType, _ModelPrefabName, _CafeModelPrefabName, _EchelonModelPrefabName, @@ -395,18 +395,18 @@ public class CostumeExcelT public long CostumeGroupId { get; set; } public long CostumeUniqueId { get; set; } public string DevName { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } public bool IsDefault { get; set; } public bool CollectionVisible { get; set; } public string ReleaseDate { get; set; } public string CollectionVisibleStartDate { get; set; } public string CollectionVisibleEndDate { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public long CharacterSkillListGroupId { get; set; } public string SpineResourceName { get; set; } public string SpineResourceNameDiorama { get; set; } public List SpineResourceNameDioramaForFormConversion { get; set; } - public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType_ { get; set; } + public SCHALE.Common.FlatData.EntityMaterialType EntityMaterialType { get; set; } public string ModelPrefabName { get; set; } public string CafeModelPrefabName { get; set; } public string EchelonModelPrefabName { get; set; } @@ -429,18 +429,18 @@ public class CostumeExcelT this.CostumeGroupId = 0; this.CostumeUniqueId = 0; this.DevName = null; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; this.IsDefault = false; this.CollectionVisible = false; this.ReleaseDate = null; this.CollectionVisibleStartDate = null; this.CollectionVisibleEndDate = null; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.CharacterSkillListGroupId = 0; this.SpineResourceName = null; this.SpineResourceNameDiorama = null; this.SpineResourceNameDioramaForFormConversion = null; - this.EntityMaterialType_ = SCHALE.Common.FlatData.EntityMaterialType.Wood; + this.EntityMaterialType = SCHALE.Common.FlatData.EntityMaterialType.Wood; this.ModelPrefabName = null; this.CafeModelPrefabName = null; this.EchelonModelPrefabName = null; @@ -470,18 +470,18 @@ static public class CostumeExcelVerify && verifier.VerifyField(tablePos, 4 /*CostumeGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*CostumeUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 8 /*DevName*/, false) - && verifier.VerifyField(tablePos, 10 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyField(tablePos, 12 /*IsDefault*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyString(tablePos, 16 /*ReleaseDate*/, false) && verifier.VerifyString(tablePos, 18 /*CollectionVisibleStartDate*/, false) && verifier.VerifyString(tablePos, 20 /*CollectionVisibleEndDate*/, false) - && verifier.VerifyField(tablePos, 22 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 24 /*CharacterSkillListGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 26 /*SpineResourceName*/, false) && verifier.VerifyString(tablePos, 28 /*SpineResourceNameDiorama*/, false) && verifier.VerifyVectorOfStrings(tablePos, 30 /*SpineResourceNameDioramaForFormConversion*/, false) - && verifier.VerifyField(tablePos, 32 /*EntityMaterialType_*/, 4 /*SCHALE.Common.FlatData.EntityMaterialType*/, 4, false) + && verifier.VerifyField(tablePos, 32 /*EntityMaterialType*/, 4 /*SCHALE.Common.FlatData.EntityMaterialType*/, 4, false) && verifier.VerifyString(tablePos, 34 /*ModelPrefabName*/, false) && verifier.VerifyString(tablePos, 36 /*CafeModelPrefabName*/, false) && verifier.VerifyString(tablePos, 38 /*EchelonModelPrefabName*/, false) diff --git a/SCHALE.Common/FlatData/CouponStuffExcel.cs b/SCHALE.Common/FlatData/CouponStuffExcel.cs index 3630925..70d6a5f 100644 --- a/SCHALE.Common/FlatData/CouponStuffExcel.cs +++ b/SCHALE.Common/FlatData/CouponStuffExcel.cs @@ -21,7 +21,7 @@ public struct CouponStuffExcel : IFlatbufferObject public CouponStuffExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long StuffId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int LimitAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string CouponStuffNameLocalizeKey { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -34,7 +34,7 @@ public struct CouponStuffExcel : IFlatbufferObject public static Offset CreateCouponStuffExcel(FlatBufferBuilder builder, long StuffId = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelId = 0, int LimitAmount = 0, StringOffset CouponStuffNameLocalizeKeyOffset = default(StringOffset)) { @@ -43,13 +43,13 @@ public struct CouponStuffExcel : IFlatbufferObject CouponStuffExcel.AddStuffId(builder, StuffId); CouponStuffExcel.AddCouponStuffNameLocalizeKey(builder, CouponStuffNameLocalizeKeyOffset); CouponStuffExcel.AddLimitAmount(builder, LimitAmount); - CouponStuffExcel.AddParcelType_(builder, ParcelType_); + CouponStuffExcel.AddParcelType(builder, ParcelType); return CouponStuffExcel.EndCouponStuffExcel(builder); } public static void StartCouponStuffExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddStuffId(FlatBufferBuilder builder, long stuffId) { builder.AddLong(0, stuffId, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(1, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(1, (int)parcelType, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(2, parcelId, 0); } public static void AddLimitAmount(FlatBufferBuilder builder, int limitAmount) { builder.AddInt(3, limitAmount, 0); } public static void AddCouponStuffNameLocalizeKey(FlatBufferBuilder builder, StringOffset couponStuffNameLocalizeKeyOffset) { builder.AddOffset(4, couponStuffNameLocalizeKeyOffset.Value, 0); } @@ -65,7 +65,7 @@ public struct CouponStuffExcel : IFlatbufferObject public void UnPackTo(CouponStuffExcelT _o) { byte[] key = TableEncryptionService.CreateKey("CouponStuff"); _o.StuffId = TableEncryptionService.Convert(this.StuffId, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.LimitAmount = TableEncryptionService.Convert(this.LimitAmount, key); _o.CouponStuffNameLocalizeKey = TableEncryptionService.Convert(this.CouponStuffNameLocalizeKey, key); @@ -76,7 +76,7 @@ public struct CouponStuffExcel : IFlatbufferObject return CreateCouponStuffExcel( builder, _o.StuffId, - _o.ParcelType_, + _o.ParcelType, _o.ParcelId, _o.LimitAmount, _CouponStuffNameLocalizeKey); @@ -86,14 +86,14 @@ public struct CouponStuffExcel : IFlatbufferObject public class CouponStuffExcelT { public long StuffId { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelId { get; set; } public int LimitAmount { get; set; } public string CouponStuffNameLocalizeKey { get; set; } public CouponStuffExcelT() { this.StuffId = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelId = 0; this.LimitAmount = 0; this.CouponStuffNameLocalizeKey = null; @@ -107,7 +107,7 @@ static public class CouponStuffExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*StuffId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*LimitAmount*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 12 /*CouponStuffNameLocalizeKey*/, false) diff --git a/SCHALE.Common/FlatData/CurrencyExcel.cs b/SCHALE.Common/FlatData/CurrencyExcel.cs index fc6fa8e..cb7d998 100644 --- a/SCHALE.Common/FlatData/CurrencyExcel.cs +++ b/SCHALE.Common/FlatData/CurrencyExcel.cs @@ -37,11 +37,11 @@ public struct CurrencyExcel : IFlatbufferObject public ArraySegment? GetIconBytes() { return __p.__vector_as_arraysegment(12); } #endif public byte[] GetIconArray() { return __p.__vector_as_array(12); } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public int AutoChargeMsc { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int AutoChargeAmount { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.CurrencyOverChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; } } - public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.CurrencyAdditionalChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; } } + public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.CurrencyOverChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; } } + public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.CurrencyAdditionalChargeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; } } public long ChargeLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long OverChargeLimit { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string SpriteName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -51,7 +51,7 @@ public struct CurrencyExcel : IFlatbufferObject public ArraySegment? GetSpriteNameBytes() { return __p.__vector_as_arraysegment(28); } #endif public byte[] GetSpriteNameArray() { return __p.__vector_as_array(28); } - public SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.DailyRefillType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DailyRefillType.None; } } + public SCHALE.Common.FlatData.DailyRefillType DailyRefillType { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.DailyRefillType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DailyRefillType.None; } } public long DailyRefillAmount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DailyRefillTime(int j) { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public int DailyRefillTimeLength { get { int o = __p.__offset(34); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -79,15 +79,15 @@ public struct CurrencyExcel : IFlatbufferObject SCHALE.Common.FlatData.CurrencyTypes CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid, StringOffset CurrencyNameOffset = default(StringOffset), StringOffset IconOffset = default(StringOffset), - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, int AutoChargeMsc = 0, int AutoChargeAmount = 0, - SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge, - SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit, + SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge, + SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit, long ChargeLimit = 0, long OverChargeLimit = 0, StringOffset SpriteNameOffset = default(StringOffset), - SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ = SCHALE.Common.FlatData.DailyRefillType.None, + SCHALE.Common.FlatData.DailyRefillType DailyRefillType = SCHALE.Common.FlatData.DailyRefillType.None, long DailyRefillAmount = 0, VectorOffset DailyRefillTimeOffset = default(VectorOffset), StringOffset ExpirationDateTimeOffset = default(StringOffset), @@ -106,13 +106,13 @@ public struct CurrencyExcel : IFlatbufferObject CurrencyExcel.AddExpirationNotifyDateIn(builder, ExpirationNotifyDateIn); CurrencyExcel.AddExpirationDateTime(builder, ExpirationDateTimeOffset); CurrencyExcel.AddDailyRefillTime(builder, DailyRefillTimeOffset); - CurrencyExcel.AddDailyRefillType_(builder, DailyRefillType_); + CurrencyExcel.AddDailyRefillType(builder, DailyRefillType); CurrencyExcel.AddSpriteName(builder, SpriteNameOffset); - CurrencyExcel.AddCurrencyAdditionalChargeType_(builder, CurrencyAdditionalChargeType_); - CurrencyExcel.AddCurrencyOverChargeType_(builder, CurrencyOverChargeType_); + CurrencyExcel.AddCurrencyAdditionalChargeType(builder, CurrencyAdditionalChargeType); + CurrencyExcel.AddCurrencyOverChargeType(builder, CurrencyOverChargeType); CurrencyExcel.AddAutoChargeAmount(builder, AutoChargeAmount); CurrencyExcel.AddAutoChargeMsc(builder, AutoChargeMsc); - CurrencyExcel.AddRarity_(builder, Rarity_); + CurrencyExcel.AddRarity(builder, Rarity); CurrencyExcel.AddIcon(builder, IconOffset); CurrencyExcel.AddCurrencyName(builder, CurrencyNameOffset); CurrencyExcel.AddCurrencyType(builder, CurrencyType); @@ -126,15 +126,15 @@ public struct CurrencyExcel : IFlatbufferObject public static void AddCurrencyType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes currencyType) { builder.AddInt(2, (int)currencyType, 0); } public static void AddCurrencyName(FlatBufferBuilder builder, StringOffset currencyNameOffset) { builder.AddOffset(3, currencyNameOffset.Value, 0); } public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(4, iconOffset.Value, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(5, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(5, (int)rarity, 0); } public static void AddAutoChargeMsc(FlatBufferBuilder builder, int autoChargeMsc) { builder.AddInt(6, autoChargeMsc, 0); } public static void AddAutoChargeAmount(FlatBufferBuilder builder, int autoChargeAmount) { builder.AddInt(7, autoChargeAmount, 0); } - public static void AddCurrencyOverChargeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyOverChargeType currencyOverChargeType_) { builder.AddInt(8, (int)currencyOverChargeType_, 0); } - public static void AddCurrencyAdditionalChargeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyAdditionalChargeType currencyAdditionalChargeType_) { builder.AddInt(9, (int)currencyAdditionalChargeType_, 0); } + public static void AddCurrencyOverChargeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyOverChargeType currencyOverChargeType) { builder.AddInt(8, (int)currencyOverChargeType, 0); } + public static void AddCurrencyAdditionalChargeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyAdditionalChargeType currencyAdditionalChargeType) { builder.AddInt(9, (int)currencyAdditionalChargeType, 0); } public static void AddChargeLimit(FlatBufferBuilder builder, long chargeLimit) { builder.AddLong(10, chargeLimit, 0); } public static void AddOverChargeLimit(FlatBufferBuilder builder, long overChargeLimit) { builder.AddLong(11, overChargeLimit, 0); } public static void AddSpriteName(FlatBufferBuilder builder, StringOffset spriteNameOffset) { builder.AddOffset(12, spriteNameOffset.Value, 0); } - public static void AddDailyRefillType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DailyRefillType dailyRefillType_) { builder.AddInt(13, (int)dailyRefillType_, 0); } + public static void AddDailyRefillType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DailyRefillType dailyRefillType) { builder.AddInt(13, (int)dailyRefillType, 0); } public static void AddDailyRefillAmount(FlatBufferBuilder builder, long dailyRefillAmount) { builder.AddLong(14, dailyRefillAmount, 0); } public static void AddDailyRefillTime(FlatBufferBuilder builder, VectorOffset dailyRefillTimeOffset) { builder.AddOffset(15, dailyRefillTimeOffset.Value, 0); } public static VectorOffset CreateDailyRefillTimeVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } @@ -163,15 +163,15 @@ public struct CurrencyExcel : IFlatbufferObject _o.CurrencyType = TableEncryptionService.Convert(this.CurrencyType, key); _o.CurrencyName = TableEncryptionService.Convert(this.CurrencyName, key); _o.Icon = TableEncryptionService.Convert(this.Icon, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.AutoChargeMsc = TableEncryptionService.Convert(this.AutoChargeMsc, key); _o.AutoChargeAmount = TableEncryptionService.Convert(this.AutoChargeAmount, key); - _o.CurrencyOverChargeType_ = TableEncryptionService.Convert(this.CurrencyOverChargeType_, key); - _o.CurrencyAdditionalChargeType_ = TableEncryptionService.Convert(this.CurrencyAdditionalChargeType_, key); + _o.CurrencyOverChargeType = TableEncryptionService.Convert(this.CurrencyOverChargeType, key); + _o.CurrencyAdditionalChargeType = TableEncryptionService.Convert(this.CurrencyAdditionalChargeType, key); _o.ChargeLimit = TableEncryptionService.Convert(this.ChargeLimit, key); _o.OverChargeLimit = TableEncryptionService.Convert(this.OverChargeLimit, key); _o.SpriteName = TableEncryptionService.Convert(this.SpriteName, key); - _o.DailyRefillType_ = TableEncryptionService.Convert(this.DailyRefillType_, key); + _o.DailyRefillType = TableEncryptionService.Convert(this.DailyRefillType, key); _o.DailyRefillAmount = TableEncryptionService.Convert(this.DailyRefillAmount, key); _o.DailyRefillTime = new List(); for (var _j = 0; _j < this.DailyRefillTimeLength; ++_j) {_o.DailyRefillTime.Add(TableEncryptionService.Convert(this.DailyRefillTime(_j), key));} @@ -199,15 +199,15 @@ public struct CurrencyExcel : IFlatbufferObject _o.CurrencyType, _CurrencyName, _Icon, - _o.Rarity_, + _o.Rarity, _o.AutoChargeMsc, _o.AutoChargeAmount, - _o.CurrencyOverChargeType_, - _o.CurrencyAdditionalChargeType_, + _o.CurrencyOverChargeType, + _o.CurrencyAdditionalChargeType, _o.ChargeLimit, _o.OverChargeLimit, _SpriteName, - _o.DailyRefillType_, + _o.DailyRefillType, _o.DailyRefillAmount, _DailyRefillTime, _ExpirationDateTime, @@ -225,15 +225,15 @@ public class CurrencyExcelT public SCHALE.Common.FlatData.CurrencyTypes CurrencyType { get; set; } public string CurrencyName { get; set; } public string Icon { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public int AutoChargeMsc { get; set; } public int AutoChargeAmount { get; set; } - public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType_ { get; set; } - public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType_ { get; set; } + public SCHALE.Common.FlatData.CurrencyOverChargeType CurrencyOverChargeType { get; set; } + public SCHALE.Common.FlatData.CurrencyAdditionalChargeType CurrencyAdditionalChargeType { get; set; } public long ChargeLimit { get; set; } public long OverChargeLimit { get; set; } public string SpriteName { get; set; } - public SCHALE.Common.FlatData.DailyRefillType DailyRefillType_ { get; set; } + public SCHALE.Common.FlatData.DailyRefillType DailyRefillType { get; set; } public long DailyRefillAmount { get; set; } public List DailyRefillTime { get; set; } public string ExpirationDateTime { get; set; } @@ -248,15 +248,15 @@ public class CurrencyExcelT this.CurrencyType = SCHALE.Common.FlatData.CurrencyTypes.Invalid; this.CurrencyName = null; this.Icon = null; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.AutoChargeMsc = 0; this.AutoChargeAmount = 0; - this.CurrencyOverChargeType_ = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; - this.CurrencyAdditionalChargeType_ = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; + this.CurrencyOverChargeType = SCHALE.Common.FlatData.CurrencyOverChargeType.CanNotCharge; + this.CurrencyAdditionalChargeType = SCHALE.Common.FlatData.CurrencyAdditionalChargeType.EnableAutoChargeOverLimit; this.ChargeLimit = 0; this.OverChargeLimit = 0; this.SpriteName = null; - this.DailyRefillType_ = SCHALE.Common.FlatData.DailyRefillType.None; + this.DailyRefillType = SCHALE.Common.FlatData.DailyRefillType.None; this.DailyRefillAmount = 0; this.DailyRefillTime = null; this.ExpirationDateTime = null; @@ -278,15 +278,15 @@ static public class CurrencyExcelVerify && verifier.VerifyField(tablePos, 8 /*CurrencyType*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false) && verifier.VerifyString(tablePos, 10 /*CurrencyName*/, false) && verifier.VerifyString(tablePos, 12 /*Icon*/, false) - && verifier.VerifyField(tablePos, 14 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 16 /*AutoChargeMsc*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*AutoChargeAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 20 /*CurrencyOverChargeType_*/, 4 /*SCHALE.Common.FlatData.CurrencyOverChargeType*/, 4, false) - && verifier.VerifyField(tablePos, 22 /*CurrencyAdditionalChargeType_*/, 4 /*SCHALE.Common.FlatData.CurrencyAdditionalChargeType*/, 4, false) + && verifier.VerifyField(tablePos, 20 /*CurrencyOverChargeType*/, 4 /*SCHALE.Common.FlatData.CurrencyOverChargeType*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*CurrencyAdditionalChargeType*/, 4 /*SCHALE.Common.FlatData.CurrencyAdditionalChargeType*/, 4, false) && verifier.VerifyField(tablePos, 24 /*ChargeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*OverChargeLimit*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 28 /*SpriteName*/, false) - && verifier.VerifyField(tablePos, 30 /*DailyRefillType_*/, 4 /*SCHALE.Common.FlatData.DailyRefillType*/, 4, false) + && verifier.VerifyField(tablePos, 30 /*DailyRefillType*/, 4 /*SCHALE.Common.FlatData.DailyRefillType*/, 4, false) && verifier.VerifyField(tablePos, 32 /*DailyRefillAmount*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 34 /*DailyRefillTime*/, 8 /*long*/, false) && verifier.VerifyString(tablePos, 36 /*ExpirationDateTime*/, false) diff --git a/SCHALE.Common/FlatData/CurrencyExcelTable.cs b/SCHALE.Common/FlatData/CurrencyExcelTable.cs deleted file mode 100644 index 2a3c84f..0000000 --- a/SCHALE.Common/FlatData/CurrencyExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct CurrencyExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static CurrencyExcelTable GetRootAsCurrencyExcelTable(ByteBuffer _bb) { return GetRootAsCurrencyExcelTable(_bb, new CurrencyExcelTable()); } - public static CurrencyExcelTable GetRootAsCurrencyExcelTable(ByteBuffer _bb, CurrencyExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public CurrencyExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.CurrencyExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CurrencyExcel?)(new SCHALE.Common.FlatData.CurrencyExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateCurrencyExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - CurrencyExcelTable.AddDataList(builder, DataListOffset); - return CurrencyExcelTable.EndCurrencyExcelTable(builder); - } - - public static void StartCurrencyExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndCurrencyExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public CurrencyExcelTableT UnPack() { - var _o = new CurrencyExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(CurrencyExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("CurrencyExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, CurrencyExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.CurrencyExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateCurrencyExcelTable( - builder, - _DataList); - } -} - -public class CurrencyExcelTableT -{ - public List DataList { get; set; } - - public CurrencyExcelTableT() { - this.DataList = null; - } -} - - -static public class CurrencyExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CurrencyExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/DefaultMailExcel.cs b/SCHALE.Common/FlatData/DefaultMailExcel.cs index 635f464..bc74f3c 100644 --- a/SCHALE.Common/FlatData/DefaultMailExcel.cs +++ b/SCHALE.Common/FlatData/DefaultMailExcel.cs @@ -22,7 +22,7 @@ public struct DefaultMailExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public uint LocalizeCodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.MailType MailType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } + public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } public string MailSendPeriodFrom { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetMailSendPeriodFromBytes() { return __p.__vector_as_span(10, 1); } @@ -65,7 +65,7 @@ public struct DefaultMailExcel : IFlatbufferObject public static Offset CreateDefaultMailExcel(FlatBufferBuilder builder, long Id = 0, uint LocalizeCodeId = 0, - SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, + SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System, StringOffset MailSendPeriodFromOffset = default(StringOffset), StringOffset MailSendPeriodToOffset = default(StringOffset), VectorOffset RewardParcelTypeOffset = default(VectorOffset), @@ -78,7 +78,7 @@ public struct DefaultMailExcel : IFlatbufferObject DefaultMailExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); DefaultMailExcel.AddMailSendPeriodTo(builder, MailSendPeriodToOffset); DefaultMailExcel.AddMailSendPeriodFrom(builder, MailSendPeriodFromOffset); - DefaultMailExcel.AddMailType_(builder, MailType_); + DefaultMailExcel.AddMailType(builder, MailType); DefaultMailExcel.AddLocalizeCodeId(builder, LocalizeCodeId); return DefaultMailExcel.EndDefaultMailExcel(builder); } @@ -86,7 +86,7 @@ public struct DefaultMailExcel : IFlatbufferObject public static void StartDefaultMailExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(1, localizeCodeId, 0); } - public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(2, (int)mailType_, 0); } + public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(2, (int)mailType, 0); } public static void AddMailSendPeriodFrom(FlatBufferBuilder builder, StringOffset mailSendPeriodFromOffset) { builder.AddOffset(3, mailSendPeriodFromOffset.Value, 0); } public static void AddMailSendPeriodTo(FlatBufferBuilder builder, StringOffset mailSendPeriodToOffset) { builder.AddOffset(4, mailSendPeriodToOffset.Value, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(5, rewardParcelTypeOffset.Value, 0); } @@ -120,7 +120,7 @@ public struct DefaultMailExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("DefaultMail"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key); - _o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); + _o.MailType = TableEncryptionService.Convert(this.MailType, key); _o.MailSendPeriodFrom = TableEncryptionService.Convert(this.MailSendPeriodFrom, key); _o.MailSendPeriodTo = TableEncryptionService.Convert(this.MailSendPeriodTo, key); _o.RewardParcelType = new List(); @@ -153,7 +153,7 @@ public struct DefaultMailExcel : IFlatbufferObject builder, _o.Id, _o.LocalizeCodeId, - _o.MailType_, + _o.MailType, _MailSendPeriodFrom, _MailSendPeriodTo, _RewardParcelType, @@ -166,7 +166,7 @@ public class DefaultMailExcelT { public long Id { get; set; } public uint LocalizeCodeId { get; set; } - public SCHALE.Common.FlatData.MailType MailType_ { get; set; } + public SCHALE.Common.FlatData.MailType MailType { get; set; } public string MailSendPeriodFrom { get; set; } public string MailSendPeriodTo { get; set; } public List RewardParcelType { get; set; } @@ -176,7 +176,7 @@ public class DefaultMailExcelT public DefaultMailExcelT() { this.Id = 0; this.LocalizeCodeId = 0; - this.MailType_ = SCHALE.Common.FlatData.MailType.System; + this.MailType = SCHALE.Common.FlatData.MailType.System; this.MailSendPeriodFrom = null; this.MailSendPeriodTo = null; this.RewardParcelType = null; @@ -193,7 +193,7 @@ static public class DefaultMailExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*LocalizeCodeId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) && verifier.VerifyString(tablePos, 10 /*MailSendPeriodFrom*/, false) && verifier.VerifyString(tablePos, 12 /*MailSendPeriodTo*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) diff --git a/SCHALE.Common/FlatData/DefaultParcelExcel.cs b/SCHALE.Common/FlatData/DefaultParcelExcel.cs index f965f45..1a8e904 100644 --- a/SCHALE.Common/FlatData/DefaultParcelExcel.cs +++ b/SCHALE.Common/FlatData/DefaultParcelExcel.cs @@ -20,23 +20,23 @@ public struct DefaultParcelExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public DefaultParcelExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelAmount { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateDefaultParcelExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelId = 0, long ParcelAmount = 0) { builder.StartTable(3); DefaultParcelExcel.AddParcelAmount(builder, ParcelAmount); DefaultParcelExcel.AddParcelId(builder, ParcelId); - DefaultParcelExcel.AddParcelType_(builder, ParcelType_); + DefaultParcelExcel.AddParcelType(builder, ParcelType); return DefaultParcelExcel.EndDefaultParcelExcel(builder); } public static void StartDefaultParcelExcel(FlatBufferBuilder builder) { builder.StartTable(3); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(0, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(0, (int)parcelType, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(1, parcelId, 0); } public static void AddParcelAmount(FlatBufferBuilder builder, long parcelAmount) { builder.AddLong(2, parcelAmount, 0); } public static Offset EndDefaultParcelExcel(FlatBufferBuilder builder) { @@ -50,7 +50,7 @@ public struct DefaultParcelExcel : IFlatbufferObject } public void UnPackTo(DefaultParcelExcelT _o) { byte[] key = TableEncryptionService.CreateKey("DefaultParcel"); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.ParcelAmount = TableEncryptionService.Convert(this.ParcelAmount, key); } @@ -58,7 +58,7 @@ public struct DefaultParcelExcel : IFlatbufferObject if (_o == null) return default(Offset); return CreateDefaultParcelExcel( builder, - _o.ParcelType_, + _o.ParcelType, _o.ParcelId, _o.ParcelAmount); } @@ -66,12 +66,12 @@ public struct DefaultParcelExcel : IFlatbufferObject public class DefaultParcelExcelT { - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelId { get; set; } public long ParcelAmount { get; set; } public DefaultParcelExcelT() { - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelId = 0; this.ParcelAmount = 0; } @@ -83,7 +83,7 @@ static public class DefaultParcelExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*ParcelAmount*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/DuplicateBonusExcel.cs b/SCHALE.Common/FlatData/DuplicateBonusExcel.cs index c99672e..b2a07c7 100644 --- a/SCHALE.Common/FlatData/DuplicateBonusExcel.cs +++ b/SCHALE.Common/FlatData/DuplicateBonusExcel.cs @@ -21,7 +21,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject public DuplicateBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } } + public SCHALE.Common.FlatData.ItemCategory ItemCategory { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } } public long ItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CharacterId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } @@ -30,7 +30,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject public static Offset CreateDuplicateBonusExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.ItemCategory ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin, + SCHALE.Common.FlatData.ItemCategory ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin, long ItemId = 0, long CharacterId = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, @@ -43,13 +43,13 @@ public struct DuplicateBonusExcel : IFlatbufferObject DuplicateBonusExcel.AddItemId(builder, ItemId); DuplicateBonusExcel.AddId(builder, Id); DuplicateBonusExcel.AddRewardParcelType(builder, RewardParcelType); - DuplicateBonusExcel.AddItemCategory_(builder, ItemCategory_); + DuplicateBonusExcel.AddItemCategory(builder, ItemCategory); return DuplicateBonusExcel.EndDuplicateBonusExcel(builder); } public static void StartDuplicateBonusExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddItemCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory_) { builder.AddInt(1, (int)itemCategory_, 0); } + public static void AddItemCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory) { builder.AddInt(1, (int)itemCategory, 0); } public static void AddItemId(FlatBufferBuilder builder, long itemId) { builder.AddLong(2, itemId, 0); } public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(3, characterId, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(4, (int)rewardParcelType, 0); } @@ -67,7 +67,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject public void UnPackTo(DuplicateBonusExcelT _o) { byte[] key = TableEncryptionService.CreateKey("DuplicateBonus"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.ItemCategory_ = TableEncryptionService.Convert(this.ItemCategory_, key); + _o.ItemCategory = TableEncryptionService.Convert(this.ItemCategory, key); _o.ItemId = TableEncryptionService.Convert(this.ItemId, key); _o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); @@ -79,7 +79,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject return CreateDuplicateBonusExcel( builder, _o.Id, - _o.ItemCategory_, + _o.ItemCategory, _o.ItemId, _o.CharacterId, _o.RewardParcelType, @@ -91,7 +91,7 @@ public struct DuplicateBonusExcel : IFlatbufferObject public class DuplicateBonusExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get; set; } + public SCHALE.Common.FlatData.ItemCategory ItemCategory { get; set; } public long ItemId { get; set; } public long CharacterId { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } @@ -100,7 +100,7 @@ public class DuplicateBonusExcelT public DuplicateBonusExcelT() { this.Id = 0; - this.ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin; + this.ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin; this.ItemId = 0; this.CharacterId = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; @@ -116,7 +116,7 @@ static public class DuplicateBonusExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ItemCategory_*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ItemCategory*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*CharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) diff --git a/SCHALE.Common/FlatData/EchelonConstraintExcel.cs b/SCHALE.Common/FlatData/EchelonConstraintExcel.cs index cb7450a..ee4433c 100644 --- a/SCHALE.Common/FlatData/EchelonConstraintExcel.cs +++ b/SCHALE.Common/FlatData/EchelonConstraintExcel.cs @@ -38,9 +38,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject public ArraySegment? GetPersonalityIdBytes() { return __p.__vector_as_arraysegment(10); } #endif public long[] GetPersonalityIdArray() { return __p.__vector_as_array(10); } - public SCHALE.Common.FlatData.WeaponType WeaponType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } - public SCHALE.Common.FlatData.School School_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } - public SCHALE.Common.FlatData.Club Club_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } + public SCHALE.Common.FlatData.WeaponType WeaponType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.WeaponType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeaponType.None; } } + public SCHALE.Common.FlatData.School School { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } + public SCHALE.Common.FlatData.Club Club { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } public SCHALE.Common.FlatData.TacticRole Role { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.TacticRole)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticRole.None; } } public static Offset CreateEchelonConstraintExcel(FlatBufferBuilder builder, @@ -48,16 +48,16 @@ public struct EchelonConstraintExcel : IFlatbufferObject bool IsWhiteList = false, VectorOffset CharacterIdOffset = default(VectorOffset), VectorOffset PersonalityIdOffset = default(VectorOffset), - SCHALE.Common.FlatData.WeaponType WeaponType_ = SCHALE.Common.FlatData.WeaponType.None, - SCHALE.Common.FlatData.School School_ = SCHALE.Common.FlatData.School.None, - SCHALE.Common.FlatData.Club Club_ = SCHALE.Common.FlatData.Club.None, + SCHALE.Common.FlatData.WeaponType WeaponType = SCHALE.Common.FlatData.WeaponType.None, + SCHALE.Common.FlatData.School School = SCHALE.Common.FlatData.School.None, + SCHALE.Common.FlatData.Club Club = SCHALE.Common.FlatData.Club.None, SCHALE.Common.FlatData.TacticRole Role = SCHALE.Common.FlatData.TacticRole.None) { builder.StartTable(8); EchelonConstraintExcel.AddGroupId(builder, GroupId); EchelonConstraintExcel.AddRole(builder, Role); - EchelonConstraintExcel.AddClub_(builder, Club_); - EchelonConstraintExcel.AddSchool_(builder, School_); - EchelonConstraintExcel.AddWeaponType_(builder, WeaponType_); + EchelonConstraintExcel.AddClub(builder, Club); + EchelonConstraintExcel.AddSchool(builder, School); + EchelonConstraintExcel.AddWeaponType(builder, WeaponType); EchelonConstraintExcel.AddPersonalityId(builder, PersonalityIdOffset); EchelonConstraintExcel.AddCharacterId(builder, CharacterIdOffset); EchelonConstraintExcel.AddIsWhiteList(builder, IsWhiteList); @@ -79,9 +79,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreatePersonalityIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartPersonalityIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddWeaponType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType_) { builder.AddInt(4, (int)weaponType_, 0); } - public static void AddSchool_(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school_) { builder.AddInt(5, (int)school_, 0); } - public static void AddClub_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club_) { builder.AddInt(6, (int)club_, 0); } + public static void AddWeaponType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeaponType weaponType) { builder.AddInt(4, (int)weaponType, 0); } + public static void AddSchool(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school) { builder.AddInt(5, (int)school, 0); } + public static void AddClub(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club club) { builder.AddInt(6, (int)club, 0); } public static void AddRole(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticRole role) { builder.AddInt(7, (int)role, 0); } public static Offset EndEchelonConstraintExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -100,9 +100,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject for (var _j = 0; _j < this.CharacterIdLength; ++_j) {_o.CharacterId.Add(TableEncryptionService.Convert(this.CharacterId(_j), key));} _o.PersonalityId = new List(); for (var _j = 0; _j < this.PersonalityIdLength; ++_j) {_o.PersonalityId.Add(TableEncryptionService.Convert(this.PersonalityId(_j), key));} - _o.WeaponType_ = TableEncryptionService.Convert(this.WeaponType_, key); - _o.School_ = TableEncryptionService.Convert(this.School_, key); - _o.Club_ = TableEncryptionService.Convert(this.Club_, key); + _o.WeaponType = TableEncryptionService.Convert(this.WeaponType, key); + _o.School = TableEncryptionService.Convert(this.School, key); + _o.Club = TableEncryptionService.Convert(this.Club, key); _o.Role = TableEncryptionService.Convert(this.Role, key); } public static Offset Pack(FlatBufferBuilder builder, EchelonConstraintExcelT _o) { @@ -123,9 +123,9 @@ public struct EchelonConstraintExcel : IFlatbufferObject _o.IsWhiteList, _CharacterId, _PersonalityId, - _o.WeaponType_, - _o.School_, - _o.Club_, + _o.WeaponType, + _o.School, + _o.Club, _o.Role); } } @@ -136,9 +136,9 @@ public class EchelonConstraintExcelT public bool IsWhiteList { get; set; } public List CharacterId { get; set; } public List PersonalityId { get; set; } - public SCHALE.Common.FlatData.WeaponType WeaponType_ { get; set; } - public SCHALE.Common.FlatData.School School_ { get; set; } - public SCHALE.Common.FlatData.Club Club_ { get; set; } + public SCHALE.Common.FlatData.WeaponType WeaponType { get; set; } + public SCHALE.Common.FlatData.School School { get; set; } + public SCHALE.Common.FlatData.Club Club { get; set; } public SCHALE.Common.FlatData.TacticRole Role { get; set; } public EchelonConstraintExcelT() { @@ -146,9 +146,9 @@ public class EchelonConstraintExcelT this.IsWhiteList = false; this.CharacterId = null; this.PersonalityId = null; - this.WeaponType_ = SCHALE.Common.FlatData.WeaponType.None; - this.School_ = SCHALE.Common.FlatData.School.None; - this.Club_ = SCHALE.Common.FlatData.Club.None; + this.WeaponType = SCHALE.Common.FlatData.WeaponType.None; + this.School = SCHALE.Common.FlatData.School.None; + this.Club = SCHALE.Common.FlatData.Club.None; this.Role = SCHALE.Common.FlatData.TacticRole.None; } } @@ -163,9 +163,9 @@ static public class EchelonConstraintExcelVerify && verifier.VerifyField(tablePos, 6 /*IsWhiteList*/, 1 /*bool*/, 1, false) && verifier.VerifyVectorOfData(tablePos, 8 /*CharacterId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 10 /*PersonalityId*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 12 /*WeaponType_*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*School_*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) - && verifier.VerifyField(tablePos, 16 /*Club_*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*WeaponType*/, 4 /*SCHALE.Common.FlatData.WeaponType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*School*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) + && verifier.VerifyField(tablePos, 16 /*Club*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) && verifier.VerifyField(tablePos, 18 /*Role*/, 4 /*SCHALE.Common.FlatData.TacticRole*/, 4, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/EliminateRaidStageExcel.cs b/SCHALE.Common/FlatData/EliminateRaidStageExcel.cs index b5ca0ce..35a7c35 100644 --- a/SCHALE.Common/FlatData/EliminateRaidStageExcel.cs +++ b/SCHALE.Common/FlatData/EliminateRaidStageExcel.cs @@ -63,7 +63,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public ArraySegment? GetBossCharacterIdBytes() { return __p.__vector_as_arraysegment(26); } #endif public long[] GetBossCharacterIdArray() { return __p.__vector_as_array(26); } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } + public SCHALE.Common.FlatData.Difficulty Difficulty { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } public bool IsOpen { get { int o = __p.__offset(30); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long MaxPlayerCount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int RaidRoomLifeTime { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -83,7 +83,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public ArraySegment? GetEnterTimeLineBytes() { return __p.__vector_as_arraysegment(42); } #endif public byte[] GetEnterTimeLineArray() { return __p.__vector_as_array(42); } - public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } } + public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } } public long DefaultClearScore { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaximumScore { get { int o = __p.__offset(48); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PerSecondMinusScore { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -128,7 +128,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public uint ClearScenarioKey { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public bool ShowSkillCard { get { int o = __p.__offset(76); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public uint BossBGInfoKey { get { int o = __p.__offset(78); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(80); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateEliminateRaidStageExcel(FlatBufferBuilder builder, long Id = 0, @@ -143,7 +143,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject StringOffset BGPathOffset = default(StringOffset), long RaidCharacterId = 0, VectorOffset BossCharacterIdOffset = default(VectorOffset), - SCHALE.Common.FlatData.Difficulty Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal, + SCHALE.Common.FlatData.Difficulty Difficulty = SCHALE.Common.FlatData.Difficulty.Normal, bool IsOpen = false, long MaxPlayerCount = 0, int RaidRoomLifeTime = 0, @@ -151,7 +151,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject long GroundId = 0, StringOffset GroundDevNameOffset = default(StringOffset), StringOffset EnterTimeLineOffset = default(StringOffset), - SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None, + SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None, long DefaultClearScore = 0, long MaximumScore = 0, long PerSecondMinusScore = 0, @@ -169,7 +169,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject uint ClearScenarioKey = 0, bool ShowSkillCard = false, uint BossBGInfoKey = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(39); EliminateRaidStageExcel.AddTimeLinePhase(builder, TimeLinePhase); EliminateRaidStageExcel.AddRaidRewardGroupId(builder, RaidRewardGroupId); @@ -185,7 +185,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject EliminateRaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId); EliminateRaidStageExcel.AddRaidEnterCostId(builder, RaidEnterCostId); EliminateRaidStageExcel.AddId(builder, Id); - EliminateRaidStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + EliminateRaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); EliminateRaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey); EliminateRaidStageExcel.AddClearScenarioKey(builder, ClearScenarioKey); EliminateRaidStageExcel.AddEnterScenarioKey(builder, EnterScenarioKey); @@ -194,11 +194,11 @@ public struct EliminateRaidStageExcel : IFlatbufferObject EliminateRaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset); EliminateRaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset); - EliminateRaidStageExcel.AddTacticEnvironment_(builder, TacticEnvironment_); + EliminateRaidStageExcel.AddTacticEnvironment(builder, TacticEnvironment); EliminateRaidStageExcel.AddEnterTimeLine(builder, EnterTimeLineOffset); EliminateRaidStageExcel.AddGroundDevName(builder, GroundDevNameOffset); EliminateRaidStageExcel.AddRaidRoomLifeTime(builder, RaidRoomLifeTime); - EliminateRaidStageExcel.AddDifficulty_(builder, Difficulty_); + EliminateRaidStageExcel.AddDifficulty(builder, Difficulty); EliminateRaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset); EliminateRaidStageExcel.AddBGPath(builder, BGPathOffset); EliminateRaidStageExcel.AddPortraitPath(builder, PortraitPathOffset); @@ -231,7 +231,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBossCharacterIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty_) { builder.AddInt(12, (int)difficulty_, 0); } + public static void AddDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty) { builder.AddInt(12, (int)difficulty, 0); } public static void AddIsOpen(FlatBufferBuilder builder, bool isOpen) { builder.AddBool(13, isOpen, false); } public static void AddMaxPlayerCount(FlatBufferBuilder builder, long maxPlayerCount) { builder.AddLong(14, maxPlayerCount, 0); } public static void AddRaidRoomLifeTime(FlatBufferBuilder builder, int raidRoomLifeTime) { builder.AddInt(15, raidRoomLifeTime, 0); } @@ -239,7 +239,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(17, groundId, 0); } public static void AddGroundDevName(FlatBufferBuilder builder, StringOffset groundDevNameOffset) { builder.AddOffset(18, groundDevNameOffset.Value, 0); } public static void AddEnterTimeLine(FlatBufferBuilder builder, StringOffset enterTimeLineOffset) { builder.AddOffset(19, enterTimeLineOffset.Value, 0); } - public static void AddTacticEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment_) { builder.AddInt(20, (int)tacticEnvironment_, 0); } + public static void AddTacticEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment) { builder.AddInt(20, (int)tacticEnvironment, 0); } public static void AddDefaultClearScore(FlatBufferBuilder builder, long defaultClearScore) { builder.AddLong(21, defaultClearScore, 0); } public static void AddMaximumScore(FlatBufferBuilder builder, long maximumScore) { builder.AddLong(22, maximumScore, 0); } public static void AddPerSecondMinusScore(FlatBufferBuilder builder, long perSecondMinusScore) { builder.AddLong(23, perSecondMinusScore, 0); } @@ -272,7 +272,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject public static void AddClearScenarioKey(FlatBufferBuilder builder, uint clearScenarioKey) { builder.AddUint(35, clearScenarioKey, 0); } public static void AddShowSkillCard(FlatBufferBuilder builder, bool showSkillCard) { builder.AddBool(36, showSkillCard, false); } public static void AddBossBGInfoKey(FlatBufferBuilder builder, uint bossBGInfoKey) { builder.AddUint(37, bossBGInfoKey, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(38, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(38, (int)echelonExtensionType, 0); } public static Offset EndEliminateRaidStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -297,7 +297,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _o.RaidCharacterId = TableEncryptionService.Convert(this.RaidCharacterId, key); _o.BossCharacterId = new List(); for (var _j = 0; _j < this.BossCharacterIdLength; ++_j) {_o.BossCharacterId.Add(TableEncryptionService.Convert(this.BossCharacterId(_j), key));} - _o.Difficulty_ = TableEncryptionService.Convert(this.Difficulty_, key); + _o.Difficulty = TableEncryptionService.Convert(this.Difficulty, key); _o.IsOpen = TableEncryptionService.Convert(this.IsOpen, key); _o.MaxPlayerCount = TableEncryptionService.Convert(this.MaxPlayerCount, key); _o.RaidRoomLifeTime = TableEncryptionService.Convert(this.RaidRoomLifeTime, key); @@ -305,7 +305,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _o.GroundId = TableEncryptionService.Convert(this.GroundId, key); _o.GroundDevName = TableEncryptionService.Convert(this.GroundDevName, key); _o.EnterTimeLine = TableEncryptionService.Convert(this.EnterTimeLine, key); - _o.TacticEnvironment_ = TableEncryptionService.Convert(this.TacticEnvironment_, key); + _o.TacticEnvironment = TableEncryptionService.Convert(this.TacticEnvironment, key); _o.DefaultClearScore = TableEncryptionService.Convert(this.DefaultClearScore, key); _o.MaximumScore = TableEncryptionService.Convert(this.MaximumScore, key); _o.PerSecondMinusScore = TableEncryptionService.Convert(this.PerSecondMinusScore, key); @@ -326,7 +326,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _o.ClearScenarioKey = TableEncryptionService.Convert(this.ClearScenarioKey, key); _o.ShowSkillCard = TableEncryptionService.Convert(this.ShowSkillCard, key); _o.BossBGInfoKey = TableEncryptionService.Convert(this.BossBGInfoKey, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, EliminateRaidStageExcelT _o) { if (_o == null) return default(Offset); @@ -373,7 +373,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _BGPath, _o.RaidCharacterId, _BossCharacterId, - _o.Difficulty_, + _o.Difficulty, _o.IsOpen, _o.MaxPlayerCount, _o.RaidRoomLifeTime, @@ -381,7 +381,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _o.GroundId, _GroundDevName, _EnterTimeLine, - _o.TacticEnvironment_, + _o.TacticEnvironment, _o.DefaultClearScore, _o.MaximumScore, _o.PerSecondMinusScore, @@ -399,7 +399,7 @@ public struct EliminateRaidStageExcel : IFlatbufferObject _o.ClearScenarioKey, _o.ShowSkillCard, _o.BossBGInfoKey, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -417,7 +417,7 @@ public class EliminateRaidStageExcelT public string BGPath { get; set; } public long RaidCharacterId { get; set; } public List BossCharacterId { get; set; } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get; set; } + public SCHALE.Common.FlatData.Difficulty Difficulty { get; set; } public bool IsOpen { get; set; } public long MaxPlayerCount { get; set; } public int RaidRoomLifeTime { get; set; } @@ -425,7 +425,7 @@ public class EliminateRaidStageExcelT public long GroundId { get; set; } public string GroundDevName { get; set; } public string EnterTimeLine { get; set; } - public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get; set; } + public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get; set; } public long DefaultClearScore { get; set; } public long MaximumScore { get; set; } public long PerSecondMinusScore { get; set; } @@ -443,7 +443,7 @@ public class EliminateRaidStageExcelT public uint ClearScenarioKey { get; set; } public bool ShowSkillCard { get; set; } public uint BossBGInfoKey { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public EliminateRaidStageExcelT() { this.Id = 0; @@ -458,7 +458,7 @@ public class EliminateRaidStageExcelT this.BGPath = null; this.RaidCharacterId = 0; this.BossCharacterId = null; - this.Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal; + this.Difficulty = SCHALE.Common.FlatData.Difficulty.Normal; this.IsOpen = false; this.MaxPlayerCount = 0; this.RaidRoomLifeTime = 0; @@ -466,7 +466,7 @@ public class EliminateRaidStageExcelT this.GroundId = 0; this.GroundDevName = null; this.EnterTimeLine = null; - this.TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None; + this.TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None; this.DefaultClearScore = 0; this.MaximumScore = 0; this.PerSecondMinusScore = 0; @@ -484,7 +484,7 @@ public class EliminateRaidStageExcelT this.ClearScenarioKey = 0; this.ShowSkillCard = false; this.BossBGInfoKey = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -506,7 +506,7 @@ static public class EliminateRaidStageExcelVerify && verifier.VerifyString(tablePos, 22 /*BGPath*/, false) && verifier.VerifyField(tablePos, 24 /*RaidCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 26 /*BossCharacterId*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 28 /*Difficulty_*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) + && verifier.VerifyField(tablePos, 28 /*Difficulty*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) && verifier.VerifyField(tablePos, 30 /*IsOpen*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 32 /*MaxPlayerCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 34 /*RaidRoomLifeTime*/, 4 /*int*/, 4, false) @@ -514,7 +514,7 @@ static public class EliminateRaidStageExcelVerify && verifier.VerifyField(tablePos, 38 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 40 /*GroundDevName*/, false) && verifier.VerifyString(tablePos, 42 /*EnterTimeLine*/, false) - && verifier.VerifyField(tablePos, 44 /*TacticEnvironment_*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 44 /*TacticEnvironment*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 46 /*DefaultClearScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 48 /*MaximumScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 50 /*PerSecondMinusScore*/, 8 /*long*/, 8, false) @@ -532,7 +532,7 @@ static public class EliminateRaidStageExcelVerify && verifier.VerifyField(tablePos, 74 /*ClearScenarioKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 76 /*ShowSkillCard*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 78 /*BossBGInfoKey*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 80 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 80 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/EmblemExcel.cs b/SCHALE.Common/FlatData/EmblemExcel.cs index b923494..8b1e6a3 100644 --- a/SCHALE.Common/FlatData/EmblemExcel.cs +++ b/SCHALE.Common/FlatData/EmblemExcel.cs @@ -22,7 +22,7 @@ public struct EmblemExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.EmblemCategory Category { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EmblemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EmblemCategory.None; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public long DisplayOrder { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public uint LocalizeEtcId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint LocalizeCodeId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } @@ -87,7 +87,7 @@ public struct EmblemExcel : IFlatbufferObject public static Offset CreateEmblemExcel(FlatBufferBuilder builder, long Id = 0, SCHALE.Common.FlatData.EmblemCategory Category = SCHALE.Common.FlatData.EmblemCategory.None, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, long DisplayOrder = 0, uint LocalizeEtcId = 0, uint LocalizeCodeId = 0, @@ -125,7 +125,7 @@ public struct EmblemExcel : IFlatbufferObject EmblemExcel.AddIconPath(builder, IconPathOffset); EmblemExcel.AddLocalizeCodeId(builder, LocalizeCodeId); EmblemExcel.AddLocalizeEtcId(builder, LocalizeEtcId); - EmblemExcel.AddRarity_(builder, Rarity_); + EmblemExcel.AddRarity(builder, Rarity); EmblemExcel.AddCategory(builder, Category); EmblemExcel.AddEmblemTextVisible(builder, EmblemTextVisible); return EmblemExcel.EndEmblemExcel(builder); @@ -134,7 +134,7 @@ public struct EmblemExcel : IFlatbufferObject public static void StartEmblemExcel(FlatBufferBuilder builder) { builder.StartTable(21); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EmblemCategory category) { builder.AddInt(1, (int)category, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(3, displayOrder, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(4, localizeEtcId, 0); } public static void AddLocalizeCodeId(FlatBufferBuilder builder, uint localizeCodeId) { builder.AddUint(5, localizeCodeId, 0); } @@ -166,7 +166,7 @@ public struct EmblemExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("Emblem"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Category = TableEncryptionService.Convert(this.Category, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.LocalizeCodeId = TableEncryptionService.Convert(this.LocalizeCodeId, key); @@ -199,7 +199,7 @@ public struct EmblemExcel : IFlatbufferObject builder, _o.Id, _o.Category, - _o.Rarity_, + _o.Rarity, _o.DisplayOrder, _o.LocalizeEtcId, _o.LocalizeCodeId, @@ -225,7 +225,7 @@ public class EmblemExcelT { public long Id { get; set; } public SCHALE.Common.FlatData.EmblemCategory Category { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public long DisplayOrder { get; set; } public uint LocalizeEtcId { get; set; } public uint LocalizeCodeId { get; set; } @@ -248,7 +248,7 @@ public class EmblemExcelT public EmblemExcelT() { this.Id = 0; this.Category = SCHALE.Common.FlatData.EmblemCategory.None; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.DisplayOrder = 0; this.LocalizeEtcId = 0; this.LocalizeCodeId = 0; @@ -278,7 +278,7 @@ static public class EmblemExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*Category*/, 4 /*SCHALE.Common.FlatData.EmblemCategory*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 10 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 14 /*LocalizeCodeId*/, 4 /*uint*/, 4, false) diff --git a/SCHALE.Common/FlatData/EmblemExcelTable.cs b/SCHALE.Common/FlatData/EmblemExcelTable.cs deleted file mode 100644 index e1ab8d2..0000000 --- a/SCHALE.Common/FlatData/EmblemExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct EmblemExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static EmblemExcelTable GetRootAsEmblemExcelTable(ByteBuffer _bb) { return GetRootAsEmblemExcelTable(_bb, new EmblemExcelTable()); } - public static EmblemExcelTable GetRootAsEmblemExcelTable(ByteBuffer _bb, EmblemExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public EmblemExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.EmblemExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.EmblemExcel?)(new SCHALE.Common.FlatData.EmblemExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateEmblemExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - EmblemExcelTable.AddDataList(builder, DataListOffset); - return EmblemExcelTable.EndEmblemExcelTable(builder); - } - - public static void StartEmblemExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndEmblemExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public EmblemExcelTableT UnPack() { - var _o = new EmblemExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(EmblemExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("EmblemExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, EmblemExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.EmblemExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateEmblemExcelTable( - builder, - _DataList); - } -} - -public class EmblemExcelTableT -{ - public List DataList { get; set; } - - public EmblemExcelTableT() { - this.DataList = null; - } -} - - -static public class EmblemExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.EmblemExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/EquipmentExcel.cs b/SCHALE.Common/FlatData/EquipmentExcel.cs index 089fc0d..85d0f50 100644 --- a/SCHALE.Common/FlatData/EquipmentExcel.cs +++ b/SCHALE.Common/FlatData/EquipmentExcel.cs @@ -21,8 +21,8 @@ public struct EquipmentExcel : IFlatbufferObject public EquipmentExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public uint LocalizeEtcId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public bool Wear { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public int MaxLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -68,8 +68,8 @@ public struct EquipmentExcel : IFlatbufferObject public static Offset CreateEquipmentExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, uint LocalizeEtcId = 0, bool Wear = false, int MaxLevel = 0, @@ -103,16 +103,16 @@ public struct EquipmentExcel : IFlatbufferObject EquipmentExcel.AddRecipeId(builder, RecipeId); EquipmentExcel.AddMaxLevel(builder, MaxLevel); EquipmentExcel.AddLocalizeEtcId(builder, LocalizeEtcId); - EquipmentExcel.AddRarity_(builder, Rarity_); - EquipmentExcel.AddEquipmentCategory_(builder, EquipmentCategory_); + EquipmentExcel.AddRarity(builder, Rarity); + EquipmentExcel.AddEquipmentCategory(builder, EquipmentCategory); EquipmentExcel.AddWear(builder, Wear); return EquipmentExcel.EndEquipmentExcel(builder); } public static void StartEquipmentExcel(FlatBufferBuilder builder) { builder.StartTable(19); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddEquipmentCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory_) { builder.AddInt(1, (int)equipmentCategory_, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } + public static void AddEquipmentCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory) { builder.AddInt(1, (int)equipmentCategory, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(3, localizeEtcId, 0); } public static void AddWear(FlatBufferBuilder builder, bool wear) { builder.AddBool(4, wear, false); } public static void AddMaxLevel(FlatBufferBuilder builder, int maxLevel) { builder.AddInt(5, maxLevel, 0); } @@ -151,8 +151,8 @@ public struct EquipmentExcel : IFlatbufferObject public void UnPackTo(EquipmentExcelT _o) { byte[] key = TableEncryptionService.CreateKey("Equipment"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.EquipmentCategory_ = TableEncryptionService.Convert(this.EquipmentCategory_, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.EquipmentCategory = TableEncryptionService.Convert(this.EquipmentCategory, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.Wear = TableEncryptionService.Convert(this.Wear, key); _o.MaxLevel = TableEncryptionService.Convert(this.MaxLevel, key); @@ -189,8 +189,8 @@ public struct EquipmentExcel : IFlatbufferObject return CreateEquipmentExcel( builder, _o.Id, - _o.EquipmentCategory_, - _o.Rarity_, + _o.EquipmentCategory, + _o.Rarity, _o.LocalizeEtcId, _o.Wear, _o.MaxLevel, @@ -213,8 +213,8 @@ public struct EquipmentExcel : IFlatbufferObject public class EquipmentExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public uint LocalizeEtcId { get; set; } public bool Wear { get; set; } public int MaxLevel { get; set; } @@ -234,8 +234,8 @@ public class EquipmentExcelT public EquipmentExcelT() { this.Id = 0; - this.EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.LocalizeEtcId = 0; this.Wear = false; this.MaxLevel = 0; @@ -262,8 +262,8 @@ static public class EquipmentExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EquipmentCategory_*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EquipmentCategory*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 10 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 12 /*Wear*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 14 /*MaxLevel*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/EquipmentStatExcel.cs b/SCHALE.Common/FlatData/EquipmentStatExcel.cs index c903520..671da4f 100644 --- a/SCHALE.Common/FlatData/EquipmentStatExcel.cs +++ b/SCHALE.Common/FlatData/EquipmentStatExcel.cs @@ -21,7 +21,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public EquipmentStatExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EquipmentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.StatLevelUpType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StatLevelUpType.Standard; } } public SCHALE.Common.FlatData.EquipmentOptionType StatType(int j) { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EquipmentOptionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.EquipmentOptionType)0; } public int StatTypeLength { get { int o = __p.__offset(8); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -50,7 +50,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public long LevelUpFeedExp { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.CurrencyTypes)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CurrencyTypes.Invalid; } } public long LevelUpFeedCostAmount { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } + public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.EquipmentCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EquipmentCategory.Unable; } } public long LevelUpFeedAddExp { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int DefaultMaxLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int TranscendenceMax { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -64,7 +64,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public static Offset CreateEquipmentStatExcel(FlatBufferBuilder builder, long EquipmentId = 0, - SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard, + SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard, VectorOffset StatTypeOffset = default(VectorOffset), VectorOffset MinStatOffset = default(VectorOffset), VectorOffset MaxStatOffset = default(VectorOffset), @@ -72,7 +72,7 @@ public struct EquipmentStatExcel : IFlatbufferObject long LevelUpFeedExp = 0, SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid, long LevelUpFeedCostAmount = 0, - SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable, + SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable, long LevelUpFeedAddExp = 0, int DefaultMaxLevel = 0, int TranscendenceMax = 0, @@ -85,19 +85,19 @@ public struct EquipmentStatExcel : IFlatbufferObject EquipmentStatExcel.AddDamageFactorGroupId(builder, DamageFactorGroupIdOffset); EquipmentStatExcel.AddTranscendenceMax(builder, TranscendenceMax); EquipmentStatExcel.AddDefaultMaxLevel(builder, DefaultMaxLevel); - EquipmentStatExcel.AddEquipmentCategory_(builder, EquipmentCategory_); + EquipmentStatExcel.AddEquipmentCategory(builder, EquipmentCategory); EquipmentStatExcel.AddLevelUpFeedCostCurrency(builder, LevelUpFeedCostCurrency); EquipmentStatExcel.AddLevelUpInsertLimit(builder, LevelUpInsertLimit); EquipmentStatExcel.AddMaxStat(builder, MaxStatOffset); EquipmentStatExcel.AddMinStat(builder, MinStatOffset); EquipmentStatExcel.AddStatType(builder, StatTypeOffset); - EquipmentStatExcel.AddStatLevelUpType_(builder, StatLevelUpType_); + EquipmentStatExcel.AddStatLevelUpType(builder, StatLevelUpType); return EquipmentStatExcel.EndEquipmentStatExcel(builder); } public static void StartEquipmentStatExcel(FlatBufferBuilder builder) { builder.StartTable(14); } public static void AddEquipmentId(FlatBufferBuilder builder, long equipmentId) { builder.AddLong(0, equipmentId, 0); } - public static void AddStatLevelUpType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType_) { builder.AddInt(1, (int)statLevelUpType_, 0); } + public static void AddStatLevelUpType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StatLevelUpType statLevelUpType) { builder.AddInt(1, (int)statLevelUpType, 0); } public static void AddStatType(FlatBufferBuilder builder, VectorOffset statTypeOffset) { builder.AddOffset(2, statTypeOffset.Value, 0); } public static VectorOffset CreateStatTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateStatTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentOptionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -120,7 +120,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public static void AddLevelUpFeedExp(FlatBufferBuilder builder, long levelUpFeedExp) { builder.AddLong(6, levelUpFeedExp, 0); } public static void AddLevelUpFeedCostCurrency(FlatBufferBuilder builder, SCHALE.Common.FlatData.CurrencyTypes levelUpFeedCostCurrency) { builder.AddInt(7, (int)levelUpFeedCostCurrency, 0); } public static void AddLevelUpFeedCostAmount(FlatBufferBuilder builder, long levelUpFeedCostAmount) { builder.AddLong(8, levelUpFeedCostAmount, 0); } - public static void AddEquipmentCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory_) { builder.AddInt(9, (int)equipmentCategory_, 0); } + public static void AddEquipmentCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.EquipmentCategory equipmentCategory) { builder.AddInt(9, (int)equipmentCategory, 0); } public static void AddLevelUpFeedAddExp(FlatBufferBuilder builder, long levelUpFeedAddExp) { builder.AddLong(10, levelUpFeedAddExp, 0); } public static void AddDefaultMaxLevel(FlatBufferBuilder builder, int defaultMaxLevel) { builder.AddInt(11, defaultMaxLevel, 0); } public static void AddTranscendenceMax(FlatBufferBuilder builder, int transcendenceMax) { builder.AddInt(12, transcendenceMax, 0); } @@ -137,7 +137,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public void UnPackTo(EquipmentStatExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EquipmentStat"); _o.EquipmentId = TableEncryptionService.Convert(this.EquipmentId, key); - _o.StatLevelUpType_ = TableEncryptionService.Convert(this.StatLevelUpType_, key); + _o.StatLevelUpType = TableEncryptionService.Convert(this.StatLevelUpType, key); _o.StatType = new List(); for (var _j = 0; _j < this.StatTypeLength; ++_j) {_o.StatType.Add(TableEncryptionService.Convert(this.StatType(_j), key));} _o.MinStat = new List(); @@ -148,7 +148,7 @@ public struct EquipmentStatExcel : IFlatbufferObject _o.LevelUpFeedExp = TableEncryptionService.Convert(this.LevelUpFeedExp, key); _o.LevelUpFeedCostCurrency = TableEncryptionService.Convert(this.LevelUpFeedCostCurrency, key); _o.LevelUpFeedCostAmount = TableEncryptionService.Convert(this.LevelUpFeedCostAmount, key); - _o.EquipmentCategory_ = TableEncryptionService.Convert(this.EquipmentCategory_, key); + _o.EquipmentCategory = TableEncryptionService.Convert(this.EquipmentCategory, key); _o.LevelUpFeedAddExp = TableEncryptionService.Convert(this.LevelUpFeedAddExp, key); _o.DefaultMaxLevel = TableEncryptionService.Convert(this.DefaultMaxLevel, key); _o.TranscendenceMax = TableEncryptionService.Convert(this.TranscendenceMax, key); @@ -175,7 +175,7 @@ public struct EquipmentStatExcel : IFlatbufferObject return CreateEquipmentStatExcel( builder, _o.EquipmentId, - _o.StatLevelUpType_, + _o.StatLevelUpType, _StatType, _MinStat, _MaxStat, @@ -183,7 +183,7 @@ public struct EquipmentStatExcel : IFlatbufferObject _o.LevelUpFeedExp, _o.LevelUpFeedCostCurrency, _o.LevelUpFeedCostAmount, - _o.EquipmentCategory_, + _o.EquipmentCategory, _o.LevelUpFeedAddExp, _o.DefaultMaxLevel, _o.TranscendenceMax, @@ -194,7 +194,7 @@ public struct EquipmentStatExcel : IFlatbufferObject public class EquipmentStatExcelT { public long EquipmentId { get; set; } - public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType_ { get; set; } + public SCHALE.Common.FlatData.StatLevelUpType StatLevelUpType { get; set; } public List StatType { get; set; } public List MinStat { get; set; } public List MaxStat { get; set; } @@ -202,7 +202,7 @@ public class EquipmentStatExcelT public long LevelUpFeedExp { get; set; } public SCHALE.Common.FlatData.CurrencyTypes LevelUpFeedCostCurrency { get; set; } public long LevelUpFeedCostAmount { get; set; } - public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory_ { get; set; } + public SCHALE.Common.FlatData.EquipmentCategory EquipmentCategory { get; set; } public long LevelUpFeedAddExp { get; set; } public int DefaultMaxLevel { get; set; } public int TranscendenceMax { get; set; } @@ -210,7 +210,7 @@ public class EquipmentStatExcelT public EquipmentStatExcelT() { this.EquipmentId = 0; - this.StatLevelUpType_ = SCHALE.Common.FlatData.StatLevelUpType.Standard; + this.StatLevelUpType = SCHALE.Common.FlatData.StatLevelUpType.Standard; this.StatType = null; this.MinStat = null; this.MaxStat = null; @@ -218,7 +218,7 @@ public class EquipmentStatExcelT this.LevelUpFeedExp = 0; this.LevelUpFeedCostCurrency = SCHALE.Common.FlatData.CurrencyTypes.Invalid; this.LevelUpFeedCostAmount = 0; - this.EquipmentCategory_ = SCHALE.Common.FlatData.EquipmentCategory.Unable; + this.EquipmentCategory = SCHALE.Common.FlatData.EquipmentCategory.Unable; this.LevelUpFeedAddExp = 0; this.DefaultMaxLevel = 0; this.TranscendenceMax = 0; @@ -233,7 +233,7 @@ static public class EquipmentStatExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EquipmentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*StatLevelUpType_*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*StatLevelUpType*/, 4 /*SCHALE.Common.FlatData.StatLevelUpType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 8 /*StatType*/, 4 /*SCHALE.Common.FlatData.EquipmentOptionType*/, false) && verifier.VerifyVectorOfData(tablePos, 10 /*MinStat*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*MaxStat*/, 8 /*long*/, false) @@ -241,7 +241,7 @@ static public class EquipmentStatExcelVerify && verifier.VerifyField(tablePos, 16 /*LevelUpFeedExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*LevelUpFeedCostCurrency*/, 4 /*SCHALE.Common.FlatData.CurrencyTypes*/, 4, false) && verifier.VerifyField(tablePos, 20 /*LevelUpFeedCostAmount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 22 /*EquipmentCategory_*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*EquipmentCategory*/, 4 /*SCHALE.Common.FlatData.EquipmentCategory*/, 4, false) && verifier.VerifyField(tablePos, 24 /*LevelUpFeedAddExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*DefaultMaxLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 28 /*TranscendenceMax*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/EventContentCardShopExcel.cs b/SCHALE.Common/FlatData/EventContentCardShopExcel.cs index 93b0f2a..ca3586f 100644 --- a/SCHALE.Common/FlatData/EventContentCardShopExcel.cs +++ b/SCHALE.Common/FlatData/EventContentCardShopExcel.cs @@ -22,7 +22,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Id { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public long CostGoodsId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int CardGroupId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public bool IsLegacy { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -57,7 +57,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject public static Offset CreateEventContentCardShopExcel(FlatBufferBuilder builder, long EventContentId = 0, long Id = 0, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, long CostGoodsId = 0, int CardGroupId = 0, bool IsLegacy = false, @@ -78,7 +78,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject EventContentCardShopExcel.AddProb(builder, Prob); EventContentCardShopExcel.AddRefreshGroup(builder, RefreshGroup); EventContentCardShopExcel.AddCardGroupId(builder, CardGroupId); - EventContentCardShopExcel.AddRarity_(builder, Rarity_); + EventContentCardShopExcel.AddRarity(builder, Rarity); EventContentCardShopExcel.AddIsLegacy(builder, IsLegacy); return EventContentCardShopExcel.EndEventContentCardShopExcel(builder); } @@ -86,7 +86,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject public static void StartEventContentCardShopExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(1, id, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } public static void AddCostGoodsId(FlatBufferBuilder builder, long costGoodsId) { builder.AddLong(3, costGoodsId, 0); } public static void AddCardGroupId(FlatBufferBuilder builder, int cardGroupId) { builder.AddInt(4, cardGroupId, 0); } public static void AddIsLegacy(FlatBufferBuilder builder, bool isLegacy) { builder.AddBool(5, isLegacy, false); } @@ -124,7 +124,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("EventContentCardShop"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.CostGoodsId = TableEncryptionService.Convert(this.CostGoodsId, key); _o.CardGroupId = TableEncryptionService.Convert(this.CardGroupId, key); _o.IsLegacy = TableEncryptionService.Convert(this.IsLegacy, key); @@ -159,7 +159,7 @@ public struct EventContentCardShopExcel : IFlatbufferObject builder, _o.EventContentId, _o.Id, - _o.Rarity_, + _o.Rarity, _o.CostGoodsId, _o.CardGroupId, _o.IsLegacy, @@ -176,7 +176,7 @@ public class EventContentCardShopExcelT { public long EventContentId { get; set; } public long Id { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public long CostGoodsId { get; set; } public int CardGroupId { get; set; } public bool IsLegacy { get; set; } @@ -190,7 +190,7 @@ public class EventContentCardShopExcelT public EventContentCardShopExcelT() { this.EventContentId = 0; this.Id = 0; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.CostGoodsId = 0; this.CardGroupId = 0; this.IsLegacy = false; @@ -211,7 +211,7 @@ static public class EventContentCardShopExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 10 /*CostGoodsId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*CardGroupId*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*IsLegacy*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/EventContentCollectionExcel.cs b/SCHALE.Common/FlatData/EventContentCollectionExcel.cs index 31fd718..7ac4631 100644 --- a/SCHALE.Common/FlatData/EventContentCollectionExcel.cs +++ b/SCHALE.Common/FlatData/EventContentCollectionExcel.cs @@ -32,7 +32,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject public ArraySegment? GetUnlockConditionParameterBytes() { return __p.__vector_as_arraysegment(12); } #endif public long[] GetUnlockConditionParameterArray() { return __p.__vector_as_array(12); } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } public long UnlockConditionCount { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool IsObject { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsObjectOnFullResource { get { int o = __p.__offset(20); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -73,7 +73,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject long GroupId = 0, SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None, VectorOffset UnlockConditionParameterOffset = default(VectorOffset), - SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And, + SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And, long UnlockConditionCount = 0, bool IsObject = false, bool IsObjectOnFullResource = false, @@ -93,7 +93,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject EventContentCollectionExcel.AddFullResource(builder, FullResourceOffset); EventContentCollectionExcel.AddThumbResource(builder, ThumbResourceOffset); EventContentCollectionExcel.AddEmblemResource(builder, EmblemResourceOffset); - EventContentCollectionExcel.AddMultipleConditionCheckType_(builder, MultipleConditionCheckType_); + EventContentCollectionExcel.AddMultipleConditionCheckType(builder, MultipleConditionCheckType); EventContentCollectionExcel.AddUnlockConditionParameter(builder, UnlockConditionParameterOffset); EventContentCollectionExcel.AddUnlockConditionType(builder, UnlockConditionType); EventContentCollectionExcel.AddIsHorizon(builder, IsHorizon); @@ -113,7 +113,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartUnlockConditionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddMultipleConditionCheckType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType_) { builder.AddInt(5, (int)multipleConditionCheckType_, 0); } + public static void AddMultipleConditionCheckType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType) { builder.AddInt(5, (int)multipleConditionCheckType, 0); } public static void AddUnlockConditionCount(FlatBufferBuilder builder, long unlockConditionCount) { builder.AddLong(6, unlockConditionCount, 0); } public static void AddIsObject(FlatBufferBuilder builder, bool isObject) { builder.AddBool(7, isObject, false); } public static void AddIsObjectOnFullResource(FlatBufferBuilder builder, bool isObjectOnFullResource) { builder.AddBool(8, isObjectOnFullResource, false); } @@ -140,7 +140,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject _o.UnlockConditionType = TableEncryptionService.Convert(this.UnlockConditionType, key); _o.UnlockConditionParameter = new List(); for (var _j = 0; _j < this.UnlockConditionParameterLength; ++_j) {_o.UnlockConditionParameter.Add(TableEncryptionService.Convert(this.UnlockConditionParameter(_j), key));} - _o.MultipleConditionCheckType_ = TableEncryptionService.Convert(this.MultipleConditionCheckType_, key); + _o.MultipleConditionCheckType = TableEncryptionService.Convert(this.MultipleConditionCheckType, key); _o.UnlockConditionCount = TableEncryptionService.Convert(this.UnlockConditionCount, key); _o.IsObject = TableEncryptionService.Convert(this.IsObject, key); _o.IsObjectOnFullResource = TableEncryptionService.Convert(this.IsObjectOnFullResource, key); @@ -169,7 +169,7 @@ public struct EventContentCollectionExcel : IFlatbufferObject _o.GroupId, _o.UnlockConditionType, _UnlockConditionParameter, - _o.MultipleConditionCheckType_, + _o.MultipleConditionCheckType, _o.UnlockConditionCount, _o.IsObject, _o.IsObjectOnFullResource, @@ -189,7 +189,7 @@ public class EventContentCollectionExcelT public long GroupId { get; set; } public SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType { get; set; } public List UnlockConditionParameter { get; set; } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get; set; } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get; set; } public long UnlockConditionCount { get; set; } public bool IsObject { get; set; } public bool IsObjectOnFullResource { get; set; } @@ -206,7 +206,7 @@ public class EventContentCollectionExcelT this.GroupId = 0; this.UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None; this.UnlockConditionParameter = null; - this.MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And; + this.MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And; this.UnlockConditionCount = 0; this.IsObject = false; this.IsObjectOnFullResource = false; @@ -230,7 +230,7 @@ static public class EventContentCollectionExcelVerify && verifier.VerifyField(tablePos, 8 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*UnlockConditionType*/, 4 /*SCHALE.Common.FlatData.CollectionUnlockType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 12 /*UnlockConditionParameter*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 14 /*MultipleConditionCheckType_*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*MultipleConditionCheckType*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*UnlockConditionCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*IsObject*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 20 /*IsObjectOnFullResource*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/EventContentCurrencyItemExcel.cs b/SCHALE.Common/FlatData/EventContentCurrencyItemExcel.cs index b615790..fc7bf8f 100644 --- a/SCHALE.Common/FlatData/EventContentCurrencyItemExcel.cs +++ b/SCHALE.Common/FlatData/EventContentCurrencyItemExcel.cs @@ -21,23 +21,23 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject public EventContentCurrencyItemExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } + public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } public long ItemUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateEventContentCurrencyItemExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint, + SCHALE.Common.FlatData.EventContentItemType EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint, long ItemUniqueId = 0) { builder.StartTable(3); EventContentCurrencyItemExcel.AddItemUniqueId(builder, ItemUniqueId); EventContentCurrencyItemExcel.AddEventContentId(builder, EventContentId); - EventContentCurrencyItemExcel.AddEventContentItemType_(builder, EventContentItemType_); + EventContentCurrencyItemExcel.AddEventContentItemType(builder, EventContentItemType); return EventContentCurrencyItemExcel.EndEventContentCurrencyItemExcel(builder); } public static void StartEventContentCurrencyItemExcel(FlatBufferBuilder builder) { builder.StartTable(3); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddEventContentItemType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType_) { builder.AddInt(1, (int)eventContentItemType_, 0); } + public static void AddEventContentItemType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType) { builder.AddInt(1, (int)eventContentItemType, 0); } public static void AddItemUniqueId(FlatBufferBuilder builder, long itemUniqueId) { builder.AddLong(2, itemUniqueId, 0); } public static Offset EndEventContentCurrencyItemExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -51,7 +51,7 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject public void UnPackTo(EventContentCurrencyItemExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentCurrencyItem"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentItemType_ = TableEncryptionService.Convert(this.EventContentItemType_, key); + _o.EventContentItemType = TableEncryptionService.Convert(this.EventContentItemType, key); _o.ItemUniqueId = TableEncryptionService.Convert(this.ItemUniqueId, key); } public static Offset Pack(FlatBufferBuilder builder, EventContentCurrencyItemExcelT _o) { @@ -59,7 +59,7 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject return CreateEventContentCurrencyItemExcel( builder, _o.EventContentId, - _o.EventContentItemType_, + _o.EventContentItemType, _o.ItemUniqueId); } } @@ -67,12 +67,12 @@ public struct EventContentCurrencyItemExcel : IFlatbufferObject public class EventContentCurrencyItemExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get; set; } + public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get; set; } public long ItemUniqueId { get; set; } public EventContentCurrencyItemExcelT() { this.EventContentId = 0; - this.EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint; + this.EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint; this.ItemUniqueId = 0; } } @@ -84,7 +84,7 @@ static public class EventContentCurrencyItemExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EventContentItemType_*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EventContentItemType*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ItemUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/EventContentDebuffRewardExcel.cs b/SCHALE.Common/FlatData/EventContentDebuffRewardExcel.cs index e0f7995..1d9596d 100644 --- a/SCHALE.Common/FlatData/EventContentDebuffRewardExcel.cs +++ b/SCHALE.Common/FlatData/EventContentDebuffRewardExcel.cs @@ -22,26 +22,26 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventStageId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } + public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentItemType.EventPoint; } } public long RewardPercentage { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateEventContentDebuffRewardExcel(FlatBufferBuilder builder, long EventContentId = 0, long EventStageId = 0, - SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint, + SCHALE.Common.FlatData.EventContentItemType EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint, long RewardPercentage = 0) { builder.StartTable(4); EventContentDebuffRewardExcel.AddRewardPercentage(builder, RewardPercentage); EventContentDebuffRewardExcel.AddEventStageId(builder, EventStageId); EventContentDebuffRewardExcel.AddEventContentId(builder, EventContentId); - EventContentDebuffRewardExcel.AddEventContentItemType_(builder, EventContentItemType_); + EventContentDebuffRewardExcel.AddEventContentItemType(builder, EventContentItemType); return EventContentDebuffRewardExcel.EndEventContentDebuffRewardExcel(builder); } public static void StartEventContentDebuffRewardExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEventStageId(FlatBufferBuilder builder, long eventStageId) { builder.AddLong(1, eventStageId, 0); } - public static void AddEventContentItemType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType_) { builder.AddInt(2, (int)eventContentItemType_, 0); } + public static void AddEventContentItemType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentItemType eventContentItemType) { builder.AddInt(2, (int)eventContentItemType, 0); } public static void AddRewardPercentage(FlatBufferBuilder builder, long rewardPercentage) { builder.AddLong(3, rewardPercentage, 0); } public static Offset EndEventContentDebuffRewardExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -56,7 +56,7 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("EventContentDebuffReward"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EventStageId = TableEncryptionService.Convert(this.EventStageId, key); - _o.EventContentItemType_ = TableEncryptionService.Convert(this.EventContentItemType_, key); + _o.EventContentItemType = TableEncryptionService.Convert(this.EventContentItemType, key); _o.RewardPercentage = TableEncryptionService.Convert(this.RewardPercentage, key); } public static Offset Pack(FlatBufferBuilder builder, EventContentDebuffRewardExcelT _o) { @@ -65,7 +65,7 @@ public struct EventContentDebuffRewardExcel : IFlatbufferObject builder, _o.EventContentId, _o.EventStageId, - _o.EventContentItemType_, + _o.EventContentItemType, _o.RewardPercentage); } } @@ -74,13 +74,13 @@ public class EventContentDebuffRewardExcelT { public long EventContentId { get; set; } public long EventStageId { get; set; } - public SCHALE.Common.FlatData.EventContentItemType EventContentItemType_ { get; set; } + public SCHALE.Common.FlatData.EventContentItemType EventContentItemType { get; set; } public long RewardPercentage { get; set; } public EventContentDebuffRewardExcelT() { this.EventContentId = 0; this.EventStageId = 0; - this.EventContentItemType_ = SCHALE.Common.FlatData.EventContentItemType.EventPoint; + this.EventContentItemType = SCHALE.Common.FlatData.EventContentItemType.EventPoint; this.RewardPercentage = 0; } } @@ -93,7 +93,7 @@ static public class EventContentDebuffRewardExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EventStageId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*EventContentItemType_*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*EventContentItemType*/, 4 /*SCHALE.Common.FlatData.EventContentItemType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardPercentage*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/EventContentDiceRaceEffectExcel.cs b/SCHALE.Common/FlatData/EventContentDiceRaceEffectExcel.cs index ae8357a..ec21e3e 100644 --- a/SCHALE.Common/FlatData/EventContentDiceRaceEffectExcel.cs +++ b/SCHALE.Common/FlatData/EventContentDiceRaceEffectExcel.cs @@ -21,7 +21,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject public EventContentDiceRaceEffectExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } + public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } public bool IsDiceResult { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public string AniClip { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -41,7 +41,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject public static Offset CreateEventContentDiceRaceEffectExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, + SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, bool IsDiceResult = false, StringOffset AniClipOffset = default(StringOffset), VectorOffset VoiceIdOffset = default(VectorOffset)) { @@ -49,14 +49,14 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject EventContentDiceRaceEffectExcel.AddEventContentId(builder, EventContentId); EventContentDiceRaceEffectExcel.AddVoiceId(builder, VoiceIdOffset); EventContentDiceRaceEffectExcel.AddAniClip(builder, AniClipOffset); - EventContentDiceRaceEffectExcel.AddEventContentDiceRaceResultType_(builder, EventContentDiceRaceResultType_); + EventContentDiceRaceEffectExcel.AddEventContentDiceRaceResultType(builder, EventContentDiceRaceResultType); EventContentDiceRaceEffectExcel.AddIsDiceResult(builder, IsDiceResult); return EventContentDiceRaceEffectExcel.EndEventContentDiceRaceEffectExcel(builder); } public static void StartEventContentDiceRaceEffectExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddEventContentDiceRaceResultType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType_) { builder.AddInt(1, (int)eventContentDiceRaceResultType_, 0); } + public static void AddEventContentDiceRaceResultType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType) { builder.AddInt(1, (int)eventContentDiceRaceResultType, 0); } public static void AddIsDiceResult(FlatBufferBuilder builder, bool isDiceResult) { builder.AddBool(2, isDiceResult, false); } public static void AddAniClip(FlatBufferBuilder builder, StringOffset aniClipOffset) { builder.AddOffset(3, aniClipOffset.Value, 0); } public static void AddVoiceId(FlatBufferBuilder builder, VectorOffset voiceIdOffset) { builder.AddOffset(4, voiceIdOffset.Value, 0); } @@ -77,7 +77,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject public void UnPackTo(EventContentDiceRaceEffectExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceEffect"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentDiceRaceResultType_ = TableEncryptionService.Convert(this.EventContentDiceRaceResultType_, key); + _o.EventContentDiceRaceResultType = TableEncryptionService.Convert(this.EventContentDiceRaceResultType, key); _o.IsDiceResult = TableEncryptionService.Convert(this.IsDiceResult, key); _o.AniClip = TableEncryptionService.Convert(this.AniClip, key); _o.VoiceId = new List(); @@ -94,7 +94,7 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject return CreateEventContentDiceRaceEffectExcel( builder, _o.EventContentId, - _o.EventContentDiceRaceResultType_, + _o.EventContentDiceRaceResultType, _o.IsDiceResult, _AniClip, _VoiceId); @@ -104,14 +104,14 @@ public struct EventContentDiceRaceEffectExcel : IFlatbufferObject public class EventContentDiceRaceEffectExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get; set; } + public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get; set; } public bool IsDiceResult { get; set; } public string AniClip { get; set; } public List VoiceId { get; set; } public EventContentDiceRaceEffectExcelT() { this.EventContentId = 0; - this.EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; + this.EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; this.IsDiceResult = false; this.AniClip = null; this.VoiceId = null; @@ -125,7 +125,7 @@ static public class EventContentDiceRaceEffectExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*IsDiceResult*/, 1 /*bool*/, 1, false) && verifier.VerifyString(tablePos, 10 /*AniClip*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*VoiceId*/, 4 /*uint*/, false) diff --git a/SCHALE.Common/FlatData/EventContentDiceRaceNodeExcel.cs b/SCHALE.Common/FlatData/EventContentDiceRaceNodeExcel.cs index 8979cf3..39a99ef 100644 --- a/SCHALE.Common/FlatData/EventContentDiceRaceNodeExcel.cs +++ b/SCHALE.Common/FlatData/EventContentDiceRaceNodeExcel.cs @@ -22,7 +22,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long NodeId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; } } + public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceNodeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; } } public int MoveForwardTypeArg { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public int RewardParcelTypeLength { get { int o = __p.__offset(12); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -52,7 +52,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject public static Offset CreateEventContentDiceRaceNodeExcel(FlatBufferBuilder builder, long EventContentId = 0, long NodeId = 0, - SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode, + SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode, int MoveForwardTypeArg = 0, VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset), @@ -64,14 +64,14 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject EventContentDiceRaceNodeExcel.AddRewardParcelId(builder, RewardParcelIdOffset); EventContentDiceRaceNodeExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); EventContentDiceRaceNodeExcel.AddMoveForwardTypeArg(builder, MoveForwardTypeArg); - EventContentDiceRaceNodeExcel.AddEventContentDiceRaceNodeType_(builder, EventContentDiceRaceNodeType_); + EventContentDiceRaceNodeExcel.AddEventContentDiceRaceNodeType(builder, EventContentDiceRaceNodeType); return EventContentDiceRaceNodeExcel.EndEventContentDiceRaceNodeExcel(builder); } public static void StartEventContentDiceRaceNodeExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddNodeId(FlatBufferBuilder builder, long nodeId) { builder.AddLong(1, nodeId, 0); } - public static void AddEventContentDiceRaceNodeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceNodeType eventContentDiceRaceNodeType_) { builder.AddInt(2, (int)eventContentDiceRaceNodeType_, 0); } + public static void AddEventContentDiceRaceNodeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceNodeType eventContentDiceRaceNodeType) { builder.AddInt(2, (int)eventContentDiceRaceNodeType, 0); } public static void AddMoveForwardTypeArg(FlatBufferBuilder builder, int moveForwardTypeArg) { builder.AddInt(3, moveForwardTypeArg, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(4, rewardParcelTypeOffset.Value, 0); } public static VectorOffset CreateRewardParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } @@ -104,7 +104,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceNode"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.NodeId = TableEncryptionService.Convert(this.NodeId, key); - _o.EventContentDiceRaceNodeType_ = TableEncryptionService.Convert(this.EventContentDiceRaceNodeType_, key); + _o.EventContentDiceRaceNodeType = TableEncryptionService.Convert(this.EventContentDiceRaceNodeType, key); _o.MoveForwardTypeArg = TableEncryptionService.Convert(this.MoveForwardTypeArg, key); _o.RewardParcelType = new List(); for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));} @@ -134,7 +134,7 @@ public struct EventContentDiceRaceNodeExcel : IFlatbufferObject builder, _o.EventContentId, _o.NodeId, - _o.EventContentDiceRaceNodeType_, + _o.EventContentDiceRaceNodeType, _o.MoveForwardTypeArg, _RewardParcelType, _RewardParcelId, @@ -146,7 +146,7 @@ public class EventContentDiceRaceNodeExcelT { public long EventContentId { get; set; } public long NodeId { get; set; } - public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType_ { get; set; } + public SCHALE.Common.FlatData.EventContentDiceRaceNodeType EventContentDiceRaceNodeType { get; set; } public int MoveForwardTypeArg { get; set; } public List RewardParcelType { get; set; } public List RewardParcelId { get; set; } @@ -155,7 +155,7 @@ public class EventContentDiceRaceNodeExcelT public EventContentDiceRaceNodeExcelT() { this.EventContentId = 0; this.NodeId = 0; - this.EventContentDiceRaceNodeType_ = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; + this.EventContentDiceRaceNodeType = SCHALE.Common.FlatData.EventContentDiceRaceNodeType.StartNode; this.MoveForwardTypeArg = 0; this.RewardParcelType = null; this.RewardParcelId = null; @@ -171,7 +171,7 @@ static public class EventContentDiceRaceNodeExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*NodeId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*EventContentDiceRaceNodeType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceNodeType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*EventContentDiceRaceNodeType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceNodeType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*MoveForwardTypeArg*/, 4 /*int*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelId*/, 8 /*long*/, false) diff --git a/SCHALE.Common/FlatData/EventContentDiceRaceProbExcel.cs b/SCHALE.Common/FlatData/EventContentDiceRaceProbExcel.cs index d35e91a..05472ad 100644 --- a/SCHALE.Common/FlatData/EventContentDiceRaceProbExcel.cs +++ b/SCHALE.Common/FlatData/EventContentDiceRaceProbExcel.cs @@ -21,7 +21,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject public EventContentDiceRaceProbExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } + public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentDiceRaceResultType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; } } public long CostItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int CostItemAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int DiceResult { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -29,7 +29,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject public static Offset CreateEventContentDiceRaceProbExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, + SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1, long CostItemId = 0, int CostItemAmount = 0, int DiceResult = 0, @@ -40,13 +40,13 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject EventContentDiceRaceProbExcel.AddProb(builder, Prob); EventContentDiceRaceProbExcel.AddDiceResult(builder, DiceResult); EventContentDiceRaceProbExcel.AddCostItemAmount(builder, CostItemAmount); - EventContentDiceRaceProbExcel.AddEventContentDiceRaceResultType_(builder, EventContentDiceRaceResultType_); + EventContentDiceRaceProbExcel.AddEventContentDiceRaceResultType(builder, EventContentDiceRaceResultType); return EventContentDiceRaceProbExcel.EndEventContentDiceRaceProbExcel(builder); } public static void StartEventContentDiceRaceProbExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddEventContentDiceRaceResultType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType_) { builder.AddInt(1, (int)eventContentDiceRaceResultType_, 0); } + public static void AddEventContentDiceRaceResultType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentDiceRaceResultType eventContentDiceRaceResultType) { builder.AddInt(1, (int)eventContentDiceRaceResultType, 0); } public static void AddCostItemId(FlatBufferBuilder builder, long costItemId) { builder.AddLong(2, costItemId, 0); } public static void AddCostItemAmount(FlatBufferBuilder builder, int costItemAmount) { builder.AddInt(3, costItemAmount, 0); } public static void AddDiceResult(FlatBufferBuilder builder, int diceResult) { builder.AddInt(4, diceResult, 0); } @@ -63,7 +63,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject public void UnPackTo(EventContentDiceRaceProbExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentDiceRaceProb"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentDiceRaceResultType_ = TableEncryptionService.Convert(this.EventContentDiceRaceResultType_, key); + _o.EventContentDiceRaceResultType = TableEncryptionService.Convert(this.EventContentDiceRaceResultType, key); _o.CostItemId = TableEncryptionService.Convert(this.CostItemId, key); _o.CostItemAmount = TableEncryptionService.Convert(this.CostItemAmount, key); _o.DiceResult = TableEncryptionService.Convert(this.DiceResult, key); @@ -74,7 +74,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject return CreateEventContentDiceRaceProbExcel( builder, _o.EventContentId, - _o.EventContentDiceRaceResultType_, + _o.EventContentDiceRaceResultType, _o.CostItemId, _o.CostItemAmount, _o.DiceResult, @@ -85,7 +85,7 @@ public struct EventContentDiceRaceProbExcel : IFlatbufferObject public class EventContentDiceRaceProbExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType_ { get; set; } + public SCHALE.Common.FlatData.EventContentDiceRaceResultType EventContentDiceRaceResultType { get; set; } public long CostItemId { get; set; } public int CostItemAmount { get; set; } public int DiceResult { get; set; } @@ -93,7 +93,7 @@ public class EventContentDiceRaceProbExcelT public EventContentDiceRaceProbExcelT() { this.EventContentId = 0; - this.EventContentDiceRaceResultType_ = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; + this.EventContentDiceRaceResultType = SCHALE.Common.FlatData.EventContentDiceRaceResultType.DiceResult1; this.CostItemId = 0; this.CostItemAmount = 0; this.DiceResult = 0; @@ -108,7 +108,7 @@ static public class EventContentDiceRaceProbExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType_*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EventContentDiceRaceResultType*/, 4 /*SCHALE.Common.FlatData.EventContentDiceRaceResultType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*CostItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*CostItemAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*DiceResult*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/EventContentLobbyMenuExcel.cs b/SCHALE.Common/FlatData/EventContentLobbyMenuExcel.cs index 9883372..f70fd07 100644 --- a/SCHALE.Common/FlatData/EventContentLobbyMenuExcel.cs +++ b/SCHALE.Common/FlatData/EventContentLobbyMenuExcel.cs @@ -21,7 +21,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject public EventContentLobbyMenuExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } + public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public string IconSpriteName { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetIconSpriteNameBytes() { return __p.__vector_as_span(8, 1); } @@ -49,7 +49,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject public static Offset CreateEventContentLobbyMenuExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, + SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage, StringOffset IconSpriteNameOffset = default(StringOffset), StringOffset ButtonTextOffset = default(StringOffset), int DisplayOrder = 0, @@ -64,13 +64,13 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject EventContentLobbyMenuExcel.AddDisplayOrder(builder, DisplayOrder); EventContentLobbyMenuExcel.AddButtonText(builder, ButtonTextOffset); EventContentLobbyMenuExcel.AddIconSpriteName(builder, IconSpriteNameOffset); - EventContentLobbyMenuExcel.AddEventContentType_(builder, EventContentType_); + EventContentLobbyMenuExcel.AddEventContentType(builder, EventContentType); return EventContentLobbyMenuExcel.EndEventContentLobbyMenuExcel(builder); } public static void StartEventContentLobbyMenuExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(1, (int)eventContentType_, 0); } + public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(1, (int)eventContentType, 0); } public static void AddIconSpriteName(FlatBufferBuilder builder, StringOffset iconSpriteNameOffset) { builder.AddOffset(2, iconSpriteNameOffset.Value, 0); } public static void AddButtonText(FlatBufferBuilder builder, StringOffset buttonTextOffset) { builder.AddOffset(3, buttonTextOffset.Value, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, int displayOrder) { builder.AddInt(4, displayOrder, 0); } @@ -89,7 +89,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject public void UnPackTo(EventContentLobbyMenuExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentLobbyMenu"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); + _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key); _o.IconSpriteName = TableEncryptionService.Convert(this.IconSpriteName, key); _o.ButtonText = TableEncryptionService.Convert(this.ButtonText, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); @@ -105,7 +105,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject return CreateEventContentLobbyMenuExcel( builder, _o.EventContentId, - _o.EventContentType_, + _o.EventContentType, _IconSpriteName, _ButtonText, _o.DisplayOrder, @@ -118,7 +118,7 @@ public struct EventContentLobbyMenuExcel : IFlatbufferObject public class EventContentLobbyMenuExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } + public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; } public string IconSpriteName { get; set; } public string ButtonText { get; set; } public int DisplayOrder { get; set; } @@ -128,7 +128,7 @@ public class EventContentLobbyMenuExcelT public EventContentLobbyMenuExcelT() { this.EventContentId = 0; - this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; + this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage; this.IconSpriteName = null; this.ButtonText = null; this.DisplayOrder = 0; @@ -145,7 +145,7 @@ static public class EventContentLobbyMenuExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyString(tablePos, 8 /*IconSpriteName*/, false) && verifier.VerifyString(tablePos, 10 /*ButtonText*/, false) && verifier.VerifyField(tablePos, 12 /*DisplayOrder*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/EventContentNotifyExcel.cs b/SCHALE.Common/FlatData/EventContentNotifyExcel.cs index 99ebb1f..0ce48dc 100644 --- a/SCHALE.Common/FlatData/EventContentNotifyExcel.cs +++ b/SCHALE.Common/FlatData/EventContentNotifyExcel.cs @@ -29,8 +29,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject public ArraySegment? GetIconPathBytes() { return __p.__vector_as_arraysegment(8); } #endif public byte[] GetIconPathArray() { return __p.__vector_as_array(8); } - public SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.EventNotifyType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; } } - public SCHALE.Common.FlatData.EventTargetType EventTargetType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } } + public SCHALE.Common.FlatData.EventNotifyType EventNotifyType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.EventNotifyType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; } } + public SCHALE.Common.FlatData.EventTargetType EventTargetType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } } public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.EventTargetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventTargetType.WeekDungeon; } } public bool IsShortcutEnable { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -38,14 +38,14 @@ public struct EventContentNotifyExcel : IFlatbufferObject int Id = 0, uint LocalizeEtcId = 0, StringOffset IconPathOffset = default(StringOffset), - SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent, - SCHALE.Common.FlatData.EventTargetType EventTargetType_ = SCHALE.Common.FlatData.EventTargetType.WeekDungeon, + SCHALE.Common.FlatData.EventNotifyType EventNotifyType = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent, + SCHALE.Common.FlatData.EventTargetType EventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon, SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon, bool IsShortcutEnable = false) { builder.StartTable(7); EventContentNotifyExcel.AddShortcutEventTargetType(builder, ShortcutEventTargetType); - EventContentNotifyExcel.AddEventTargetType_(builder, EventTargetType_); - EventContentNotifyExcel.AddEventNotifyType_(builder, EventNotifyType_); + EventContentNotifyExcel.AddEventTargetType(builder, EventTargetType); + EventContentNotifyExcel.AddEventNotifyType(builder, EventNotifyType); EventContentNotifyExcel.AddIconPath(builder, IconPathOffset); EventContentNotifyExcel.AddLocalizeEtcId(builder, LocalizeEtcId); EventContentNotifyExcel.AddId(builder, Id); @@ -57,8 +57,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, int id) { builder.AddInt(0, id, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(1, localizeEtcId, 0); } public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(2, iconPathOffset.Value, 0); } - public static void AddEventNotifyType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventNotifyType eventNotifyType_) { builder.AddInt(3, (int)eventNotifyType_, 0); } - public static void AddEventTargetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType eventTargetType_) { builder.AddInt(4, (int)eventTargetType_, 0); } + public static void AddEventNotifyType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventNotifyType eventNotifyType) { builder.AddInt(3, (int)eventNotifyType, 0); } + public static void AddEventTargetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType eventTargetType) { builder.AddInt(4, (int)eventTargetType, 0); } public static void AddShortcutEventTargetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventTargetType shortcutEventTargetType) { builder.AddInt(5, (int)shortcutEventTargetType, 0); } public static void AddIsShortcutEnable(FlatBufferBuilder builder, bool isShortcutEnable) { builder.AddBool(6, isShortcutEnable, false); } public static Offset EndEventContentNotifyExcel(FlatBufferBuilder builder) { @@ -75,8 +75,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); _o.IconPath = TableEncryptionService.Convert(this.IconPath, key); - _o.EventNotifyType_ = TableEncryptionService.Convert(this.EventNotifyType_, key); - _o.EventTargetType_ = TableEncryptionService.Convert(this.EventTargetType_, key); + _o.EventNotifyType = TableEncryptionService.Convert(this.EventNotifyType, key); + _o.EventTargetType = TableEncryptionService.Convert(this.EventTargetType, key); _o.ShortcutEventTargetType = TableEncryptionService.Convert(this.ShortcutEventTargetType, key); _o.IsShortcutEnable = TableEncryptionService.Convert(this.IsShortcutEnable, key); } @@ -88,8 +88,8 @@ public struct EventContentNotifyExcel : IFlatbufferObject _o.Id, _o.LocalizeEtcId, _IconPath, - _o.EventNotifyType_, - _o.EventTargetType_, + _o.EventNotifyType, + _o.EventTargetType, _o.ShortcutEventTargetType, _o.IsShortcutEnable); } @@ -100,8 +100,8 @@ public class EventContentNotifyExcelT public int Id { get; set; } public uint LocalizeEtcId { get; set; } public string IconPath { get; set; } - public SCHALE.Common.FlatData.EventNotifyType EventNotifyType_ { get; set; } - public SCHALE.Common.FlatData.EventTargetType EventTargetType_ { get; set; } + public SCHALE.Common.FlatData.EventNotifyType EventNotifyType { get; set; } + public SCHALE.Common.FlatData.EventTargetType EventTargetType { get; set; } public SCHALE.Common.FlatData.EventTargetType ShortcutEventTargetType { get; set; } public bool IsShortcutEnable { get; set; } @@ -109,8 +109,8 @@ public class EventContentNotifyExcelT this.Id = 0; this.LocalizeEtcId = 0; this.IconPath = null; - this.EventNotifyType_ = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; - this.EventTargetType_ = SCHALE.Common.FlatData.EventTargetType.WeekDungeon; + this.EventNotifyType = SCHALE.Common.FlatData.EventNotifyType.RewardIncreaseEvent; + this.EventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon; this.ShortcutEventTargetType = SCHALE.Common.FlatData.EventTargetType.WeekDungeon; this.IsShortcutEnable = false; } @@ -125,8 +125,8 @@ static public class EventContentNotifyExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 6 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 8 /*IconPath*/, false) - && verifier.VerifyField(tablePos, 10 /*EventNotifyType_*/, 4 /*SCHALE.Common.FlatData.EventNotifyType*/, 4, false) - && verifier.VerifyField(tablePos, 12 /*EventTargetType_*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*EventNotifyType*/, 4 /*SCHALE.Common.FlatData.EventNotifyType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*EventTargetType*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ShortcutEventTargetType*/, 4 /*SCHALE.Common.FlatData.EventTargetType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*IsShortcutEnable*/, 1 /*bool*/, 1, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/EventContentSeasonExcel.cs b/SCHALE.Common/FlatData/EventContentSeasonExcel.cs index 6727cf8..bfa0b2e 100644 --- a/SCHALE.Common/FlatData/EventContentSeasonExcel.cs +++ b/SCHALE.Common/FlatData/EventContentSeasonExcel.cs @@ -30,11 +30,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject public ArraySegment? GetNameBytes() { return __p.__vector_as_arraysegment(10); } #endif public byte[] GetNameArray() { return __p.__vector_as_array(10); } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } - public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } } + public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } + public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } } public bool EventDisplay { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public int IconOrder { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.SubEventType SubEventType_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.SubEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SubEventType.None; } } + public SCHALE.Common.FlatData.SubEventType SubEventType { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.SubEventType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SubEventType.None; } } public bool SubEvent { get { int o = __p.__offset(22); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long EventItemId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MainEventId { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -155,7 +155,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject #endif public byte[] GetCardBgImagePathArray() { return __p.__vector_as_array(64); } public bool EventAssist { get { int o = __p.__offset(66); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.EventContentReleaseType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentReleaseType.None; } } + public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.EventContentReleaseType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentReleaseType.None; } } public long EventContentStageRewardIdPermanent { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public long MiniEventShortCutScenarioModeId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -166,11 +166,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject long OriginalEventContentId = 0, bool IsReturn = false, StringOffset NameOffset = default(StringOffset), - SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, - SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop, + SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage, + SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop, bool EventDisplay = false, int IconOrder = 0, - SCHALE.Common.FlatData.SubEventType SubEventType_ = SCHALE.Common.FlatData.SubEventType.None, + SCHALE.Common.FlatData.SubEventType SubEventType = SCHALE.Common.FlatData.SubEventType.None, bool SubEvent = false, long EventItemId = 0, long MainEventId = 0, @@ -194,7 +194,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject StringOffset MinigameMissionBgImagePathOffset = default(StringOffset), StringOffset CardBgImagePathOffset = default(StringOffset), bool EventAssist = false, - SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ = SCHALE.Common.FlatData.EventContentReleaseType.None, + SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType = SCHALE.Common.FlatData.EventContentReleaseType.None, long EventContentStageRewardIdPermanent = 0, SCHALE.Common.FlatData.RewardTag RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default, long MiniEventShortCutScenarioModeId = 0, @@ -211,7 +211,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject EventContentSeasonExcel.AddOriginalEventContentId(builder, OriginalEventContentId); EventContentSeasonExcel.AddEventContentId(builder, EventContentId); EventContentSeasonExcel.AddRewardTagPermanent(builder, RewardTagPermanent); - EventContentSeasonExcel.AddEventContentReleaseType_(builder, EventContentReleaseType_); + EventContentSeasonExcel.AddEventContentReleaseType(builder, EventContentReleaseType); EventContentSeasonExcel.AddCardBgImagePath(builder, CardBgImagePathOffset); EventContentSeasonExcel.AddMinigameMissionBgImagePath(builder, MinigameMissionBgImagePathOffset); EventContentSeasonExcel.AddMinigameMissionBgPrefabName(builder, MinigameMissionBgPrefabNameOffset); @@ -228,10 +228,10 @@ public struct EventContentSeasonExcel : IFlatbufferObject EventContentSeasonExcel.AddEventContentCloseTime(builder, EventContentCloseTimeOffset); EventContentSeasonExcel.AddEventContentOpenTime(builder, EventContentOpenTimeOffset); EventContentSeasonExcel.AddBeforehandExposedTime(builder, BeforehandExposedTimeOffset); - EventContentSeasonExcel.AddSubEventType_(builder, SubEventType_); + EventContentSeasonExcel.AddSubEventType(builder, SubEventType); EventContentSeasonExcel.AddIconOrder(builder, IconOrder); - EventContentSeasonExcel.AddOpenConditionContent_(builder, OpenConditionContent_); - EventContentSeasonExcel.AddEventContentType_(builder, EventContentType_); + EventContentSeasonExcel.AddOpenConditionContent(builder, OpenConditionContent); + EventContentSeasonExcel.AddEventContentType(builder, EventContentType); EventContentSeasonExcel.AddName(builder, NameOffset); EventContentSeasonExcel.AddEventAssist(builder, EventAssist); EventContentSeasonExcel.AddSubEvent(builder, SubEvent); @@ -245,11 +245,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject public static void AddOriginalEventContentId(FlatBufferBuilder builder, long originalEventContentId) { builder.AddLong(1, originalEventContentId, 0); } public static void AddIsReturn(FlatBufferBuilder builder, bool isReturn) { builder.AddBool(2, isReturn, false); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(3, nameOffset.Value, 0); } - public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(4, (int)eventContentType_, 0); } - public static void AddOpenConditionContent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent_) { builder.AddInt(5, (int)openConditionContent_, 0); } + public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(4, (int)eventContentType, 0); } + public static void AddOpenConditionContent(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent) { builder.AddInt(5, (int)openConditionContent, 0); } public static void AddEventDisplay(FlatBufferBuilder builder, bool eventDisplay) { builder.AddBool(6, eventDisplay, false); } public static void AddIconOrder(FlatBufferBuilder builder, int iconOrder) { builder.AddInt(7, iconOrder, 0); } - public static void AddSubEventType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.SubEventType subEventType_) { builder.AddInt(8, (int)subEventType_, 0); } + public static void AddSubEventType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SubEventType subEventType) { builder.AddInt(8, (int)subEventType, 0); } public static void AddSubEvent(FlatBufferBuilder builder, bool subEvent) { builder.AddBool(9, subEvent, false); } public static void AddEventItemId(FlatBufferBuilder builder, long eventItemId) { builder.AddLong(10, eventItemId, 0); } public static void AddMainEventId(FlatBufferBuilder builder, long mainEventId) { builder.AddLong(11, mainEventId, 0); } @@ -278,7 +278,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject public static void AddMinigameMissionBgImagePath(FlatBufferBuilder builder, StringOffset minigameMissionBgImagePathOffset) { builder.AddOffset(29, minigameMissionBgImagePathOffset.Value, 0); } public static void AddCardBgImagePath(FlatBufferBuilder builder, StringOffset cardBgImagePathOffset) { builder.AddOffset(30, cardBgImagePathOffset.Value, 0); } public static void AddEventAssist(FlatBufferBuilder builder, bool eventAssist) { builder.AddBool(31, eventAssist, false); } - public static void AddEventContentReleaseType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentReleaseType eventContentReleaseType_) { builder.AddInt(32, (int)eventContentReleaseType_, 0); } + public static void AddEventContentReleaseType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentReleaseType eventContentReleaseType) { builder.AddInt(32, (int)eventContentReleaseType, 0); } public static void AddEventContentStageRewardIdPermanent(FlatBufferBuilder builder, long eventContentStageRewardIdPermanent) { builder.AddLong(33, eventContentStageRewardIdPermanent, 0); } public static void AddRewardTagPermanent(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTagPermanent) { builder.AddInt(34, (int)rewardTagPermanent, 0); } public static void AddMiniEventShortCutScenarioModeId(FlatBufferBuilder builder, long miniEventShortCutScenarioModeId) { builder.AddLong(35, miniEventShortCutScenarioModeId, 0); } @@ -298,11 +298,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject _o.OriginalEventContentId = TableEncryptionService.Convert(this.OriginalEventContentId, key); _o.IsReturn = TableEncryptionService.Convert(this.IsReturn, key); _o.Name = TableEncryptionService.Convert(this.Name, key); - _o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); - _o.OpenConditionContent_ = TableEncryptionService.Convert(this.OpenConditionContent_, key); + _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key); + _o.OpenConditionContent = TableEncryptionService.Convert(this.OpenConditionContent, key); _o.EventDisplay = TableEncryptionService.Convert(this.EventDisplay, key); _o.IconOrder = TableEncryptionService.Convert(this.IconOrder, key); - _o.SubEventType_ = TableEncryptionService.Convert(this.SubEventType_, key); + _o.SubEventType = TableEncryptionService.Convert(this.SubEventType, key); _o.SubEvent = TableEncryptionService.Convert(this.SubEvent, key); _o.EventItemId = TableEncryptionService.Convert(this.EventItemId, key); _o.MainEventId = TableEncryptionService.Convert(this.MainEventId, key); @@ -327,7 +327,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject _o.MinigameMissionBgImagePath = TableEncryptionService.Convert(this.MinigameMissionBgImagePath, key); _o.CardBgImagePath = TableEncryptionService.Convert(this.CardBgImagePath, key); _o.EventAssist = TableEncryptionService.Convert(this.EventAssist, key); - _o.EventContentReleaseType_ = TableEncryptionService.Convert(this.EventContentReleaseType_, key); + _o.EventContentReleaseType = TableEncryptionService.Convert(this.EventContentReleaseType, key); _o.EventContentStageRewardIdPermanent = TableEncryptionService.Convert(this.EventContentStageRewardIdPermanent, key); _o.RewardTagPermanent = TableEncryptionService.Convert(this.RewardTagPermanent, key); _o.MiniEventShortCutScenarioModeId = TableEncryptionService.Convert(this.MiniEventShortCutScenarioModeId, key); @@ -362,11 +362,11 @@ public struct EventContentSeasonExcel : IFlatbufferObject _o.OriginalEventContentId, _o.IsReturn, _Name, - _o.EventContentType_, - _o.OpenConditionContent_, + _o.EventContentType, + _o.OpenConditionContent, _o.EventDisplay, _o.IconOrder, - _o.SubEventType_, + _o.SubEventType, _o.SubEvent, _o.EventItemId, _o.MainEventId, @@ -390,7 +390,7 @@ public struct EventContentSeasonExcel : IFlatbufferObject _MinigameMissionBgImagePath, _CardBgImagePath, _o.EventAssist, - _o.EventContentReleaseType_, + _o.EventContentReleaseType, _o.EventContentStageRewardIdPermanent, _o.RewardTagPermanent, _o.MiniEventShortCutScenarioModeId, @@ -404,11 +404,11 @@ public class EventContentSeasonExcelT public long OriginalEventContentId { get; set; } public bool IsReturn { get; set; } public string Name { get; set; } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } - public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get; set; } + public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; } + public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get; set; } public bool EventDisplay { get; set; } public int IconOrder { get; set; } - public SCHALE.Common.FlatData.SubEventType SubEventType_ { get; set; } + public SCHALE.Common.FlatData.SubEventType SubEventType { get; set; } public bool SubEvent { get; set; } public long EventItemId { get; set; } public long MainEventId { get; set; } @@ -432,7 +432,7 @@ public class EventContentSeasonExcelT public string MinigameMissionBgImagePath { get; set; } public string CardBgImagePath { get; set; } public bool EventAssist { get; set; } - public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType_ { get; set; } + public SCHALE.Common.FlatData.EventContentReleaseType EventContentReleaseType { get; set; } public long EventContentStageRewardIdPermanent { get; set; } public SCHALE.Common.FlatData.RewardTag RewardTagPermanent { get; set; } public long MiniEventShortCutScenarioModeId { get; set; } @@ -443,11 +443,11 @@ public class EventContentSeasonExcelT this.OriginalEventContentId = 0; this.IsReturn = false; this.Name = null; - this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; - this.OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop; + this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage; + this.OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop; this.EventDisplay = false; this.IconOrder = 0; - this.SubEventType_ = SCHALE.Common.FlatData.SubEventType.None; + this.SubEventType = SCHALE.Common.FlatData.SubEventType.None; this.SubEvent = false; this.EventItemId = 0; this.MainEventId = 0; @@ -471,7 +471,7 @@ public class EventContentSeasonExcelT this.MinigameMissionBgImagePath = null; this.CardBgImagePath = null; this.EventAssist = false; - this.EventContentReleaseType_ = SCHALE.Common.FlatData.EventContentReleaseType.None; + this.EventContentReleaseType = SCHALE.Common.FlatData.EventContentReleaseType.None; this.EventContentStageRewardIdPermanent = 0; this.RewardTagPermanent = SCHALE.Common.FlatData.RewardTag.Default; this.MiniEventShortCutScenarioModeId = 0; @@ -489,11 +489,11 @@ static public class EventContentSeasonExcelVerify && verifier.VerifyField(tablePos, 6 /*OriginalEventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*IsReturn*/, 1 /*bool*/, 1, false) && verifier.VerifyString(tablePos, 10 /*Name*/, false) - && verifier.VerifyField(tablePos, 12 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*OpenConditionContent_*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*OpenConditionContent*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false) && verifier.VerifyField(tablePos, 16 /*EventDisplay*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 18 /*IconOrder*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 20 /*SubEventType_*/, 4 /*SCHALE.Common.FlatData.SubEventType*/, 4, false) + && verifier.VerifyField(tablePos, 20 /*SubEventType*/, 4 /*SCHALE.Common.FlatData.SubEventType*/, 4, false) && verifier.VerifyField(tablePos, 22 /*SubEvent*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 24 /*EventItemId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*MainEventId*/, 8 /*long*/, 8, false) @@ -517,7 +517,7 @@ static public class EventContentSeasonExcelVerify && verifier.VerifyString(tablePos, 62 /*MinigameMissionBgImagePath*/, false) && verifier.VerifyString(tablePos, 64 /*CardBgImagePath*/, false) && verifier.VerifyField(tablePos, 66 /*EventAssist*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 68 /*EventContentReleaseType_*/, 4 /*SCHALE.Common.FlatData.EventContentReleaseType*/, 4, false) + && verifier.VerifyField(tablePos, 68 /*EventContentReleaseType*/, 4 /*SCHALE.Common.FlatData.EventContentReleaseType*/, 4, false) && verifier.VerifyField(tablePos, 70 /*EventContentStageRewardIdPermanent*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 72 /*RewardTagPermanent*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 74 /*MiniEventShortCutScenarioModeId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/EventContentShopExcel.cs b/SCHALE.Common/FlatData/EventContentShopExcel.cs index 278e587..c895405 100644 --- a/SCHALE.Common/FlatData/EventContentShopExcel.cs +++ b/SCHALE.Common/FlatData/EventContentShopExcel.cs @@ -50,7 +50,7 @@ public struct EventContentShopExcel : IFlatbufferObject public byte[] GetSalePeriodToArray() { return __p.__vector_as_array(20); } public long PurchaseCooltimeMin { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCountLimit { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } public string BuyReportEventName { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBuyReportEventNameBytes() { return __p.__vector_as_span(28, 1); } @@ -72,7 +72,7 @@ public struct EventContentShopExcel : IFlatbufferObject StringOffset SalePeriodToOffset = default(StringOffset), long PurchaseCooltimeMin = 0, long PurchaseCountLimit = 0, - SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None, + SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None, StringOffset BuyReportEventNameOffset = default(StringOffset), bool RestrictBuyWhenInventoryFull = false) { builder.StartTable(14); @@ -82,7 +82,7 @@ public struct EventContentShopExcel : IFlatbufferObject EventContentShopExcel.AddId(builder, Id); EventContentShopExcel.AddEventContentId(builder, EventContentId); EventContentShopExcel.AddBuyReportEventName(builder, BuyReportEventNameOffset); - EventContentShopExcel.AddPurchaseCountResetType_(builder, PurchaseCountResetType_); + EventContentShopExcel.AddPurchaseCountResetType(builder, PurchaseCountResetType); EventContentShopExcel.AddSalePeriodTo(builder, SalePeriodToOffset); EventContentShopExcel.AddSalePeriodFrom(builder, SalePeriodFromOffset); EventContentShopExcel.AddGoodsId(builder, GoodsIdOffset); @@ -110,7 +110,7 @@ public struct EventContentShopExcel : IFlatbufferObject public static void AddSalePeriodTo(FlatBufferBuilder builder, StringOffset salePeriodToOffset) { builder.AddOffset(8, salePeriodToOffset.Value, 0); } public static void AddPurchaseCooltimeMin(FlatBufferBuilder builder, long purchaseCooltimeMin) { builder.AddLong(9, purchaseCooltimeMin, 0); } public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(10, purchaseCountLimit, 0); } - public static void AddPurchaseCountResetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType_) { builder.AddInt(11, (int)purchaseCountResetType_, 0); } + public static void AddPurchaseCountResetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType) { builder.AddInt(11, (int)purchaseCountResetType, 0); } public static void AddBuyReportEventName(FlatBufferBuilder builder, StringOffset buyReportEventNameOffset) { builder.AddOffset(12, buyReportEventNameOffset.Value, 0); } public static void AddRestrictBuyWhenInventoryFull(FlatBufferBuilder builder, bool restrictBuyWhenInventoryFull) { builder.AddBool(13, restrictBuyWhenInventoryFull, false); } public static Offset EndEventContentShopExcel(FlatBufferBuilder builder) { @@ -136,7 +136,7 @@ public struct EventContentShopExcel : IFlatbufferObject _o.SalePeriodTo = TableEncryptionService.Convert(this.SalePeriodTo, key); _o.PurchaseCooltimeMin = TableEncryptionService.Convert(this.PurchaseCooltimeMin, key); _o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key); - _o.PurchaseCountResetType_ = TableEncryptionService.Convert(this.PurchaseCountResetType_, key); + _o.PurchaseCountResetType = TableEncryptionService.Convert(this.PurchaseCountResetType, key); _o.BuyReportEventName = TableEncryptionService.Convert(this.BuyReportEventName, key); _o.RestrictBuyWhenInventoryFull = TableEncryptionService.Convert(this.RestrictBuyWhenInventoryFull, key); } @@ -163,7 +163,7 @@ public struct EventContentShopExcel : IFlatbufferObject _SalePeriodTo, _o.PurchaseCooltimeMin, _o.PurchaseCountLimit, - _o.PurchaseCountResetType_, + _o.PurchaseCountResetType, _BuyReportEventName, _o.RestrictBuyWhenInventoryFull); } @@ -182,7 +182,7 @@ public class EventContentShopExcelT public string SalePeriodTo { get; set; } public long PurchaseCooltimeMin { get; set; } public long PurchaseCountLimit { get; set; } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get; set; } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get; set; } public string BuyReportEventName { get; set; } public bool RestrictBuyWhenInventoryFull { get; set; } @@ -198,7 +198,7 @@ public class EventContentShopExcelT this.SalePeriodTo = null; this.PurchaseCooltimeMin = 0; this.PurchaseCountLimit = 0; - this.PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None; + this.PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None; this.BuyReportEventName = null; this.RestrictBuyWhenInventoryFull = false; } @@ -221,7 +221,7 @@ static public class EventContentShopExcelVerify && verifier.VerifyString(tablePos, 20 /*SalePeriodTo*/, false) && verifier.VerifyField(tablePos, 22 /*PurchaseCooltimeMin*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*PurchaseCountLimit*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 26 /*PurchaseCountResetType_*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*PurchaseCountResetType*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) && verifier.VerifyString(tablePos, 28 /*BuyReportEventName*/, false) && verifier.VerifyField(tablePos, 30 /*RestrictBuyWhenInventoryFull*/, 1 /*bool*/, 1, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/EventContentSpineDialogOffsetExcel.cs b/SCHALE.Common/FlatData/EventContentSpineDialogOffsetExcel.cs index 63f8631..bac5953 100644 --- a/SCHALE.Common/FlatData/EventContentSpineDialogOffsetExcel.cs +++ b/SCHALE.Common/FlatData/EventContentSpineDialogOffsetExcel.cs @@ -21,7 +21,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject public EventContentSpineDialogOffsetExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } + public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public long CostumeUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public float SpineOffsetX { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public float SpineOffsetY { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } @@ -30,7 +30,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject public static Offset CreateEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, + SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage, long CostumeUniqueId = 0, float SpineOffsetX = 0.0f, float SpineOffsetY = 0.0f, @@ -43,13 +43,13 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject EventContentSpineDialogOffsetExcel.AddDialogOffsetX(builder, DialogOffsetX); EventContentSpineDialogOffsetExcel.AddSpineOffsetY(builder, SpineOffsetY); EventContentSpineDialogOffsetExcel.AddSpineOffsetX(builder, SpineOffsetX); - EventContentSpineDialogOffsetExcel.AddEventContentType_(builder, EventContentType_); + EventContentSpineDialogOffsetExcel.AddEventContentType(builder, EventContentType); return EventContentSpineDialogOffsetExcel.EndEventContentSpineDialogOffsetExcel(builder); } public static void StartEventContentSpineDialogOffsetExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(1, (int)eventContentType_, 0); } + public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(1, (int)eventContentType, 0); } public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(2, costumeUniqueId, 0); } public static void AddSpineOffsetX(FlatBufferBuilder builder, float spineOffsetX) { builder.AddFloat(3, spineOffsetX, 0.0f); } public static void AddSpineOffsetY(FlatBufferBuilder builder, float spineOffsetY) { builder.AddFloat(4, spineOffsetY, 0.0f); } @@ -67,7 +67,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject public void UnPackTo(EventContentSpineDialogOffsetExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentSpineDialogOffset"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); + _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key); _o.CostumeUniqueId = TableEncryptionService.Convert(this.CostumeUniqueId, key); _o.SpineOffsetX = TableEncryptionService.Convert(this.SpineOffsetX, key); _o.SpineOffsetY = TableEncryptionService.Convert(this.SpineOffsetY, key); @@ -79,7 +79,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject return CreateEventContentSpineDialogOffsetExcel( builder, _o.EventContentId, - _o.EventContentType_, + _o.EventContentType, _o.CostumeUniqueId, _o.SpineOffsetX, _o.SpineOffsetY, @@ -91,7 +91,7 @@ public struct EventContentSpineDialogOffsetExcel : IFlatbufferObject public class EventContentSpineDialogOffsetExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } + public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; } public long CostumeUniqueId { get; set; } public float SpineOffsetX { get; set; } public float SpineOffsetY { get; set; } @@ -100,7 +100,7 @@ public class EventContentSpineDialogOffsetExcelT public EventContentSpineDialogOffsetExcelT() { this.EventContentId = 0; - this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; + this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage; this.CostumeUniqueId = 0; this.SpineOffsetX = 0.0f; this.SpineOffsetY = 0.0f; @@ -116,7 +116,7 @@ static public class EventContentSpineDialogOffsetExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*CostumeUniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*SpineOffsetX*/, 4 /*float*/, 4, false) && verifier.VerifyField(tablePos, 12 /*SpineOffsetY*/, 4 /*float*/, 4, false) diff --git a/SCHALE.Common/FlatData/EventContentStageExcel.cs b/SCHALE.Common/FlatData/EventContentStageExcel.cs index b081c34..7e27f33 100644 --- a/SCHALE.Common/FlatData/EventContentStageExcel.cs +++ b/SCHALE.Common/FlatData/EventContentStageExcel.cs @@ -29,7 +29,7 @@ public struct EventContentStageExcel : IFlatbufferObject #endif public byte[] GetNameArray() { return __p.__vector_as_array(6); } public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public string StageNumber { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetStageNumberBytes() { return __p.__vector_as_span(12, 1); } @@ -85,7 +85,7 @@ public struct EventContentStageExcel : IFlatbufferObject public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array(52); } public long EventContentStageRewardId { get { int o = __p.__offset(54); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int MaxTurn { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string BgmId { get { int o = __p.__offset(62); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -94,9 +94,9 @@ public struct EventContentStageExcel : IFlatbufferObject public ArraySegment? GetBgmIdBytes() { return __p.__vector_as_arraysegment(62); } #endif public byte[] GetBgmIdArray() { return __p.__vector_as_array(62); } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(64); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(64); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } public long GroundID { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(68); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long BGMId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool InstantClear { get { int o = __p.__offset(72); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long BuffContentId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -120,13 +120,13 @@ public struct EventContentStageExcel : IFlatbufferObject public int[] GetStarGoalAmountArray() { return __p.__vector_as_array(82); } public bool IsDefeatBattle { get { int o = __p.__offset(84); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public uint StageHint { get { int o = __p.__offset(86); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(88); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(88); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateEventContentStageExcel(FlatBufferBuilder builder, long Id = 0, StringOffset NameOffset = default(StringOffset), long EventContentId = 0, - SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, + SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, StringOffset StageNumberOffset = default(StringOffset), int StageDisplay = 0, long PrevStageId = 0, @@ -150,12 +150,12 @@ public struct EventContentStageExcel : IFlatbufferObject StringOffset StrategyMapBGOffset = default(StringOffset), long EventContentStageRewardId = 0, int MaxTurn = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, StringOffset BgmIdOffset = default(StringOffset), - SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, + SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None, long GroundID = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long BGMId = 0, bool InstantClear = false, long BuffContentId = 0, @@ -165,7 +165,7 @@ public struct EventContentStageExcel : IFlatbufferObject VectorOffset StarGoalAmountOffset = default(VectorOffset), bool IsDefeatBattle = false, uint StageHint = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(43); EventContentStageExcel.AddFixedEchelonId(builder, FixedEchelonId); EventContentStageExcel.AddBuffContentId(builder, BuffContentId); @@ -185,15 +185,15 @@ public struct EventContentStageExcel : IFlatbufferObject EventContentStageExcel.AddPrevStageId(builder, PrevStageId); EventContentStageExcel.AddEventContentId(builder, EventContentId); EventContentStageExcel.AddId(builder, Id); - EventContentStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + EventContentStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); EventContentStageExcel.AddStageHint(builder, StageHint); EventContentStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); EventContentStageExcel.AddStarGoal(builder, StarGoalOffset); - EventContentStageExcel.AddContentType_(builder, ContentType_); - EventContentStageExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); + EventContentStageExcel.AddContentType(builder, ContentType); + EventContentStageExcel.AddStrategyEnvironment(builder, StrategyEnvironment); EventContentStageExcel.AddBgmId(builder, BgmIdOffset); EventContentStageExcel.AddRecommandLevel(builder, RecommandLevel); - EventContentStageExcel.AddStageTopography_(builder, StageTopography_); + EventContentStageExcel.AddStageTopography(builder, StageTopography); EventContentStageExcel.AddMaxTurn(builder, MaxTurn); EventContentStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); EventContentStageExcel.AddStrategyMap(builder, StrategyMapOffset); @@ -205,7 +205,7 @@ public struct EventContentStageExcel : IFlatbufferObject EventContentStageExcel.AddOpenConditionContentType(builder, OpenConditionContentType); EventContentStageExcel.AddStageDisplay(builder, StageDisplay); EventContentStageExcel.AddStageNumber(builder, StageNumberOffset); - EventContentStageExcel.AddStageDifficulty_(builder, StageDifficulty_); + EventContentStageExcel.AddStageDifficulty(builder, StageDifficulty); EventContentStageExcel.AddName(builder, NameOffset); EventContentStageExcel.AddIsDefeatBattle(builder, IsDefeatBattle); EventContentStageExcel.AddChallengeDisplay(builder, ChallengeDisplay); @@ -217,7 +217,7 @@ public struct EventContentStageExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(1, nameOffset.Value, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); } - public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(3, (int)stageDifficulty_, 0); } + public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(3, (int)stageDifficulty, 0); } public static void AddStageNumber(FlatBufferBuilder builder, StringOffset stageNumberOffset) { builder.AddOffset(4, stageNumberOffset.Value, 0); } public static void AddStageDisplay(FlatBufferBuilder builder, int stageDisplay) { builder.AddInt(5, stageDisplay, 0); } public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(6, prevStageId, 0); } @@ -251,12 +251,12 @@ public struct EventContentStageExcel : IFlatbufferObject public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(24, strategyMapBGOffset.Value, 0); } public static void AddEventContentStageRewardId(FlatBufferBuilder builder, long eventContentStageRewardId) { builder.AddLong(25, eventContentStageRewardId, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(26, maxTurn, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(27, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(27, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(28, recommandLevel, 0); } public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(29, bgmIdOffset.Value, 0); } - public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(30, (int)strategyEnvironment_, 0); } + public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(30, (int)strategyEnvironment, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(31, groundID, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(32, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(32, (int)contentType, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(33, bGMId, 0); } public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(34, instantClear, false); } public static void AddBuffContentId(FlatBufferBuilder builder, long buffContentId) { builder.AddLong(35, buffContentId, 0); } @@ -276,7 +276,7 @@ public struct EventContentStageExcel : IFlatbufferObject public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddIsDefeatBattle(FlatBufferBuilder builder, bool isDefeatBattle) { builder.AddBool(40, isDefeatBattle, false); } public static void AddStageHint(FlatBufferBuilder builder, uint stageHint) { builder.AddUint(41, stageHint, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(42, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(42, (int)echelonExtensionType, 0); } public static Offset EndEventContentStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -291,7 +291,7 @@ public struct EventContentStageExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); + _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key); _o.StageNumber = TableEncryptionService.Convert(this.StageNumber, key); _o.StageDisplay = TableEncryptionService.Convert(this.StageDisplay, key); _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); @@ -317,12 +317,12 @@ public struct EventContentStageExcel : IFlatbufferObject _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.EventContentStageRewardId = TableEncryptionService.Convert(this.EventContentStageRewardId, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.BgmId = TableEncryptionService.Convert(this.BgmId, key); - _o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); + _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.InstantClear = TableEncryptionService.Convert(this.InstantClear, key); _o.BuffContentId = TableEncryptionService.Convert(this.BuffContentId, key); @@ -334,7 +334,7 @@ public struct EventContentStageExcel : IFlatbufferObject for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));} _o.IsDefeatBattle = TableEncryptionService.Convert(this.IsDefeatBattle, key); _o.StageHint = TableEncryptionService.Convert(this.StageHint, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, EventContentStageExcelT _o) { if (_o == null) return default(Offset); @@ -368,7 +368,7 @@ public struct EventContentStageExcel : IFlatbufferObject _o.Id, _Name, _o.EventContentId, - _o.StageDifficulty_, + _o.StageDifficulty, _StageNumber, _o.StageDisplay, _o.PrevStageId, @@ -392,12 +392,12 @@ public struct EventContentStageExcel : IFlatbufferObject _StrategyMapBG, _o.EventContentStageRewardId, _o.MaxTurn, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _BgmId, - _o.StrategyEnvironment_, + _o.StrategyEnvironment, _o.GroundID, - _o.ContentType_, + _o.ContentType, _o.BGMId, _o.InstantClear, _o.BuffContentId, @@ -407,7 +407,7 @@ public struct EventContentStageExcel : IFlatbufferObject _StarGoalAmount, _o.IsDefeatBattle, _o.StageHint, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -416,7 +416,7 @@ public class EventContentStageExcelT public long Id { get; set; } public string Name { get; set; } public long EventContentId { get; set; } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; } public string StageNumber { get; set; } public int StageDisplay { get; set; } public long PrevStageId { get; set; } @@ -440,12 +440,12 @@ public class EventContentStageExcelT public string StrategyMapBG { get; set; } public long EventContentStageRewardId { get; set; } public int MaxTurn { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public string BgmId { get; set; } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; } public long GroundID { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long BGMId { get; set; } public bool InstantClear { get; set; } public long BuffContentId { get; set; } @@ -455,13 +455,13 @@ public class EventContentStageExcelT public List StarGoalAmount { get; set; } public bool IsDefeatBattle { get; set; } public uint StageHint { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public EventContentStageExcelT() { this.Id = 0; this.Name = null; this.EventContentId = 0; - this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; + this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; this.StageNumber = null; this.StageDisplay = 0; this.PrevStageId = 0; @@ -485,12 +485,12 @@ public class EventContentStageExcelT this.StrategyMapBG = null; this.EventContentStageRewardId = 0; this.MaxTurn = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.BgmId = null; - this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; + this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None; this.GroundID = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.BGMId = 0; this.InstantClear = false; this.BuffContentId = 0; @@ -500,7 +500,7 @@ public class EventContentStageExcelT this.StarGoalAmount = null; this.IsDefeatBattle = false; this.StageHint = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -513,7 +513,7 @@ static public class EventContentStageExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*Name*/, false) && verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyString(tablePos, 12 /*StageNumber*/, false) && verifier.VerifyField(tablePos, 14 /*StageDisplay*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*PrevStageId*/, 8 /*long*/, 8, false) @@ -537,12 +537,12 @@ static public class EventContentStageExcelVerify && verifier.VerifyString(tablePos, 52 /*StrategyMapBG*/, false) && verifier.VerifyField(tablePos, 54 /*EventContentStageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 56 /*MaxTurn*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 58 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 58 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 60 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 62 /*BgmId*/, false) - && verifier.VerifyField(tablePos, 64 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 64 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 66 /*GroundID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 68 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 68 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 70 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 72 /*InstantClear*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 74 /*BuffContentId*/, 8 /*long*/, 8, false) @@ -552,7 +552,7 @@ static public class EventContentStageExcelVerify && verifier.VerifyVectorOfData(tablePos, 82 /*StarGoalAmount*/, 4 /*int*/, false) && verifier.VerifyField(tablePos, 84 /*IsDefeatBattle*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 86 /*StageHint*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 88 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 88 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/EventContentStageRewardExcel.cs b/SCHALE.Common/FlatData/EventContentStageRewardExcel.cs index a4fe859..ae269a1 100644 --- a/SCHALE.Common/FlatData/EventContentStageRewardExcel.cs +++ b/SCHALE.Common/FlatData/EventContentStageRewardExcel.cs @@ -21,7 +21,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject public EventContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject public static Offset CreateEventContentStageRewardExcel(FlatBufferBuilder builder, long GroupId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int RewardProb = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardId = 0, @@ -42,14 +42,14 @@ public struct EventContentStageRewardExcel : IFlatbufferObject EventContentStageRewardExcel.AddRewardAmount(builder, RewardAmount); EventContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType); EventContentStageRewardExcel.AddRewardProb(builder, RewardProb); - EventContentStageRewardExcel.AddRewardTag_(builder, RewardTag_); + EventContentStageRewardExcel.AddRewardTag(builder, RewardTag); EventContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); return EventContentStageRewardExcel.EndEventContentStageRewardExcel(builder); } public static void StartEventContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } @@ -67,7 +67,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject public void UnPackTo(EventContentStageRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("EventContentStageReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key); @@ -79,7 +79,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject return CreateEventContentStageRewardExcel( builder, _o.GroupId, - _o.RewardTag_, + _o.RewardTag, _o.RewardProb, _o.RewardParcelType, _o.RewardId, @@ -91,7 +91,7 @@ public struct EventContentStageRewardExcel : IFlatbufferObject public class EventContentStageRewardExcelT { public long GroupId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int RewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardId { get; set; } @@ -100,7 +100,7 @@ public class EventContentStageRewardExcelT public EventContentStageRewardExcelT() { this.GroupId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardProb = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardId = 0; @@ -116,7 +116,7 @@ static public class EventContentStageRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/EventContentTreasureRewardExcel.cs b/SCHALE.Common/FlatData/EventContentTreasureRewardExcel.cs index 009477d..542124c 100644 --- a/SCHALE.Common/FlatData/EventContentTreasureRewardExcel.cs +++ b/SCHALE.Common/FlatData/EventContentTreasureRewardExcel.cs @@ -69,6 +69,13 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject public ArraySegment? GetTreasureSmallImagePathBytes() { return __p.__vector_as_arraysegment(22); } #endif public byte[] GetTreasureSmallImagePathArray() { return __p.__vector_as_array(22); } + public string TreasureSizeIconPath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetTreasureSizeIconPathBytes() { return __p.__vector_as_span(24, 1); } +#else + public ArraySegment? GetTreasureSizeIconPathBytes() { return __p.__vector_as_arraysegment(24); } +#endif + public byte[] GetTreasureSizeIconPathArray() { return __p.__vector_as_array(24); } public static Offset CreateEventContentTreasureRewardExcel(FlatBufferBuilder builder, long Id = 0, @@ -80,9 +87,11 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject VectorOffset RewardParcelIdOffset = default(VectorOffset), VectorOffset RewardParcelAmountOffset = default(VectorOffset), StringOffset CellUnderImagePathOffset = default(StringOffset), - StringOffset TreasureSmallImagePathOffset = default(StringOffset)) { - builder.StartTable(10); + StringOffset TreasureSmallImagePathOffset = default(StringOffset), + StringOffset TreasureSizeIconPathOffset = default(StringOffset)) { + builder.StartTable(11); EventContentTreasureRewardExcel.AddId(builder, Id); + EventContentTreasureRewardExcel.AddTreasureSizeIconPath(builder, TreasureSizeIconPathOffset); EventContentTreasureRewardExcel.AddTreasureSmallImagePath(builder, TreasureSmallImagePathOffset); EventContentTreasureRewardExcel.AddCellUnderImagePath(builder, CellUnderImagePathOffset); EventContentTreasureRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmountOffset); @@ -95,7 +104,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject return EventContentTreasureRewardExcel.EndEventContentTreasureRewardExcel(builder); } - public static void StartEventContentTreasureRewardExcel(FlatBufferBuilder builder) { builder.StartTable(10); } + public static void StartEventContentTreasureRewardExcel(FlatBufferBuilder builder) { builder.StartTable(11); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddLocalizeCodeID(FlatBufferBuilder builder, StringOffset localizeCodeIDOffset) { builder.AddOffset(1, localizeCodeIDOffset.Value, 0); } public static void AddCellUnderImageWidth(FlatBufferBuilder builder, int cellUnderImageWidth) { builder.AddInt(2, cellUnderImageWidth, 0); } @@ -121,6 +130,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject public static void StartRewardParcelAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void AddCellUnderImagePath(FlatBufferBuilder builder, StringOffset cellUnderImagePathOffset) { builder.AddOffset(8, cellUnderImagePathOffset.Value, 0); } public static void AddTreasureSmallImagePath(FlatBufferBuilder builder, StringOffset treasureSmallImagePathOffset) { builder.AddOffset(9, treasureSmallImagePathOffset.Value, 0); } + public static void AddTreasureSizeIconPath(FlatBufferBuilder builder, StringOffset treasureSizeIconPathOffset) { builder.AddOffset(10, treasureSizeIconPathOffset.Value, 0); } public static Offset EndEventContentTreasureRewardExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -145,6 +155,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject for (var _j = 0; _j < this.RewardParcelAmountLength; ++_j) {_o.RewardParcelAmount.Add(TableEncryptionService.Convert(this.RewardParcelAmount(_j), key));} _o.CellUnderImagePath = TableEncryptionService.Convert(this.CellUnderImagePath, key); _o.TreasureSmallImagePath = TableEncryptionService.Convert(this.TreasureSmallImagePath, key); + _o.TreasureSizeIconPath = TableEncryptionService.Convert(this.TreasureSizeIconPath, key); } public static Offset Pack(FlatBufferBuilder builder, EventContentTreasureRewardExcelT _o) { if (_o == null) return default(Offset); @@ -166,6 +177,7 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject } var _CellUnderImagePath = _o.CellUnderImagePath == null ? default(StringOffset) : builder.CreateString(_o.CellUnderImagePath); var _TreasureSmallImagePath = _o.TreasureSmallImagePath == null ? default(StringOffset) : builder.CreateString(_o.TreasureSmallImagePath); + var _TreasureSizeIconPath = _o.TreasureSizeIconPath == null ? default(StringOffset) : builder.CreateString(_o.TreasureSizeIconPath); return CreateEventContentTreasureRewardExcel( builder, _o.Id, @@ -177,7 +189,8 @@ public struct EventContentTreasureRewardExcel : IFlatbufferObject _RewardParcelId, _RewardParcelAmount, _CellUnderImagePath, - _TreasureSmallImagePath); + _TreasureSmallImagePath, + _TreasureSizeIconPath); } } @@ -193,6 +206,7 @@ public class EventContentTreasureRewardExcelT public List RewardParcelAmount { get; set; } public string CellUnderImagePath { get; set; } public string TreasureSmallImagePath { get; set; } + public string TreasureSizeIconPath { get; set; } public EventContentTreasureRewardExcelT() { this.Id = 0; @@ -205,6 +219,7 @@ public class EventContentTreasureRewardExcelT this.RewardParcelAmount = null; this.CellUnderImagePath = null; this.TreasureSmallImagePath = null; + this.TreasureSizeIconPath = null; } } @@ -224,6 +239,7 @@ static public class EventContentTreasureRewardExcelVerify && verifier.VerifyVectorOfData(tablePos, 18 /*RewardParcelAmount*/, 8 /*long*/, false) && verifier.VerifyString(tablePos, 20 /*CellUnderImagePath*/, false) && verifier.VerifyString(tablePos, 22 /*TreasureSmallImagePath*/, false) + && verifier.VerifyString(tablePos, 24 /*TreasureSizeIconPath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcel.cs b/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcel.cs index 7affc03..0b2bf60 100644 --- a/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcel.cs +++ b/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcel.cs @@ -21,9 +21,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject public FarmingDungeonLocationManageExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long FarmingDungeonLocationId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } - public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } } - public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } } + public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; } } public long Order { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string OpenStartDateTime { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -51,9 +51,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject public static Offset CreateFarmingDungeonLocationManageExcel(FlatBufferBuilder builder, long FarmingDungeonLocationId = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, - SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None, - SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None, + SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA, long Order = 0, StringOffset OpenStartDateTimeOffset = default(StringOffset), StringOffset OpenEndDateTimeOffset = default(StringOffset), @@ -68,17 +68,17 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject FarmingDungeonLocationManageExcel.AddLocationButtonImagePath(builder, LocationButtonImagePathOffset); FarmingDungeonLocationManageExcel.AddOpenEndDateTime(builder, OpenEndDateTimeOffset); FarmingDungeonLocationManageExcel.AddOpenStartDateTime(builder, OpenStartDateTimeOffset); - FarmingDungeonLocationManageExcel.AddSchoolDungeonType_(builder, SchoolDungeonType_); - FarmingDungeonLocationManageExcel.AddWeekDungeonType_(builder, WeekDungeonType_); - FarmingDungeonLocationManageExcel.AddContentType_(builder, ContentType_); + FarmingDungeonLocationManageExcel.AddSchoolDungeonType(builder, SchoolDungeonType); + FarmingDungeonLocationManageExcel.AddWeekDungeonType(builder, WeekDungeonType); + FarmingDungeonLocationManageExcel.AddContentType(builder, ContentType); return FarmingDungeonLocationManageExcel.EndFarmingDungeonLocationManageExcel(builder); } public static void StartFarmingDungeonLocationManageExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void AddFarmingDungeonLocationId(FlatBufferBuilder builder, long farmingDungeonLocationId) { builder.AddLong(0, farmingDungeonLocationId, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(1, (int)contentType_, 0); } - public static void AddWeekDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType_) { builder.AddInt(2, (int)weekDungeonType_, 0); } - public static void AddSchoolDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.SchoolDungeonType schoolDungeonType_) { builder.AddInt(3, (int)schoolDungeonType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(1, (int)contentType, 0); } + public static void AddWeekDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType) { builder.AddInt(2, (int)weekDungeonType, 0); } + public static void AddSchoolDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SchoolDungeonType schoolDungeonType) { builder.AddInt(3, (int)schoolDungeonType, 0); } public static void AddOrder(FlatBufferBuilder builder, long order) { builder.AddLong(4, order, 0); } public static void AddOpenStartDateTime(FlatBufferBuilder builder, StringOffset openStartDateTimeOffset) { builder.AddOffset(5, openStartDateTimeOffset.Value, 0); } public static void AddOpenEndDateTime(FlatBufferBuilder builder, StringOffset openEndDateTimeOffset) { builder.AddOffset(6, openEndDateTimeOffset.Value, 0); } @@ -97,9 +97,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject public void UnPackTo(FarmingDungeonLocationManageExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FarmingDungeonLocationManage"); _o.FarmingDungeonLocationId = TableEncryptionService.Convert(this.FarmingDungeonLocationId, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); - _o.WeekDungeonType_ = TableEncryptionService.Convert(this.WeekDungeonType_, key); - _o.SchoolDungeonType_ = TableEncryptionService.Convert(this.SchoolDungeonType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); + _o.WeekDungeonType = TableEncryptionService.Convert(this.WeekDungeonType, key); + _o.SchoolDungeonType = TableEncryptionService.Convert(this.SchoolDungeonType, key); _o.Order = TableEncryptionService.Convert(this.Order, key); _o.OpenStartDateTime = TableEncryptionService.Convert(this.OpenStartDateTime, key); _o.OpenEndDateTime = TableEncryptionService.Convert(this.OpenEndDateTime, key); @@ -115,9 +115,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject return CreateFarmingDungeonLocationManageExcel( builder, _o.FarmingDungeonLocationId, - _o.ContentType_, - _o.WeekDungeonType_, - _o.SchoolDungeonType_, + _o.ContentType, + _o.WeekDungeonType, + _o.SchoolDungeonType, _o.Order, _OpenStartDateTime, _OpenEndDateTime, @@ -130,9 +130,9 @@ public struct FarmingDungeonLocationManageExcel : IFlatbufferObject public class FarmingDungeonLocationManageExcelT { public long FarmingDungeonLocationId { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } - public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get; set; } - public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } + public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get; set; } + public SCHALE.Common.FlatData.SchoolDungeonType SchoolDungeonType { get; set; } public long Order { get; set; } public string OpenStartDateTime { get; set; } public string OpenEndDateTime { get; set; } @@ -142,9 +142,9 @@ public class FarmingDungeonLocationManageExcelT public FarmingDungeonLocationManageExcelT() { this.FarmingDungeonLocationId = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; - this.WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None; - this.SchoolDungeonType_ = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; + this.WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None; + this.SchoolDungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; this.Order = 0; this.OpenStartDateTime = null; this.OpenEndDateTime = null; @@ -161,9 +161,9 @@ static public class FarmingDungeonLocationManageExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*FarmingDungeonLocationId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*WeekDungeonType_*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*SchoolDungeonType_*/, 4 /*SCHALE.Common.FlatData.SchoolDungeonType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*WeekDungeonType*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*SchoolDungeonType*/, 4 /*SCHALE.Common.FlatData.SchoolDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*Order*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 14 /*OpenStartDateTime*/, false) && verifier.VerifyString(tablePos, 16 /*OpenEndDateTime*/, false) diff --git a/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcelTable.cs b/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcelTable.cs deleted file mode 100644 index 1ec1c0e..0000000 --- a/SCHALE.Common/FlatData/FarmingDungeonLocationManageExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct FarmingDungeonLocationManageExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static FarmingDungeonLocationManageExcelTable GetRootAsFarmingDungeonLocationManageExcelTable(ByteBuffer _bb) { return GetRootAsFarmingDungeonLocationManageExcelTable(_bb, new FarmingDungeonLocationManageExcelTable()); } - public static FarmingDungeonLocationManageExcelTable GetRootAsFarmingDungeonLocationManageExcelTable(ByteBuffer _bb, FarmingDungeonLocationManageExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public FarmingDungeonLocationManageExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel?)(new SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - FarmingDungeonLocationManageExcelTable.AddDataList(builder, DataListOffset); - return FarmingDungeonLocationManageExcelTable.EndFarmingDungeonLocationManageExcelTable(builder); - } - - public static void StartFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndFarmingDungeonLocationManageExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public FarmingDungeonLocationManageExcelTableT UnPack() { - var _o = new FarmingDungeonLocationManageExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(FarmingDungeonLocationManageExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("FarmingDungeonLocationManageExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, FarmingDungeonLocationManageExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FarmingDungeonLocationManageExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateFarmingDungeonLocationManageExcelTable( - builder, - _DataList); - } -} - -public class FarmingDungeonLocationManageExcelTableT -{ - public List DataList { get; set; } - - public FarmingDungeonLocationManageExcelTableT() { - this.DataList = null; - } -} - - -static public class FarmingDungeonLocationManageExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FarmingDungeonLocationManageExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/FavorLevelExcelTable.cs b/SCHALE.Common/FlatData/FavorLevelExcelTable.cs deleted file mode 100644 index fa67722..0000000 --- a/SCHALE.Common/FlatData/FavorLevelExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct FavorLevelExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static FavorLevelExcelTable GetRootAsFavorLevelExcelTable(ByteBuffer _bb) { return GetRootAsFavorLevelExcelTable(_bb, new FavorLevelExcelTable()); } - public static FavorLevelExcelTable GetRootAsFavorLevelExcelTable(ByteBuffer _bb, FavorLevelExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public FavorLevelExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.FavorLevelExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FavorLevelExcel?)(new SCHALE.Common.FlatData.FavorLevelExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateFavorLevelExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - FavorLevelExcelTable.AddDataList(builder, DataListOffset); - return FavorLevelExcelTable.EndFavorLevelExcelTable(builder); - } - - public static void StartFavorLevelExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndFavorLevelExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public FavorLevelExcelTableT UnPack() { - var _o = new FavorLevelExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(FavorLevelExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("FavorLevelExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, FavorLevelExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FavorLevelExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateFavorLevelExcelTable( - builder, - _DataList); - } -} - -public class FavorLevelExcelTableT -{ - public List DataList { get; set; } - - public FavorLevelExcelTableT() { - this.DataList = null; - } -} - - -static public class FavorLevelExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FavorLevelExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/FavorLevelRewardExcelTable.cs b/SCHALE.Common/FlatData/FavorLevelRewardExcelTable.cs deleted file mode 100644 index 128ceee..0000000 --- a/SCHALE.Common/FlatData/FavorLevelRewardExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct FavorLevelRewardExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static FavorLevelRewardExcelTable GetRootAsFavorLevelRewardExcelTable(ByteBuffer _bb) { return GetRootAsFavorLevelRewardExcelTable(_bb, new FavorLevelRewardExcelTable()); } - public static FavorLevelRewardExcelTable GetRootAsFavorLevelRewardExcelTable(ByteBuffer _bb, FavorLevelRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public FavorLevelRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.FavorLevelRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FavorLevelRewardExcel?)(new SCHALE.Common.FlatData.FavorLevelRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateFavorLevelRewardExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - FavorLevelRewardExcelTable.AddDataList(builder, DataListOffset); - return FavorLevelRewardExcelTable.EndFavorLevelRewardExcelTable(builder); - } - - public static void StartFavorLevelRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndFavorLevelRewardExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public FavorLevelRewardExcelTableT UnPack() { - var _o = new FavorLevelRewardExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(FavorLevelRewardExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("FavorLevelRewardExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, FavorLevelRewardExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FavorLevelRewardExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateFavorLevelRewardExcelTable( - builder, - _DataList); - } -} - -public class FavorLevelRewardExcelTableT -{ - public List DataList { get; set; } - - public FavorLevelRewardExcelTableT() { - this.DataList = null; - } -} - - -static public class FavorLevelRewardExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FavorLevelRewardExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/FieldContentStageExcel.cs b/SCHALE.Common/FlatData/FieldContentStageExcel.cs index 7b0ab69..17058a9 100644 --- a/SCHALE.Common/FlatData/FieldContentStageExcel.cs +++ b/SCHALE.Common/FlatData/FieldContentStageExcel.cs @@ -24,7 +24,7 @@ public struct FieldContentStageExcel : IFlatbufferObject public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AreaId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public string Name { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetNameBytes() { return __p.__vector_as_span(14, 1); } @@ -36,7 +36,7 @@ public struct FieldContentStageExcel : IFlatbufferObject public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long StageEnterCostId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int StageEnterCostAmount { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long GroundID { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -49,13 +49,13 @@ public struct FieldContentStageExcel : IFlatbufferObject long SeasonId = 0, long AreaId = 0, long GroupId = 0, - SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, + SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, StringOffset NameOffset = default(StringOffset), long BattleDuration = 0, SCHALE.Common.FlatData.ParcelType StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None, long StageEnterCostId = 0, int StageEnterCostAmount = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, long GroundID = 0, long BGMId = 0, @@ -73,11 +73,11 @@ public struct FieldContentStageExcel : IFlatbufferObject FieldContentStageExcel.AddSeasonId(builder, SeasonId); FieldContentStageExcel.AddId(builder, Id); FieldContentStageExcel.AddRecommandLevel(builder, RecommandLevel); - FieldContentStageExcel.AddStageTopography_(builder, StageTopography_); + FieldContentStageExcel.AddStageTopography(builder, StageTopography); FieldContentStageExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); FieldContentStageExcel.AddStageEnterCostType(builder, StageEnterCostType); FieldContentStageExcel.AddName(builder, NameOffset); - FieldContentStageExcel.AddStageDifficulty_(builder, StageDifficulty_); + FieldContentStageExcel.AddStageDifficulty(builder, StageDifficulty); FieldContentStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings); FieldContentStageExcel.AddInstantClear(builder, InstantClear); return FieldContentStageExcel.EndFieldContentStageExcel(builder); @@ -88,13 +88,13 @@ public struct FieldContentStageExcel : IFlatbufferObject public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } public static void AddAreaId(FlatBufferBuilder builder, long areaId) { builder.AddLong(2, areaId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(3, groupId, 0); } - public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(4, (int)stageDifficulty_, 0); } + public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(4, (int)stageDifficulty, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(5, nameOffset.Value, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(6, battleDuration, 0); } public static void AddStageEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageEnterCostType) { builder.AddInt(7, (int)stageEnterCostType, 0); } public static void AddStageEnterCostId(FlatBufferBuilder builder, long stageEnterCostId) { builder.AddLong(8, stageEnterCostId, 0); } public static void AddStageEnterCostAmount(FlatBufferBuilder builder, int stageEnterCostAmount) { builder.AddInt(9, stageEnterCostAmount, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(10, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(10, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(11, recommandLevel, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(12, groundID, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(13, bGMId, 0); } @@ -116,13 +116,13 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.AreaId = TableEncryptionService.Convert(this.AreaId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); + _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.StageEnterCostType = TableEncryptionService.Convert(this.StageEnterCostType, key); _o.StageEnterCostId = TableEncryptionService.Convert(this.StageEnterCostId, key); _o.StageEnterCostAmount = TableEncryptionService.Convert(this.StageEnterCostAmount, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); @@ -139,13 +139,13 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.SeasonId, _o.AreaId, _o.GroupId, - _o.StageDifficulty_, + _o.StageDifficulty, _Name, _o.BattleDuration, _o.StageEnterCostType, _o.StageEnterCostId, _o.StageEnterCostAmount, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.GroundID, _o.BGMId, @@ -161,13 +161,13 @@ public class FieldContentStageExcelT public long SeasonId { get; set; } public long AreaId { get; set; } public long GroupId { get; set; } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; } public string Name { get; set; } public long BattleDuration { get; set; } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get; set; } public long StageEnterCostId { get; set; } public int StageEnterCostAmount { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public long GroundID { get; set; } public long BGMId { get; set; } @@ -180,13 +180,13 @@ public class FieldContentStageExcelT this.SeasonId = 0; this.AreaId = 0; this.GroupId = 0; - this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; + this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; this.Name = null; this.BattleDuration = 0; this.StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None; this.StageEnterCostId = 0; this.StageEnterCostAmount = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.GroundID = 0; this.BGMId = 0; @@ -206,13 +206,13 @@ static public class FieldContentStageExcelVerify && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*AreaId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyString(tablePos, 14 /*Name*/, false) && verifier.VerifyField(tablePos, 16 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*StageEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 20 /*StageEnterCostId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*StageEnterCostAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 24 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 26 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 28 /*GroundID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 30 /*BGMId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/FieldContentStageRewardExcel.cs b/SCHALE.Common/FlatData/FieldContentStageRewardExcel.cs index 82a3afb..0b40a61 100644 --- a/SCHALE.Common/FlatData/FieldContentStageRewardExcel.cs +++ b/SCHALE.Common/FlatData/FieldContentStageRewardExcel.cs @@ -21,7 +21,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject public FieldContentStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject public static Offset CreateFieldContentStageRewardExcel(FlatBufferBuilder builder, long GroupId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int RewardProb = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardId = 0, @@ -42,14 +42,14 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject FieldContentStageRewardExcel.AddRewardAmount(builder, RewardAmount); FieldContentStageRewardExcel.AddRewardParcelType(builder, RewardParcelType); FieldContentStageRewardExcel.AddRewardProb(builder, RewardProb); - FieldContentStageRewardExcel.AddRewardTag_(builder, RewardTag_); + FieldContentStageRewardExcel.AddRewardTag(builder, RewardTag); FieldContentStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); return FieldContentStageRewardExcel.EndFieldContentStageRewardExcel(builder); } public static void StartFieldContentStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } @@ -67,7 +67,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject public void UnPackTo(FieldContentStageRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldContentStageReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key); @@ -79,7 +79,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject return CreateFieldContentStageRewardExcel( builder, _o.GroupId, - _o.RewardTag_, + _o.RewardTag, _o.RewardProb, _o.RewardParcelType, _o.RewardId, @@ -91,7 +91,7 @@ public struct FieldContentStageRewardExcel : IFlatbufferObject public class FieldContentStageRewardExcelT { public long GroupId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int RewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardId { get; set; } @@ -100,7 +100,7 @@ public class FieldContentStageRewardExcelT public FieldContentStageRewardExcelT() { this.GroupId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardProb = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardId = 0; @@ -116,7 +116,7 @@ static public class FieldContentStageRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/FieldDateExcel.cs b/SCHALE.Common/FlatData/FieldDateExcel.cs index cc82031..3c3858e 100644 --- a/SCHALE.Common/FlatData/FieldDateExcel.cs +++ b/SCHALE.Common/FlatData/FieldDateExcel.cs @@ -20,8 +20,8 @@ public struct FieldDateExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public FieldDateExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long SeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long OpenDate { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string DateLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -46,8 +46,8 @@ public struct FieldDateExcel : IFlatbufferObject public float DateResultSpineOffsetX { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public static Offset CreateFieldDateExcel(FlatBufferBuilder builder, - long UniqueId = 0, long SeasonId = 0, + long UniqueId = 0, long OpenDate = 0, StringOffset DateLocalizeKeyOffset = default(StringOffset), long EntrySceneId = 0, @@ -64,8 +64,8 @@ public struct FieldDateExcel : IFlatbufferObject FieldDateExcel.AddStartConditionId(builder, StartConditionId); FieldDateExcel.AddEntrySceneId(builder, EntrySceneId); FieldDateExcel.AddOpenDate(builder, OpenDate); - FieldDateExcel.AddSeasonId(builder, SeasonId); FieldDateExcel.AddUniqueId(builder, UniqueId); + FieldDateExcel.AddSeasonId(builder, SeasonId); FieldDateExcel.AddDateResultSpineOffsetX(builder, DateResultSpineOffsetX); FieldDateExcel.AddDateResultSpinePath(builder, DateResultSpinePathOffset); FieldDateExcel.AddEndConditionType(builder, EndConditionType); @@ -75,8 +75,8 @@ public struct FieldDateExcel : IFlatbufferObject } public static void StartFieldDateExcel(FlatBufferBuilder builder) { builder.StartTable(12); } - public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } + public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(0, seasonId, 0); } + public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); } public static void AddOpenDate(FlatBufferBuilder builder, long openDate) { builder.AddLong(2, openDate, 0); } public static void AddDateLocalizeKey(FlatBufferBuilder builder, StringOffset dateLocalizeKeyOffset) { builder.AddOffset(3, dateLocalizeKeyOffset.Value, 0); } public static void AddEntrySceneId(FlatBufferBuilder builder, long entrySceneId) { builder.AddLong(4, entrySceneId, 0); } @@ -98,8 +98,8 @@ public struct FieldDateExcel : IFlatbufferObject } public void UnPackTo(FieldDateExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldDate"); - _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); + _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.OpenDate = TableEncryptionService.Convert(this.OpenDate, key); _o.DateLocalizeKey = TableEncryptionService.Convert(this.DateLocalizeKey, key); _o.EntrySceneId = TableEncryptionService.Convert(this.EntrySceneId, key); @@ -117,8 +117,8 @@ public struct FieldDateExcel : IFlatbufferObject var _DateResultSpinePath = _o.DateResultSpinePath == null ? default(StringOffset) : builder.CreateString(_o.DateResultSpinePath); return CreateFieldDateExcel( builder, - _o.UniqueId, _o.SeasonId, + _o.UniqueId, _o.OpenDate, _DateLocalizeKey, _o.EntrySceneId, @@ -134,8 +134,8 @@ public struct FieldDateExcel : IFlatbufferObject public class FieldDateExcelT { - public long UniqueId { get; set; } public long SeasonId { get; set; } + public long UniqueId { get; set; } public long OpenDate { get; set; } public string DateLocalizeKey { get; set; } public long EntrySceneId { get; set; } @@ -148,8 +148,8 @@ public class FieldDateExcelT public float DateResultSpineOffsetX { get; set; } public FieldDateExcelT() { - this.UniqueId = 0; this.SeasonId = 0; + this.UniqueId = 0; this.OpenDate = 0; this.DateLocalizeKey = null; this.EntrySceneId = 0; @@ -169,8 +169,8 @@ static public class FieldDateExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 4 /*SeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*OpenDate*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 10 /*DateLocalizeKey*/, false) && verifier.VerifyField(tablePos, 12 /*EntrySceneId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/FieldInteractionExcel.cs b/SCHALE.Common/FlatData/FieldInteractionExcel.cs index 5292ed4..6ed41d5 100644 --- a/SCHALE.Common/FlatData/FieldInteractionExcel.cs +++ b/SCHALE.Common/FlatData/FieldInteractionExcel.cs @@ -20,17 +20,17 @@ public struct FieldInteractionExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public FieldInteractionExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long FieldDateId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public bool ShowEmoji { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public string KeywordLocalize { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long FieldSeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long FieldDateId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool ShowEmoji { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public string KeywordLocalize { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetKeywordLocalizeBytes() { return __p.__vector_as_span(10, 1); } + public Span GetKeywordLocalizeBytes() { return __p.__vector_as_span(12, 1); } #else - public ArraySegment? GetKeywordLocalizeBytes() { return __p.__vector_as_arraysegment(10); } + public ArraySegment? GetKeywordLocalizeBytes() { return __p.__vector_as_arraysegment(12); } #endif - public byte[] GetKeywordLocalizeArray() { return __p.__vector_as_array(10); } - public long FieldSeasonId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public byte[] GetKeywordLocalizeArray() { return __p.__vector_as_array(12); } public SCHALE.Common.FlatData.FieldInteractionType InteractionType(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.FieldInteractionType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.FieldInteractionType)0; } public int InteractionTypeLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -91,11 +91,11 @@ public struct FieldInteractionExcel : IFlatbufferObject public bool[] GetNegateConditionArray() { return __p.__vector_as_array(30); } public static Offset CreateFieldInteractionExcel(FlatBufferBuilder builder, + long FieldSeasonId = 0, long UniqueId = 0, long FieldDateId = 0, bool ShowEmoji = false, StringOffset KeywordLocalizeOffset = default(StringOffset), - long FieldSeasonId = 0, VectorOffset InteractionTypeOffset = default(VectorOffset), VectorOffset InteractionIdOffset = default(VectorOffset), SCHALE.Common.FlatData.FieldConditionClass ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr, @@ -106,9 +106,9 @@ public struct FieldInteractionExcel : IFlatbufferObject VectorOffset ConditionIdOffset = default(VectorOffset), VectorOffset NegateConditionOffset = default(VectorOffset)) { builder.StartTable(14); - FieldInteractionExcel.AddFieldSeasonId(builder, FieldSeasonId); FieldInteractionExcel.AddFieldDateId(builder, FieldDateId); FieldInteractionExcel.AddUniqueId(builder, UniqueId); + FieldInteractionExcel.AddFieldSeasonId(builder, FieldSeasonId); FieldInteractionExcel.AddNegateCondition(builder, NegateConditionOffset); FieldInteractionExcel.AddConditionId(builder, ConditionIdOffset); FieldInteractionExcel.AddConditionType(builder, ConditionTypeOffset); @@ -124,11 +124,11 @@ public struct FieldInteractionExcel : IFlatbufferObject } public static void StartFieldInteractionExcel(FlatBufferBuilder builder) { builder.StartTable(14); } - public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(1, fieldDateId, 0); } - public static void AddShowEmoji(FlatBufferBuilder builder, bool showEmoji) { builder.AddBool(2, showEmoji, false); } - public static void AddKeywordLocalize(FlatBufferBuilder builder, StringOffset keywordLocalizeOffset) { builder.AddOffset(3, keywordLocalizeOffset.Value, 0); } - public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(4, fieldSeasonId, 0); } + public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(0, fieldSeasonId, 0); } + public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); } + public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(2, fieldDateId, 0); } + public static void AddShowEmoji(FlatBufferBuilder builder, bool showEmoji) { builder.AddBool(3, showEmoji, false); } + public static void AddKeywordLocalize(FlatBufferBuilder builder, StringOffset keywordLocalizeOffset) { builder.AddOffset(4, keywordLocalizeOffset.Value, 0); } public static void AddInteractionType(FlatBufferBuilder builder, VectorOffset interactionTypeOffset) { builder.AddOffset(5, interactionTypeOffset.Value, 0); } public static VectorOffset CreateInteractionTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateInteractionTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldInteractionType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -184,11 +184,11 @@ public struct FieldInteractionExcel : IFlatbufferObject } public void UnPackTo(FieldInteractionExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldInteraction"); + _o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key); _o.ShowEmoji = TableEncryptionService.Convert(this.ShowEmoji, key); _o.KeywordLocalize = TableEncryptionService.Convert(this.KeywordLocalize, key); - _o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key); _o.InteractionType = new List(); for (var _j = 0; _j < this.InteractionTypeLength; ++_j) {_o.InteractionType.Add(TableEncryptionService.Convert(this.InteractionType(_j), key));} _o.InteractionId = new List(); @@ -246,11 +246,11 @@ public struct FieldInteractionExcel : IFlatbufferObject } return CreateFieldInteractionExcel( builder, + _o.FieldSeasonId, _o.UniqueId, _o.FieldDateId, _o.ShowEmoji, _KeywordLocalize, - _o.FieldSeasonId, _InteractionType, _InteractionId, _o.ConditionClass, @@ -265,11 +265,11 @@ public struct FieldInteractionExcel : IFlatbufferObject public class FieldInteractionExcelT { + public long FieldSeasonId { get; set; } public long UniqueId { get; set; } public long FieldDateId { get; set; } public bool ShowEmoji { get; set; } public string KeywordLocalize { get; set; } - public long FieldSeasonId { get; set; } public List InteractionType { get; set; } public List InteractionId { get; set; } public SCHALE.Common.FlatData.FieldConditionClass ConditionClass { get; set; } @@ -281,11 +281,11 @@ public class FieldInteractionExcelT public List NegateCondition { get; set; } public FieldInteractionExcelT() { + this.FieldSeasonId = 0; this.UniqueId = 0; this.FieldDateId = 0; this.ShowEmoji = false; this.KeywordLocalize = null; - this.FieldSeasonId = 0; this.InteractionType = null; this.InteractionId = null; this.ConditionClass = SCHALE.Common.FlatData.FieldConditionClass.AndOr; @@ -304,11 +304,11 @@ static public class FieldInteractionExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*FieldDateId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ShowEmoji*/, 1 /*bool*/, 1, false) - && verifier.VerifyString(tablePos, 10 /*KeywordLocalize*/, false) - && verifier.VerifyField(tablePos, 12 /*FieldSeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 4 /*FieldSeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 8 /*FieldDateId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 10 /*ShowEmoji*/, 1 /*bool*/, 1, false) + && verifier.VerifyString(tablePos, 12 /*KeywordLocalize*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*InteractionType*/, 4 /*SCHALE.Common.FlatData.FieldInteractionType*/, false) && verifier.VerifyVectorOfData(tablePos, 16 /*InteractionId*/, 8 /*long*/, false) && verifier.VerifyField(tablePos, 18 /*ConditionClass*/, 4 /*SCHALE.Common.FlatData.FieldConditionClass*/, 4, false) diff --git a/SCHALE.Common/FlatData/FieldQuestExcel.cs b/SCHALE.Common/FlatData/FieldQuestExcel.cs index 041ed1f..437b878 100644 --- a/SCHALE.Common/FlatData/FieldQuestExcel.cs +++ b/SCHALE.Common/FlatData/FieldQuestExcel.cs @@ -20,8 +20,8 @@ public struct FieldQuestExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public FieldQuestExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long FieldSeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long FieldSeasonId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool IsDaily { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long FieldDateId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Opendate { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -38,8 +38,8 @@ public struct FieldQuestExcel : IFlatbufferObject public uint QuestDescKey { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public static Offset CreateFieldQuestExcel(FlatBufferBuilder builder, - long UniqueId = 0, long FieldSeasonId = 0, + long UniqueId = 0, bool IsDaily = false, long FieldDateId = 0, long Opendate = 0, @@ -52,8 +52,8 @@ public struct FieldQuestExcel : IFlatbufferObject FieldQuestExcel.AddRewardId(builder, RewardId); FieldQuestExcel.AddOpendate(builder, Opendate); FieldQuestExcel.AddFieldDateId(builder, FieldDateId); - FieldQuestExcel.AddFieldSeasonId(builder, FieldSeasonId); FieldQuestExcel.AddUniqueId(builder, UniqueId); + FieldQuestExcel.AddFieldSeasonId(builder, FieldSeasonId); FieldQuestExcel.AddQuestDescKey(builder, QuestDescKey); FieldQuestExcel.AddQuestNamKey(builder, QuestNamKey); FieldQuestExcel.AddProb(builder, Prob); @@ -63,8 +63,8 @@ public struct FieldQuestExcel : IFlatbufferObject } public static void StartFieldQuestExcel(FlatBufferBuilder builder) { builder.StartTable(10); } - public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(1, fieldSeasonId, 0); } + public static void AddFieldSeasonId(FlatBufferBuilder builder, long fieldSeasonId) { builder.AddLong(0, fieldSeasonId, 0); } + public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); } public static void AddIsDaily(FlatBufferBuilder builder, bool isDaily) { builder.AddBool(2, isDaily, false); } public static void AddFieldDateId(FlatBufferBuilder builder, long fieldDateId) { builder.AddLong(3, fieldDateId, 0); } public static void AddOpendate(FlatBufferBuilder builder, long opendate) { builder.AddLong(4, opendate, 0); } @@ -84,8 +84,8 @@ public struct FieldQuestExcel : IFlatbufferObject } public void UnPackTo(FieldQuestExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldQuest"); - _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.FieldSeasonId = TableEncryptionService.Convert(this.FieldSeasonId, key); + _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.IsDaily = TableEncryptionService.Convert(this.IsDaily, key); _o.FieldDateId = TableEncryptionService.Convert(this.FieldDateId, key); _o.Opendate = TableEncryptionService.Convert(this.Opendate, key); @@ -100,8 +100,8 @@ public struct FieldQuestExcel : IFlatbufferObject var _AssetPath = _o.AssetPath == null ? default(StringOffset) : builder.CreateString(_o.AssetPath); return CreateFieldQuestExcel( builder, - _o.UniqueId, _o.FieldSeasonId, + _o.UniqueId, _o.IsDaily, _o.FieldDateId, _o.Opendate, @@ -115,8 +115,8 @@ public struct FieldQuestExcel : IFlatbufferObject public class FieldQuestExcelT { - public long UniqueId { get; set; } public long FieldSeasonId { get; set; } + public long UniqueId { get; set; } public bool IsDaily { get; set; } public long FieldDateId { get; set; } public long Opendate { get; set; } @@ -127,8 +127,8 @@ public class FieldQuestExcelT public uint QuestDescKey { get; set; } public FieldQuestExcelT() { - this.UniqueId = 0; this.FieldSeasonId = 0; + this.UniqueId = 0; this.IsDaily = false; this.FieldDateId = 0; this.Opendate = 0; @@ -146,8 +146,8 @@ static public class FieldQuestExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*FieldSeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 4 /*FieldSeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*IsDaily*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*FieldDateId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*Opendate*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/FieldSeasonExcel.cs b/SCHALE.Common/FlatData/FieldSeasonExcel.cs index 0cd8aec..d304f14 100644 --- a/SCHALE.Common/FlatData/FieldSeasonExcel.cs +++ b/SCHALE.Common/FlatData/FieldSeasonExcel.cs @@ -53,6 +53,20 @@ public struct FieldSeasonExcel : IFlatbufferObject public ArraySegment? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(20); } #endif public byte[] GetMasteryImagePathArray() { return __p.__vector_as_array(20); } + public string FieldLobbyTitleImagePath { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span(22, 1); } +#else + public ArraySegment? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(22); } +#endif + public byte[] GetFieldLobbyTitleImagePathArray() { return __p.__vector_as_array(22); } + public string KeywordLogoImagePath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetKeywordLogoImagePathBytes() { return __p.__vector_as_span(24, 1); } +#else + public ArraySegment? GetKeywordLogoImagePathBytes() { return __p.__vector_as_arraysegment(24); } +#endif + public byte[] GetKeywordLogoImagePathArray() { return __p.__vector_as_array(24); } public static Offset CreateFieldSeasonExcel(FlatBufferBuilder builder, long UniqueId = 0, @@ -63,13 +77,17 @@ public struct FieldSeasonExcel : IFlatbufferObject StringOffset EndDateOffset = default(StringOffset), long LobbyBGMChangeStageId = 0, StringOffset CharacterIconPathOffset = default(StringOffset), - StringOffset MasteryImagePathOffset = default(StringOffset)) { - builder.StartTable(9); + StringOffset MasteryImagePathOffset = default(StringOffset), + StringOffset FieldLobbyTitleImagePathOffset = default(StringOffset), + StringOffset KeywordLogoImagePathOffset = default(StringOffset)) { + builder.StartTable(11); FieldSeasonExcel.AddLobbyBGMChangeStageId(builder, LobbyBGMChangeStageId); FieldSeasonExcel.AddInstantEntryDateId(builder, InstantEntryDateId); FieldSeasonExcel.AddEntryDateId(builder, EntryDateId); FieldSeasonExcel.AddEventContentId(builder, EventContentId); FieldSeasonExcel.AddUniqueId(builder, UniqueId); + FieldSeasonExcel.AddKeywordLogoImagePath(builder, KeywordLogoImagePathOffset); + FieldSeasonExcel.AddFieldLobbyTitleImagePath(builder, FieldLobbyTitleImagePathOffset); FieldSeasonExcel.AddMasteryImagePath(builder, MasteryImagePathOffset); FieldSeasonExcel.AddCharacterIconPath(builder, CharacterIconPathOffset); FieldSeasonExcel.AddEndDate(builder, EndDateOffset); @@ -77,7 +95,7 @@ public struct FieldSeasonExcel : IFlatbufferObject return FieldSeasonExcel.EndFieldSeasonExcel(builder); } - public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(9); } + public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(11); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); } public static void AddEntryDateId(FlatBufferBuilder builder, long entryDateId) { builder.AddLong(2, entryDateId, 0); } @@ -87,6 +105,8 @@ public struct FieldSeasonExcel : IFlatbufferObject public static void AddLobbyBGMChangeStageId(FlatBufferBuilder builder, long lobbyBGMChangeStageId) { builder.AddLong(6, lobbyBGMChangeStageId, 0); } public static void AddCharacterIconPath(FlatBufferBuilder builder, StringOffset characterIconPathOffset) { builder.AddOffset(7, characterIconPathOffset.Value, 0); } public static void AddMasteryImagePath(FlatBufferBuilder builder, StringOffset masteryImagePathOffset) { builder.AddOffset(8, masteryImagePathOffset.Value, 0); } + public static void AddFieldLobbyTitleImagePath(FlatBufferBuilder builder, StringOffset fieldLobbyTitleImagePathOffset) { builder.AddOffset(9, fieldLobbyTitleImagePathOffset.Value, 0); } + public static void AddKeywordLogoImagePath(FlatBufferBuilder builder, StringOffset keywordLogoImagePathOffset) { builder.AddOffset(10, keywordLogoImagePathOffset.Value, 0); } public static Offset EndFieldSeasonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -107,6 +127,8 @@ public struct FieldSeasonExcel : IFlatbufferObject _o.LobbyBGMChangeStageId = TableEncryptionService.Convert(this.LobbyBGMChangeStageId, key); _o.CharacterIconPath = TableEncryptionService.Convert(this.CharacterIconPath, key); _o.MasteryImagePath = TableEncryptionService.Convert(this.MasteryImagePath, key); + _o.FieldLobbyTitleImagePath = TableEncryptionService.Convert(this.FieldLobbyTitleImagePath, key); + _o.KeywordLogoImagePath = TableEncryptionService.Convert(this.KeywordLogoImagePath, key); } public static Offset Pack(FlatBufferBuilder builder, FieldSeasonExcelT _o) { if (_o == null) return default(Offset); @@ -114,6 +136,8 @@ public struct FieldSeasonExcel : IFlatbufferObject var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); var _CharacterIconPath = _o.CharacterIconPath == null ? default(StringOffset) : builder.CreateString(_o.CharacterIconPath); var _MasteryImagePath = _o.MasteryImagePath == null ? default(StringOffset) : builder.CreateString(_o.MasteryImagePath); + var _FieldLobbyTitleImagePath = _o.FieldLobbyTitleImagePath == null ? default(StringOffset) : builder.CreateString(_o.FieldLobbyTitleImagePath); + var _KeywordLogoImagePath = _o.KeywordLogoImagePath == null ? default(StringOffset) : builder.CreateString(_o.KeywordLogoImagePath); return CreateFieldSeasonExcel( builder, _o.UniqueId, @@ -124,7 +148,9 @@ public struct FieldSeasonExcel : IFlatbufferObject _EndDate, _o.LobbyBGMChangeStageId, _CharacterIconPath, - _MasteryImagePath); + _MasteryImagePath, + _FieldLobbyTitleImagePath, + _KeywordLogoImagePath); } } @@ -139,6 +165,8 @@ public class FieldSeasonExcelT public long LobbyBGMChangeStageId { get; set; } public string CharacterIconPath { get; set; } public string MasteryImagePath { get; set; } + public string FieldLobbyTitleImagePath { get; set; } + public string KeywordLogoImagePath { get; set; } public FieldSeasonExcelT() { this.UniqueId = 0; @@ -150,6 +178,8 @@ public class FieldSeasonExcelT this.LobbyBGMChangeStageId = 0; this.CharacterIconPath = null; this.MasteryImagePath = null; + this.FieldLobbyTitleImagePath = null; + this.KeywordLogoImagePath = null; } } @@ -168,6 +198,8 @@ static public class FieldSeasonExcelVerify && verifier.VerifyField(tablePos, 16 /*LobbyBGMChangeStageId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 18 /*CharacterIconPath*/, false) && verifier.VerifyString(tablePos, 20 /*MasteryImagePath*/, false) + && verifier.VerifyString(tablePos, 22 /*FieldLobbyTitleImagePath*/, false) + && verifier.VerifyString(tablePos, 24 /*KeywordLogoImagePath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldStoryStageExcel.cs b/SCHALE.Common/FlatData/FieldStoryStageExcel.cs index 5defb7b..5b4d97e 100644 --- a/SCHALE.Common/FlatData/FieldStoryStageExcel.cs +++ b/SCHALE.Common/FlatData/FieldStoryStageExcel.cs @@ -30,7 +30,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject #endif public byte[] GetNameArray() { return __p.__vector_as_array(8); } public long BattleDuration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long GroundID { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BGMId { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -42,7 +42,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject long SeasonId = 0, StringOffset NameOffset = default(StringOffset), long BattleDuration = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, long GroundID = 0, long BGMId = 0, @@ -56,7 +56,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject FieldStoryStageExcel.AddSeasonId(builder, SeasonId); FieldStoryStageExcel.AddId(builder, Id); FieldStoryStageExcel.AddRecommandLevel(builder, RecommandLevel); - FieldStoryStageExcel.AddStageTopography_(builder, StageTopography_); + FieldStoryStageExcel.AddStageTopography(builder, StageTopography); FieldStoryStageExcel.AddName(builder, NameOffset); FieldStoryStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings); return FieldStoryStageExcel.EndFieldStoryStageExcel(builder); @@ -67,7 +67,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(2, nameOffset.Value, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(3, battleDuration, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(4, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(4, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(5, recommandLevel, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(6, groundID, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(7, bGMId, 0); } @@ -88,7 +88,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); @@ -104,7 +104,7 @@ public struct FieldStoryStageExcel : IFlatbufferObject _o.SeasonId, _Name, _o.BattleDuration, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.GroundID, _o.BGMId, @@ -119,7 +119,7 @@ public class FieldStoryStageExcelT public long SeasonId { get; set; } public string Name { get; set; } public long BattleDuration { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public long GroundID { get; set; } public long BGMId { get; set; } @@ -131,7 +131,7 @@ public class FieldStoryStageExcelT this.SeasonId = 0; this.Name = null; this.BattleDuration = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.GroundID = 0; this.BGMId = 0; @@ -150,7 +150,7 @@ static public class FieldStoryStageExcelVerify && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 8 /*Name*/, false) && verifier.VerifyField(tablePos, 10 /*BattleDuration*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 14 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*GroundID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*BGMId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/FixedEchelonSettingExcelTable.cs b/SCHALE.Common/FlatData/FixedEchelonSettingExcelTable.cs deleted file mode 100644 index 856241b..0000000 --- a/SCHALE.Common/FlatData/FixedEchelonSettingExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct FixedEchelonSettingExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static FixedEchelonSettingExcelTable GetRootAsFixedEchelonSettingExcelTable(ByteBuffer _bb) { return GetRootAsFixedEchelonSettingExcelTable(_bb, new FixedEchelonSettingExcelTable()); } - public static FixedEchelonSettingExcelTable GetRootAsFixedEchelonSettingExcelTable(ByteBuffer _bb, FixedEchelonSettingExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public FixedEchelonSettingExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.FixedEchelonSettingExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FixedEchelonSettingExcel?)(new SCHALE.Common.FlatData.FixedEchelonSettingExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateFixedEchelonSettingExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - FixedEchelonSettingExcelTable.AddDataList(builder, DataListOffset); - return FixedEchelonSettingExcelTable.EndFixedEchelonSettingExcelTable(builder); - } - - public static void StartFixedEchelonSettingExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndFixedEchelonSettingExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public FixedEchelonSettingExcelTableT UnPack() { - var _o = new FixedEchelonSettingExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(FixedEchelonSettingExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("FixedEchelonSettingExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, FixedEchelonSettingExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FixedEchelonSettingExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateFixedEchelonSettingExcelTable( - builder, - _DataList); - } -} - -public class FixedEchelonSettingExcelTableT -{ - public List DataList { get; set; } - - public FixedEchelonSettingExcelTableT() { - this.DataList = null; - } -} - - -static public class FixedEchelonSettingExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FixedEchelonSettingExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/FloaterCommonExcel.cs b/SCHALE.Common/FlatData/FloaterCommonExcel.cs index 65114f4..1b3db01 100644 --- a/SCHALE.Common/FlatData/FloaterCommonExcel.cs +++ b/SCHALE.Common/FlatData/FloaterCommonExcel.cs @@ -21,7 +21,7 @@ public struct FloaterCommonExcel : IFlatbufferObject public FloaterCommonExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TacticEntityType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEntityType.None; } } public int FloaterOffsetPosX { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int FloaterOffsetPosY { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int FloaterRandomPosRangeX { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -29,7 +29,7 @@ public struct FloaterCommonExcel : IFlatbufferObject public static Offset CreateFloaterCommonExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None, + SCHALE.Common.FlatData.TacticEntityType TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None, int FloaterOffsetPosX = 0, int FloaterOffsetPosY = 0, int FloaterRandomPosRangeX = 0, @@ -40,13 +40,13 @@ public struct FloaterCommonExcel : IFlatbufferObject FloaterCommonExcel.AddFloaterRandomPosRangeX(builder, FloaterRandomPosRangeX); FloaterCommonExcel.AddFloaterOffsetPosY(builder, FloaterOffsetPosY); FloaterCommonExcel.AddFloaterOffsetPosX(builder, FloaterOffsetPosX); - FloaterCommonExcel.AddTacticEntityType_(builder, TacticEntityType_); + FloaterCommonExcel.AddTacticEntityType(builder, TacticEntityType); return FloaterCommonExcel.EndFloaterCommonExcel(builder); } public static void StartFloaterCommonExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddTacticEntityType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType_) { builder.AddInt(1, (int)tacticEntityType_, 0); } + public static void AddTacticEntityType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEntityType tacticEntityType) { builder.AddInt(1, (int)tacticEntityType, 0); } public static void AddFloaterOffsetPosX(FlatBufferBuilder builder, int floaterOffsetPosX) { builder.AddInt(2, floaterOffsetPosX, 0); } public static void AddFloaterOffsetPosY(FlatBufferBuilder builder, int floaterOffsetPosY) { builder.AddInt(3, floaterOffsetPosY, 0); } public static void AddFloaterRandomPosRangeX(FlatBufferBuilder builder, int floaterRandomPosRangeX) { builder.AddInt(4, floaterRandomPosRangeX, 0); } @@ -63,7 +63,7 @@ public struct FloaterCommonExcel : IFlatbufferObject public void UnPackTo(FloaterCommonExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FloaterCommon"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.TacticEntityType_ = TableEncryptionService.Convert(this.TacticEntityType_, key); + _o.TacticEntityType = TableEncryptionService.Convert(this.TacticEntityType, key); _o.FloaterOffsetPosX = TableEncryptionService.Convert(this.FloaterOffsetPosX, key); _o.FloaterOffsetPosY = TableEncryptionService.Convert(this.FloaterOffsetPosY, key); _o.FloaterRandomPosRangeX = TableEncryptionService.Convert(this.FloaterRandomPosRangeX, key); @@ -74,7 +74,7 @@ public struct FloaterCommonExcel : IFlatbufferObject return CreateFloaterCommonExcel( builder, _o.Id, - _o.TacticEntityType_, + _o.TacticEntityType, _o.FloaterOffsetPosX, _o.FloaterOffsetPosY, _o.FloaterRandomPosRangeX, @@ -85,7 +85,7 @@ public struct FloaterCommonExcel : IFlatbufferObject public class FloaterCommonExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.TacticEntityType TacticEntityType_ { get; set; } + public SCHALE.Common.FlatData.TacticEntityType TacticEntityType { get; set; } public int FloaterOffsetPosX { get; set; } public int FloaterOffsetPosY { get; set; } public int FloaterRandomPosRangeX { get; set; } @@ -93,7 +93,7 @@ public class FloaterCommonExcelT public FloaterCommonExcelT() { this.Id = 0; - this.TacticEntityType_ = SCHALE.Common.FlatData.TacticEntityType.None; + this.TacticEntityType = SCHALE.Common.FlatData.TacticEntityType.None; this.FloaterOffsetPosX = 0; this.FloaterOffsetPosY = 0; this.FloaterRandomPosRangeX = 0; @@ -108,7 +108,7 @@ static public class FloaterCommonExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*TacticEntityType_*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TacticEntityType*/, 4 /*SCHALE.Common.FlatData.TacticEntityType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*FloaterOffsetPosX*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*FloaterOffsetPosY*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*FloaterRandomPosRangeX*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/Form.cs b/SCHALE.Common/FlatData/Form.cs index a814798..9d5ea75 100644 --- a/SCHALE.Common/FlatData/Form.cs +++ b/SCHALE.Common/FlatData/Form.cs @@ -20,20 +20,20 @@ public struct Form : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public Form __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.MoveEnd? MoveEnd_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MoveEnd?)(new SCHALE.Common.FlatData.MoveEnd()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } + public SCHALE.Common.FlatData.MoveEnd? MoveEnd { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MoveEnd?)(new SCHALE.Common.FlatData.MoveEnd()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } public SCHALE.Common.FlatData.Motion? PublicSkill { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.Motion?)(new SCHALE.Common.FlatData.Motion()).__assign(__p.__indirect(o + __p.bb_pos), __p.bb) : null; } } public static Offset CreateForm(FlatBufferBuilder builder, - Offset MoveEnd_Offset = default(Offset), + Offset moveEndOffset = default(Offset), Offset PublicSkillOffset = default(Offset)) { builder.StartTable(2); Form.AddPublicSkill(builder, PublicSkillOffset); - Form.AddMoveEnd_(builder, MoveEnd_Offset); + Form.AddMoveEnd(builder, moveEndOffset); return Form.EndForm(builder); } public static void StartForm(FlatBufferBuilder builder) { builder.StartTable(2); } - public static void AddMoveEnd_(FlatBufferBuilder builder, Offset moveEnd_Offset) { builder.AddOffset(0, moveEnd_Offset.Value, 0); } + public static void AddMoveEnd(FlatBufferBuilder builder, Offset moveEndOffset) { builder.AddOffset(0, moveEndOffset.Value, 0); } public static void AddPublicSkill(FlatBufferBuilder builder, Offset publicSkillOffset) { builder.AddOffset(1, publicSkillOffset.Value, 0); } public static Offset EndForm(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -46,27 +46,27 @@ public struct Form : IFlatbufferObject } public void UnPackTo(FormT _o) { byte[] key = { 0 }; - _o.MoveEnd_ = this.MoveEnd_.HasValue ? this.MoveEnd_.Value.UnPack() : null; + _o.MoveEnd = this.MoveEnd.HasValue ? this.MoveEnd.Value.UnPack() : null; _o.PublicSkill = this.PublicSkill.HasValue ? this.PublicSkill.Value.UnPack() : null; } public static Offset Pack(FlatBufferBuilder builder, FormT _o) { if (_o == null) return default(Offset); - var _MoveEnd_ = _o.MoveEnd_ == null ? default(Offset) : SCHALE.Common.FlatData.MoveEnd.Pack(builder, _o.MoveEnd_); + var _moveEnd = _o.MoveEnd == null ? default(Offset) : SCHALE.Common.FlatData.MoveEnd.Pack(builder, _o.MoveEnd); var _PublicSkill = _o.PublicSkill == null ? default(Offset) : SCHALE.Common.FlatData.Motion.Pack(builder, _o.PublicSkill); return CreateForm( builder, - _MoveEnd_, + _moveEnd, _PublicSkill); } } public class FormT { - public SCHALE.Common.FlatData.MoveEndT MoveEnd_ { get; set; } + public SCHALE.Common.FlatData.MoveEndT MoveEnd { get; set; } public SCHALE.Common.FlatData.MotionT PublicSkill { get; set; } public FormT() { - this.MoveEnd_ = null; + this.MoveEnd = null; this.PublicSkill = null; } } @@ -77,7 +77,7 @@ static public class FormVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyTable(tablePos, 4 /*MoveEnd_*/, SCHALE.Common.FlatData.MoveEndVerify.Verify, false) + && verifier.VerifyTable(tablePos, 4 /*MoveEnd*/, SCHALE.Common.FlatData.MoveEndVerify.Verify, false) && verifier.VerifyTable(tablePos, 6 /*PublicSkill*/, SCHALE.Common.FlatData.MotionVerify.Verify, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/FormationLocationExcelTable.cs b/SCHALE.Common/FlatData/FormationLocationExcelTable.cs deleted file mode 100644 index 2e3e832..0000000 --- a/SCHALE.Common/FlatData/FormationLocationExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct FormationLocationExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static FormationLocationExcelTable GetRootAsFormationLocationExcelTable(ByteBuffer _bb) { return GetRootAsFormationLocationExcelTable(_bb, new FormationLocationExcelTable()); } - public static FormationLocationExcelTable GetRootAsFormationLocationExcelTable(ByteBuffer _bb, FormationLocationExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public FormationLocationExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.FormationLocationExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.FormationLocationExcel?)(new SCHALE.Common.FlatData.FormationLocationExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateFormationLocationExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - FormationLocationExcelTable.AddDataList(builder, DataListOffset); - return FormationLocationExcelTable.EndFormationLocationExcelTable(builder); - } - - public static void StartFormationLocationExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndFormationLocationExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public FormationLocationExcelTableT UnPack() { - var _o = new FormationLocationExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(FormationLocationExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("FormationLocationExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, FormationLocationExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.FormationLocationExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateFormationLocationExcelTable( - builder, - _DataList); - } -} - -public class FormationLocationExcelTableT -{ - public List DataList { get; set; } - - public FormationLocationExcelTableT() { - this.DataList = null; - } -} - - -static public class FormationLocationExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.FormationLocationExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/FurnitureExcel.cs b/SCHALE.Common/FlatData/FurnitureExcel.cs index caa765b..8c4a718 100644 --- a/SCHALE.Common/FlatData/FurnitureExcel.cs +++ b/SCHALE.Common/FlatData/FurnitureExcel.cs @@ -21,8 +21,8 @@ public struct FurnitureExcel : IFlatbufferObject public FurnitureExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public SCHALE.Common.FlatData.FurnitureCategory Category { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.FurnitureCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureCategory.Furnitures; } } public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.FurnitureSubCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureSubCategory.Table; } } public uint LocalizeEtcId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } @@ -94,8 +94,15 @@ public struct FurnitureExcel : IFlatbufferObject public long CraftQualityTier1 { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CraftQualityTier2 { get { int o = __p.__offset(62); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ShiftingCraftQuality { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.FurnitureFunctionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureFunctionType.None; } } - public long FurnitureFunctionParameter { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType { get { int o = __p.__offset(66); return o != 0 ? (SCHALE.Common.FlatData.FurnitureFunctionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FurnitureFunctionType.None; } } + public long FurnitureFunctionParameter(int j) { int o = __p.__offset(68); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int FurnitureFunctionParameterLength { get { int o = __p.__offset(68); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetFurnitureFunctionParameterBytes() { return __p.__vector_as_span(68, 8); } +#else + public ArraySegment? GetFurnitureFunctionParameterBytes() { return __p.__vector_as_arraysegment(68); } +#endif + public long[] GetFurnitureFunctionParameterArray() { return __p.__vector_as_array(68); } public long VideoId { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventCollectionId { get { int o = __p.__offset(72); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FurnitureBubbleOffsetX { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -111,8 +118,8 @@ public struct FurnitureExcel : IFlatbufferObject public static Offset CreateFurnitureExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, SCHALE.Common.FlatData.FurnitureCategory Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures, SCHALE.Common.FlatData.FurnitureSubCategory SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table, uint LocalizeEtcId = 0, @@ -141,8 +148,8 @@ public struct FurnitureExcel : IFlatbufferObject long CraftQualityTier1 = 0, long CraftQualityTier2 = 0, long ShiftingCraftQuality = 0, - SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ = SCHALE.Common.FlatData.FurnitureFunctionType.None, - long FurnitureFunctionParameter = 0, + SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType = SCHALE.Common.FlatData.FurnitureFunctionType.None, + VectorOffset FurnitureFunctionParameterOffset = default(VectorOffset), long VideoId = 0, long EventCollectionId = 0, long FurnitureBubbleOffsetX = 0, @@ -156,7 +163,6 @@ public struct FurnitureExcel : IFlatbufferObject FurnitureExcel.AddFurnitureBubbleOffsetX(builder, FurnitureBubbleOffsetX); FurnitureExcel.AddEventCollectionId(builder, EventCollectionId); FurnitureExcel.AddVideoId(builder, VideoId); - FurnitureExcel.AddFurnitureFunctionParameter(builder, FurnitureFunctionParameter); FurnitureExcel.AddShiftingCraftQuality(builder, ShiftingCraftQuality); FurnitureExcel.AddCraftQualityTier2(builder, CraftQualityTier2); FurnitureExcel.AddCraftQualityTier1(builder, CraftQualityTier1); @@ -173,7 +179,8 @@ public struct FurnitureExcel : IFlatbufferObject FurnitureExcel.AddCafeCharacterStateMake(builder, CafeCharacterStateMakeOffset); FurnitureExcel.AddCafeCharacterStateAdd(builder, CafeCharacterStateAddOffset); FurnitureExcel.AddCafeCharacterStateReq(builder, CafeCharacterStateReqOffset); - FurnitureExcel.AddFurnitureFunctionType_(builder, FurnitureFunctionType_); + FurnitureExcel.AddFurnitureFunctionParameter(builder, FurnitureFunctionParameterOffset); + FurnitureExcel.AddFurnitureFunctionType(builder, FurnitureFunctionType); FurnitureExcel.AddTags(builder, TagsOffset); FurnitureExcel.AddCornerPrefab(builder, CornerPrefabOffset); FurnitureExcel.AddSubExpandPrefab(builder, SubExpandPrefabOffset); @@ -189,8 +196,8 @@ public struct FurnitureExcel : IFlatbufferObject FurnitureExcel.AddLocalizeEtcId(builder, LocalizeEtcId); FurnitureExcel.AddSubCategory(builder, SubCategory); FurnitureExcel.AddCategory(builder, Category); - FurnitureExcel.AddRarity_(builder, Rarity_); - FurnitureExcel.AddProductionStep_(builder, ProductionStep_); + FurnitureExcel.AddRarity(builder, Rarity); + FurnitureExcel.AddProductionStep(builder, ProductionStep); FurnitureExcel.AddReverseRotation(builder, ReverseRotation); FurnitureExcel.AddEnable(builder, Enable); return FurnitureExcel.EndFurnitureExcel(builder); @@ -198,8 +205,8 @@ public struct FurnitureExcel : IFlatbufferObject public static void StartFurnitureExcel(FlatBufferBuilder builder) { builder.StartTable(41); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(1, (int)productionStep_, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(1, (int)productionStep, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } public static void AddCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureCategory category) { builder.AddInt(3, (int)category, 0); } public static void AddSubCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureSubCategory subCategory) { builder.AddInt(4, (int)subCategory, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(5, localizeEtcId, 0); } @@ -233,8 +240,13 @@ public struct FurnitureExcel : IFlatbufferObject public static void AddCraftQualityTier1(FlatBufferBuilder builder, long craftQualityTier1) { builder.AddLong(28, craftQualityTier1, 0); } public static void AddCraftQualityTier2(FlatBufferBuilder builder, long craftQualityTier2) { builder.AddLong(29, craftQualityTier2, 0); } public static void AddShiftingCraftQuality(FlatBufferBuilder builder, long shiftingCraftQuality) { builder.AddLong(30, shiftingCraftQuality, 0); } - public static void AddFurnitureFunctionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureFunctionType furnitureFunctionType_) { builder.AddInt(31, (int)furnitureFunctionType_, 0); } - public static void AddFurnitureFunctionParameter(FlatBufferBuilder builder, long furnitureFunctionParameter) { builder.AddLong(32, furnitureFunctionParameter, 0); } + public static void AddFurnitureFunctionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.FurnitureFunctionType furnitureFunctionType) { builder.AddInt(31, (int)furnitureFunctionType, 0); } + public static void AddFurnitureFunctionParameter(FlatBufferBuilder builder, VectorOffset furnitureFunctionParameterOffset) { builder.AddOffset(32, furnitureFunctionParameterOffset.Value, 0); } + public static VectorOffset CreateFurnitureFunctionParameterVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } + public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateFurnitureFunctionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartFurnitureFunctionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void AddVideoId(FlatBufferBuilder builder, long videoId) { builder.AddLong(33, videoId, 0); } public static void AddEventCollectionId(FlatBufferBuilder builder, long eventCollectionId) { builder.AddLong(34, eventCollectionId, 0); } public static void AddFurnitureBubbleOffsetX(FlatBufferBuilder builder, long furnitureBubbleOffsetX) { builder.AddLong(35, furnitureBubbleOffsetX, 0); } @@ -275,8 +287,8 @@ public struct FurnitureExcel : IFlatbufferObject public void UnPackTo(FurnitureExcelT _o) { byte[] key = TableEncryptionService.CreateKey("Furniture"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.Category = TableEncryptionService.Convert(this.Category, key); _o.SubCategory = TableEncryptionService.Convert(this.SubCategory, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); @@ -306,8 +318,9 @@ public struct FurnitureExcel : IFlatbufferObject _o.CraftQualityTier1 = TableEncryptionService.Convert(this.CraftQualityTier1, key); _o.CraftQualityTier2 = TableEncryptionService.Convert(this.CraftQualityTier2, key); _o.ShiftingCraftQuality = TableEncryptionService.Convert(this.ShiftingCraftQuality, key); - _o.FurnitureFunctionType_ = TableEncryptionService.Convert(this.FurnitureFunctionType_, key); - _o.FurnitureFunctionParameter = TableEncryptionService.Convert(this.FurnitureFunctionParameter, key); + _o.FurnitureFunctionType = TableEncryptionService.Convert(this.FurnitureFunctionType, key); + _o.FurnitureFunctionParameter = new List(); + for (var _j = 0; _j < this.FurnitureFunctionParameterLength; ++_j) {_o.FurnitureFunctionParameter.Add(TableEncryptionService.Convert(this.FurnitureFunctionParameter(_j), key));} _o.VideoId = TableEncryptionService.Convert(this.VideoId, key); _o.EventCollectionId = TableEncryptionService.Convert(this.EventCollectionId, key); _o.FurnitureBubbleOffsetX = TableEncryptionService.Convert(this.FurnitureBubbleOffsetX, key); @@ -334,6 +347,11 @@ public struct FurnitureExcel : IFlatbufferObject var __Tags = _o.Tags.ToArray(); _Tags = CreateTagsVector(builder, __Tags); } + var _FurnitureFunctionParameter = default(VectorOffset); + if (_o.FurnitureFunctionParameter != null) { + var __FurnitureFunctionParameter = _o.FurnitureFunctionParameter.ToArray(); + _FurnitureFunctionParameter = CreateFurnitureFunctionParameterVector(builder, __FurnitureFunctionParameter); + } var _CafeCharacterStateReq = default(VectorOffset); if (_o.CafeCharacterStateReq != null) { var __CafeCharacterStateReq = new StringOffset[_o.CafeCharacterStateReq.Count]; @@ -361,8 +379,8 @@ public struct FurnitureExcel : IFlatbufferObject return CreateFurnitureExcel( builder, _o.Id, - _o.ProductionStep_, - _o.Rarity_, + _o.ProductionStep, + _o.Rarity, _o.Category, _o.SubCategory, _o.LocalizeEtcId, @@ -391,8 +409,8 @@ public struct FurnitureExcel : IFlatbufferObject _o.CraftQualityTier1, _o.CraftQualityTier2, _o.ShiftingCraftQuality, - _o.FurnitureFunctionType_, - _o.FurnitureFunctionParameter, + _o.FurnitureFunctionType, + _FurnitureFunctionParameter, _o.VideoId, _o.EventCollectionId, _o.FurnitureBubbleOffsetX, @@ -407,8 +425,8 @@ public struct FurnitureExcel : IFlatbufferObject public class FurnitureExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public SCHALE.Common.FlatData.FurnitureCategory Category { get; set; } public SCHALE.Common.FlatData.FurnitureSubCategory SubCategory { get; set; } public uint LocalizeEtcId { get; set; } @@ -437,8 +455,8 @@ public class FurnitureExcelT public long CraftQualityTier1 { get; set; } public long CraftQualityTier2 { get; set; } public long ShiftingCraftQuality { get; set; } - public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType_ { get; set; } - public long FurnitureFunctionParameter { get; set; } + public SCHALE.Common.FlatData.FurnitureFunctionType FurnitureFunctionType { get; set; } + public List FurnitureFunctionParameter { get; set; } public long VideoId { get; set; } public long EventCollectionId { get; set; } public long FurnitureBubbleOffsetX { get; set; } @@ -450,8 +468,8 @@ public class FurnitureExcelT public FurnitureExcelT() { this.Id = 0; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.Category = SCHALE.Common.FlatData.FurnitureCategory.Furnitures; this.SubCategory = SCHALE.Common.FlatData.FurnitureSubCategory.Table; this.LocalizeEtcId = 0; @@ -480,8 +498,8 @@ public class FurnitureExcelT this.CraftQualityTier1 = 0; this.CraftQualityTier2 = 0; this.ShiftingCraftQuality = 0; - this.FurnitureFunctionType_ = SCHALE.Common.FlatData.FurnitureFunctionType.None; - this.FurnitureFunctionParameter = 0; + this.FurnitureFunctionType = SCHALE.Common.FlatData.FurnitureFunctionType.None; + this.FurnitureFunctionParameter = null; this.VideoId = 0; this.EventCollectionId = 0; this.FurnitureBubbleOffsetX = 0; @@ -500,8 +518,8 @@ static public class FurnitureExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Category*/, 4 /*SCHALE.Common.FlatData.FurnitureCategory*/, 4, false) && verifier.VerifyField(tablePos, 12 /*SubCategory*/, 4 /*SCHALE.Common.FlatData.FurnitureSubCategory*/, 4, false) && verifier.VerifyField(tablePos, 14 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) @@ -530,8 +548,8 @@ static public class FurnitureExcelVerify && verifier.VerifyField(tablePos, 60 /*CraftQualityTier1*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 62 /*CraftQualityTier2*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 64 /*ShiftingCraftQuality*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 66 /*FurnitureFunctionType_*/, 4 /*SCHALE.Common.FlatData.FurnitureFunctionType*/, 4, false) - && verifier.VerifyField(tablePos, 68 /*FurnitureFunctionParameter*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 66 /*FurnitureFunctionType*/, 4 /*SCHALE.Common.FlatData.FurnitureFunctionType*/, 4, false) + && verifier.VerifyVectorOfData(tablePos, 68 /*FurnitureFunctionParameter*/, 8 /*long*/, false) && verifier.VerifyField(tablePos, 70 /*VideoId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 72 /*EventCollectionId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 74 /*FurnitureBubbleOffsetX*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/GachaElementExcel.cs b/SCHALE.Common/FlatData/GachaElementExcel.cs index f868ef0..5e15bec 100644 --- a/SCHALE.Common/FlatData/GachaElementExcel.cs +++ b/SCHALE.Common/FlatData/GachaElementExcel.cs @@ -22,9 +22,9 @@ public struct GachaElementExcel : IFlatbufferObject public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public int ParcelAmountMin { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMax { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int Prob { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -33,9 +33,9 @@ public struct GachaElementExcel : IFlatbufferObject public static Offset CreateGachaElementExcel(FlatBufferBuilder builder, long ID = 0, long GachaGroupID = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelID = 0, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, int ParcelAmountMin = 0, int ParcelAmountMax = 0, int Prob = 0, @@ -48,17 +48,17 @@ public struct GachaElementExcel : IFlatbufferObject GachaElementExcel.AddProb(builder, Prob); GachaElementExcel.AddParcelAmountMax(builder, ParcelAmountMax); GachaElementExcel.AddParcelAmountMin(builder, ParcelAmountMin); - GachaElementExcel.AddRarity_(builder, Rarity_); - GachaElementExcel.AddParcelType_(builder, ParcelType_); + GachaElementExcel.AddRarity(builder, Rarity); + GachaElementExcel.AddParcelType(builder, ParcelType); return GachaElementExcel.EndGachaElementExcel(builder); } public static void StartGachaElementExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); } public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(2, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(2, (int)parcelType, 0); } public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(4, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(4, (int)rarity, 0); } public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(5, parcelAmountMin, 0); } public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(6, parcelAmountMax, 0); } public static void AddProb(FlatBufferBuilder builder, int prob) { builder.AddInt(7, prob, 0); } @@ -76,9 +76,9 @@ public struct GachaElementExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("GachaElement"); _o.ID = TableEncryptionService.Convert(this.ID, key); _o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key); _o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key); _o.Prob = TableEncryptionService.Convert(this.Prob, key); @@ -90,9 +90,9 @@ public struct GachaElementExcel : IFlatbufferObject builder, _o.ID, _o.GachaGroupID, - _o.ParcelType_, + _o.ParcelType, _o.ParcelID, - _o.Rarity_, + _o.Rarity, _o.ParcelAmountMin, _o.ParcelAmountMax, _o.Prob, @@ -104,9 +104,9 @@ public class GachaElementExcelT { public long ID { get; set; } public long GachaGroupID { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelID { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public int ParcelAmountMin { get; set; } public int ParcelAmountMax { get; set; } public int Prob { get; set; } @@ -115,9 +115,9 @@ public class GachaElementExcelT public GachaElementExcelT() { this.ID = 0; this.GachaGroupID = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelID = 0; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.ParcelAmountMin = 0; this.ParcelAmountMax = 0; this.Prob = 0; @@ -133,9 +133,9 @@ static public class GachaElementExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ParcelAmountMin*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*ParcelAmountMax*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*Prob*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/GachaElementRecursiveExcel.cs b/SCHALE.Common/FlatData/GachaElementRecursiveExcel.cs index e51f870..8c3a46a 100644 --- a/SCHALE.Common/FlatData/GachaElementRecursiveExcel.cs +++ b/SCHALE.Common/FlatData/GachaElementRecursiveExcel.cs @@ -22,7 +22,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject public long ID { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GachaGroupID { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelID { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int ParcelAmountMin { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ParcelAmountMax { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -32,7 +32,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject public static Offset CreateGachaElementRecursiveExcel(FlatBufferBuilder builder, long ID = 0, long GachaGroupID = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelID = 0, int ParcelAmountMin = 0, int ParcelAmountMax = 0, @@ -46,14 +46,14 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject GachaElementRecursiveExcel.AddProb(builder, Prob); GachaElementRecursiveExcel.AddParcelAmountMax(builder, ParcelAmountMax); GachaElementRecursiveExcel.AddParcelAmountMin(builder, ParcelAmountMin); - GachaElementRecursiveExcel.AddParcelType_(builder, ParcelType_); + GachaElementRecursiveExcel.AddParcelType(builder, ParcelType); return GachaElementRecursiveExcel.EndGachaElementRecursiveExcel(builder); } public static void StartGachaElementRecursiveExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddID(FlatBufferBuilder builder, long iD) { builder.AddLong(0, iD, 0); } public static void AddGachaGroupID(FlatBufferBuilder builder, long gachaGroupID) { builder.AddLong(1, gachaGroupID, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(2, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(2, (int)parcelType, 0); } public static void AddParcelID(FlatBufferBuilder builder, long parcelID) { builder.AddLong(3, parcelID, 0); } public static void AddParcelAmountMin(FlatBufferBuilder builder, int parcelAmountMin) { builder.AddInt(4, parcelAmountMin, 0); } public static void AddParcelAmountMax(FlatBufferBuilder builder, int parcelAmountMax) { builder.AddInt(5, parcelAmountMax, 0); } @@ -72,7 +72,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("GachaElementRecursive"); _o.ID = TableEncryptionService.Convert(this.ID, key); _o.GachaGroupID = TableEncryptionService.Convert(this.GachaGroupID, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelID = TableEncryptionService.Convert(this.ParcelID, key); _o.ParcelAmountMin = TableEncryptionService.Convert(this.ParcelAmountMin, key); _o.ParcelAmountMax = TableEncryptionService.Convert(this.ParcelAmountMax, key); @@ -85,7 +85,7 @@ public struct GachaElementRecursiveExcel : IFlatbufferObject builder, _o.ID, _o.GachaGroupID, - _o.ParcelType_, + _o.ParcelType, _o.ParcelID, _o.ParcelAmountMin, _o.ParcelAmountMax, @@ -98,7 +98,7 @@ public class GachaElementRecursiveExcelT { public long ID { get; set; } public long GachaGroupID { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelID { get; set; } public int ParcelAmountMin { get; set; } public int ParcelAmountMax { get; set; } @@ -108,7 +108,7 @@ public class GachaElementRecursiveExcelT public GachaElementRecursiveExcelT() { this.ID = 0; this.GachaGroupID = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelID = 0; this.ParcelAmountMin = 0; this.ParcelAmountMax = 0; @@ -125,7 +125,7 @@ static public class GachaElementRecursiveExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*ID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*GachaGroupID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ParcelID*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ParcelAmountMin*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ParcelAmountMax*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/GoodsExcel.cs b/SCHALE.Common/FlatData/GoodsExcel.cs index d694dee..b0a3327 100644 --- a/SCHALE.Common/FlatData/GoodsExcel.cs +++ b/SCHALE.Common/FlatData/GoodsExcel.cs @@ -22,7 +22,7 @@ public struct GoodsExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int Type { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public string IconPath { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetIconPathBytes() { return __p.__vector_as_span(10, 1); } @@ -111,7 +111,7 @@ public struct GoodsExcel : IFlatbufferObject public static Offset CreateGoodsExcel(FlatBufferBuilder builder, long Id = 0, int Type = 0, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, StringOffset IconPathOffset = default(StringOffset), VectorOffset ConsumeParcelTypeOffset = default(VectorOffset), VectorOffset ConsumeParcelIdOffset = default(VectorOffset), @@ -144,7 +144,7 @@ public struct GoodsExcel : IFlatbufferObject GoodsExcel.AddConsumeParcelId(builder, ConsumeParcelIdOffset); GoodsExcel.AddConsumeParcelType(builder, ConsumeParcelTypeOffset); GoodsExcel.AddIconPath(builder, IconPathOffset); - GoodsExcel.AddRarity_(builder, Rarity_); + GoodsExcel.AddRarity(builder, Rarity); GoodsExcel.AddType(builder, Type); return GoodsExcel.EndGoodsExcel(builder); } @@ -152,7 +152,7 @@ public struct GoodsExcel : IFlatbufferObject public static void StartGoodsExcel(FlatBufferBuilder builder) { builder.StartTable(18); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddType(FlatBufferBuilder builder, int type) { builder.AddInt(1, type, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(3, iconPathOffset.Value, 0); } public static void AddConsumeParcelType(FlatBufferBuilder builder, VectorOffset consumeParcelTypeOffset) { builder.AddOffset(4, consumeParcelTypeOffset.Value, 0); } public static VectorOffset CreateConsumeParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } @@ -226,7 +226,7 @@ public struct GoodsExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("Goods"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Type = TableEncryptionService.Convert(this.Type, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.IconPath = TableEncryptionService.Convert(this.IconPath, key); _o.ConsumeParcelType = new List(); for (var _j = 0; _j < this.ConsumeParcelTypeLength; ++_j) {_o.ConsumeParcelType.Add(TableEncryptionService.Convert(this.ConsumeParcelType(_j), key));} @@ -304,7 +304,7 @@ public struct GoodsExcel : IFlatbufferObject builder, _o.Id, _o.Type, - _o.Rarity_, + _o.Rarity, _IconPath, _ConsumeParcelType, _ConsumeParcelId, @@ -327,7 +327,7 @@ public class GoodsExcelT { public long Id { get; set; } public int Type { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public string IconPath { get; set; } public List ConsumeParcelType { get; set; } public List ConsumeParcelId { get; set; } @@ -347,7 +347,7 @@ public class GoodsExcelT public GoodsExcelT() { this.Id = 0; this.Type = 0; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.IconPath = null; this.ConsumeParcelType = null; this.ConsumeParcelId = null; @@ -374,7 +374,7 @@ static public class GoodsExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*Type*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyString(tablePos, 10 /*IconPath*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ConsumeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*ConsumeParcelId*/, 8 /*long*/, false) diff --git a/SCHALE.Common/FlatData/GroundExcel.cs b/SCHALE.Common/FlatData/GroundExcel.cs index 94b1a62..aa613c0 100644 --- a/SCHALE.Common/FlatData/GroundExcel.cs +++ b/SCHALE.Common/FlatData/GroundExcel.cs @@ -31,7 +31,7 @@ public struct GroundExcel : IFlatbufferObject #endif public byte[] GetGroundSceneNameArray() { return __p.__vector_as_array(8); } public long FormationGroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public SCHALE.Common.FlatData.BulletType EnemyBulletType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.ArmorType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ArmorType.LightArmor; } } public long LevelNPC { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -117,7 +117,7 @@ public struct GroundExcel : IFlatbufferObject VectorOffset StageFileNameOffset = default(VectorOffset), StringOffset GroundSceneNameOffset = default(StringOffset), long FormationGroupId = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, SCHALE.Common.FlatData.BulletType EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal, SCHALE.Common.FlatData.ArmorType EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor, long LevelNPC = 0, @@ -213,7 +213,7 @@ public struct GroundExcel : IFlatbufferObject GroundExcel.AddForcedTacticSpeed(builder, ForcedTacticSpeed); GroundExcel.AddEnemyArmorType(builder, EnemyArmorType); GroundExcel.AddEnemyBulletType(builder, EnemyBulletType); - GroundExcel.AddStageTopography_(builder, StageTopography_); + GroundExcel.AddStageTopography(builder, StageTopography); GroundExcel.AddGroundSceneName(builder, GroundSceneNameOffset); GroundExcel.AddStageFileName(builder, StageFileNameOffset); GroundExcel.AddCoverPointOff(builder, CoverPointOff); @@ -239,7 +239,7 @@ public struct GroundExcel : IFlatbufferObject public static void StartStageFileNameVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddGroundSceneName(FlatBufferBuilder builder, StringOffset groundSceneNameOffset) { builder.AddOffset(2, groundSceneNameOffset.Value, 0); } public static void AddFormationGroupId(FlatBufferBuilder builder, long formationGroupId) { builder.AddLong(3, formationGroupId, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(4, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(4, (int)stageTopography, 0); } public static void AddEnemyBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType enemyBulletType) { builder.AddInt(5, (int)enemyBulletType, 0); } public static void AddEnemyArmorType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ArmorType enemyArmorType) { builder.AddInt(6, (int)enemyArmorType, 0); } public static void AddLevelNPC(FlatBufferBuilder builder, long levelNPC) { builder.AddLong(7, levelNPC, 0); } @@ -327,7 +327,7 @@ public struct GroundExcel : IFlatbufferObject for (var _j = 0; _j < this.StageFileNameLength; ++_j) {_o.StageFileName.Add(TableEncryptionService.Convert(this.StageFileName(_j), key));} _o.GroundSceneName = TableEncryptionService.Convert(this.GroundSceneName, key); _o.FormationGroupId = TableEncryptionService.Convert(this.FormationGroupId, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.EnemyBulletType = TableEncryptionService.Convert(this.EnemyBulletType, key); _o.EnemyArmorType = TableEncryptionService.Convert(this.EnemyArmorType, key); _o.LevelNPC = TableEncryptionService.Convert(this.LevelNPC, key); @@ -423,7 +423,7 @@ public struct GroundExcel : IFlatbufferObject _StageFileName, _GroundSceneName, _o.FormationGroupId, - _o.StageTopography_, + _o.StageTopography, _o.EnemyBulletType, _o.EnemyArmorType, _o.LevelNPC, @@ -484,7 +484,7 @@ public class GroundExcelT public List StageFileName { get; set; } public string GroundSceneName { get; set; } public long FormationGroupId { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public SCHALE.Common.FlatData.BulletType EnemyBulletType { get; set; } public SCHALE.Common.FlatData.ArmorType EnemyArmorType { get; set; } public long LevelNPC { get; set; } @@ -542,7 +542,7 @@ public class GroundExcelT this.StageFileName = null; this.GroundSceneName = null; this.FormationGroupId = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.EnemyBulletType = SCHALE.Common.FlatData.BulletType.Normal; this.EnemyArmorType = SCHALE.Common.FlatData.ArmorType.LightArmor; this.LevelNPC = 0; @@ -607,7 +607,7 @@ static public class GroundExcelVerify && verifier.VerifyVectorOfStrings(tablePos, 6 /*StageFileName*/, false) && verifier.VerifyString(tablePos, 8 /*GroundSceneName*/, false) && verifier.VerifyField(tablePos, 10 /*FormationGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 14 /*EnemyBulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*EnemyArmorType*/, 4 /*SCHALE.Common.FlatData.ArmorType*/, 4, false) && verifier.VerifyField(tablePos, 18 /*LevelNPC*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/GroundExcelTable.cs b/SCHALE.Common/FlatData/GroundExcelTable.cs deleted file mode 100644 index f3586a7..0000000 --- a/SCHALE.Common/FlatData/GroundExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct GroundExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static GroundExcelTable GetRootAsGroundExcelTable(ByteBuffer _bb) { return GetRootAsGroundExcelTable(_bb, new GroundExcelTable()); } - public static GroundExcelTable GetRootAsGroundExcelTable(ByteBuffer _bb, GroundExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public GroundExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.GroundExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.GroundExcel?)(new SCHALE.Common.FlatData.GroundExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateGroundExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - GroundExcelTable.AddDataList(builder, DataListOffset); - return GroundExcelTable.EndGroundExcelTable(builder); - } - - public static void StartGroundExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndGroundExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public GroundExcelTableT UnPack() { - var _o = new GroundExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(GroundExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("GroundExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, GroundExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.GroundExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateGroundExcelTable( - builder, - _DataList); - } -} - -public class GroundExcelTableT -{ - public List DataList { get; set; } - - public GroundExcelTableT() { - this.DataList = null; - } -} - - -static public class GroundExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.GroundExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/GroundModuleRewardExcelTable.cs b/SCHALE.Common/FlatData/GroundModuleRewardExcelTable.cs deleted file mode 100644 index 81c03d7..0000000 --- a/SCHALE.Common/FlatData/GroundModuleRewardExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct GroundModuleRewardExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static GroundModuleRewardExcelTable GetRootAsGroundModuleRewardExcelTable(ByteBuffer _bb) { return GetRootAsGroundModuleRewardExcelTable(_bb, new GroundModuleRewardExcelTable()); } - public static GroundModuleRewardExcelTable GetRootAsGroundModuleRewardExcelTable(ByteBuffer _bb, GroundModuleRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public GroundModuleRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.GroundModuleRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.GroundModuleRewardExcel?)(new SCHALE.Common.FlatData.GroundModuleRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateGroundModuleRewardExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - GroundModuleRewardExcelTable.AddDataList(builder, DataListOffset); - return GroundModuleRewardExcelTable.EndGroundModuleRewardExcelTable(builder); - } - - public static void StartGroundModuleRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndGroundModuleRewardExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public GroundModuleRewardExcelTableT UnPack() { - var _o = new GroundModuleRewardExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(GroundModuleRewardExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("GroundModuleRewardExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, GroundModuleRewardExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.GroundModuleRewardExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateGroundModuleRewardExcelTable( - builder, - _DataList); - } -} - -public class GroundModuleRewardExcelTableT -{ - public List DataList { get; set; } - - public GroundModuleRewardExcelTableT() { - this.DataList = null; - } -} - - -static public class GroundModuleRewardExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.GroundModuleRewardExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/IdCardBackgroundExcel.cs b/SCHALE.Common/FlatData/IdCardBackgroundExcel.cs index f27eabd..ffb101d 100644 --- a/SCHALE.Common/FlatData/IdCardBackgroundExcel.cs +++ b/SCHALE.Common/FlatData/IdCardBackgroundExcel.cs @@ -21,7 +21,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject public IdCardBackgroundExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } public long DisplayOrder { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool CollectionVisible { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsDefault { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -43,7 +43,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject public static Offset CreateIdCardBackgroundExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, long DisplayOrder = 0, bool CollectionVisible = false, bool IsDefault = false, @@ -56,7 +56,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject IdCardBackgroundExcel.AddIcon(builder, IconOffset); IdCardBackgroundExcel.AddLocalizeEtcId(builder, LocalizeEtcId); IdCardBackgroundExcel.AddBgPath(builder, BgPathOffset); - IdCardBackgroundExcel.AddRarity_(builder, Rarity_); + IdCardBackgroundExcel.AddRarity(builder, Rarity); IdCardBackgroundExcel.AddIsDefault(builder, IsDefault); IdCardBackgroundExcel.AddCollectionVisible(builder, CollectionVisible); return IdCardBackgroundExcel.EndIdCardBackgroundExcel(builder); @@ -64,7 +64,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject public static void StartIdCardBackgroundExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(1, (int)rarity_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(1, (int)rarity, 0); } public static void AddDisplayOrder(FlatBufferBuilder builder, long displayOrder) { builder.AddLong(2, displayOrder, 0); } public static void AddCollectionVisible(FlatBufferBuilder builder, bool collectionVisible) { builder.AddBool(3, collectionVisible, false); } public static void AddIsDefault(FlatBufferBuilder builder, bool isDefault) { builder.AddBool(4, isDefault, false); } @@ -83,7 +83,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject public void UnPackTo(IdCardBackgroundExcelT _o) { byte[] key = TableEncryptionService.CreateKey("IdCardBackground"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); _o.DisplayOrder = TableEncryptionService.Convert(this.DisplayOrder, key); _o.CollectionVisible = TableEncryptionService.Convert(this.CollectionVisible, key); _o.IsDefault = TableEncryptionService.Convert(this.IsDefault, key); @@ -98,7 +98,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject return CreateIdCardBackgroundExcel( builder, _o.Id, - _o.Rarity_, + _o.Rarity, _o.DisplayOrder, _o.CollectionVisible, _o.IsDefault, @@ -111,7 +111,7 @@ public struct IdCardBackgroundExcel : IFlatbufferObject public class IdCardBackgroundExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } public long DisplayOrder { get; set; } public bool CollectionVisible { get; set; } public bool IsDefault { get; set; } @@ -121,7 +121,7 @@ public class IdCardBackgroundExcelT public IdCardBackgroundExcelT() { this.Id = 0; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; this.DisplayOrder = 0; this.CollectionVisible = false; this.IsDefault = false; @@ -138,7 +138,7 @@ static public class IdCardBackgroundExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) && verifier.VerifyField(tablePos, 8 /*DisplayOrder*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*CollectionVisible*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*IsDefault*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/ItemExcel.cs b/SCHALE.Common/FlatData/ItemExcel.cs index 5625b9b..f9da83e 100644 --- a/SCHALE.Common/FlatData/ItemExcel.cs +++ b/SCHALE.Common/FlatData/ItemExcel.cs @@ -22,10 +22,10 @@ public struct ItemExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long GroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Rarity Rarity_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.Rarity Rarity { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.Rarity)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Rarity.N; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public uint LocalizeEtcId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } } + public SCHALE.Common.FlatData.ItemCategory ItemCategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ItemCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ItemCategory.Coin; } } public long Quality { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string Icon { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -47,7 +47,7 @@ public struct ItemExcel : IFlatbufferObject public SCHALE.Common.FlatData.ParcelType UsingResultParcelType { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long UsingResultId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UsingResultAmount { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.MailType MailType_ { get { int o = __p.__offset(34); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } + public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(34); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } public SCHALE.Common.FlatData.ParcelType ExpiryChangeParcelType { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ExpiryChangeId { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ExpiryChangeAmount { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -88,10 +88,10 @@ public struct ItemExcel : IFlatbufferObject public static Offset CreateItemExcel(FlatBufferBuilder builder, long Id = 0, long GroupId = 0, - SCHALE.Common.FlatData.Rarity Rarity_ = SCHALE.Common.FlatData.Rarity.N, - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.Rarity Rarity = SCHALE.Common.FlatData.Rarity.N, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, uint LocalizeEtcId = 0, - SCHALE.Common.FlatData.ItemCategory ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin, + SCHALE.Common.FlatData.ItemCategory ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin, long Quality = 0, StringOffset IconOffset = default(StringOffset), StringOffset SpriteNameOffset = default(StringOffset), @@ -101,7 +101,7 @@ public struct ItemExcel : IFlatbufferObject SCHALE.Common.FlatData.ParcelType UsingResultParcelType = SCHALE.Common.FlatData.ParcelType.None, long UsingResultId = 0, long UsingResultAmount = 0, - SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, + SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System, SCHALE.Common.FlatData.ParcelType ExpiryChangeParcelType = SCHALE.Common.FlatData.ParcelType.None, long ExpiryChangeId = 0, long ExpiryChangeAmount = 0, @@ -139,16 +139,16 @@ public struct ItemExcel : IFlatbufferObject ItemExcel.AddMaxGiftTags(builder, MaxGiftTags); ItemExcel.AddTags(builder, TagsOffset); ItemExcel.AddExpiryChangeParcelType(builder, ExpiryChangeParcelType); - ItemExcel.AddMailType_(builder, MailType_); + ItemExcel.AddMailType(builder, MailType); ItemExcel.AddUsingResultParcelType(builder, UsingResultParcelType); ItemExcel.AddStackableFunction(builder, StackableFunction); ItemExcel.AddStackableMax(builder, StackableMax); ItemExcel.AddSpriteName(builder, SpriteNameOffset); ItemExcel.AddIcon(builder, IconOffset); - ItemExcel.AddItemCategory_(builder, ItemCategory_); + ItemExcel.AddItemCategory(builder, ItemCategory); ItemExcel.AddLocalizeEtcId(builder, LocalizeEtcId); - ItemExcel.AddProductionStep_(builder, ProductionStep_); - ItemExcel.AddRarity_(builder, Rarity_); + ItemExcel.AddProductionStep(builder, ProductionStep); + ItemExcel.AddRarity(builder, Rarity); ItemExcel.AddCanTierUpgrade(builder, CanTierUpgrade); ItemExcel.AddImmediateUse(builder, ImmediateUse); return ItemExcel.EndItemExcel(builder); @@ -157,10 +157,10 @@ public struct ItemExcel : IFlatbufferObject public static void StartItemExcel(FlatBufferBuilder builder) { builder.StartTable(32); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(1, groupId, 0); } - public static void AddRarity_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity_) { builder.AddInt(2, (int)rarity_, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(3, (int)productionStep_, 0); } + public static void AddRarity(FlatBufferBuilder builder, SCHALE.Common.FlatData.Rarity rarity) { builder.AddInt(2, (int)rarity, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(3, (int)productionStep, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(4, localizeEtcId, 0); } - public static void AddItemCategory_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory_) { builder.AddInt(5, (int)itemCategory_, 0); } + public static void AddItemCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.ItemCategory itemCategory) { builder.AddInt(5, (int)itemCategory, 0); } public static void AddQuality(FlatBufferBuilder builder, long quality) { builder.AddLong(6, quality, 0); } public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(7, iconOffset.Value, 0); } public static void AddSpriteName(FlatBufferBuilder builder, StringOffset spriteNameOffset) { builder.AddOffset(8, spriteNameOffset.Value, 0); } @@ -170,7 +170,7 @@ public struct ItemExcel : IFlatbufferObject public static void AddUsingResultParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType usingResultParcelType) { builder.AddInt(12, (int)usingResultParcelType, 0); } public static void AddUsingResultId(FlatBufferBuilder builder, long usingResultId) { builder.AddLong(13, usingResultId, 0); } public static void AddUsingResultAmount(FlatBufferBuilder builder, long usingResultAmount) { builder.AddLong(14, usingResultAmount, 0); } - public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(15, (int)mailType_, 0); } + public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(15, (int)mailType, 0); } public static void AddExpiryChangeParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType expiryChangeParcelType) { builder.AddInt(16, (int)expiryChangeParcelType, 0); } public static void AddExpiryChangeId(FlatBufferBuilder builder, long expiryChangeId) { builder.AddLong(17, expiryChangeId, 0); } public static void AddExpiryChangeAmount(FlatBufferBuilder builder, long expiryChangeAmount) { builder.AddLong(18, expiryChangeAmount, 0); } @@ -210,10 +210,10 @@ public struct ItemExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("Item"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.Rarity_ = TableEncryptionService.Convert(this.Rarity_, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); + _o.Rarity = TableEncryptionService.Convert(this.Rarity, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); - _o.ItemCategory_ = TableEncryptionService.Convert(this.ItemCategory_, key); + _o.ItemCategory = TableEncryptionService.Convert(this.ItemCategory, key); _o.Quality = TableEncryptionService.Convert(this.Quality, key); _o.Icon = TableEncryptionService.Convert(this.Icon, key); _o.SpriteName = TableEncryptionService.Convert(this.SpriteName, key); @@ -223,7 +223,7 @@ public struct ItemExcel : IFlatbufferObject _o.UsingResultParcelType = TableEncryptionService.Convert(this.UsingResultParcelType, key); _o.UsingResultId = TableEncryptionService.Convert(this.UsingResultId, key); _o.UsingResultAmount = TableEncryptionService.Convert(this.UsingResultAmount, key); - _o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); + _o.MailType = TableEncryptionService.Convert(this.MailType, key); _o.ExpiryChangeParcelType = TableEncryptionService.Convert(this.ExpiryChangeParcelType, key); _o.ExpiryChangeId = TableEncryptionService.Convert(this.ExpiryChangeId, key); _o.ExpiryChangeAmount = TableEncryptionService.Convert(this.ExpiryChangeAmount, key); @@ -262,10 +262,10 @@ public struct ItemExcel : IFlatbufferObject builder, _o.Id, _o.GroupId, - _o.Rarity_, - _o.ProductionStep_, + _o.Rarity, + _o.ProductionStep, _o.LocalizeEtcId, - _o.ItemCategory_, + _o.ItemCategory, _o.Quality, _Icon, _SpriteName, @@ -275,7 +275,7 @@ public struct ItemExcel : IFlatbufferObject _o.UsingResultParcelType, _o.UsingResultId, _o.UsingResultAmount, - _o.MailType_, + _o.MailType, _o.ExpiryChangeParcelType, _o.ExpiryChangeId, _o.ExpiryChangeAmount, @@ -299,10 +299,10 @@ public class ItemExcelT { public long Id { get; set; } public long GroupId { get; set; } - public SCHALE.Common.FlatData.Rarity Rarity_ { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } + public SCHALE.Common.FlatData.Rarity Rarity { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } public uint LocalizeEtcId { get; set; } - public SCHALE.Common.FlatData.ItemCategory ItemCategory_ { get; set; } + public SCHALE.Common.FlatData.ItemCategory ItemCategory { get; set; } public long Quality { get; set; } public string Icon { get; set; } public string SpriteName { get; set; } @@ -312,7 +312,7 @@ public class ItemExcelT public SCHALE.Common.FlatData.ParcelType UsingResultParcelType { get; set; } public long UsingResultId { get; set; } public long UsingResultAmount { get; set; } - public SCHALE.Common.FlatData.MailType MailType_ { get; set; } + public SCHALE.Common.FlatData.MailType MailType { get; set; } public SCHALE.Common.FlatData.ParcelType ExpiryChangeParcelType { get; set; } public long ExpiryChangeId { get; set; } public long ExpiryChangeAmount { get; set; } @@ -333,10 +333,10 @@ public class ItemExcelT public ItemExcelT() { this.Id = 0; this.GroupId = 0; - this.Rarity_ = SCHALE.Common.FlatData.Rarity.N; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.Rarity = SCHALE.Common.FlatData.Rarity.N; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; this.LocalizeEtcId = 0; - this.ItemCategory_ = SCHALE.Common.FlatData.ItemCategory.Coin; + this.ItemCategory = SCHALE.Common.FlatData.ItemCategory.Coin; this.Quality = 0; this.Icon = null; this.SpriteName = null; @@ -346,7 +346,7 @@ public class ItemExcelT this.UsingResultParcelType = SCHALE.Common.FlatData.ParcelType.None; this.UsingResultId = 0; this.UsingResultAmount = 0; - this.MailType_ = SCHALE.Common.FlatData.MailType.System; + this.MailType = SCHALE.Common.FlatData.MailType.System; this.ExpiryChangeParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ExpiryChangeId = 0; this.ExpiryChangeAmount = 0; @@ -374,10 +374,10 @@ static public class ItemExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*Rarity_*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*Rarity*/, 4 /*SCHALE.Common.FlatData.Rarity*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyField(tablePos, 12 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*ItemCategory_*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*ItemCategory*/, 4 /*SCHALE.Common.FlatData.ItemCategory*/, 4, false) && verifier.VerifyField(tablePos, 16 /*Quality*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 18 /*Icon*/, false) && verifier.VerifyString(tablePos, 20 /*SpriteName*/, false) @@ -387,7 +387,7 @@ static public class ItemExcelVerify && verifier.VerifyField(tablePos, 28 /*UsingResultParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 30 /*UsingResultId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*UsingResultAmount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 34 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) + && verifier.VerifyField(tablePos, 34 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) && verifier.VerifyField(tablePos, 36 /*ExpiryChangeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 38 /*ExpiryChangeId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 40 /*ExpiryChangeAmount*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/LimitedStageExcel.cs b/SCHALE.Common/FlatData/LimitedStageExcel.cs index 6be0696..fd5a698 100644 --- a/SCHALE.Common/FlatData/LimitedStageExcel.cs +++ b/SCHALE.Common/FlatData/LimitedStageExcel.cs @@ -29,7 +29,7 @@ public struct LimitedStageExcel : IFlatbufferObject #endif public byte[] GetNameArray() { return __p.__vector_as_array(6); } public long SeasonId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public string StageNumber { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetStageNumberBytes() { return __p.__vector_as_span(12, 1); } @@ -80,7 +80,7 @@ public struct LimitedStageExcel : IFlatbufferObject public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array(42); } public long StageRewardId { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int MaxTurn { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(48); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(48); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string BgmId { get { int o = __p.__offset(52); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -89,9 +89,9 @@ public struct LimitedStageExcel : IFlatbufferObject public ArraySegment? GetBgmIdBytes() { return __p.__vector_as_arraysegment(52); } #endif public byte[] GetBgmIdArray() { return __p.__vector_as_array(52); } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(54); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(54); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } public long GroundID { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(58); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long BGMId { get { int o = __p.__offset(60); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool InstantClear { get { int o = __p.__offset(62); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long BuffContentId { get { int o = __p.__offset(64); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -101,7 +101,7 @@ public struct LimitedStageExcel : IFlatbufferObject long Id = 0, StringOffset NameOffset = default(StringOffset), long SeasonId = 0, - SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, + SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, StringOffset StageNumberOffset = default(StringOffset), int StageDisplay = 0, long PrevStageId = 0, @@ -120,12 +120,12 @@ public struct LimitedStageExcel : IFlatbufferObject StringOffset StrategyMapBGOffset = default(StringOffset), long StageRewardId = 0, int MaxTurn = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, StringOffset BgmIdOffset = default(StringOffset), - SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, + SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None, long GroundID = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long BGMId = 0, bool InstantClear = false, long BuffContentId = 0, @@ -144,11 +144,11 @@ public struct LimitedStageExcel : IFlatbufferObject LimitedStageExcel.AddPrevStageId(builder, PrevStageId); LimitedStageExcel.AddSeasonId(builder, SeasonId); LimitedStageExcel.AddId(builder, Id); - LimitedStageExcel.AddContentType_(builder, ContentType_); - LimitedStageExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); + LimitedStageExcel.AddContentType(builder, ContentType); + LimitedStageExcel.AddStrategyEnvironment(builder, StrategyEnvironment); LimitedStageExcel.AddBgmId(builder, BgmIdOffset); LimitedStageExcel.AddRecommandLevel(builder, RecommandLevel); - LimitedStageExcel.AddStageTopography_(builder, StageTopography_); + LimitedStageExcel.AddStageTopography(builder, StageTopography); LimitedStageExcel.AddMaxTurn(builder, MaxTurn); LimitedStageExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); LimitedStageExcel.AddStrategyMap(builder, StrategyMapOffset); @@ -159,7 +159,7 @@ public struct LimitedStageExcel : IFlatbufferObject LimitedStageExcel.AddStageEnterCostType(builder, StageEnterCostType); LimitedStageExcel.AddStageDisplay(builder, StageDisplay); LimitedStageExcel.AddStageNumber(builder, StageNumberOffset); - LimitedStageExcel.AddStageDifficulty_(builder, StageDifficulty_); + LimitedStageExcel.AddStageDifficulty(builder, StageDifficulty); LimitedStageExcel.AddName(builder, NameOffset); LimitedStageExcel.AddChallengeDisplay(builder, ChallengeDisplay); LimitedStageExcel.AddInstantClear(builder, InstantClear); @@ -170,7 +170,7 @@ public struct LimitedStageExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(1, nameOffset.Value, 0); } public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(2, seasonId, 0); } - public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(3, (int)stageDifficulty_, 0); } + public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(3, (int)stageDifficulty, 0); } public static void AddStageNumber(FlatBufferBuilder builder, StringOffset stageNumberOffset) { builder.AddOffset(4, stageNumberOffset.Value, 0); } public static void AddStageDisplay(FlatBufferBuilder builder, int stageDisplay) { builder.AddInt(5, stageDisplay, 0); } public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(6, prevStageId, 0); } @@ -199,12 +199,12 @@ public struct LimitedStageExcel : IFlatbufferObject public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(19, strategyMapBGOffset.Value, 0); } public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(20, stageRewardId, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(21, maxTurn, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(22, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(22, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(23, recommandLevel, 0); } public static void AddBgmId(FlatBufferBuilder builder, StringOffset bgmIdOffset) { builder.AddOffset(24, bgmIdOffset.Value, 0); } - public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(25, (int)strategyEnvironment_, 0); } + public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(25, (int)strategyEnvironment, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(26, groundID, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(27, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(27, (int)contentType, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(28, bGMId, 0); } public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(29, instantClear, false); } public static void AddBuffContentId(FlatBufferBuilder builder, long buffContentId) { builder.AddLong(30, buffContentId, 0); } @@ -223,7 +223,7 @@ public struct LimitedStageExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); - _o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); + _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key); _o.StageNumber = TableEncryptionService.Convert(this.StageNumber, key); _o.StageDisplay = TableEncryptionService.Convert(this.StageDisplay, key); _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); @@ -244,12 +244,12 @@ public struct LimitedStageExcel : IFlatbufferObject _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.BgmId = TableEncryptionService.Convert(this.BgmId, key); - _o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); + _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.InstantClear = TableEncryptionService.Convert(this.InstantClear, key); _o.BuffContentId = TableEncryptionService.Convert(this.BuffContentId, key); @@ -277,7 +277,7 @@ public struct LimitedStageExcel : IFlatbufferObject _o.Id, _Name, _o.SeasonId, - _o.StageDifficulty_, + _o.StageDifficulty, _StageNumber, _o.StageDisplay, _o.PrevStageId, @@ -296,12 +296,12 @@ public struct LimitedStageExcel : IFlatbufferObject _StrategyMapBG, _o.StageRewardId, _o.MaxTurn, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _BgmId, - _o.StrategyEnvironment_, + _o.StrategyEnvironment, _o.GroundID, - _o.ContentType_, + _o.ContentType, _o.BGMId, _o.InstantClear, _o.BuffContentId, @@ -314,7 +314,7 @@ public class LimitedStageExcelT public long Id { get; set; } public string Name { get; set; } public long SeasonId { get; set; } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; } public string StageNumber { get; set; } public int StageDisplay { get; set; } public long PrevStageId { get; set; } @@ -333,12 +333,12 @@ public class LimitedStageExcelT public string StrategyMapBG { get; set; } public long StageRewardId { get; set; } public int MaxTurn { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public string BgmId { get; set; } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; } public long GroundID { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long BGMId { get; set; } public bool InstantClear { get; set; } public long BuffContentId { get; set; } @@ -348,7 +348,7 @@ public class LimitedStageExcelT this.Id = 0; this.Name = null; this.SeasonId = 0; - this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; + this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; this.StageNumber = null; this.StageDisplay = 0; this.PrevStageId = 0; @@ -367,12 +367,12 @@ public class LimitedStageExcelT this.StrategyMapBG = null; this.StageRewardId = 0; this.MaxTurn = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.BgmId = null; - this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; + this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None; this.GroundID = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.BGMId = 0; this.InstantClear = false; this.BuffContentId = 0; @@ -389,7 +389,7 @@ static public class LimitedStageExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*Name*/, false) && verifier.VerifyField(tablePos, 8 /*SeasonId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyString(tablePos, 12 /*StageNumber*/, false) && verifier.VerifyField(tablePos, 14 /*StageDisplay*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*PrevStageId*/, 8 /*long*/, 8, false) @@ -408,12 +408,12 @@ static public class LimitedStageExcelVerify && verifier.VerifyString(tablePos, 42 /*StrategyMapBG*/, false) && verifier.VerifyField(tablePos, 44 /*StageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 46 /*MaxTurn*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 48 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 48 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 50 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 52 /*BgmId*/, false) - && verifier.VerifyField(tablePos, 54 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 54 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 56 /*GroundID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 58 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 58 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 60 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 62 /*InstantClear*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 64 /*BuffContentId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/LimitedStageRewardExcel.cs b/SCHALE.Common/FlatData/LimitedStageRewardExcel.cs index 5910bb3..a879c5f 100644 --- a/SCHALE.Common/FlatData/LimitedStageRewardExcel.cs +++ b/SCHALE.Common/FlatData/LimitedStageRewardExcel.cs @@ -21,7 +21,7 @@ public struct LimitedStageRewardExcel : IFlatbufferObject public LimitedStageRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct LimitedStageRewardExcel : IFlatbufferObject public static Offset CreateLimitedStageRewardExcel(FlatBufferBuilder builder, long GroupId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int RewardProb = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardId = 0, @@ -42,14 +42,14 @@ public struct LimitedStageRewardExcel : IFlatbufferObject LimitedStageRewardExcel.AddRewardAmount(builder, RewardAmount); LimitedStageRewardExcel.AddRewardParcelType(builder, RewardParcelType); LimitedStageRewardExcel.AddRewardProb(builder, RewardProb); - LimitedStageRewardExcel.AddRewardTag_(builder, RewardTag_); + LimitedStageRewardExcel.AddRewardTag(builder, RewardTag); LimitedStageRewardExcel.AddIsDisplayed(builder, IsDisplayed); return LimitedStageRewardExcel.EndLimitedStageRewardExcel(builder); } public static void StartLimitedStageRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardId(FlatBufferBuilder builder, long rewardId) { builder.AddLong(4, rewardId, 0); } @@ -67,7 +67,7 @@ public struct LimitedStageRewardExcel : IFlatbufferObject public void UnPackTo(LimitedStageRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("LimitedStageReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardId = TableEncryptionService.Convert(this.RewardId, key); @@ -79,7 +79,7 @@ public struct LimitedStageRewardExcel : IFlatbufferObject return CreateLimitedStageRewardExcel( builder, _o.GroupId, - _o.RewardTag_, + _o.RewardTag, _o.RewardProb, _o.RewardParcelType, _o.RewardId, @@ -91,7 +91,7 @@ public struct LimitedStageRewardExcel : IFlatbufferObject public class LimitedStageRewardExcelT { public long GroupId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int RewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardId { get; set; } @@ -100,7 +100,7 @@ public class LimitedStageRewardExcelT public LimitedStageRewardExcelT() { this.GroupId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardProb = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardId = 0; @@ -116,7 +116,7 @@ static public class LimitedStageRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/LocalizeCharProfileExcel.cs b/SCHALE.Common/FlatData/LocalizeCharProfileExcel.cs index fe3a937..e148b1f 100644 --- a/SCHALE.Common/FlatData/LocalizeCharProfileExcel.cs +++ b/SCHALE.Common/FlatData/LocalizeCharProfileExcel.cs @@ -266,99 +266,99 @@ public struct LocalizeCharProfileExcel : IFlatbufferObject public ArraySegment? GetProfileIntroductionJpBytes() { return __p.__vector_as_arraysegment(74); } #endif public byte[] GetProfileIntroductionJpArray() { return __p.__vector_as_array(74); } - public string CharacterSsrNewKr { get { int o = __p.__offset(76); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public string CharacterSSRNewKr { get { int o = __p.__offset(76); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetCharacterSsrNewKrBytes() { return __p.__vector_as_span(76, 1); } + public Span GetCharacterSSRNewKrBytes() { return __p.__vector_as_span(76, 1); } #else - public ArraySegment? GetCharacterSsrNewKrBytes() { return __p.__vector_as_arraysegment(76); } + public ArraySegment? GetCharacterSSRNewKrBytes() { return __p.__vector_as_arraysegment(76); } #endif - public byte[] GetCharacterSsrNewKrArray() { return __p.__vector_as_array(76); } - public string CharacterSsrNewJp { get { int o = __p.__offset(78); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetCharacterSSRNewKrArray() { return __p.__vector_as_array(76); } + public string CharacterSSRNewJp { get { int o = __p.__offset(78); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetCharacterSsrNewJpBytes() { return __p.__vector_as_span(78, 1); } + public Span GetCharacterSSRNewJpBytes() { return __p.__vector_as_span(78, 1); } #else - public ArraySegment? GetCharacterSsrNewJpBytes() { return __p.__vector_as_arraysegment(78); } + public ArraySegment? GetCharacterSSRNewJpBytes() { return __p.__vector_as_arraysegment(78); } #endif - public byte[] GetCharacterSsrNewJpArray() { return __p.__vector_as_array(78); } + public byte[] GetCharacterSSRNewJpArray() { return __p.__vector_as_array(78); } public static Offset CreateLocalizeCharProfileExcel(FlatBufferBuilder builder, - long character_id = 0, - StringOffset status_message_krOffset = default(StringOffset), - StringOffset status_message_jpOffset = default(StringOffset), - StringOffset full_name_krOffset = default(StringOffset), - StringOffset full_name_jpOffset = default(StringOffset), - StringOffset family_name_krOffset = default(StringOffset), - StringOffset family_name_ruby_krOffset = default(StringOffset), - StringOffset personal_name_krOffset = default(StringOffset), - StringOffset personal_name_ruby_krOffset = default(StringOffset), - StringOffset family_name_jpOffset = default(StringOffset), - StringOffset family_name_ruby_jpOffset = default(StringOffset), - StringOffset personal_name_jpOffset = default(StringOffset), - StringOffset personal_name_ruby_jpOffset = default(StringOffset), - StringOffset school_year_krOffset = default(StringOffset), - StringOffset school_year_jpOffset = default(StringOffset), - StringOffset character_age_krOffset = default(StringOffset), - StringOffset character_age_jpOffset = default(StringOffset), - StringOffset birth_dayOffset = default(StringOffset), - StringOffset birthday_krOffset = default(StringOffset), - StringOffset birthday_jpOffset = default(StringOffset), - StringOffset char_height_krOffset = default(StringOffset), - StringOffset char_height_jpOffset = default(StringOffset), - StringOffset designer_name_krOffset = default(StringOffset), - StringOffset designer_name_jpOffset = default(StringOffset), - StringOffset illustrator_name_krOffset = default(StringOffset), - StringOffset illustrator_name_jpOffset = default(StringOffset), - StringOffset character_voice_krOffset = default(StringOffset), - StringOffset character_voice_jpOffset = default(StringOffset), - StringOffset hobby_krOffset = default(StringOffset), - StringOffset hobby_jpOffset = default(StringOffset), - StringOffset weapon_name_krOffset = default(StringOffset), - StringOffset weapon_desc_krOffset = default(StringOffset), - StringOffset weapon_name_jpOffset = default(StringOffset), - StringOffset weapon_desc_jpOffset = default(StringOffset), - StringOffset profile_introduction_krOffset = default(StringOffset), - StringOffset profile_introduction_jpOffset = default(StringOffset), - StringOffset character_ssr_new_krOffset = default(StringOffset), - StringOffset character_ssr_new_jpOffset = default(StringOffset)) { + long CharacterId = 0, + StringOffset StatusMessageKrOffset = default(StringOffset), + StringOffset StatusMessageJpOffset = default(StringOffset), + StringOffset FullNameKrOffset = default(StringOffset), + StringOffset FullNameJpOffset = default(StringOffset), + StringOffset FamilyNameKrOffset = default(StringOffset), + StringOffset FamilyNameRubyKrOffset = default(StringOffset), + StringOffset PersonalNameKrOffset = default(StringOffset), + StringOffset PersonalNameRubyKrOffset = default(StringOffset), + StringOffset FamilyNameJpOffset = default(StringOffset), + StringOffset FamilyNameRubyJpOffset = default(StringOffset), + StringOffset PersonalNameJpOffset = default(StringOffset), + StringOffset PersonalNameRubyJpOffset = default(StringOffset), + StringOffset SchoolYearKrOffset = default(StringOffset), + StringOffset SchoolYearJpOffset = default(StringOffset), + StringOffset CharacterAgeKrOffset = default(StringOffset), + StringOffset CharacterAgeJpOffset = default(StringOffset), + StringOffset BirthDayOffset = default(StringOffset), + StringOffset BirthdayKrOffset = default(StringOffset), + StringOffset BirthdayJpOffset = default(StringOffset), + StringOffset CharHeightKrOffset = default(StringOffset), + StringOffset CharHeightJpOffset = default(StringOffset), + StringOffset DesignerNameKrOffset = default(StringOffset), + StringOffset DesignerNameJpOffset = default(StringOffset), + StringOffset IllustratorNameKrOffset = default(StringOffset), + StringOffset IllustratorNameJpOffset = default(StringOffset), + StringOffset CharacterVoiceKrOffset = default(StringOffset), + StringOffset CharacterVoiceJpOffset = default(StringOffset), + StringOffset HobbyKrOffset = default(StringOffset), + StringOffset HobbyJpOffset = default(StringOffset), + StringOffset WeaponNameKrOffset = default(StringOffset), + StringOffset WeaponDescKrOffset = default(StringOffset), + StringOffset WeaponNameJpOffset = default(StringOffset), + StringOffset WeaponDescJpOffset = default(StringOffset), + StringOffset ProfileIntroductionKrOffset = default(StringOffset), + StringOffset ProfileIntroductionJpOffset = default(StringOffset), + StringOffset CharacterSSRNewKrOffset = default(StringOffset), + StringOffset CharacterSSRNewJpOffset = default(StringOffset)) { builder.StartTable(38); - LocalizeCharProfileExcel.AddCharacterId(builder, character_id); - LocalizeCharProfileExcel.AddCharacterSsrNewJp(builder, character_ssr_new_jpOffset); - LocalizeCharProfileExcel.AddCharacterSsrNewKr(builder, character_ssr_new_krOffset); - LocalizeCharProfileExcel.AddProfileIntroductionJp(builder, profile_introduction_jpOffset); - LocalizeCharProfileExcel.AddProfileIntroductionKr(builder, profile_introduction_krOffset); - LocalizeCharProfileExcel.AddWeaponDescJp(builder, weapon_desc_jpOffset); - LocalizeCharProfileExcel.AddWeaponNameJp(builder, weapon_name_jpOffset); - LocalizeCharProfileExcel.AddWeaponDescKr(builder, weapon_desc_krOffset); - LocalizeCharProfileExcel.AddWeaponNameKr(builder, weapon_name_krOffset); - LocalizeCharProfileExcel.AddHobbyJp(builder, hobby_jpOffset); - LocalizeCharProfileExcel.AddHobbyKr(builder, hobby_krOffset); - LocalizeCharProfileExcel.AddCharacterVoiceJp(builder, character_voice_jpOffset); - LocalizeCharProfileExcel.AddCharacterVoiceKr(builder, character_voice_krOffset); - LocalizeCharProfileExcel.AddIllustratorNameJp(builder, illustrator_name_jpOffset); - LocalizeCharProfileExcel.AddIllustratorNameKr(builder, illustrator_name_krOffset); - LocalizeCharProfileExcel.AddDesignerNameJp(builder, designer_name_jpOffset); - LocalizeCharProfileExcel.AddDesignerNameKr(builder, designer_name_krOffset); - LocalizeCharProfileExcel.AddCharHeightJp(builder, char_height_jpOffset); - LocalizeCharProfileExcel.AddCharHeightKr(builder, char_height_krOffset); - LocalizeCharProfileExcel.AddBirthdayJp(builder, birthday_jpOffset); - LocalizeCharProfileExcel.AddBirthdayKr(builder, birthday_krOffset); - LocalizeCharProfileExcel.AddBirthDay(builder, birth_dayOffset); - LocalizeCharProfileExcel.AddCharacterAgeJp(builder, character_age_jpOffset); - LocalizeCharProfileExcel.AddCharacterAgeKr(builder, character_age_krOffset); - LocalizeCharProfileExcel.AddSchoolYearJp(builder, school_year_jpOffset); - LocalizeCharProfileExcel.AddSchoolYearKr(builder, school_year_krOffset); - LocalizeCharProfileExcel.AddPersonalNameRubyJp(builder, personal_name_ruby_jpOffset); - LocalizeCharProfileExcel.AddPersonalNameJp(builder, personal_name_jpOffset); - LocalizeCharProfileExcel.AddFamilyNameRubyJp(builder, family_name_ruby_jpOffset); - LocalizeCharProfileExcel.AddFamilyNameJp(builder, family_name_jpOffset); - LocalizeCharProfileExcel.AddPersonalNameRubyKr(builder, personal_name_ruby_krOffset); - LocalizeCharProfileExcel.AddPersonalNameKr(builder, personal_name_krOffset); - LocalizeCharProfileExcel.AddFamilyNameRubyKr(builder, family_name_ruby_krOffset); - LocalizeCharProfileExcel.AddFamilyNameKr(builder, family_name_krOffset); - LocalizeCharProfileExcel.AddFullNameJp(builder, full_name_jpOffset); - LocalizeCharProfileExcel.AddFullNameKr(builder, full_name_krOffset); - LocalizeCharProfileExcel.AddStatusMessageJp(builder, status_message_jpOffset); - LocalizeCharProfileExcel.AddStatusMessageKr(builder, status_message_krOffset); + LocalizeCharProfileExcel.AddCharacterId(builder, CharacterId); + LocalizeCharProfileExcel.AddCharacterSSRNewJp(builder, CharacterSSRNewJpOffset); + LocalizeCharProfileExcel.AddCharacterSSRNewKr(builder, CharacterSSRNewKrOffset); + LocalizeCharProfileExcel.AddProfileIntroductionJp(builder, ProfileIntroductionJpOffset); + LocalizeCharProfileExcel.AddProfileIntroductionKr(builder, ProfileIntroductionKrOffset); + LocalizeCharProfileExcel.AddWeaponDescJp(builder, WeaponDescJpOffset); + LocalizeCharProfileExcel.AddWeaponNameJp(builder, WeaponNameJpOffset); + LocalizeCharProfileExcel.AddWeaponDescKr(builder, WeaponDescKrOffset); + LocalizeCharProfileExcel.AddWeaponNameKr(builder, WeaponNameKrOffset); + LocalizeCharProfileExcel.AddHobbyJp(builder, HobbyJpOffset); + LocalizeCharProfileExcel.AddHobbyKr(builder, HobbyKrOffset); + LocalizeCharProfileExcel.AddCharacterVoiceJp(builder, CharacterVoiceJpOffset); + LocalizeCharProfileExcel.AddCharacterVoiceKr(builder, CharacterVoiceKrOffset); + LocalizeCharProfileExcel.AddIllustratorNameJp(builder, IllustratorNameJpOffset); + LocalizeCharProfileExcel.AddIllustratorNameKr(builder, IllustratorNameKrOffset); + LocalizeCharProfileExcel.AddDesignerNameJp(builder, DesignerNameJpOffset); + LocalizeCharProfileExcel.AddDesignerNameKr(builder, DesignerNameKrOffset); + LocalizeCharProfileExcel.AddCharHeightJp(builder, CharHeightJpOffset); + LocalizeCharProfileExcel.AddCharHeightKr(builder, CharHeightKrOffset); + LocalizeCharProfileExcel.AddBirthdayJp(builder, BirthdayJpOffset); + LocalizeCharProfileExcel.AddBirthdayKr(builder, BirthdayKrOffset); + LocalizeCharProfileExcel.AddBirthDay(builder, BirthDayOffset); + LocalizeCharProfileExcel.AddCharacterAgeJp(builder, CharacterAgeJpOffset); + LocalizeCharProfileExcel.AddCharacterAgeKr(builder, CharacterAgeKrOffset); + LocalizeCharProfileExcel.AddSchoolYearJp(builder, SchoolYearJpOffset); + LocalizeCharProfileExcel.AddSchoolYearKr(builder, SchoolYearKrOffset); + LocalizeCharProfileExcel.AddPersonalNameRubyJp(builder, PersonalNameRubyJpOffset); + LocalizeCharProfileExcel.AddPersonalNameJp(builder, PersonalNameJpOffset); + LocalizeCharProfileExcel.AddFamilyNameRubyJp(builder, FamilyNameRubyJpOffset); + LocalizeCharProfileExcel.AddFamilyNameJp(builder, FamilyNameJpOffset); + LocalizeCharProfileExcel.AddPersonalNameRubyKr(builder, PersonalNameRubyKrOffset); + LocalizeCharProfileExcel.AddPersonalNameKr(builder, PersonalNameKrOffset); + LocalizeCharProfileExcel.AddFamilyNameRubyKr(builder, FamilyNameRubyKrOffset); + LocalizeCharProfileExcel.AddFamilyNameKr(builder, FamilyNameKrOffset); + LocalizeCharProfileExcel.AddFullNameJp(builder, FullNameJpOffset); + LocalizeCharProfileExcel.AddFullNameKr(builder, FullNameKrOffset); + LocalizeCharProfileExcel.AddStatusMessageJp(builder, StatusMessageJpOffset); + LocalizeCharProfileExcel.AddStatusMessageKr(builder, StatusMessageKrOffset); return LocalizeCharProfileExcel.EndLocalizeCharProfileExcel(builder); } @@ -399,8 +399,8 @@ public struct LocalizeCharProfileExcel : IFlatbufferObject public static void AddWeaponDescJp(FlatBufferBuilder builder, StringOffset weaponDescJpOffset) { builder.AddOffset(33, weaponDescJpOffset.Value, 0); } public static void AddProfileIntroductionKr(FlatBufferBuilder builder, StringOffset profileIntroductionKrOffset) { builder.AddOffset(34, profileIntroductionKrOffset.Value, 0); } public static void AddProfileIntroductionJp(FlatBufferBuilder builder, StringOffset profileIntroductionJpOffset) { builder.AddOffset(35, profileIntroductionJpOffset.Value, 0); } - public static void AddCharacterSsrNewKr(FlatBufferBuilder builder, StringOffset characterSsrNewKrOffset) { builder.AddOffset(36, characterSsrNewKrOffset.Value, 0); } - public static void AddCharacterSsrNewJp(FlatBufferBuilder builder, StringOffset characterSsrNewJpOffset) { builder.AddOffset(37, characterSsrNewJpOffset.Value, 0); } + public static void AddCharacterSSRNewKr(FlatBufferBuilder builder, StringOffset characterSSRNewKrOffset) { builder.AddOffset(36, characterSSRNewKrOffset.Value, 0); } + public static void AddCharacterSSRNewJp(FlatBufferBuilder builder, StringOffset characterSSRNewJpOffset) { builder.AddOffset(37, characterSSRNewJpOffset.Value, 0); } public static Offset EndLocalizeCharProfileExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -448,88 +448,88 @@ public struct LocalizeCharProfileExcel : IFlatbufferObject _o.WeaponDescJp = TableEncryptionService.Convert(this.WeaponDescJp, key); _o.ProfileIntroductionKr = TableEncryptionService.Convert(this.ProfileIntroductionKr, key); _o.ProfileIntroductionJp = TableEncryptionService.Convert(this.ProfileIntroductionJp, key); - _o.CharacterSsrNewKr = TableEncryptionService.Convert(this.CharacterSsrNewKr, key); - _o.CharacterSsrNewJp = TableEncryptionService.Convert(this.CharacterSsrNewJp, key); + _o.CharacterSSRNewKr = TableEncryptionService.Convert(this.CharacterSSRNewKr, key); + _o.CharacterSSRNewJp = TableEncryptionService.Convert(this.CharacterSSRNewJp, key); } public static Offset Pack(FlatBufferBuilder builder, LocalizeCharProfileExcelT _o) { if (_o == null) return default(Offset); - var _status_message_kr = _o.StatusMessageKr == null ? default(StringOffset) : builder.CreateString(_o.StatusMessageKr); - var _status_message_jp = _o.StatusMessageJp == null ? default(StringOffset) : builder.CreateString(_o.StatusMessageJp); - var _full_name_kr = _o.FullNameKr == null ? default(StringOffset) : builder.CreateString(_o.FullNameKr); - var _full_name_jp = _o.FullNameJp == null ? default(StringOffset) : builder.CreateString(_o.FullNameJp); - var _family_name_kr = _o.FamilyNameKr == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameKr); - var _family_name_ruby_kr = _o.FamilyNameRubyKr == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameRubyKr); - var _personal_name_kr = _o.PersonalNameKr == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameKr); - var _personal_name_ruby_kr = _o.PersonalNameRubyKr == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameRubyKr); - var _family_name_jp = _o.FamilyNameJp == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameJp); - var _family_name_ruby_jp = _o.FamilyNameRubyJp == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameRubyJp); - var _personal_name_jp = _o.PersonalNameJp == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameJp); - var _personal_name_ruby_jp = _o.PersonalNameRubyJp == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameRubyJp); - var _school_year_kr = _o.SchoolYearKr == null ? default(StringOffset) : builder.CreateString(_o.SchoolYearKr); - var _school_year_jp = _o.SchoolYearJp == null ? default(StringOffset) : builder.CreateString(_o.SchoolYearJp); - var _character_age_kr = _o.CharacterAgeKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterAgeKr); - var _character_age_jp = _o.CharacterAgeJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterAgeJp); - var _birth_day = _o.BirthDay == null ? default(StringOffset) : builder.CreateString(_o.BirthDay); - var _birthday_kr = _o.BirthdayKr == null ? default(StringOffset) : builder.CreateString(_o.BirthdayKr); - var _birthday_jp = _o.BirthdayJp == null ? default(StringOffset) : builder.CreateString(_o.BirthdayJp); - var _char_height_kr = _o.CharHeightKr == null ? default(StringOffset) : builder.CreateString(_o.CharHeightKr); - var _char_height_jp = _o.CharHeightJp == null ? default(StringOffset) : builder.CreateString(_o.CharHeightJp); - var _designer_name_kr = _o.DesignerNameKr == null ? default(StringOffset) : builder.CreateString(_o.DesignerNameKr); - var _designer_name_jp = _o.DesignerNameJp == null ? default(StringOffset) : builder.CreateString(_o.DesignerNameJp); - var _illustrator_name_kr = _o.IllustratorNameKr == null ? default(StringOffset) : builder.CreateString(_o.IllustratorNameKr); - var _illustrator_name_jp = _o.IllustratorNameJp == null ? default(StringOffset) : builder.CreateString(_o.IllustratorNameJp); - var _character_voice_kr = _o.CharacterVoiceKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterVoiceKr); - var _character_voice_jp = _o.CharacterVoiceJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterVoiceJp); - var _hobby_kr = _o.HobbyKr == null ? default(StringOffset) : builder.CreateString(_o.HobbyKr); - var _hobby_jp = _o.HobbyJp == null ? default(StringOffset) : builder.CreateString(_o.HobbyJp); - var _weapon_name_kr = _o.WeaponNameKr == null ? default(StringOffset) : builder.CreateString(_o.WeaponNameKr); - var _weapon_desc_kr = _o.WeaponDescKr == null ? default(StringOffset) : builder.CreateString(_o.WeaponDescKr); - var _weapon_name_jp = _o.WeaponNameJp == null ? default(StringOffset) : builder.CreateString(_o.WeaponNameJp); - var _weapon_desc_jp = _o.WeaponDescJp == null ? default(StringOffset) : builder.CreateString(_o.WeaponDescJp); - var _profile_introduction_kr = _o.ProfileIntroductionKr == null ? default(StringOffset) : builder.CreateString(_o.ProfileIntroductionKr); - var _profile_introduction_jp = _o.ProfileIntroductionJp == null ? default(StringOffset) : builder.CreateString(_o.ProfileIntroductionJp); - var _character_ssr_new_kr = _o.CharacterSsrNewKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterSsrNewKr); - var _character_ssr_new_jp = _o.CharacterSsrNewJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterSsrNewJp); + var _StatusMessageKr = _o.StatusMessageKr == null ? default(StringOffset) : builder.CreateString(_o.StatusMessageKr); + var _StatusMessageJp = _o.StatusMessageJp == null ? default(StringOffset) : builder.CreateString(_o.StatusMessageJp); + var _FullNameKr = _o.FullNameKr == null ? default(StringOffset) : builder.CreateString(_o.FullNameKr); + var _FullNameJp = _o.FullNameJp == null ? default(StringOffset) : builder.CreateString(_o.FullNameJp); + var _FamilyNameKr = _o.FamilyNameKr == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameKr); + var _FamilyNameRubyKr = _o.FamilyNameRubyKr == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameRubyKr); + var _PersonalNameKr = _o.PersonalNameKr == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameKr); + var _PersonalNameRubyKr = _o.PersonalNameRubyKr == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameRubyKr); + var _FamilyNameJp = _o.FamilyNameJp == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameJp); + var _FamilyNameRubyJp = _o.FamilyNameRubyJp == null ? default(StringOffset) : builder.CreateString(_o.FamilyNameRubyJp); + var _PersonalNameJp = _o.PersonalNameJp == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameJp); + var _PersonalNameRubyJp = _o.PersonalNameRubyJp == null ? default(StringOffset) : builder.CreateString(_o.PersonalNameRubyJp); + var _SchoolYearKr = _o.SchoolYearKr == null ? default(StringOffset) : builder.CreateString(_o.SchoolYearKr); + var _SchoolYearJp = _o.SchoolYearJp == null ? default(StringOffset) : builder.CreateString(_o.SchoolYearJp); + var _CharacterAgeKr = _o.CharacterAgeKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterAgeKr); + var _CharacterAgeJp = _o.CharacterAgeJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterAgeJp); + var _BirthDay = _o.BirthDay == null ? default(StringOffset) : builder.CreateString(_o.BirthDay); + var _BirthdayKr = _o.BirthdayKr == null ? default(StringOffset) : builder.CreateString(_o.BirthdayKr); + var _BirthdayJp = _o.BirthdayJp == null ? default(StringOffset) : builder.CreateString(_o.BirthdayJp); + var _CharHeightKr = _o.CharHeightKr == null ? default(StringOffset) : builder.CreateString(_o.CharHeightKr); + var _CharHeightJp = _o.CharHeightJp == null ? default(StringOffset) : builder.CreateString(_o.CharHeightJp); + var _DesignerNameKr = _o.DesignerNameKr == null ? default(StringOffset) : builder.CreateString(_o.DesignerNameKr); + var _DesignerNameJp = _o.DesignerNameJp == null ? default(StringOffset) : builder.CreateString(_o.DesignerNameJp); + var _IllustratorNameKr = _o.IllustratorNameKr == null ? default(StringOffset) : builder.CreateString(_o.IllustratorNameKr); + var _IllustratorNameJp = _o.IllustratorNameJp == null ? default(StringOffset) : builder.CreateString(_o.IllustratorNameJp); + var _CharacterVoiceKr = _o.CharacterVoiceKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterVoiceKr); + var _CharacterVoiceJp = _o.CharacterVoiceJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterVoiceJp); + var _HobbyKr = _o.HobbyKr == null ? default(StringOffset) : builder.CreateString(_o.HobbyKr); + var _HobbyJp = _o.HobbyJp == null ? default(StringOffset) : builder.CreateString(_o.HobbyJp); + var _WeaponNameKr = _o.WeaponNameKr == null ? default(StringOffset) : builder.CreateString(_o.WeaponNameKr); + var _WeaponDescKr = _o.WeaponDescKr == null ? default(StringOffset) : builder.CreateString(_o.WeaponDescKr); + var _WeaponNameJp = _o.WeaponNameJp == null ? default(StringOffset) : builder.CreateString(_o.WeaponNameJp); + var _WeaponDescJp = _o.WeaponDescJp == null ? default(StringOffset) : builder.CreateString(_o.WeaponDescJp); + var _ProfileIntroductionKr = _o.ProfileIntroductionKr == null ? default(StringOffset) : builder.CreateString(_o.ProfileIntroductionKr); + var _ProfileIntroductionJp = _o.ProfileIntroductionJp == null ? default(StringOffset) : builder.CreateString(_o.ProfileIntroductionJp); + var _CharacterSSRNewKr = _o.CharacterSSRNewKr == null ? default(StringOffset) : builder.CreateString(_o.CharacterSSRNewKr); + var _CharacterSSRNewJp = _o.CharacterSSRNewJp == null ? default(StringOffset) : builder.CreateString(_o.CharacterSSRNewJp); return CreateLocalizeCharProfileExcel( builder, _o.CharacterId, - _status_message_kr, - _status_message_jp, - _full_name_kr, - _full_name_jp, - _family_name_kr, - _family_name_ruby_kr, - _personal_name_kr, - _personal_name_ruby_kr, - _family_name_jp, - _family_name_ruby_jp, - _personal_name_jp, - _personal_name_ruby_jp, - _school_year_kr, - _school_year_jp, - _character_age_kr, - _character_age_jp, - _birth_day, - _birthday_kr, - _birthday_jp, - _char_height_kr, - _char_height_jp, - _designer_name_kr, - _designer_name_jp, - _illustrator_name_kr, - _illustrator_name_jp, - _character_voice_kr, - _character_voice_jp, - _hobby_kr, - _hobby_jp, - _weapon_name_kr, - _weapon_desc_kr, - _weapon_name_jp, - _weapon_desc_jp, - _profile_introduction_kr, - _profile_introduction_jp, - _character_ssr_new_kr, - _character_ssr_new_jp); + _StatusMessageKr, + _StatusMessageJp, + _FullNameKr, + _FullNameJp, + _FamilyNameKr, + _FamilyNameRubyKr, + _PersonalNameKr, + _PersonalNameRubyKr, + _FamilyNameJp, + _FamilyNameRubyJp, + _PersonalNameJp, + _PersonalNameRubyJp, + _SchoolYearKr, + _SchoolYearJp, + _CharacterAgeKr, + _CharacterAgeJp, + _BirthDay, + _BirthdayKr, + _BirthdayJp, + _CharHeightKr, + _CharHeightJp, + _DesignerNameKr, + _DesignerNameJp, + _IllustratorNameKr, + _IllustratorNameJp, + _CharacterVoiceKr, + _CharacterVoiceJp, + _HobbyKr, + _HobbyJp, + _WeaponNameKr, + _WeaponDescKr, + _WeaponNameJp, + _WeaponDescJp, + _ProfileIntroductionKr, + _ProfileIntroductionJp, + _CharacterSSRNewKr, + _CharacterSSRNewJp); } } @@ -571,8 +571,8 @@ public class LocalizeCharProfileExcelT public string WeaponDescJp { get; set; } public string ProfileIntroductionKr { get; set; } public string ProfileIntroductionJp { get; set; } - public string CharacterSsrNewKr { get; set; } - public string CharacterSsrNewJp { get; set; } + public string CharacterSSRNewKr { get; set; } + public string CharacterSSRNewJp { get; set; } public LocalizeCharProfileExcelT() { this.CharacterId = 0; @@ -611,8 +611,8 @@ public class LocalizeCharProfileExcelT this.WeaponDescJp = null; this.ProfileIntroductionKr = null; this.ProfileIntroductionJp = null; - this.CharacterSsrNewKr = null; - this.CharacterSsrNewJp = null; + this.CharacterSSRNewKr = null; + this.CharacterSSRNewJp = null; } } @@ -658,8 +658,8 @@ static public class LocalizeCharProfileExcelVerify && verifier.VerifyString(tablePos, 70 /*WeaponDescJp*/, false) && verifier.VerifyString(tablePos, 72 /*ProfileIntroductionKr*/, false) && verifier.VerifyString(tablePos, 74 /*ProfileIntroductionJp*/, false) - && verifier.VerifyString(tablePos, 76 /*CharacterSsrNewKr*/, false) - && verifier.VerifyString(tablePos, 78 /*CharacterSsrNewJp*/, false) + && verifier.VerifyString(tablePos, 76 /*CharacterSSRNewKr*/, false) + && verifier.VerifyString(tablePos, 78 /*CharacterSSRNewJp*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/LocalizeCharProfileExcelTable.cs b/SCHALE.Common/FlatData/LocalizeCharProfileExcelTable.cs index 889e95f..bb86732 100644 --- a/SCHALE.Common/FlatData/LocalizeCharProfileExcelTable.cs +++ b/SCHALE.Common/FlatData/LocalizeCharProfileExcelTable.cs @@ -24,9 +24,9 @@ public struct LocalizeCharProfileExcelTable : IFlatbufferObject public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } public static Offset CreateLocalizeCharProfileExcelTable(FlatBufferBuilder builder, - VectorOffset data_listOffset = default(VectorOffset)) { + VectorOffset DataListOffset = default(VectorOffset)) { builder.StartTable(1); - LocalizeCharProfileExcelTable.AddDataList(builder, data_listOffset); + LocalizeCharProfileExcelTable.AddDataList(builder, DataListOffset); return LocalizeCharProfileExcelTable.EndLocalizeCharProfileExcelTable(builder); } @@ -53,15 +53,15 @@ public struct LocalizeCharProfileExcelTable : IFlatbufferObject } public static Offset Pack(FlatBufferBuilder builder, LocalizeCharProfileExcelTableT _o) { if (_o == null) return default(Offset); - var _data_list = default(VectorOffset); + var _DataList = default(VectorOffset); if (_o.DataList != null) { - var __data_list = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.LocalizeCharProfileExcel.Pack(builder, _o.DataList[_j]); } - _data_list = CreateDataListVector(builder, __data_list); + var __DataList = new Offset[_o.DataList.Count]; + for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.LocalizeCharProfileExcel.Pack(builder, _o.DataList[_j]); } + _DataList = CreateDataListVector(builder, __DataList); } return CreateLocalizeCharProfileExcelTable( builder, - _data_list); + _DataList); } } diff --git a/SCHALE.Common/FlatData/MemoryLobbyExcel.cs b/SCHALE.Common/FlatData/MemoryLobbyExcel.cs index 4a7661b..9fd4a27 100644 --- a/SCHALE.Common/FlatData/MemoryLobbyExcel.cs +++ b/SCHALE.Common/FlatData/MemoryLobbyExcel.cs @@ -21,86 +21,86 @@ public struct MemoryLobbyExcel : IFlatbufferObject public MemoryLobbyExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ProductionStep Productionstep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } - public uint Localizeetcid { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public long Characterid { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string Prefabname { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public uint LocalizeEtcId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public long CharacterId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string PrefabName { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetPrefabnameBytes() { return __p.__vector_as_span(12, 1); } + public Span GetPrefabNameBytes() { return __p.__vector_as_span(12, 1); } #else - public ArraySegment? GetPrefabnameBytes() { return __p.__vector_as_arraysegment(12); } + public ArraySegment? GetPrefabNameBytes() { return __p.__vector_as_arraysegment(12); } #endif - public byte[] GetPrefabnameArray() { return __p.__vector_as_array(12); } - public SCHALE.Common.FlatData.MemoryLobbyCategory Memorylobbycategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MemoryLobbyCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MemoryLobbyCategory.None; } } - public string SlottextureName { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetPrefabNameArray() { return __p.__vector_as_array(12); } + public SCHALE.Common.FlatData.MemoryLobbyCategory MemoryLobbyCategory { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.MemoryLobbyCategory)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MemoryLobbyCategory.None; } } + public string SlotTextureName { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetSlottextureNameBytes() { return __p.__vector_as_span(16, 1); } + public Span GetSlotTextureNameBytes() { return __p.__vector_as_span(16, 1); } #else - public ArraySegment? GetSlottextureNameBytes() { return __p.__vector_as_arraysegment(16); } + public ArraySegment? GetSlotTextureNameBytes() { return __p.__vector_as_arraysegment(16); } #endif - public byte[] GetSlottextureNameArray() { return __p.__vector_as_array(16); } - public string Rewardtexturename { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetSlotTextureNameArray() { return __p.__vector_as_array(16); } + public string RewardTextureName { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetRewardtexturenameBytes() { return __p.__vector_as_span(18, 1); } + public Span GetRewardTextureNameBytes() { return __p.__vector_as_span(18, 1); } #else - public ArraySegment? GetRewardtexturenameBytes() { return __p.__vector_as_arraysegment(18); } + public ArraySegment? GetRewardTextureNameBytes() { return __p.__vector_as_arraysegment(18); } #endif - public byte[] GetRewardtexturenameArray() { return __p.__vector_as_array(18); } - public long Bgmid { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string Audioclipjp { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetRewardTextureNameArray() { return __p.__vector_as_array(18); } + public long BGMId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string AudioClipJp { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetAudioclipjpBytes() { return __p.__vector_as_span(22, 1); } + public Span GetAudioClipJpBytes() { return __p.__vector_as_span(22, 1); } #else - public ArraySegment? GetAudioclipjpBytes() { return __p.__vector_as_arraysegment(22); } + public ArraySegment? GetAudioClipJpBytes() { return __p.__vector_as_arraysegment(22); } #endif - public byte[] GetAudioclipjpArray() { return __p.__vector_as_array(22); } - public string Audioclipkr { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetAudioClipJpArray() { return __p.__vector_as_array(22); } + public string AudioClipKr { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetAudioclipkrBytes() { return __p.__vector_as_span(24, 1); } + public Span GetAudioClipKrBytes() { return __p.__vector_as_span(24, 1); } #else - public ArraySegment? GetAudioclipkrBytes() { return __p.__vector_as_arraysegment(24); } + public ArraySegment? GetAudioClipKrBytes() { return __p.__vector_as_arraysegment(24); } #endif - public byte[] GetAudioclipkrArray() { return __p.__vector_as_array(24); } + public byte[] GetAudioClipKrArray() { return __p.__vector_as_array(24); } public static Offset CreateMemoryLobbyExcel(FlatBufferBuilder builder, - long id = 0, - SCHALE.Common.FlatData.ProductionStep productionstep = SCHALE.Common.FlatData.ProductionStep.ToDo, - uint localizeetcid = 0, - long characterid = 0, - StringOffset prefabnameOffset = default(StringOffset), - SCHALE.Common.FlatData.MemoryLobbyCategory memorylobbycategory = SCHALE.Common.FlatData.MemoryLobbyCategory.None, - StringOffset slottexture_nameOffset = default(StringOffset), - StringOffset rewardtexturenameOffset = default(StringOffset), - long bgmid = 0, - StringOffset audioclipjpOffset = default(StringOffset), - StringOffset audioclipkrOffset = default(StringOffset)) { + long Id = 0, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, + uint LocalizeEtcId = 0, + long CharacterId = 0, + StringOffset PrefabNameOffset = default(StringOffset), + SCHALE.Common.FlatData.MemoryLobbyCategory MemoryLobbyCategory = SCHALE.Common.FlatData.MemoryLobbyCategory.None, + StringOffset SlotTextureNameOffset = default(StringOffset), + StringOffset RewardTextureNameOffset = default(StringOffset), + long BGMId = 0, + StringOffset AudioClipJpOffset = default(StringOffset), + StringOffset AudioClipKrOffset = default(StringOffset)) { builder.StartTable(11); - MemoryLobbyExcel.AddBgmid(builder, bgmid); - MemoryLobbyExcel.AddCharacterid(builder, characterid); - MemoryLobbyExcel.AddId(builder, id); - MemoryLobbyExcel.AddAudioclipkr(builder, audioclipkrOffset); - MemoryLobbyExcel.AddAudioclipjp(builder, audioclipjpOffset); - MemoryLobbyExcel.AddRewardtexturename(builder, rewardtexturenameOffset); - MemoryLobbyExcel.AddSlottextureName(builder, slottexture_nameOffset); - MemoryLobbyExcel.AddMemorylobbycategory(builder, memorylobbycategory); - MemoryLobbyExcel.AddPrefabname(builder, prefabnameOffset); - MemoryLobbyExcel.AddLocalizeetcid(builder, localizeetcid); - MemoryLobbyExcel.AddProductionstep(builder, productionstep); + MemoryLobbyExcel.AddBGMId(builder, BGMId); + MemoryLobbyExcel.AddCharacterId(builder, CharacterId); + MemoryLobbyExcel.AddId(builder, Id); + MemoryLobbyExcel.AddAudioClipKr(builder, AudioClipKrOffset); + MemoryLobbyExcel.AddAudioClipJp(builder, AudioClipJpOffset); + MemoryLobbyExcel.AddRewardTextureName(builder, RewardTextureNameOffset); + MemoryLobbyExcel.AddSlotTextureName(builder, SlotTextureNameOffset); + MemoryLobbyExcel.AddMemoryLobbyCategory(builder, MemoryLobbyCategory); + MemoryLobbyExcel.AddPrefabName(builder, PrefabNameOffset); + MemoryLobbyExcel.AddLocalizeEtcId(builder, LocalizeEtcId); + MemoryLobbyExcel.AddProductionStep(builder, ProductionStep); return MemoryLobbyExcel.EndMemoryLobbyExcel(builder); } public static void StartMemoryLobbyExcel(FlatBufferBuilder builder) { builder.StartTable(11); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddProductionstep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionstep) { builder.AddInt(1, (int)productionstep, 0); } - public static void AddLocalizeetcid(FlatBufferBuilder builder, uint localizeetcid) { builder.AddUint(2, localizeetcid, 0); } - public static void AddCharacterid(FlatBufferBuilder builder, long characterid) { builder.AddLong(3, characterid, 0); } - public static void AddPrefabname(FlatBufferBuilder builder, StringOffset prefabnameOffset) { builder.AddOffset(4, prefabnameOffset.Value, 0); } - public static void AddMemorylobbycategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.MemoryLobbyCategory memorylobbycategory) { builder.AddInt(5, (int)memorylobbycategory, 0); } - public static void AddSlottextureName(FlatBufferBuilder builder, StringOffset slottextureNameOffset) { builder.AddOffset(6, slottextureNameOffset.Value, 0); } - public static void AddRewardtexturename(FlatBufferBuilder builder, StringOffset rewardtexturenameOffset) { builder.AddOffset(7, rewardtexturenameOffset.Value, 0); } - public static void AddBgmid(FlatBufferBuilder builder, long bgmid) { builder.AddLong(8, bgmid, 0); } - public static void AddAudioclipjp(FlatBufferBuilder builder, StringOffset audioclipjpOffset) { builder.AddOffset(9, audioclipjpOffset.Value, 0); } - public static void AddAudioclipkr(FlatBufferBuilder builder, StringOffset audioclipkrOffset) { builder.AddOffset(10, audioclipkrOffset.Value, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(1, (int)productionStep, 0); } + public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(2, localizeEtcId, 0); } + public static void AddCharacterId(FlatBufferBuilder builder, long characterId) { builder.AddLong(3, characterId, 0); } + public static void AddPrefabName(FlatBufferBuilder builder, StringOffset prefabNameOffset) { builder.AddOffset(4, prefabNameOffset.Value, 0); } + public static void AddMemoryLobbyCategory(FlatBufferBuilder builder, SCHALE.Common.FlatData.MemoryLobbyCategory memoryLobbyCategory) { builder.AddInt(5, (int)memoryLobbyCategory, 0); } + public static void AddSlotTextureName(FlatBufferBuilder builder, StringOffset slotTextureNameOffset) { builder.AddOffset(6, slotTextureNameOffset.Value, 0); } + public static void AddRewardTextureName(FlatBufferBuilder builder, StringOffset rewardTextureNameOffset) { builder.AddOffset(7, rewardTextureNameOffset.Value, 0); } + public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(8, bGMId, 0); } + public static void AddAudioClipJp(FlatBufferBuilder builder, StringOffset audioClipJpOffset) { builder.AddOffset(9, audioClipJpOffset.Value, 0); } + public static void AddAudioClipKr(FlatBufferBuilder builder, StringOffset audioClipKrOffset) { builder.AddOffset(10, audioClipKrOffset.Value, 0); } public static Offset EndMemoryLobbyExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -113,66 +113,66 @@ public struct MemoryLobbyExcel : IFlatbufferObject public void UnPackTo(MemoryLobbyExcelT _o) { byte[] key = TableEncryptionService.CreateKey("MemoryLobby"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.Productionstep = TableEncryptionService.Convert(this.Productionstep, key); - _o.Localizeetcid = TableEncryptionService.Convert(this.Localizeetcid, key); - _o.Characterid = TableEncryptionService.Convert(this.Characterid, key); - _o.Prefabname = TableEncryptionService.Convert(this.Prefabname, key); - _o.Memorylobbycategory = TableEncryptionService.Convert(this.Memorylobbycategory, key); - _o.SlottextureName = TableEncryptionService.Convert(this.SlottextureName, key); - _o.Rewardtexturename = TableEncryptionService.Convert(this.Rewardtexturename, key); - _o.Bgmid = TableEncryptionService.Convert(this.Bgmid, key); - _o.Audioclipjp = TableEncryptionService.Convert(this.Audioclipjp, key); - _o.Audioclipkr = TableEncryptionService.Convert(this.Audioclipkr, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); + _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); + _o.CharacterId = TableEncryptionService.Convert(this.CharacterId, key); + _o.PrefabName = TableEncryptionService.Convert(this.PrefabName, key); + _o.MemoryLobbyCategory = TableEncryptionService.Convert(this.MemoryLobbyCategory, key); + _o.SlotTextureName = TableEncryptionService.Convert(this.SlotTextureName, key); + _o.RewardTextureName = TableEncryptionService.Convert(this.RewardTextureName, key); + _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); + _o.AudioClipJp = TableEncryptionService.Convert(this.AudioClipJp, key); + _o.AudioClipKr = TableEncryptionService.Convert(this.AudioClipKr, key); } public static Offset Pack(FlatBufferBuilder builder, MemoryLobbyExcelT _o) { if (_o == null) return default(Offset); - var _prefabname = _o.Prefabname == null ? default(StringOffset) : builder.CreateString(_o.Prefabname); - var _slottexture_name = _o.SlottextureName == null ? default(StringOffset) : builder.CreateString(_o.SlottextureName); - var _rewardtexturename = _o.Rewardtexturename == null ? default(StringOffset) : builder.CreateString(_o.Rewardtexturename); - var _audioclipjp = _o.Audioclipjp == null ? default(StringOffset) : builder.CreateString(_o.Audioclipjp); - var _audioclipkr = _o.Audioclipkr == null ? default(StringOffset) : builder.CreateString(_o.Audioclipkr); + var _PrefabName = _o.PrefabName == null ? default(StringOffset) : builder.CreateString(_o.PrefabName); + var _SlotTextureName = _o.SlotTextureName == null ? default(StringOffset) : builder.CreateString(_o.SlotTextureName); + var _RewardTextureName = _o.RewardTextureName == null ? default(StringOffset) : builder.CreateString(_o.RewardTextureName); + var _AudioClipJp = _o.AudioClipJp == null ? default(StringOffset) : builder.CreateString(_o.AudioClipJp); + var _AudioClipKr = _o.AudioClipKr == null ? default(StringOffset) : builder.CreateString(_o.AudioClipKr); return CreateMemoryLobbyExcel( builder, _o.Id, - _o.Productionstep, - _o.Localizeetcid, - _o.Characterid, - _prefabname, - _o.Memorylobbycategory, - _slottexture_name, - _rewardtexturename, - _o.Bgmid, - _audioclipjp, - _audioclipkr); + _o.ProductionStep, + _o.LocalizeEtcId, + _o.CharacterId, + _PrefabName, + _o.MemoryLobbyCategory, + _SlotTextureName, + _RewardTextureName, + _o.BGMId, + _AudioClipJp, + _AudioClipKr); } } public class MemoryLobbyExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.ProductionStep Productionstep { get; set; } - public uint Localizeetcid { get; set; } - public long Characterid { get; set; } - public string Prefabname { get; set; } - public SCHALE.Common.FlatData.MemoryLobbyCategory Memorylobbycategory { get; set; } - public string SlottextureName { get; set; } - public string Rewardtexturename { get; set; } - public long Bgmid { get; set; } - public string Audioclipjp { get; set; } - public string Audioclipkr { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } + public uint LocalizeEtcId { get; set; } + public long CharacterId { get; set; } + public string PrefabName { get; set; } + public SCHALE.Common.FlatData.MemoryLobbyCategory MemoryLobbyCategory { get; set; } + public string SlotTextureName { get; set; } + public string RewardTextureName { get; set; } + public long BGMId { get; set; } + public string AudioClipJp { get; set; } + public string AudioClipKr { get; set; } public MemoryLobbyExcelT() { this.Id = 0; - this.Productionstep = SCHALE.Common.FlatData.ProductionStep.ToDo; - this.Localizeetcid = 0; - this.Characterid = 0; - this.Prefabname = null; - this.Memorylobbycategory = SCHALE.Common.FlatData.MemoryLobbyCategory.None; - this.SlottextureName = null; - this.Rewardtexturename = null; - this.Bgmid = 0; - this.Audioclipjp = null; - this.Audioclipkr = null; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.LocalizeEtcId = 0; + this.CharacterId = 0; + this.PrefabName = null; + this.MemoryLobbyCategory = SCHALE.Common.FlatData.MemoryLobbyCategory.None; + this.SlotTextureName = null; + this.RewardTextureName = null; + this.BGMId = 0; + this.AudioClipJp = null; + this.AudioClipKr = null; } } @@ -183,16 +183,16 @@ static public class MemoryLobbyExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*Productionstep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*Localizeetcid*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*Characterid*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 12 /*Prefabname*/, false) - && verifier.VerifyField(tablePos, 14 /*Memorylobbycategory*/, 4 /*SCHALE.Common.FlatData.MemoryLobbyCategory*/, 4, false) - && verifier.VerifyString(tablePos, 16 /*SlottextureName*/, false) - && verifier.VerifyString(tablePos, 18 /*Rewardtexturename*/, false) - && verifier.VerifyField(tablePos, 20 /*Bgmid*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 22 /*Audioclipjp*/, false) - && verifier.VerifyString(tablePos, 24 /*Audioclipkr*/, false) + && verifier.VerifyField(tablePos, 6 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*CharacterId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 12 /*PrefabName*/, false) + && verifier.VerifyField(tablePos, 14 /*MemoryLobbyCategory*/, 4 /*SCHALE.Common.FlatData.MemoryLobbyCategory*/, 4, false) + && verifier.VerifyString(tablePos, 16 /*SlotTextureName*/, false) + && verifier.VerifyString(tablePos, 18 /*RewardTextureName*/, false) + && verifier.VerifyField(tablePos, 20 /*BGMId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 22 /*AudioClipJp*/, false) + && verifier.VerifyString(tablePos, 24 /*AudioClipKr*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/MemoryLobbyExcelTable.cs b/SCHALE.Common/FlatData/MemoryLobbyExcelTable.cs deleted file mode 100644 index 524bf24..0000000 --- a/SCHALE.Common/FlatData/MemoryLobbyExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct MemoryLobbyExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static MemoryLobbyExcelTable GetRootAsMemoryLobbyExcelTable(ByteBuffer _bb) { return GetRootAsMemoryLobbyExcelTable(_bb, new MemoryLobbyExcelTable()); } - public static MemoryLobbyExcelTable GetRootAsMemoryLobbyExcelTable(ByteBuffer _bb, MemoryLobbyExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public MemoryLobbyExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.MemoryLobbyExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MemoryLobbyExcel?)(new SCHALE.Common.FlatData.MemoryLobbyExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateMemoryLobbyExcelTable(FlatBufferBuilder builder, - VectorOffset data_listOffset = default(VectorOffset)) { - builder.StartTable(1); - MemoryLobbyExcelTable.AddDataList(builder, data_listOffset); - return MemoryLobbyExcelTable.EndMemoryLobbyExcelTable(builder); - } - - public static void StartMemoryLobbyExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndMemoryLobbyExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public MemoryLobbyExcelTableT UnPack() { - var _o = new MemoryLobbyExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(MemoryLobbyExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("MemoryLobbyExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, MemoryLobbyExcelTableT _o) { - if (_o == null) return default(Offset); - var _data_list = default(VectorOffset); - if (_o.DataList != null) { - var __data_list = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __data_list.Length; ++_j) { __data_list[_j] = SCHALE.Common.FlatData.MemoryLobbyExcel.Pack(builder, _o.DataList[_j]); } - _data_list = CreateDataListVector(builder, __data_list); - } - return CreateMemoryLobbyExcelTable( - builder, - _data_list); - } -} - -public class MemoryLobbyExcelTableT -{ - public List DataList { get; set; } - - public MemoryLobbyExcelTableT() { - this.DataList = null; - } -} - - -static public class MemoryLobbyExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.MemoryLobbyExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/MessagePopupExcel.cs b/SCHALE.Common/FlatData/MessagePopupExcel.cs index 01dffd1..fb36c98 100644 --- a/SCHALE.Common/FlatData/MessagePopupExcel.cs +++ b/SCHALE.Common/FlatData/MessagePopupExcel.cs @@ -21,7 +21,7 @@ public struct MessagePopupExcel : IFlatbufferObject public MessagePopupExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public uint StringId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.MessagePopupLayout)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MessagePopupLayout.TextOnly; } } + public SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.MessagePopupLayout)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MessagePopupLayout.TextOnly; } } public SCHALE.Common.FlatData.MessagePopupImagePositionType OrderType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.MessagePopupImagePositionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MessagePopupImagePositionType.ImageFirst; } } public string Image { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -65,7 +65,7 @@ public struct MessagePopupExcel : IFlatbufferObject public static Offset CreateMessagePopupExcel(FlatBufferBuilder builder, uint StringId = 0, - SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout_ = SCHALE.Common.FlatData.MessagePopupLayout.TextOnly, + SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout = SCHALE.Common.FlatData.MessagePopupLayout.TextOnly, SCHALE.Common.FlatData.MessagePopupImagePositionType OrderType = SCHALE.Common.FlatData.MessagePopupImagePositionType.ImageFirst, StringOffset ImageOffset = default(StringOffset), uint TitleText = 0, @@ -88,7 +88,7 @@ public struct MessagePopupExcel : IFlatbufferObject MessagePopupExcel.AddTitleText(builder, TitleText); MessagePopupExcel.AddImage(builder, ImageOffset); MessagePopupExcel.AddOrderType(builder, OrderType); - MessagePopupExcel.AddMessagePopupLayout_(builder, MessagePopupLayout_); + MessagePopupExcel.AddMessagePopupLayout(builder, MessagePopupLayout); MessagePopupExcel.AddStringId(builder, StringId); MessagePopupExcel.AddDisplayXButton(builder, DisplayXButton); return MessagePopupExcel.EndMessagePopupExcel(builder); @@ -96,7 +96,7 @@ public struct MessagePopupExcel : IFlatbufferObject public static void StartMessagePopupExcel(FlatBufferBuilder builder) { builder.StartTable(13); } public static void AddStringId(FlatBufferBuilder builder, uint stringId) { builder.AddUint(0, stringId, 0); } - public static void AddMessagePopupLayout_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MessagePopupLayout messagePopupLayout_) { builder.AddInt(1, (int)messagePopupLayout_, 0); } + public static void AddMessagePopupLayout(FlatBufferBuilder builder, SCHALE.Common.FlatData.MessagePopupLayout messagePopupLayout) { builder.AddInt(1, (int)messagePopupLayout, 0); } public static void AddOrderType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MessagePopupImagePositionType orderType) { builder.AddInt(2, (int)orderType, 0); } public static void AddImage(FlatBufferBuilder builder, StringOffset imageOffset) { builder.AddOffset(3, imageOffset.Value, 0); } public static void AddTitleText(FlatBufferBuilder builder, uint titleText) { builder.AddUint(4, titleText, 0); } @@ -145,7 +145,7 @@ public struct MessagePopupExcel : IFlatbufferObject public void UnPackTo(MessagePopupExcelT _o) { byte[] key = TableEncryptionService.CreateKey("MessagePopup"); _o.StringId = TableEncryptionService.Convert(this.StringId, key); - _o.MessagePopupLayout_ = TableEncryptionService.Convert(this.MessagePopupLayout_, key); + _o.MessagePopupLayout = TableEncryptionService.Convert(this.MessagePopupLayout, key); _o.OrderType = TableEncryptionService.Convert(this.OrderType, key); _o.Image = TableEncryptionService.Convert(this.Image, key); _o.TitleText = TableEncryptionService.Convert(this.TitleText, key); @@ -196,7 +196,7 @@ public struct MessagePopupExcel : IFlatbufferObject return CreateMessagePopupExcel( builder, _o.StringId, - _o.MessagePopupLayout_, + _o.MessagePopupLayout, _o.OrderType, _Image, _o.TitleText, @@ -214,7 +214,7 @@ public struct MessagePopupExcel : IFlatbufferObject public class MessagePopupExcelT { public uint StringId { get; set; } - public SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout_ { get; set; } + public SCHALE.Common.FlatData.MessagePopupLayout MessagePopupLayout { get; set; } public SCHALE.Common.FlatData.MessagePopupImagePositionType OrderType { get; set; } public string Image { get; set; } public uint TitleText { get; set; } @@ -229,7 +229,7 @@ public class MessagePopupExcelT public MessagePopupExcelT() { this.StringId = 0; - this.MessagePopupLayout_ = SCHALE.Common.FlatData.MessagePopupLayout.TextOnly; + this.MessagePopupLayout = SCHALE.Common.FlatData.MessagePopupLayout.TextOnly; this.OrderType = SCHALE.Common.FlatData.MessagePopupImagePositionType.ImageFirst; this.Image = null; this.TitleText = 0; @@ -251,7 +251,7 @@ static public class MessagePopupExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*StringId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*MessagePopupLayout_*/, 4 /*SCHALE.Common.FlatData.MessagePopupLayout*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*MessagePopupLayout*/, 4 /*SCHALE.Common.FlatData.MessagePopupLayout*/, 4, false) && verifier.VerifyField(tablePos, 8 /*OrderType*/, 4 /*SCHALE.Common.FlatData.MessagePopupImagePositionType*/, 4, false) && verifier.VerifyString(tablePos, 10 /*Image*/, false) && verifier.VerifyField(tablePos, 12 /*TitleText*/, 4 /*uint*/, 4, false) diff --git a/SCHALE.Common/FlatData/MiniGameDefenseStageExcel.cs b/SCHALE.Common/FlatData/MiniGameDefenseStageExcel.cs index a7172d9..e5db022 100644 --- a/SCHALE.Common/FlatData/MiniGameDefenseStageExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameDefenseStageExcel.cs @@ -29,12 +29,12 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject #endif public byte[] GetNameArray() { return __p.__vector_as_array(6); } public long EventContentId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } public uint StageDifficultyLocalize { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public int StageNumber { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int StageDisplay { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long PrevStageId { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public long BattleDuration { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long StageEnterCostId { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -56,10 +56,10 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject public ArraySegment? GetClearScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(34); } #endif public long[] GetClearScenarioGroupIdArray() { return __p.__vector_as_array(34); } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public int RecommandLevel { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long GroundID { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(42); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(42); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public SCHALE.Common.FlatData.StarGoalType StarGoal(int j) { int o = __p.__offset(44); return o != 0 ? (SCHALE.Common.FlatData.StarGoalType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.StarGoalType)0; } public int StarGoalLength { get { int o = __p.__offset(44); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -92,12 +92,12 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject long Id = 0, StringOffset NameOffset = default(StringOffset), long EventContentId = 0, - SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None, + SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, uint StageDifficultyLocalize = 0, int StageNumber = 0, int StageDisplay = 0, long PrevStageId = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base, + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base, long BattleDuration = 0, SCHALE.Common.FlatData.ParcelType StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None, long StageEnterCostId = 0, @@ -105,10 +105,10 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject long EventContentStageRewardId = 0, VectorOffset EnterScenarioGroupIdOffset = default(VectorOffset), VectorOffset ClearScenarioGroupIdOffset = default(VectorOffset), - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, int RecommandLevel = 0, long GroundID = 0, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, VectorOffset StarGoalOffset = default(VectorOffset), VectorOffset StarGoalAmountOffset = default(VectorOffset), StringOffset DefenseFormationBGPrefabOffset = default(StringOffset), @@ -131,18 +131,18 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject MiniGameDefenseStageExcel.AddDefenseFormationBGPrefab(builder, DefenseFormationBGPrefabOffset); MiniGameDefenseStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); MiniGameDefenseStageExcel.AddStarGoal(builder, StarGoalOffset); - MiniGameDefenseStageExcel.AddContentType_(builder, ContentType_); + MiniGameDefenseStageExcel.AddContentType(builder, ContentType); MiniGameDefenseStageExcel.AddRecommandLevel(builder, RecommandLevel); - MiniGameDefenseStageExcel.AddStageTopography_(builder, StageTopography_); + MiniGameDefenseStageExcel.AddStageTopography(builder, StageTopography); MiniGameDefenseStageExcel.AddClearScenarioGroupId(builder, ClearScenarioGroupIdOffset); MiniGameDefenseStageExcel.AddEnterScenarioGroupId(builder, EnterScenarioGroupIdOffset); MiniGameDefenseStageExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); MiniGameDefenseStageExcel.AddStageEnterCostType(builder, StageEnterCostType); - MiniGameDefenseStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + MiniGameDefenseStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); MiniGameDefenseStageExcel.AddStageDisplay(builder, StageDisplay); MiniGameDefenseStageExcel.AddStageNumber(builder, StageNumber); MiniGameDefenseStageExcel.AddStageDifficultyLocalize(builder, StageDifficultyLocalize); - MiniGameDefenseStageExcel.AddStageDifficulty_(builder, StageDifficulty_); + MiniGameDefenseStageExcel.AddStageDifficulty(builder, StageDifficulty); MiniGameDefenseStageExcel.AddName(builder, NameOffset); return MiniGameDefenseStageExcel.EndMiniGameDefenseStageExcel(builder); } @@ -151,12 +151,12 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(1, nameOffset.Value, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(2, eventContentId, 0); } - public static void AddStageDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty_) { builder.AddInt(3, (int)stageDifficulty_, 0); } + public static void AddStageDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty stageDifficulty) { builder.AddInt(3, (int)stageDifficulty, 0); } public static void AddStageDifficultyLocalize(FlatBufferBuilder builder, uint stageDifficultyLocalize) { builder.AddUint(4, stageDifficultyLocalize, 0); } public static void AddStageNumber(FlatBufferBuilder builder, int stageNumber) { builder.AddInt(5, stageNumber, 0); } public static void AddStageDisplay(FlatBufferBuilder builder, int stageDisplay) { builder.AddInt(6, stageDisplay, 0); } public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(7, prevStageId, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(8, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(8, (int)echelonExtensionType, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(9, battleDuration, 0); } public static void AddStageEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageEnterCostType) { builder.AddInt(10, (int)stageEnterCostType, 0); } public static void AddStageEnterCostId(FlatBufferBuilder builder, long stageEnterCostId) { builder.AddLong(11, stageEnterCostId, 0); } @@ -174,10 +174,10 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject public static VectorOffset CreateClearScenarioGroupIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateClearScenarioGroupIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartClearScenarioGroupIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(16, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(16, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(17, recommandLevel, 0); } public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(18, groundID, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(19, (int)contentType_, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(19, (int)contentType, 0); } public static void AddStarGoal(FlatBufferBuilder builder, VectorOffset starGoalOffset) { builder.AddOffset(20, starGoalOffset.Value, 0); } public static VectorOffset CreateStarGoalVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.StarGoalType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateStarGoalVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.StarGoalType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -209,12 +209,12 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.StageDifficulty_ = TableEncryptionService.Convert(this.StageDifficulty_, key); + _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key); _o.StageDifficultyLocalize = TableEncryptionService.Convert(this.StageDifficultyLocalize, key); _o.StageNumber = TableEncryptionService.Convert(this.StageNumber, key); _o.StageDisplay = TableEncryptionService.Convert(this.StageDisplay, key); _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.StageEnterCostType = TableEncryptionService.Convert(this.StageEnterCostType, key); _o.StageEnterCostId = TableEncryptionService.Convert(this.StageEnterCostId, key); @@ -224,10 +224,10 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject for (var _j = 0; _j < this.EnterScenarioGroupIdLength; ++_j) {_o.EnterScenarioGroupId.Add(TableEncryptionService.Convert(this.EnterScenarioGroupId(_j), key));} _o.ClearScenarioGroupId = new List(); for (var _j = 0; _j < this.ClearScenarioGroupIdLength; ++_j) {_o.ClearScenarioGroupId.Add(TableEncryptionService.Convert(this.ClearScenarioGroupId(_j), key));} - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.GroundID = TableEncryptionService.Convert(this.GroundID, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.StarGoal = new List(); for (var _j = 0; _j < this.StarGoalLength; ++_j) {_o.StarGoal.Add(TableEncryptionService.Convert(this.StarGoal(_j), key));} _o.StarGoalAmount = new List(); @@ -267,12 +267,12 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject _o.Id, _Name, _o.EventContentId, - _o.StageDifficulty_, + _o.StageDifficulty, _o.StageDifficultyLocalize, _o.StageNumber, _o.StageDisplay, _o.PrevStageId, - _o.EchelonExtensionType_, + _o.EchelonExtensionType, _o.BattleDuration, _o.StageEnterCostType, _o.StageEnterCostId, @@ -280,10 +280,10 @@ public struct MiniGameDefenseStageExcel : IFlatbufferObject _o.EventContentStageRewardId, _EnterScenarioGroupId, _ClearScenarioGroupId, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.GroundID, - _o.ContentType_, + _o.ContentType, _StarGoal, _StarGoalAmount, _DefenseFormationBGPrefab, @@ -299,12 +299,12 @@ public class MiniGameDefenseStageExcelT public long Id { get; set; } public string Name { get; set; } public long EventContentId { get; set; } - public SCHALE.Common.FlatData.StageDifficulty StageDifficulty_ { get; set; } + public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; } public uint StageDifficultyLocalize { get; set; } public int StageNumber { get; set; } public int StageDisplay { get; set; } public long PrevStageId { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public long BattleDuration { get; set; } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get; set; } public long StageEnterCostId { get; set; } @@ -312,10 +312,10 @@ public class MiniGameDefenseStageExcelT public long EventContentStageRewardId { get; set; } public List EnterScenarioGroupId { get; set; } public List ClearScenarioGroupId { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public int RecommandLevel { get; set; } public long GroundID { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public List StarGoal { get; set; } public List StarGoalAmount { get; set; } public string DefenseFormationBGPrefab { get; set; } @@ -328,12 +328,12 @@ public class MiniGameDefenseStageExcelT this.Id = 0; this.Name = null; this.EventContentId = 0; - this.StageDifficulty_ = SCHALE.Common.FlatData.StageDifficulty.None; + this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; this.StageDifficultyLocalize = 0; this.StageNumber = 0; this.StageDisplay = 0; this.PrevStageId = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.BattleDuration = 0; this.StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None; this.StageEnterCostId = 0; @@ -341,10 +341,10 @@ public class MiniGameDefenseStageExcelT this.EventContentStageRewardId = 0; this.EnterScenarioGroupId = null; this.ClearScenarioGroupId = null; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.GroundID = 0; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.StarGoal = null; this.StarGoalAmount = null; this.DefenseFormationBGPrefab = null; @@ -364,12 +364,12 @@ static public class MiniGameDefenseStageExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*Name*/, false) && verifier.VerifyField(tablePos, 8 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*StageDifficulty_*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*StageDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageDifficultyLocalize*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 14 /*StageNumber*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 16 /*StageDisplay*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 18 /*PrevStageId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 20 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 20 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 22 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 24 /*StageEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 26 /*StageEnterCostId*/, 8 /*long*/, 8, false) @@ -377,10 +377,10 @@ static public class MiniGameDefenseStageExcelVerify && verifier.VerifyField(tablePos, 30 /*EventContentStageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 32 /*EnterScenarioGroupId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 34 /*ClearScenarioGroupId*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 36 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 36 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 38 /*RecommandLevel*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 40 /*GroundID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 42 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 42 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 44 /*StarGoal*/, 4 /*SCHALE.Common.FlatData.StarGoalType*/, false) && verifier.VerifyVectorOfData(tablePos, 46 /*StarGoalAmount*/, 4 /*int*/, false) && verifier.VerifyString(tablePos, 48 /*DefenseFormationBGPrefab*/, false) diff --git a/SCHALE.Common/FlatData/MiniGameDreamEndingExcel.cs b/SCHALE.Common/FlatData/MiniGameDreamEndingExcel.cs index d453dd7..17c2a92 100644 --- a/SCHALE.Common/FlatData/MiniGameDreamEndingExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameDreamEndingExcel.cs @@ -22,7 +22,7 @@ public struct MiniGameDreamEndingExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EndingId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingType.None; } } + public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingType.None; } } public int Order { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long ScenarioGroupId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.DreamMakerEndingCondition EndingCondition(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingCondition)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.DreamMakerEndingCondition)0; } @@ -45,7 +45,7 @@ public struct MiniGameDreamEndingExcel : IFlatbufferObject public static Offset CreateMiniGameDreamEndingExcel(FlatBufferBuilder builder, long EventContentId = 0, long EndingId = 0, - SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ = SCHALE.Common.FlatData.DreamMakerEndingType.None, + SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType = SCHALE.Common.FlatData.DreamMakerEndingType.None, int Order = 0, long ScenarioGroupId = 0, VectorOffset EndingConditionOffset = default(VectorOffset), @@ -57,14 +57,14 @@ public struct MiniGameDreamEndingExcel : IFlatbufferObject MiniGameDreamEndingExcel.AddEndingConditionValue(builder, EndingConditionValueOffset); MiniGameDreamEndingExcel.AddEndingCondition(builder, EndingConditionOffset); MiniGameDreamEndingExcel.AddOrder(builder, Order); - MiniGameDreamEndingExcel.AddDreamMakerEndingType_(builder, DreamMakerEndingType_); + MiniGameDreamEndingExcel.AddDreamMakerEndingType(builder, DreamMakerEndingType); return MiniGameDreamEndingExcel.EndMiniGameDreamEndingExcel(builder); } public static void StartMiniGameDreamEndingExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEndingId(FlatBufferBuilder builder, long endingId) { builder.AddLong(1, endingId, 0); } - public static void AddDreamMakerEndingType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingType dreamMakerEndingType_) { builder.AddInt(2, (int)dreamMakerEndingType_, 0); } + public static void AddDreamMakerEndingType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingType dreamMakerEndingType) { builder.AddInt(2, (int)dreamMakerEndingType, 0); } public static void AddOrder(FlatBufferBuilder builder, int order) { builder.AddInt(3, order, 0); } public static void AddScenarioGroupId(FlatBufferBuilder builder, long scenarioGroupId) { builder.AddLong(4, scenarioGroupId, 0); } public static void AddEndingCondition(FlatBufferBuilder builder, VectorOffset endingConditionOffset) { builder.AddOffset(5, endingConditionOffset.Value, 0); } @@ -92,7 +92,7 @@ public struct MiniGameDreamEndingExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("MiniGameDreamEnding"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EndingId = TableEncryptionService.Convert(this.EndingId, key); - _o.DreamMakerEndingType_ = TableEncryptionService.Convert(this.DreamMakerEndingType_, key); + _o.DreamMakerEndingType = TableEncryptionService.Convert(this.DreamMakerEndingType, key); _o.Order = TableEncryptionService.Convert(this.Order, key); _o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key); _o.EndingCondition = new List(); @@ -116,7 +116,7 @@ public struct MiniGameDreamEndingExcel : IFlatbufferObject builder, _o.EventContentId, _o.EndingId, - _o.DreamMakerEndingType_, + _o.DreamMakerEndingType, _o.Order, _o.ScenarioGroupId, _EndingCondition, @@ -128,7 +128,7 @@ public class MiniGameDreamEndingExcelT { public long EventContentId { get; set; } public long EndingId { get; set; } - public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ { get; set; } + public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType { get; set; } public int Order { get; set; } public long ScenarioGroupId { get; set; } public List EndingCondition { get; set; } @@ -137,7 +137,7 @@ public class MiniGameDreamEndingExcelT public MiniGameDreamEndingExcelT() { this.EventContentId = 0; this.EndingId = 0; - this.DreamMakerEndingType_ = SCHALE.Common.FlatData.DreamMakerEndingType.None; + this.DreamMakerEndingType = SCHALE.Common.FlatData.DreamMakerEndingType.None; this.Order = 0; this.ScenarioGroupId = 0; this.EndingCondition = null; @@ -153,7 +153,7 @@ static public class MiniGameDreamEndingExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EndingId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*DreamMakerEndingType_*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*DreamMakerEndingType*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Order*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*ScenarioGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 14 /*EndingCondition*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingCondition*/, false) diff --git a/SCHALE.Common/FlatData/MiniGameDreamEndingRewardExcel.cs b/SCHALE.Common/FlatData/MiniGameDreamEndingRewardExcel.cs index 2dcf43e..ba9937a 100644 --- a/SCHALE.Common/FlatData/MiniGameDreamEndingRewardExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameDreamEndingRewardExcel.cs @@ -23,8 +23,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EndingId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public uint LocalizeEtcId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingRewardType.None; } } - public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingType.None; } } + public SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingRewardType.None; } } + public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerEndingType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerEndingType.None; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public int RewardParcelTypeLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -54,8 +54,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject long EventContentId = 0, long EndingId = 0, uint LocalizeEtcId = 0, - SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType_ = SCHALE.Common.FlatData.DreamMakerEndingRewardType.None, - SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ = SCHALE.Common.FlatData.DreamMakerEndingType.None, + SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType = SCHALE.Common.FlatData.DreamMakerEndingRewardType.None, + SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType = SCHALE.Common.FlatData.DreamMakerEndingType.None, VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset), VectorOffset RewardParcelAmountOffset = default(VectorOffset)) { @@ -65,8 +65,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject MiniGameDreamEndingRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmountOffset); MiniGameDreamEndingRewardExcel.AddRewardParcelId(builder, RewardParcelIdOffset); MiniGameDreamEndingRewardExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); - MiniGameDreamEndingRewardExcel.AddDreamMakerEndingType_(builder, DreamMakerEndingType_); - MiniGameDreamEndingRewardExcel.AddDreamMakerEndingRewardType_(builder, DreamMakerEndingRewardType_); + MiniGameDreamEndingRewardExcel.AddDreamMakerEndingType(builder, DreamMakerEndingType); + MiniGameDreamEndingRewardExcel.AddDreamMakerEndingRewardType(builder, DreamMakerEndingRewardType); MiniGameDreamEndingRewardExcel.AddLocalizeEtcId(builder, LocalizeEtcId); return MiniGameDreamEndingRewardExcel.EndMiniGameDreamEndingRewardExcel(builder); } @@ -75,8 +75,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } public static void AddEndingId(FlatBufferBuilder builder, long endingId) { builder.AddLong(1, endingId, 0); } public static void AddLocalizeEtcId(FlatBufferBuilder builder, uint localizeEtcId) { builder.AddUint(2, localizeEtcId, 0); } - public static void AddDreamMakerEndingRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingRewardType dreamMakerEndingRewardType_) { builder.AddInt(3, (int)dreamMakerEndingRewardType_, 0); } - public static void AddDreamMakerEndingType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingType dreamMakerEndingType_) { builder.AddInt(4, (int)dreamMakerEndingType_, 0); } + public static void AddDreamMakerEndingRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingRewardType dreamMakerEndingRewardType) { builder.AddInt(3, (int)dreamMakerEndingRewardType, 0); } + public static void AddDreamMakerEndingType(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerEndingType dreamMakerEndingType) { builder.AddInt(4, (int)dreamMakerEndingType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(5, rewardParcelTypeOffset.Value, 0); } public static VectorOffset CreateRewardParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateRewardParcelTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -109,8 +109,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); _o.EndingId = TableEncryptionService.Convert(this.EndingId, key); _o.LocalizeEtcId = TableEncryptionService.Convert(this.LocalizeEtcId, key); - _o.DreamMakerEndingRewardType_ = TableEncryptionService.Convert(this.DreamMakerEndingRewardType_, key); - _o.DreamMakerEndingType_ = TableEncryptionService.Convert(this.DreamMakerEndingType_, key); + _o.DreamMakerEndingRewardType = TableEncryptionService.Convert(this.DreamMakerEndingRewardType, key); + _o.DreamMakerEndingType = TableEncryptionService.Convert(this.DreamMakerEndingType, key); _o.RewardParcelType = new List(); for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));} _o.RewardParcelId = new List(); @@ -140,8 +140,8 @@ public struct MiniGameDreamEndingRewardExcel : IFlatbufferObject _o.EventContentId, _o.EndingId, _o.LocalizeEtcId, - _o.DreamMakerEndingRewardType_, - _o.DreamMakerEndingType_, + _o.DreamMakerEndingRewardType, + _o.DreamMakerEndingType, _RewardParcelType, _RewardParcelId, _RewardParcelAmount); @@ -153,8 +153,8 @@ public class MiniGameDreamEndingRewardExcelT public long EventContentId { get; set; } public long EndingId { get; set; } public uint LocalizeEtcId { get; set; } - public SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType_ { get; set; } - public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType_ { get; set; } + public SCHALE.Common.FlatData.DreamMakerEndingRewardType DreamMakerEndingRewardType { get; set; } + public SCHALE.Common.FlatData.DreamMakerEndingType DreamMakerEndingType { get; set; } public List RewardParcelType { get; set; } public List RewardParcelId { get; set; } public List RewardParcelAmount { get; set; } @@ -163,8 +163,8 @@ public class MiniGameDreamEndingRewardExcelT this.EventContentId = 0; this.EndingId = 0; this.LocalizeEtcId = 0; - this.DreamMakerEndingRewardType_ = SCHALE.Common.FlatData.DreamMakerEndingRewardType.None; - this.DreamMakerEndingType_ = SCHALE.Common.FlatData.DreamMakerEndingType.None; + this.DreamMakerEndingRewardType = SCHALE.Common.FlatData.DreamMakerEndingRewardType.None; + this.DreamMakerEndingType = SCHALE.Common.FlatData.DreamMakerEndingType.None; this.RewardParcelType = null; this.RewardParcelId = null; this.RewardParcelAmount = null; @@ -180,8 +180,8 @@ static public class MiniGameDreamEndingRewardExcelVerify && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EndingId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*LocalizeEtcId*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 10 /*DreamMakerEndingRewardType_*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingRewardType*/, 4, false) - && verifier.VerifyField(tablePos, 12 /*DreamMakerEndingType_*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingType*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*DreamMakerEndingRewardType*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingRewardType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*DreamMakerEndingType*/, 4 /*SCHALE.Common.FlatData.DreamMakerEndingType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 16 /*RewardParcelId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 18 /*RewardParcelAmount*/, 8 /*long*/, false) diff --git a/SCHALE.Common/FlatData/MiniGameDreamInfoExcel.cs b/SCHALE.Common/FlatData/MiniGameDreamInfoExcel.cs index 64196d4..3cfd105 100644 --- a/SCHALE.Common/FlatData/MiniGameDreamInfoExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameDreamInfoExcel.cs @@ -21,7 +21,7 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject public MiniGameDreamInfoExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long EventContentId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerMultiplierCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None; } } + public SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerMultiplierCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None; } } public long DreamMakerMultiplierConditionValue { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DreamMakerMultiplierMax { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long DreamMakerDays { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -36,7 +36,7 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject public static Offset CreateMiniGameDreamInfoExcel(FlatBufferBuilder builder, long EventContentId = 0, - SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition_ = SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None, + SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition = SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None, long DreamMakerMultiplierConditionValue = 0, long DreamMakerMultiplierMax = 0, long DreamMakerDays = 0, @@ -61,13 +61,13 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject MiniGameDreamInfoExcel.AddEventContentId(builder, EventContentId); MiniGameDreamInfoExcel.AddDreamMakerDailyPointParcelType(builder, DreamMakerDailyPointParcelType); MiniGameDreamInfoExcel.AddDreamMakerParcelType(builder, DreamMakerParcelType); - MiniGameDreamInfoExcel.AddDreamMakerMultiplierCondition_(builder, DreamMakerMultiplierCondition_); + MiniGameDreamInfoExcel.AddDreamMakerMultiplierCondition(builder, DreamMakerMultiplierCondition); return MiniGameDreamInfoExcel.EndMiniGameDreamInfoExcel(builder); } public static void StartMiniGameDreamInfoExcel(FlatBufferBuilder builder) { builder.StartTable(13); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } - public static void AddDreamMakerMultiplierCondition_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerMultiplierCondition dreamMakerMultiplierCondition_) { builder.AddInt(1, (int)dreamMakerMultiplierCondition_, 0); } + public static void AddDreamMakerMultiplierCondition(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerMultiplierCondition dreamMakerMultiplierCondition) { builder.AddInt(1, (int)dreamMakerMultiplierCondition, 0); } public static void AddDreamMakerMultiplierConditionValue(FlatBufferBuilder builder, long dreamMakerMultiplierConditionValue) { builder.AddLong(2, dreamMakerMultiplierConditionValue, 0); } public static void AddDreamMakerMultiplierMax(FlatBufferBuilder builder, long dreamMakerMultiplierMax) { builder.AddLong(3, dreamMakerMultiplierMax, 0); } public static void AddDreamMakerDays(FlatBufferBuilder builder, long dreamMakerDays) { builder.AddLong(4, dreamMakerDays, 0); } @@ -91,7 +91,7 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject public void UnPackTo(MiniGameDreamInfoExcelT _o) { byte[] key = TableEncryptionService.CreateKey("MiniGameDreamInfo"); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.DreamMakerMultiplierCondition_ = TableEncryptionService.Convert(this.DreamMakerMultiplierCondition_, key); + _o.DreamMakerMultiplierCondition = TableEncryptionService.Convert(this.DreamMakerMultiplierCondition, key); _o.DreamMakerMultiplierConditionValue = TableEncryptionService.Convert(this.DreamMakerMultiplierConditionValue, key); _o.DreamMakerMultiplierMax = TableEncryptionService.Convert(this.DreamMakerMultiplierMax, key); _o.DreamMakerDays = TableEncryptionService.Convert(this.DreamMakerDays, key); @@ -109,7 +109,7 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject return CreateMiniGameDreamInfoExcel( builder, _o.EventContentId, - _o.DreamMakerMultiplierCondition_, + _o.DreamMakerMultiplierCondition, _o.DreamMakerMultiplierConditionValue, _o.DreamMakerMultiplierMax, _o.DreamMakerDays, @@ -127,7 +127,7 @@ public struct MiniGameDreamInfoExcel : IFlatbufferObject public class MiniGameDreamInfoExcelT { public long EventContentId { get; set; } - public SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition_ { get; set; } + public SCHALE.Common.FlatData.DreamMakerMultiplierCondition DreamMakerMultiplierCondition { get; set; } public long DreamMakerMultiplierConditionValue { get; set; } public long DreamMakerMultiplierMax { get; set; } public long DreamMakerDays { get; set; } @@ -142,7 +142,7 @@ public class MiniGameDreamInfoExcelT public MiniGameDreamInfoExcelT() { this.EventContentId = 0; - this.DreamMakerMultiplierCondition_ = SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None; + this.DreamMakerMultiplierCondition = SCHALE.Common.FlatData.DreamMakerMultiplierCondition.None; this.DreamMakerMultiplierConditionValue = 0; this.DreamMakerMultiplierMax = 0; this.DreamMakerDays = 0; @@ -164,7 +164,7 @@ static public class MiniGameDreamInfoExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*DreamMakerMultiplierCondition_*/, 4 /*SCHALE.Common.FlatData.DreamMakerMultiplierCondition*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*DreamMakerMultiplierCondition*/, 4 /*SCHALE.Common.FlatData.DreamMakerMultiplierCondition*/, 4, false) && verifier.VerifyField(tablePos, 8 /*DreamMakerMultiplierConditionValue*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*DreamMakerMultiplierMax*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*DreamMakerDays*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/MiniGameDreamScheduleResultExcel.cs b/SCHALE.Common/FlatData/MiniGameDreamScheduleResultExcel.cs index aeac49a..cb79a09 100644 --- a/SCHALE.Common/FlatData/MiniGameDreamScheduleResultExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameDreamScheduleResultExcel.cs @@ -22,7 +22,7 @@ public struct MiniGameDreamScheduleResultExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerResult)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerResult.None; } } + public SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerResult)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.DreamMakerResult.None; } } public long DreamMakerScheduleGroup { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int Prob { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.DreamMakerParameterType RewardParameter(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.DreamMakerParameterType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.DreamMakerParameterType)0; } @@ -56,7 +56,7 @@ public struct MiniGameDreamScheduleResultExcel : IFlatbufferObject public static Offset CreateMiniGameDreamScheduleResultExcel(FlatBufferBuilder builder, long Id = 0, long EventContentId = 0, - SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult_ = SCHALE.Common.FlatData.DreamMakerResult.None, + SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult = SCHALE.Common.FlatData.DreamMakerResult.None, long DreamMakerScheduleGroup = 0, int Prob = 0, VectorOffset RewardParameterOffset = default(VectorOffset), @@ -76,14 +76,14 @@ public struct MiniGameDreamScheduleResultExcel : IFlatbufferObject MiniGameDreamScheduleResultExcel.AddRewardParameterOperationType(builder, RewardParameterOperationTypeOffset); MiniGameDreamScheduleResultExcel.AddRewardParameter(builder, RewardParameterOffset); MiniGameDreamScheduleResultExcel.AddProb(builder, Prob); - MiniGameDreamScheduleResultExcel.AddDreamMakerResult_(builder, DreamMakerResult_); + MiniGameDreamScheduleResultExcel.AddDreamMakerResult(builder, DreamMakerResult); return MiniGameDreamScheduleResultExcel.EndMiniGameDreamScheduleResultExcel(builder); } public static void StartMiniGameDreamScheduleResultExcel(FlatBufferBuilder builder) { builder.StartTable(11); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(1, eventContentId, 0); } - public static void AddDreamMakerResult_(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerResult dreamMakerResult_) { builder.AddInt(2, (int)dreamMakerResult_, 0); } + public static void AddDreamMakerResult(FlatBufferBuilder builder, SCHALE.Common.FlatData.DreamMakerResult dreamMakerResult) { builder.AddInt(2, (int)dreamMakerResult, 0); } public static void AddDreamMakerScheduleGroup(FlatBufferBuilder builder, long dreamMakerScheduleGroup) { builder.AddLong(3, dreamMakerScheduleGroup, 0); } public static void AddProb(FlatBufferBuilder builder, int prob) { builder.AddInt(4, prob, 0); } public static void AddRewardParameter(FlatBufferBuilder builder, VectorOffset rewardParameterOffset) { builder.AddOffset(5, rewardParameterOffset.Value, 0); } @@ -120,7 +120,7 @@ public struct MiniGameDreamScheduleResultExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("MiniGameDreamScheduleResult"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.DreamMakerResult_ = TableEncryptionService.Convert(this.DreamMakerResult_, key); + _o.DreamMakerResult = TableEncryptionService.Convert(this.DreamMakerResult, key); _o.DreamMakerScheduleGroup = TableEncryptionService.Convert(this.DreamMakerScheduleGroup, key); _o.Prob = TableEncryptionService.Convert(this.Prob, key); _o.RewardParameter = new List(); @@ -154,7 +154,7 @@ public struct MiniGameDreamScheduleResultExcel : IFlatbufferObject builder, _o.Id, _o.EventContentId, - _o.DreamMakerResult_, + _o.DreamMakerResult, _o.DreamMakerScheduleGroup, _o.Prob, _RewardParameter, @@ -170,7 +170,7 @@ public class MiniGameDreamScheduleResultExcelT { public long Id { get; set; } public long EventContentId { get; set; } - public SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult_ { get; set; } + public SCHALE.Common.FlatData.DreamMakerResult DreamMakerResult { get; set; } public long DreamMakerScheduleGroup { get; set; } public int Prob { get; set; } public List RewardParameter { get; set; } @@ -183,7 +183,7 @@ public class MiniGameDreamScheduleResultExcelT public MiniGameDreamScheduleResultExcelT() { this.Id = 0; this.EventContentId = 0; - this.DreamMakerResult_ = SCHALE.Common.FlatData.DreamMakerResult.None; + this.DreamMakerResult = SCHALE.Common.FlatData.DreamMakerResult.None; this.DreamMakerScheduleGroup = 0; this.Prob = 0; this.RewardParameter = null; @@ -203,7 +203,7 @@ static public class MiniGameDreamScheduleResultExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*DreamMakerResult_*/, 4 /*SCHALE.Common.FlatData.DreamMakerResult*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*DreamMakerResult*/, 4 /*SCHALE.Common.FlatData.DreamMakerResult*/, 4, false) && verifier.VerifyField(tablePos, 10 /*DreamMakerScheduleGroup*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*Prob*/, 4 /*int*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParameter*/, 4 /*SCHALE.Common.FlatData.DreamMakerParameterType*/, false) diff --git a/SCHALE.Common/FlatData/MiniGameShootingStageExcel.cs b/SCHALE.Common/FlatData/MiniGameShootingStageExcel.cs index c246375..e41defc 100644 --- a/SCHALE.Common/FlatData/MiniGameShootingStageExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameShootingStageExcel.cs @@ -30,7 +30,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject #endif public long[] GetBgmIdArray() { return __p.__vector_as_array(6); } public long CostGoodsId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } + public SCHALE.Common.FlatData.Difficulty Difficulty { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } public string DesignLevel { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetDesignLevelBytes() { return __p.__vector_as_span(12, 1); } @@ -61,7 +61,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject long UniqueId = 0, VectorOffset BgmIdOffset = default(VectorOffset), long CostGoodsId = 0, - SCHALE.Common.FlatData.Difficulty Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal, + SCHALE.Common.FlatData.Difficulty Difficulty = SCHALE.Common.FlatData.Difficulty.Normal, StringOffset DesignLevelOffset = default(StringOffset), StringOffset ArtLevelOffset = default(StringOffset), long StartBattleDuration = 0, @@ -79,7 +79,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject MiniGameShootingStageExcel.AddDefaultLogicEffect(builder, DefaultLogicEffectOffset); MiniGameShootingStageExcel.AddArtLevel(builder, ArtLevelOffset); MiniGameShootingStageExcel.AddDesignLevel(builder, DesignLevelOffset); - MiniGameShootingStageExcel.AddDifficulty_(builder, Difficulty_); + MiniGameShootingStageExcel.AddDifficulty(builder, Difficulty); MiniGameShootingStageExcel.AddBgmId(builder, BgmIdOffset); return MiniGameShootingStageExcel.EndMiniGameShootingStageExcel(builder); } @@ -93,7 +93,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject public static VectorOffset CreateBgmIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBgmIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void AddCostGoodsId(FlatBufferBuilder builder, long costGoodsId) { builder.AddLong(2, costGoodsId, 0); } - public static void AddDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty_) { builder.AddInt(3, (int)difficulty_, 0); } + public static void AddDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty) { builder.AddInt(3, (int)difficulty, 0); } public static void AddDesignLevel(FlatBufferBuilder builder, StringOffset designLevelOffset) { builder.AddOffset(4, designLevelOffset.Value, 0); } public static void AddArtLevel(FlatBufferBuilder builder, StringOffset artLevelOffset) { builder.AddOffset(5, artLevelOffset.Value, 0); } public static void AddStartBattleDuration(FlatBufferBuilder builder, long startBattleDuration) { builder.AddLong(6, startBattleDuration, 0); } @@ -116,7 +116,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject _o.BgmId = new List(); for (var _j = 0; _j < this.BgmIdLength; ++_j) {_o.BgmId.Add(TableEncryptionService.Convert(this.BgmId(_j), key));} _o.CostGoodsId = TableEncryptionService.Convert(this.CostGoodsId, key); - _o.Difficulty_ = TableEncryptionService.Convert(this.Difficulty_, key); + _o.Difficulty = TableEncryptionService.Convert(this.Difficulty, key); _o.DesignLevel = TableEncryptionService.Convert(this.DesignLevel, key); _o.ArtLevel = TableEncryptionService.Convert(this.ArtLevel, key); _o.StartBattleDuration = TableEncryptionService.Convert(this.StartBattleDuration, key); @@ -140,7 +140,7 @@ public struct MiniGameShootingStageExcel : IFlatbufferObject _o.UniqueId, _BgmId, _o.CostGoodsId, - _o.Difficulty_, + _o.Difficulty, _DesignLevel, _ArtLevel, _o.StartBattleDuration, @@ -156,7 +156,7 @@ public class MiniGameShootingStageExcelT public long UniqueId { get; set; } public List BgmId { get; set; } public long CostGoodsId { get; set; } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get; set; } + public SCHALE.Common.FlatData.Difficulty Difficulty { get; set; } public string DesignLevel { get; set; } public string ArtLevel { get; set; } public long StartBattleDuration { get; set; } @@ -169,7 +169,7 @@ public class MiniGameShootingStageExcelT this.UniqueId = 0; this.BgmId = null; this.CostGoodsId = 0; - this.Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal; + this.Difficulty = SCHALE.Common.FlatData.Difficulty.Normal; this.DesignLevel = null; this.ArtLevel = null; this.StartBattleDuration = 0; @@ -189,7 +189,7 @@ static public class MiniGameShootingStageExcelVerify && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 6 /*BgmId*/, 8 /*long*/, false) && verifier.VerifyField(tablePos, 8 /*CostGoodsId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*Difficulty_*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*Difficulty*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) && verifier.VerifyString(tablePos, 12 /*DesignLevel*/, false) && verifier.VerifyString(tablePos, 14 /*ArtLevel*/, false) && verifier.VerifyField(tablePos, 16 /*StartBattleDuration*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/MiniGameTBGThemaRewardExcel.cs b/SCHALE.Common/FlatData/MiniGameTBGThemaRewardExcel.cs index 075ba32..fc43c86 100644 --- a/SCHALE.Common/FlatData/MiniGameTBGThemaRewardExcel.cs +++ b/SCHALE.Common/FlatData/MiniGameTBGThemaRewardExcel.cs @@ -24,7 +24,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject public int ThemaRound { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ThemaUniqueId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public bool IsLoop { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.MiniGameTBGThemaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward; } } + public SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.MiniGameTBGThemaRewardType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public int RewardParcelTypeLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -55,7 +55,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject int ThemaRound = 0, int ThemaUniqueId = 0, bool IsLoop = false, - SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType_ = SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward, + SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType = SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward, VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardParcelIdOffset = default(VectorOffset), VectorOffset RewardParcelAmountOffset = default(VectorOffset)) { @@ -64,7 +64,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject MiniGameTBGThemaRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmountOffset); MiniGameTBGThemaRewardExcel.AddRewardParcelId(builder, RewardParcelIdOffset); MiniGameTBGThemaRewardExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); - MiniGameTBGThemaRewardExcel.AddMiniGameTBGThemaRewardType_(builder, MiniGameTBGThemaRewardType_); + MiniGameTBGThemaRewardExcel.AddMiniGameTBGThemaRewardType(builder, MiniGameTBGThemaRewardType); MiniGameTBGThemaRewardExcel.AddThemaUniqueId(builder, ThemaUniqueId); MiniGameTBGThemaRewardExcel.AddThemaRound(builder, ThemaRound); MiniGameTBGThemaRewardExcel.AddIsLoop(builder, IsLoop); @@ -76,7 +76,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject public static void AddThemaRound(FlatBufferBuilder builder, int themaRound) { builder.AddInt(1, themaRound, 0); } public static void AddThemaUniqueId(FlatBufferBuilder builder, int themaUniqueId) { builder.AddInt(2, themaUniqueId, 0); } public static void AddIsLoop(FlatBufferBuilder builder, bool isLoop) { builder.AddBool(3, isLoop, false); } - public static void AddMiniGameTBGThemaRewardType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MiniGameTBGThemaRewardType miniGameTBGThemaRewardType_) { builder.AddInt(4, (int)miniGameTBGThemaRewardType_, 0); } + public static void AddMiniGameTBGThemaRewardType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MiniGameTBGThemaRewardType miniGameTBGThemaRewardType) { builder.AddInt(4, (int)miniGameTBGThemaRewardType, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(5, rewardParcelTypeOffset.Value, 0); } public static VectorOffset CreateRewardParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateRewardParcelTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -110,7 +110,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject _o.ThemaRound = TableEncryptionService.Convert(this.ThemaRound, key); _o.ThemaUniqueId = TableEncryptionService.Convert(this.ThemaUniqueId, key); _o.IsLoop = TableEncryptionService.Convert(this.IsLoop, key); - _o.MiniGameTBGThemaRewardType_ = TableEncryptionService.Convert(this.MiniGameTBGThemaRewardType_, key); + _o.MiniGameTBGThemaRewardType = TableEncryptionService.Convert(this.MiniGameTBGThemaRewardType, key); _o.RewardParcelType = new List(); for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));} _o.RewardParcelId = new List(); @@ -141,7 +141,7 @@ public struct MiniGameTBGThemaRewardExcel : IFlatbufferObject _o.ThemaRound, _o.ThemaUniqueId, _o.IsLoop, - _o.MiniGameTBGThemaRewardType_, + _o.MiniGameTBGThemaRewardType, _RewardParcelType, _RewardParcelId, _RewardParcelAmount); @@ -154,7 +154,7 @@ public class MiniGameTBGThemaRewardExcelT public int ThemaRound { get; set; } public int ThemaUniqueId { get; set; } public bool IsLoop { get; set; } - public SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType_ { get; set; } + public SCHALE.Common.FlatData.MiniGameTBGThemaRewardType MiniGameTBGThemaRewardType { get; set; } public List RewardParcelType { get; set; } public List RewardParcelId { get; set; } public List RewardParcelAmount { get; set; } @@ -164,7 +164,7 @@ public class MiniGameTBGThemaRewardExcelT this.ThemaRound = 0; this.ThemaUniqueId = 0; this.IsLoop = false; - this.MiniGameTBGThemaRewardType_ = SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward; + this.MiniGameTBGThemaRewardType = SCHALE.Common.FlatData.MiniGameTBGThemaRewardType.TreasureReward; this.RewardParcelType = null; this.RewardParcelId = null; this.RewardParcelAmount = null; @@ -181,7 +181,7 @@ static public class MiniGameTBGThemaRewardExcelVerify && verifier.VerifyField(tablePos, 6 /*ThemaRound*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ThemaUniqueId*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*IsLoop*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 12 /*MiniGameTBGThemaRewardType_*/, 4 /*SCHALE.Common.FlatData.MiniGameTBGThemaRewardType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*MiniGameTBGThemaRewardType*/, 4 /*SCHALE.Common.FlatData.MiniGameTBGThemaRewardType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 14 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 16 /*RewardParcelId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 18 /*RewardParcelAmount*/, 4 /*int*/, false) diff --git a/SCHALE.Common/FlatData/MinigameTBGEncounterRewardExcel.cs b/SCHALE.Common/FlatData/MinigameTBGEncounterRewardExcel.cs index 481536d..4979cd8 100644 --- a/SCHALE.Common/FlatData/MinigameTBGEncounterRewardExcel.cs +++ b/SCHALE.Common/FlatData/MinigameTBGEncounterRewardExcel.cs @@ -22,9 +22,9 @@ public struct MinigameTBGEncounterRewardExcel : IFlatbufferObject public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long UniqueId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.TBGOptionSuccessType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TBGOptionSuccessType.None; } } + public SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.TBGOptionSuccessType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TBGOptionSuccessType.None; } } public long Paremeter { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Amount { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int Prob { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -32,9 +32,9 @@ public struct MinigameTBGEncounterRewardExcel : IFlatbufferObject public static Offset CreateMinigameTBGEncounterRewardExcel(FlatBufferBuilder builder, long GroupId = 0, long UniqueId = 0, - SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType_ = SCHALE.Common.FlatData.TBGOptionSuccessType.None, + SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType = SCHALE.Common.FlatData.TBGOptionSuccessType.None, long Paremeter = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelId = 0, long Amount = 0, int Prob = 0) { @@ -45,17 +45,17 @@ public struct MinigameTBGEncounterRewardExcel : IFlatbufferObject MinigameTBGEncounterRewardExcel.AddUniqueId(builder, UniqueId); MinigameTBGEncounterRewardExcel.AddGroupId(builder, GroupId); MinigameTBGEncounterRewardExcel.AddProb(builder, Prob); - MinigameTBGEncounterRewardExcel.AddParcelType_(builder, ParcelType_); - MinigameTBGEncounterRewardExcel.AddTBGOptionSuccessType_(builder, TBGOptionSuccessType_); + MinigameTBGEncounterRewardExcel.AddParcelType(builder, ParcelType); + MinigameTBGEncounterRewardExcel.AddTBGOptionSuccessType(builder, TBGOptionSuccessType); return MinigameTBGEncounterRewardExcel.EndMinigameTBGEncounterRewardExcel(builder); } public static void StartMinigameTBGEncounterRewardExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(1, uniqueId, 0); } - public static void AddTBGOptionSuccessType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TBGOptionSuccessType tBGOptionSuccessType_) { builder.AddInt(2, (int)tBGOptionSuccessType_, 0); } + public static void AddTBGOptionSuccessType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TBGOptionSuccessType tBGOptionSuccessType) { builder.AddInt(2, (int)tBGOptionSuccessType, 0); } public static void AddParemeter(FlatBufferBuilder builder, long paremeter) { builder.AddLong(3, paremeter, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(4, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(4, (int)parcelType, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(5, parcelId, 0); } public static void AddAmount(FlatBufferBuilder builder, long amount) { builder.AddLong(6, amount, 0); } public static void AddProb(FlatBufferBuilder builder, int prob) { builder.AddInt(7, prob, 0); } @@ -72,9 +72,9 @@ public struct MinigameTBGEncounterRewardExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("MinigameTBGEncounterReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); - _o.TBGOptionSuccessType_ = TableEncryptionService.Convert(this.TBGOptionSuccessType_, key); + _o.TBGOptionSuccessType = TableEncryptionService.Convert(this.TBGOptionSuccessType, key); _o.Paremeter = TableEncryptionService.Convert(this.Paremeter, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.Amount = TableEncryptionService.Convert(this.Amount, key); _o.Prob = TableEncryptionService.Convert(this.Prob, key); @@ -85,9 +85,9 @@ public struct MinigameTBGEncounterRewardExcel : IFlatbufferObject builder, _o.GroupId, _o.UniqueId, - _o.TBGOptionSuccessType_, + _o.TBGOptionSuccessType, _o.Paremeter, - _o.ParcelType_, + _o.ParcelType, _o.ParcelId, _o.Amount, _o.Prob); @@ -98,9 +98,9 @@ public class MinigameTBGEncounterRewardExcelT { public long GroupId { get; set; } public long UniqueId { get; set; } - public SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType_ { get; set; } + public SCHALE.Common.FlatData.TBGOptionSuccessType TBGOptionSuccessType { get; set; } public long Paremeter { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelId { get; set; } public long Amount { get; set; } public int Prob { get; set; } @@ -108,9 +108,9 @@ public class MinigameTBGEncounterRewardExcelT public MinigameTBGEncounterRewardExcelT() { this.GroupId = 0; this.UniqueId = 0; - this.TBGOptionSuccessType_ = SCHALE.Common.FlatData.TBGOptionSuccessType.None; + this.TBGOptionSuccessType = SCHALE.Common.FlatData.TBGOptionSuccessType.None; this.Paremeter = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelId = 0; this.Amount = 0; this.Prob = 0; @@ -125,9 +125,9 @@ static public class MinigameTBGEncounterRewardExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*TBGOptionSuccessType_*/, 4 /*SCHALE.Common.FlatData.TBGOptionSuccessType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*TBGOptionSuccessType*/, 4 /*SCHALE.Common.FlatData.TBGOptionSuccessType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Paremeter*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*Amount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*Prob*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/MinigameTBGItemExcel.cs b/SCHALE.Common/FlatData/MinigameTBGItemExcel.cs index e0bdbf7..16fcfcb 100644 --- a/SCHALE.Common/FlatData/MinigameTBGItemExcel.cs +++ b/SCHALE.Common/FlatData/MinigameTBGItemExcel.cs @@ -22,7 +22,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject public long UniqueId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.TBGItemType ItemType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TBGItemType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TBGItemType.None; } } - public SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.TBGItemEffectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TBGItemEffectType.None; } } + public SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.TBGItemEffectType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TBGItemEffectType.None; } } public int ItemParameter { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public string LocalizeETCId { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -58,7 +58,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject public static Offset CreateMinigameTBGItemExcel(FlatBufferBuilder builder, long UniqueId = 0, SCHALE.Common.FlatData.TBGItemType ItemType = SCHALE.Common.FlatData.TBGItemType.None, - SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType_ = SCHALE.Common.FlatData.TBGItemEffectType.None, + SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType = SCHALE.Common.FlatData.TBGItemEffectType.None, int ItemParameter = 0, StringOffset LocalizeETCIdOffset = default(StringOffset), StringOffset IconOffset = default(StringOffset), @@ -74,7 +74,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject MinigameTBGItemExcel.AddIcon(builder, IconOffset); MinigameTBGItemExcel.AddLocalizeETCId(builder, LocalizeETCIdOffset); MinigameTBGItemExcel.AddItemParameter(builder, ItemParameter); - MinigameTBGItemExcel.AddTBGItemEffectType_(builder, TBGItemEffectType_); + MinigameTBGItemExcel.AddTBGItemEffectType(builder, TBGItemEffectType); MinigameTBGItemExcel.AddItemType(builder, ItemType); MinigameTBGItemExcel.AddBuffIconHUDVisible(builder, BuffIconHUDVisible); return MinigameTBGItemExcel.EndMinigameTBGItemExcel(builder); @@ -83,7 +83,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject public static void StartMinigameTBGItemExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddItemType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TBGItemType itemType) { builder.AddInt(1, (int)itemType, 0); } - public static void AddTBGItemEffectType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TBGItemEffectType tBGItemEffectType_) { builder.AddInt(2, (int)tBGItemEffectType_, 0); } + public static void AddTBGItemEffectType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TBGItemEffectType tBGItemEffectType) { builder.AddInt(2, (int)tBGItemEffectType, 0); } public static void AddItemParameter(FlatBufferBuilder builder, int itemParameter) { builder.AddInt(3, itemParameter, 0); } public static void AddLocalizeETCId(FlatBufferBuilder builder, StringOffset localizeETCIdOffset) { builder.AddOffset(4, localizeETCIdOffset.Value, 0); } public static void AddIcon(FlatBufferBuilder builder, StringOffset iconOffset) { builder.AddOffset(5, iconOffset.Value, 0); } @@ -104,7 +104,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("MinigameTBGItem"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.ItemType = TableEncryptionService.Convert(this.ItemType, key); - _o.TBGItemEffectType_ = TableEncryptionService.Convert(this.TBGItemEffectType_, key); + _o.TBGItemEffectType = TableEncryptionService.Convert(this.TBGItemEffectType, key); _o.ItemParameter = TableEncryptionService.Convert(this.ItemParameter, key); _o.LocalizeETCId = TableEncryptionService.Convert(this.LocalizeETCId, key); _o.Icon = TableEncryptionService.Convert(this.Icon, key); @@ -123,7 +123,7 @@ public struct MinigameTBGItemExcel : IFlatbufferObject builder, _o.UniqueId, _o.ItemType, - _o.TBGItemEffectType_, + _o.TBGItemEffectType, _o.ItemParameter, _LocalizeETCId, _Icon, @@ -138,7 +138,7 @@ public class MinigameTBGItemExcelT { public long UniqueId { get; set; } public SCHALE.Common.FlatData.TBGItemType ItemType { get; set; } - public SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType_ { get; set; } + public SCHALE.Common.FlatData.TBGItemEffectType TBGItemEffectType { get; set; } public int ItemParameter { get; set; } public string LocalizeETCId { get; set; } public string Icon { get; set; } @@ -150,7 +150,7 @@ public class MinigameTBGItemExcelT public MinigameTBGItemExcelT() { this.UniqueId = 0; this.ItemType = SCHALE.Common.FlatData.TBGItemType.None; - this.TBGItemEffectType_ = SCHALE.Common.FlatData.TBGItemEffectType.None; + this.TBGItemEffectType = SCHALE.Common.FlatData.TBGItemEffectType.None; this.ItemParameter = 0; this.LocalizeETCId = null; this.Icon = null; @@ -169,7 +169,7 @@ static public class MinigameTBGItemExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*ItemType*/, 4 /*SCHALE.Common.FlatData.TBGItemType*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*TBGItemEffectType_*/, 4 /*SCHALE.Common.FlatData.TBGItemEffectType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*TBGItemEffectType*/, 4 /*SCHALE.Common.FlatData.TBGItemEffectType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ItemParameter*/, 4 /*int*/, 4, false) && verifier.VerifyString(tablePos, 12 /*LocalizeETCId*/, false) && verifier.VerifyString(tablePos, 14 /*Icon*/, false) diff --git a/SCHALE.Common/FlatData/MissionCompleteConditionType.cs b/SCHALE.Common/FlatData/MissionCompleteConditionType.cs index 866a592..f78d3aa 100644 --- a/SCHALE.Common/FlatData/MissionCompleteConditionType.cs +++ b/SCHALE.Common/FlatData/MissionCompleteConditionType.cs @@ -177,6 +177,8 @@ public enum MissionCompleteConditionType : int Reset_ClearCharacterLimitDefense = 167, Reset_ClearTimeLimitDefenseFromSecond = 168, Reset_JoinMultiFloorRaidCount = 169, + Reset_GivePresentCharacterCount = 170, + Reset_CharacterInviteCount = 171, }; diff --git a/SCHALE.Common/FlatData/MultiFloorRaidStageExcel.cs b/SCHALE.Common/FlatData/MultiFloorRaidStageExcel.cs index ac8a005..0b50187 100644 --- a/SCHALE.Common/FlatData/MultiFloorRaidStageExcel.cs +++ b/SCHALE.Common/FlatData/MultiFloorRaidStageExcel.cs @@ -21,7 +21,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject public MultiFloorRaidStageExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public string BossGroupId { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBossGroupIdBytes() { return __p.__vector_as_span(8, 1); } @@ -101,7 +101,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject public static Offset CreateMultiFloorRaidStageExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base, + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base, StringOffset BossGroupIdOffset = default(StringOffset), int AssistSlot = 0, long StageOpenCondition = 0, @@ -146,7 +146,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject MultiFloorRaidStageExcel.AddFloorListSectionLabel(builder, FloorListSectionLabel); MultiFloorRaidStageExcel.AddAssistSlot(builder, AssistSlot); MultiFloorRaidStageExcel.AddBossGroupId(builder, BossGroupIdOffset); - MultiFloorRaidStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + MultiFloorRaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); MultiFloorRaidStageExcel.AddShowSkillCard(builder, ShowSkillCard); MultiFloorRaidStageExcel.AddUseBossAIPhaseSync(builder, UseBossAIPhaseSync); MultiFloorRaidStageExcel.AddUseBossIndex(builder, UseBossIndex); @@ -156,7 +156,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject public static void StartMultiFloorRaidStageExcel(FlatBufferBuilder builder) { builder.StartTable(25); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(1, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(1, (int)echelonExtensionType, 0); } public static void AddBossGroupId(FlatBufferBuilder builder, StringOffset bossGroupIdOffset) { builder.AddOffset(2, bossGroupIdOffset.Value, 0); } public static void AddAssistSlot(FlatBufferBuilder builder, int assistSlot) { builder.AddInt(3, assistSlot, 0); } public static void AddStageOpenCondition(FlatBufferBuilder builder, long stageOpenCondition) { builder.AddLong(4, stageOpenCondition, 0); } @@ -217,7 +217,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject public void UnPackTo(MultiFloorRaidStageExcelT _o) { byte[] key = TableEncryptionService.CreateKey("MultiFloorRaidStage"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); _o.BossGroupId = TableEncryptionService.Convert(this.BossGroupId, key); _o.AssistSlot = TableEncryptionService.Convert(this.AssistSlot, key); _o.StageOpenCondition = TableEncryptionService.Convert(this.StageOpenCondition, key); @@ -282,7 +282,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject return CreateMultiFloorRaidStageExcel( builder, _o.Id, - _o.EchelonExtensionType_, + _o.EchelonExtensionType, _BossGroupId, _o.AssistSlot, _o.StageOpenCondition, @@ -312,7 +312,7 @@ public struct MultiFloorRaidStageExcel : IFlatbufferObject public class MultiFloorRaidStageExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public string BossGroupId { get; set; } public int AssistSlot { get; set; } public long StageOpenCondition { get; set; } @@ -339,7 +339,7 @@ public class MultiFloorRaidStageExcelT public MultiFloorRaidStageExcelT() { this.Id = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.BossGroupId = null; this.AssistSlot = 0; this.StageOpenCondition = 0; @@ -373,7 +373,7 @@ static public class MultiFloorRaidStageExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyString(tablePos, 8 /*BossGroupId*/, false) && verifier.VerifyField(tablePos, 10 /*AssistSlot*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*StageOpenCondition*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ObstacleStatExcelTable.cs b/SCHALE.Common/FlatData/ObstacleStatExcelTable.cs deleted file mode 100644 index 8b5d619..0000000 --- a/SCHALE.Common/FlatData/ObstacleStatExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct ObstacleStatExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static ObstacleStatExcelTable GetRootAsObstacleStatExcelTable(ByteBuffer _bb) { return GetRootAsObstacleStatExcelTable(_bb, new ObstacleStatExcelTable()); } - public static ObstacleStatExcelTable GetRootAsObstacleStatExcelTable(ByteBuffer _bb, ObstacleStatExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public ObstacleStatExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.ObstacleStatExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ObstacleStatExcel?)(new SCHALE.Common.FlatData.ObstacleStatExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateObstacleStatExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - ObstacleStatExcelTable.AddDataList(builder, DataListOffset); - return ObstacleStatExcelTable.EndObstacleStatExcelTable(builder); - } - - public static void StartObstacleStatExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndObstacleStatExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public ObstacleStatExcelTableT UnPack() { - var _o = new ObstacleStatExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(ObstacleStatExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("ObstacleStatExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, ObstacleStatExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ObstacleStatExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateObstacleStatExcelTable( - builder, - _DataList); - } -} - -public class ObstacleStatExcelTableT -{ - public List DataList { get; set; } - - public ObstacleStatExcelTableT() { - this.DataList = null; - } -} - - -static public class ObstacleStatExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ObstacleStatExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/OpenConditionExcel.cs b/SCHALE.Common/FlatData/OpenConditionExcel.cs index d0b23d0..bb23215 100644 --- a/SCHALE.Common/FlatData/OpenConditionExcel.cs +++ b/SCHALE.Common/FlatData/OpenConditionExcel.cs @@ -38,7 +38,7 @@ public struct OpenConditionExcel : IFlatbufferObject public long AccountLevel { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ScenarioModeId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long CampaignStageId { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } public SCHALE.Common.FlatData.WeekDay OpenDayOfWeek { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.WeekDay)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDay.Sunday; } } public long OpenHour { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.WeekDay CloseDayOfWeek { get { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.WeekDay)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDay.Sunday; } } @@ -66,7 +66,7 @@ public struct OpenConditionExcel : IFlatbufferObject long AccountLevel = 0, long ScenarioModeId = 0, long CampaignStageId = 0, - SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And, + SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And, SCHALE.Common.FlatData.WeekDay OpenDayOfWeek = SCHALE.Common.FlatData.WeekDay.Sunday, long OpenHour = 0, SCHALE.Common.FlatData.WeekDay CloseDayOfWeek = SCHALE.Common.FlatData.WeekDay.Sunday, @@ -89,7 +89,7 @@ public struct OpenConditionExcel : IFlatbufferObject OpenConditionExcel.AddContentsOpenShortcutUI(builder, ContentsOpenShortcutUIOffset); OpenConditionExcel.AddCloseDayOfWeek(builder, CloseDayOfWeek); OpenConditionExcel.AddOpenDayOfWeek(builder, OpenDayOfWeek); - OpenConditionExcel.AddMultipleConditionCheckType_(builder, MultipleConditionCheckType_); + OpenConditionExcel.AddMultipleConditionCheckType(builder, MultipleConditionCheckType); OpenConditionExcel.AddScene(builder, SceneOffset); OpenConditionExcel.AddShortcutParam(builder, ShortcutParam); OpenConditionExcel.AddShortcutUIName(builder, ShortcutUINameOffset); @@ -121,7 +121,7 @@ public struct OpenConditionExcel : IFlatbufferObject public static void AddAccountLevel(FlatBufferBuilder builder, long accountLevel) { builder.AddLong(7, accountLevel, 0); } public static void AddScenarioModeId(FlatBufferBuilder builder, long scenarioModeId) { builder.AddLong(8, scenarioModeId, 0); } public static void AddCampaignStageId(FlatBufferBuilder builder, long campaignStageId) { builder.AddLong(9, campaignStageId, 0); } - public static void AddMultipleConditionCheckType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType_) { builder.AddInt(10, (int)multipleConditionCheckType_, 0); } + public static void AddMultipleConditionCheckType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType) { builder.AddInt(10, (int)multipleConditionCheckType, 0); } public static void AddOpenDayOfWeek(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDay openDayOfWeek) { builder.AddInt(11, (int)openDayOfWeek, 0); } public static void AddOpenHour(FlatBufferBuilder builder, long openHour) { builder.AddLong(12, openHour, 0); } public static void AddCloseDayOfWeek(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDay closeDayOfWeek) { builder.AddInt(13, (int)closeDayOfWeek, 0); } @@ -154,7 +154,7 @@ public struct OpenConditionExcel : IFlatbufferObject _o.AccountLevel = TableEncryptionService.Convert(this.AccountLevel, key); _o.ScenarioModeId = TableEncryptionService.Convert(this.ScenarioModeId, key); _o.CampaignStageId = TableEncryptionService.Convert(this.CampaignStageId, key); - _o.MultipleConditionCheckType_ = TableEncryptionService.Convert(this.MultipleConditionCheckType_, key); + _o.MultipleConditionCheckType = TableEncryptionService.Convert(this.MultipleConditionCheckType, key); _o.OpenDayOfWeek = TableEncryptionService.Convert(this.OpenDayOfWeek, key); _o.OpenHour = TableEncryptionService.Convert(this.OpenHour, key); _o.CloseDayOfWeek = TableEncryptionService.Convert(this.CloseDayOfWeek, key); @@ -193,7 +193,7 @@ public struct OpenConditionExcel : IFlatbufferObject _o.AccountLevel, _o.ScenarioModeId, _o.CampaignStageId, - _o.MultipleConditionCheckType_, + _o.MultipleConditionCheckType, _o.OpenDayOfWeek, _o.OpenHour, _o.CloseDayOfWeek, @@ -218,7 +218,7 @@ public class OpenConditionExcelT public long AccountLevel { get; set; } public long ScenarioModeId { get; set; } public long CampaignStageId { get; set; } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get; set; } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get; set; } public SCHALE.Common.FlatData.WeekDay OpenDayOfWeek { get; set; } public long OpenHour { get; set; } public SCHALE.Common.FlatData.WeekDay CloseDayOfWeek { get; set; } @@ -240,7 +240,7 @@ public class OpenConditionExcelT this.AccountLevel = 0; this.ScenarioModeId = 0; this.CampaignStageId = 0; - this.MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And; + this.MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And; this.OpenDayOfWeek = SCHALE.Common.FlatData.WeekDay.Sunday; this.OpenHour = 0; this.CloseDayOfWeek = SCHALE.Common.FlatData.WeekDay.Sunday; @@ -269,7 +269,7 @@ static public class OpenConditionExcelVerify && verifier.VerifyField(tablePos, 18 /*AccountLevel*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*ScenarioModeId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*CampaignStageId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 24 /*MultipleConditionCheckType_*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*MultipleConditionCheckType*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) && verifier.VerifyField(tablePos, 26 /*OpenDayOfWeek*/, 4 /*SCHALE.Common.FlatData.WeekDay*/, 4, false) && verifier.VerifyField(tablePos, 28 /*OpenHour*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 30 /*CloseDayOfWeek*/, 4 /*SCHALE.Common.FlatData.WeekDay*/, 4, false) diff --git a/SCHALE.Common/FlatData/OpenConditionExcelTable.cs b/SCHALE.Common/FlatData/OpenConditionExcelTable.cs deleted file mode 100644 index 62db18e..0000000 --- a/SCHALE.Common/FlatData/OpenConditionExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct OpenConditionExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static OpenConditionExcelTable GetRootAsOpenConditionExcelTable(ByteBuffer _bb) { return GetRootAsOpenConditionExcelTable(_bb, new OpenConditionExcelTable()); } - public static OpenConditionExcelTable GetRootAsOpenConditionExcelTable(ByteBuffer _bb, OpenConditionExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public OpenConditionExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.OpenConditionExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionExcel?)(new SCHALE.Common.FlatData.OpenConditionExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateOpenConditionExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - OpenConditionExcelTable.AddDataList(builder, DataListOffset); - return OpenConditionExcelTable.EndOpenConditionExcelTable(builder); - } - - public static void StartOpenConditionExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndOpenConditionExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public OpenConditionExcelTableT UnPack() { - var _o = new OpenConditionExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(OpenConditionExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("OpenConditionExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, OpenConditionExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.OpenConditionExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateOpenConditionExcelTable( - builder, - _DataList); - } -} - -public class OpenConditionExcelTableT -{ - public List DataList { get; set; } - - public OpenConditionExcelTableT() { - this.DataList = null; - } -} - - -static public class OpenConditionExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.OpenConditionExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/OperatorExcel.cs b/SCHALE.Common/FlatData/OperatorExcel.cs index 9425a37..8d954d0 100644 --- a/SCHALE.Common/FlatData/OperatorExcel.cs +++ b/SCHALE.Common/FlatData/OperatorExcel.cs @@ -28,7 +28,7 @@ public struct OperatorExcel : IFlatbufferObject public ArraySegment? GetGroupIdBytes() { return __p.__vector_as_arraysegment(6); } #endif public byte[] GetGroupIdArray() { return __p.__vector_as_array(6); } - public SCHALE.Common.FlatData.OperatorCondition OperatorCondition_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.OperatorCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OperatorCondition.None; } } + public SCHALE.Common.FlatData.OperatorCondition OperatorCondition { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.OperatorCondition)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OperatorCondition.None; } } public int OutputSequence { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int RandomWeight { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int OutputDelay { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -61,7 +61,7 @@ public struct OperatorExcel : IFlatbufferObject public static Offset CreateOperatorExcel(FlatBufferBuilder builder, long UniqueId = 0, StringOffset GroupIdOffset = default(StringOffset), - SCHALE.Common.FlatData.OperatorCondition OperatorCondition_ = SCHALE.Common.FlatData.OperatorCondition.None, + SCHALE.Common.FlatData.OperatorCondition OperatorCondition = SCHALE.Common.FlatData.OperatorCondition.None, int OutputSequence = 0, int RandomWeight = 0, int OutputDelay = 0, @@ -81,7 +81,7 @@ public struct OperatorExcel : IFlatbufferObject OperatorExcel.AddOutputDelay(builder, OutputDelay); OperatorExcel.AddRandomWeight(builder, RandomWeight); OperatorExcel.AddOutputSequence(builder, OutputSequence); - OperatorExcel.AddOperatorCondition_(builder, OperatorCondition_); + OperatorExcel.AddOperatorCondition(builder, OperatorCondition); OperatorExcel.AddGroupId(builder, GroupIdOffset); OperatorExcel.AddOperatorWaitQueue(builder, OperatorWaitQueue); return OperatorExcel.EndOperatorExcel(builder); @@ -90,7 +90,7 @@ public struct OperatorExcel : IFlatbufferObject public static void StartOperatorExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddGroupId(FlatBufferBuilder builder, StringOffset groupIdOffset) { builder.AddOffset(1, groupIdOffset.Value, 0); } - public static void AddOperatorCondition_(FlatBufferBuilder builder, SCHALE.Common.FlatData.OperatorCondition operatorCondition_) { builder.AddInt(2, (int)operatorCondition_, 0); } + public static void AddOperatorCondition(FlatBufferBuilder builder, SCHALE.Common.FlatData.OperatorCondition operatorCondition) { builder.AddInt(2, (int)operatorCondition, 0); } public static void AddOutputSequence(FlatBufferBuilder builder, int outputSequence) { builder.AddInt(3, outputSequence, 0); } public static void AddRandomWeight(FlatBufferBuilder builder, int randomWeight) { builder.AddInt(4, randomWeight, 0); } public static void AddOutputDelay(FlatBufferBuilder builder, int outputDelay) { builder.AddInt(5, outputDelay, 0); } @@ -118,7 +118,7 @@ public struct OperatorExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("Operator"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); - _o.OperatorCondition_ = TableEncryptionService.Convert(this.OperatorCondition_, key); + _o.OperatorCondition = TableEncryptionService.Convert(this.OperatorCondition, key); _o.OutputSequence = TableEncryptionService.Convert(this.OutputSequence, key); _o.RandomWeight = TableEncryptionService.Convert(this.RandomWeight, key); _o.OutputDelay = TableEncryptionService.Convert(this.OutputDelay, key); @@ -144,7 +144,7 @@ public struct OperatorExcel : IFlatbufferObject builder, _o.UniqueId, _GroupId, - _o.OperatorCondition_, + _o.OperatorCondition, _o.OutputSequence, _o.RandomWeight, _o.OutputDelay, @@ -161,7 +161,7 @@ public class OperatorExcelT { public long UniqueId { get; set; } public string GroupId { get; set; } - public SCHALE.Common.FlatData.OperatorCondition OperatorCondition_ { get; set; } + public SCHALE.Common.FlatData.OperatorCondition OperatorCondition { get; set; } public int OutputSequence { get; set; } public int RandomWeight { get; set; } public int OutputDelay { get; set; } @@ -175,7 +175,7 @@ public class OperatorExcelT public OperatorExcelT() { this.UniqueId = 0; this.GroupId = null; - this.OperatorCondition_ = SCHALE.Common.FlatData.OperatorCondition.None; + this.OperatorCondition = SCHALE.Common.FlatData.OperatorCondition.None; this.OutputSequence = 0; this.RandomWeight = 0; this.OutputDelay = 0; @@ -196,7 +196,7 @@ static public class OperatorExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*GroupId*/, false) - && verifier.VerifyField(tablePos, 8 /*OperatorCondition_*/, 4 /*SCHALE.Common.FlatData.OperatorCondition*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*OperatorCondition*/, 4 /*SCHALE.Common.FlatData.OperatorCondition*/, 4, false) && verifier.VerifyField(tablePos, 10 /*OutputSequence*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RandomWeight*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 14 /*OutputDelay*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/PickupDuplicateBonusExcel.cs b/SCHALE.Common/FlatData/PickupDuplicateBonusExcel.cs index 24f0686..3ff9ff3 100644 --- a/SCHALE.Common/FlatData/PickupDuplicateBonusExcel.cs +++ b/SCHALE.Common/FlatData/PickupDuplicateBonusExcel.cs @@ -21,7 +21,7 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject public PickupDuplicateBonusExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopCategoryType.General; } } + public SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopCategoryType.General; } } public long ShopId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PickupCharacterId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } @@ -30,7 +30,7 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject public static Offset CreatePickupDuplicateBonusExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType_ = SCHALE.Common.FlatData.ShopCategoryType.General, + SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType = SCHALE.Common.FlatData.ShopCategoryType.General, long ShopId = 0, long PickupCharacterId = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, @@ -43,13 +43,13 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject PickupDuplicateBonusExcel.AddShopId(builder, ShopId); PickupDuplicateBonusExcel.AddId(builder, Id); PickupDuplicateBonusExcel.AddRewardParcelType(builder, RewardParcelType); - PickupDuplicateBonusExcel.AddShopCategoryType_(builder, ShopCategoryType_); + PickupDuplicateBonusExcel.AddShopCategoryType(builder, ShopCategoryType); return PickupDuplicateBonusExcel.EndPickupDuplicateBonusExcel(builder); } public static void StartPickupDuplicateBonusExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddShopCategoryType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType shopCategoryType_) { builder.AddInt(1, (int)shopCategoryType_, 0); } + public static void AddShopCategoryType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType shopCategoryType) { builder.AddInt(1, (int)shopCategoryType, 0); } public static void AddShopId(FlatBufferBuilder builder, long shopId) { builder.AddLong(2, shopId, 0); } public static void AddPickupCharacterId(FlatBufferBuilder builder, long pickupCharacterId) { builder.AddLong(3, pickupCharacterId, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(4, (int)rewardParcelType, 0); } @@ -67,7 +67,7 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject public void UnPackTo(PickupDuplicateBonusExcelT _o) { byte[] key = TableEncryptionService.CreateKey("PickupDuplicateBonus"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.ShopCategoryType_ = TableEncryptionService.Convert(this.ShopCategoryType_, key); + _o.ShopCategoryType = TableEncryptionService.Convert(this.ShopCategoryType, key); _o.ShopId = TableEncryptionService.Convert(this.ShopId, key); _o.PickupCharacterId = TableEncryptionService.Convert(this.PickupCharacterId, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); @@ -79,7 +79,7 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject return CreatePickupDuplicateBonusExcel( builder, _o.Id, - _o.ShopCategoryType_, + _o.ShopCategoryType, _o.ShopId, _o.PickupCharacterId, _o.RewardParcelType, @@ -91,7 +91,7 @@ public struct PickupDuplicateBonusExcel : IFlatbufferObject public class PickupDuplicateBonusExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType_ { get; set; } + public SCHALE.Common.FlatData.ShopCategoryType ShopCategoryType { get; set; } public long ShopId { get; set; } public long PickupCharacterId { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } @@ -100,7 +100,7 @@ public class PickupDuplicateBonusExcelT public PickupDuplicateBonusExcelT() { this.Id = 0; - this.ShopCategoryType_ = SCHALE.Common.FlatData.ShopCategoryType.General; + this.ShopCategoryType = SCHALE.Common.FlatData.ShopCategoryType.General; this.ShopId = 0; this.PickupCharacterId = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; @@ -116,7 +116,7 @@ static public class PickupDuplicateBonusExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ShopCategoryType_*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ShopCategoryType*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ShopId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*PickupCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) diff --git a/SCHALE.Common/FlatData/PresetParcelsExcel.cs b/SCHALE.Common/FlatData/PresetParcelsExcel.cs index 2ebb1c7..c74b1c4 100644 --- a/SCHALE.Common/FlatData/PresetParcelsExcel.cs +++ b/SCHALE.Common/FlatData/PresetParcelsExcel.cs @@ -20,13 +20,13 @@ public struct PresetParcelsExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public PresetParcelsExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PresetGroupId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ParcelAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreatePresetParcelsExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelId = 0, long PresetGroupId = 0, long ParcelAmount = 0) { @@ -34,12 +34,12 @@ public struct PresetParcelsExcel : IFlatbufferObject PresetParcelsExcel.AddParcelAmount(builder, ParcelAmount); PresetParcelsExcel.AddPresetGroupId(builder, PresetGroupId); PresetParcelsExcel.AddParcelId(builder, ParcelId); - PresetParcelsExcel.AddParcelType_(builder, ParcelType_); + PresetParcelsExcel.AddParcelType(builder, ParcelType); return PresetParcelsExcel.EndPresetParcelsExcel(builder); } public static void StartPresetParcelsExcel(FlatBufferBuilder builder) { builder.StartTable(4); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(0, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(0, (int)parcelType, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(1, parcelId, 0); } public static void AddPresetGroupId(FlatBufferBuilder builder, long presetGroupId) { builder.AddLong(2, presetGroupId, 0); } public static void AddParcelAmount(FlatBufferBuilder builder, long parcelAmount) { builder.AddLong(3, parcelAmount, 0); } @@ -54,7 +54,7 @@ public struct PresetParcelsExcel : IFlatbufferObject } public void UnPackTo(PresetParcelsExcelT _o) { byte[] key = TableEncryptionService.CreateKey("PresetParcels"); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.PresetGroupId = TableEncryptionService.Convert(this.PresetGroupId, key); _o.ParcelAmount = TableEncryptionService.Convert(this.ParcelAmount, key); @@ -63,7 +63,7 @@ public struct PresetParcelsExcel : IFlatbufferObject if (_o == null) return default(Offset); return CreatePresetParcelsExcel( builder, - _o.ParcelType_, + _o.ParcelType, _o.ParcelId, _o.PresetGroupId, _o.ParcelAmount); @@ -72,13 +72,13 @@ public struct PresetParcelsExcel : IFlatbufferObject public class PresetParcelsExcelT { - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelId { get; set; } public long PresetGroupId { get; set; } public long ParcelAmount { get; set; } public PresetParcelsExcelT() { - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelId = 0; this.PresetGroupId = 0; this.ParcelAmount = 0; @@ -91,7 +91,7 @@ static public class PresetParcelsExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*PresetGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*ParcelAmount*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ProductExcel.cs b/SCHALE.Common/FlatData/ProductExcel.cs index e2dccb9..6427366 100644 --- a/SCHALE.Common/FlatData/ProductExcel.cs +++ b/SCHALE.Common/FlatData/ProductExcel.cs @@ -28,7 +28,7 @@ public struct ProductExcel : IFlatbufferObject public ArraySegment? GetProductIdBytes() { return __p.__vector_as_arraysegment(6); } #endif public byte[] GetProductIdArray() { return __p.__vector_as_array(6); } - public SCHALE.Common.FlatData.StoreType StoreType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StoreType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StoreType.None; } } + public SCHALE.Common.FlatData.StoreType StoreType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StoreType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StoreType.None; } } public long Price { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string PriceReference { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -37,7 +37,7 @@ public struct ProductExcel : IFlatbufferObject public ArraySegment? GetPriceReferenceBytes() { return __p.__vector_as_arraysegment(12); } #endif public byte[] GetPriceReferenceArray() { return __p.__vector_as_array(12); } - public SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.PurchasePeriodType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchasePeriodType.None; } } + public SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.PurchasePeriodType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchasePeriodType.None; } } public long PurchasePeriodLimit { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType ParcelType_(int j) { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public int ParcelType_Length { get { int o = __p.__offset(18); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -67,10 +67,10 @@ public struct ProductExcel : IFlatbufferObject public static Offset CreateProductExcel(FlatBufferBuilder builder, long Id = 0, StringOffset ProductIdOffset = default(StringOffset), - SCHALE.Common.FlatData.StoreType StoreType_ = SCHALE.Common.FlatData.StoreType.None, + SCHALE.Common.FlatData.StoreType StoreType = SCHALE.Common.FlatData.StoreType.None, long Price = 0, StringOffset PriceReferenceOffset = default(StringOffset), - SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType_ = SCHALE.Common.FlatData.PurchasePeriodType.None, + SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType = SCHALE.Common.FlatData.PurchasePeriodType.None, long PurchasePeriodLimit = 0, VectorOffset ParcelType_Offset = default(VectorOffset), VectorOffset ParcelIdOffset = default(VectorOffset), @@ -82,9 +82,9 @@ public struct ProductExcel : IFlatbufferObject ProductExcel.AddParcelAmount(builder, ParcelAmountOffset); ProductExcel.AddParcelId(builder, ParcelIdOffset); ProductExcel.AddParcelType_(builder, ParcelType_Offset); - ProductExcel.AddPurchasePeriodType_(builder, PurchasePeriodType_); + ProductExcel.AddPurchasePeriodType(builder, PurchasePeriodType); ProductExcel.AddPriceReference(builder, PriceReferenceOffset); - ProductExcel.AddStoreType_(builder, StoreType_); + ProductExcel.AddStoreType(builder, StoreType); ProductExcel.AddProductId(builder, ProductIdOffset); return ProductExcel.EndProductExcel(builder); } @@ -92,10 +92,10 @@ public struct ProductExcel : IFlatbufferObject public static void StartProductExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddProductId(FlatBufferBuilder builder, StringOffset productIdOffset) { builder.AddOffset(1, productIdOffset.Value, 0); } - public static void AddStoreType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StoreType storeType_) { builder.AddInt(2, (int)storeType_, 0); } + public static void AddStoreType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StoreType storeType) { builder.AddInt(2, (int)storeType, 0); } public static void AddPrice(FlatBufferBuilder builder, long price) { builder.AddLong(3, price, 0); } public static void AddPriceReference(FlatBufferBuilder builder, StringOffset priceReferenceOffset) { builder.AddOffset(4, priceReferenceOffset.Value, 0); } - public static void AddPurchasePeriodType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchasePeriodType purchasePeriodType_) { builder.AddInt(5, (int)purchasePeriodType_, 0); } + public static void AddPurchasePeriodType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchasePeriodType purchasePeriodType) { builder.AddInt(5, (int)purchasePeriodType, 0); } public static void AddPurchasePeriodLimit(FlatBufferBuilder builder, long purchasePeriodLimit) { builder.AddLong(6, purchasePeriodLimit, 0); } public static void AddParcelType_(FlatBufferBuilder builder, VectorOffset parcelType_Offset) { builder.AddOffset(7, parcelType_Offset.Value, 0); } public static VectorOffset CreateParcelType_Vector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } @@ -128,10 +128,10 @@ public struct ProductExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("Product"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.ProductId = TableEncryptionService.Convert(this.ProductId, key); - _o.StoreType_ = TableEncryptionService.Convert(this.StoreType_, key); + _o.StoreType = TableEncryptionService.Convert(this.StoreType, key); _o.Price = TableEncryptionService.Convert(this.Price, key); _o.PriceReference = TableEncryptionService.Convert(this.PriceReference, key); - _o.PurchasePeriodType_ = TableEncryptionService.Convert(this.PurchasePeriodType_, key); + _o.PurchasePeriodType = TableEncryptionService.Convert(this.PurchasePeriodType, key); _o.PurchasePeriodLimit = TableEncryptionService.Convert(this.PurchasePeriodLimit, key); _o.ParcelType_ = new List(); for (var _j = 0; _j < this.ParcelType_Length; ++_j) {_o.ParcelType_.Add(TableEncryptionService.Convert(this.ParcelType_(_j), key));} @@ -163,10 +163,10 @@ public struct ProductExcel : IFlatbufferObject builder, _o.Id, _ProductId, - _o.StoreType_, + _o.StoreType, _o.Price, _PriceReference, - _o.PurchasePeriodType_, + _o.PurchasePeriodType, _o.PurchasePeriodLimit, _ParcelType_, _ParcelId, @@ -178,10 +178,10 @@ public class ProductExcelT { public long Id { get; set; } public string ProductId { get; set; } - public SCHALE.Common.FlatData.StoreType StoreType_ { get; set; } + public SCHALE.Common.FlatData.StoreType StoreType { get; set; } public long Price { get; set; } public string PriceReference { get; set; } - public SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType_ { get; set; } + public SCHALE.Common.FlatData.PurchasePeriodType PurchasePeriodType { get; set; } public long PurchasePeriodLimit { get; set; } public List ParcelType_ { get; set; } public List ParcelId { get; set; } @@ -190,10 +190,10 @@ public class ProductExcelT public ProductExcelT() { this.Id = 0; this.ProductId = null; - this.StoreType_ = SCHALE.Common.FlatData.StoreType.None; + this.StoreType = SCHALE.Common.FlatData.StoreType.None; this.Price = 0; this.PriceReference = null; - this.PurchasePeriodType_ = SCHALE.Common.FlatData.PurchasePeriodType.None; + this.PurchasePeriodType = SCHALE.Common.FlatData.PurchasePeriodType.None; this.PurchasePeriodLimit = 0; this.ParcelType_ = null; this.ParcelId = null; @@ -209,10 +209,10 @@ static public class ProductExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*ProductId*/, false) - && verifier.VerifyField(tablePos, 8 /*StoreType_*/, 4 /*SCHALE.Common.FlatData.StoreType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*StoreType*/, 4 /*SCHALE.Common.FlatData.StoreType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Price*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 12 /*PriceReference*/, false) - && verifier.VerifyField(tablePos, 14 /*PurchasePeriodType_*/, 4 /*SCHALE.Common.FlatData.PurchasePeriodType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*PurchasePeriodType*/, 4 /*SCHALE.Common.FlatData.PurchasePeriodType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*PurchasePeriodLimit*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 18 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 20 /*ParcelId*/, 8 /*long*/, false) diff --git a/SCHALE.Common/FlatData/ProductMonthlyExcel.cs b/SCHALE.Common/FlatData/ProductMonthlyExcel.cs index c2a5372..fad292f 100644 --- a/SCHALE.Common/FlatData/ProductMonthlyExcel.cs +++ b/SCHALE.Common/FlatData/ProductMonthlyExcel.cs @@ -28,7 +28,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject public ArraySegment? GetProductIdBytes() { return __p.__vector_as_arraysegment(6); } #endif public byte[] GetProductIdArray() { return __p.__vector_as_array(6); } - public SCHALE.Common.FlatData.StoreType StoreType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StoreType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StoreType.None; } } + public SCHALE.Common.FlatData.StoreType StoreType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.StoreType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StoreType.None; } } public long Price { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string PriceReference { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -37,7 +37,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject public ArraySegment? GetPriceReferenceBytes() { return __p.__vector_as_arraysegment(12); } #endif public byte[] GetPriceReferenceArray() { return __p.__vector_as_array(12); } - public SCHALE.Common.FlatData.ProductTagType ProductTagType_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ProductTagType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductTagType.Monthly; } } + public SCHALE.Common.FlatData.ProductTagType ProductTagType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.ProductTagType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductTagType.Monthly; } } public long MonthlyDays { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool UseMonthlyProductCheck { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public SCHALE.Common.FlatData.ParcelType ParcelType_(int j) { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } @@ -93,10 +93,10 @@ public struct ProductMonthlyExcel : IFlatbufferObject public static Offset CreateProductMonthlyExcel(FlatBufferBuilder builder, long Id = 0, StringOffset ProductIdOffset = default(StringOffset), - SCHALE.Common.FlatData.StoreType StoreType_ = SCHALE.Common.FlatData.StoreType.None, + SCHALE.Common.FlatData.StoreType StoreType = SCHALE.Common.FlatData.StoreType.None, long Price = 0, StringOffset PriceReferenceOffset = default(StringOffset), - SCHALE.Common.FlatData.ProductTagType ProductTagType_ = SCHALE.Common.FlatData.ProductTagType.Monthly, + SCHALE.Common.FlatData.ProductTagType ProductTagType = SCHALE.Common.FlatData.ProductTagType.Monthly, long MonthlyDays = 0, bool UseMonthlyProductCheck = false, VectorOffset ParcelType_Offset = default(VectorOffset), @@ -117,9 +117,9 @@ public struct ProductMonthlyExcel : IFlatbufferObject ProductMonthlyExcel.AddParcelAmount(builder, ParcelAmountOffset); ProductMonthlyExcel.AddParcelId(builder, ParcelIdOffset); ProductMonthlyExcel.AddParcelType_(builder, ParcelType_Offset); - ProductMonthlyExcel.AddProductTagType_(builder, ProductTagType_); + ProductMonthlyExcel.AddProductTagType(builder, ProductTagType); ProductMonthlyExcel.AddPriceReference(builder, PriceReferenceOffset); - ProductMonthlyExcel.AddStoreType_(builder, StoreType_); + ProductMonthlyExcel.AddStoreType(builder, StoreType); ProductMonthlyExcel.AddProductId(builder, ProductIdOffset); ProductMonthlyExcel.AddUseMonthlyProductCheck(builder, UseMonthlyProductCheck); return ProductMonthlyExcel.EndProductMonthlyExcel(builder); @@ -128,10 +128,10 @@ public struct ProductMonthlyExcel : IFlatbufferObject public static void StartProductMonthlyExcel(FlatBufferBuilder builder) { builder.StartTable(15); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddProductId(FlatBufferBuilder builder, StringOffset productIdOffset) { builder.AddOffset(1, productIdOffset.Value, 0); } - public static void AddStoreType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StoreType storeType_) { builder.AddInt(2, (int)storeType_, 0); } + public static void AddStoreType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StoreType storeType) { builder.AddInt(2, (int)storeType, 0); } public static void AddPrice(FlatBufferBuilder builder, long price) { builder.AddLong(3, price, 0); } public static void AddPriceReference(FlatBufferBuilder builder, StringOffset priceReferenceOffset) { builder.AddOffset(4, priceReferenceOffset.Value, 0); } - public static void AddProductTagType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductTagType productTagType_) { builder.AddInt(5, (int)productTagType_, 0); } + public static void AddProductTagType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductTagType productTagType) { builder.AddInt(5, (int)productTagType, 0); } public static void AddMonthlyDays(FlatBufferBuilder builder, long monthlyDays) { builder.AddLong(6, monthlyDays, 0); } public static void AddUseMonthlyProductCheck(FlatBufferBuilder builder, bool useMonthlyProductCheck) { builder.AddBool(7, useMonthlyProductCheck, false); } public static void AddParcelType_(FlatBufferBuilder builder, VectorOffset parcelType_Offset) { builder.AddOffset(8, parcelType_Offset.Value, 0); } @@ -184,10 +184,10 @@ public struct ProductMonthlyExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("ProductMonthly"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.ProductId = TableEncryptionService.Convert(this.ProductId, key); - _o.StoreType_ = TableEncryptionService.Convert(this.StoreType_, key); + _o.StoreType = TableEncryptionService.Convert(this.StoreType, key); _o.Price = TableEncryptionService.Convert(this.Price, key); _o.PriceReference = TableEncryptionService.Convert(this.PriceReference, key); - _o.ProductTagType_ = TableEncryptionService.Convert(this.ProductTagType_, key); + _o.ProductTagType = TableEncryptionService.Convert(this.ProductTagType, key); _o.MonthlyDays = TableEncryptionService.Convert(this.MonthlyDays, key); _o.UseMonthlyProductCheck = TableEncryptionService.Convert(this.UseMonthlyProductCheck, key); _o.ParcelType_ = new List(); @@ -242,10 +242,10 @@ public struct ProductMonthlyExcel : IFlatbufferObject builder, _o.Id, _ProductId, - _o.StoreType_, + _o.StoreType, _o.Price, _PriceReference, - _o.ProductTagType_, + _o.ProductTagType, _o.MonthlyDays, _o.UseMonthlyProductCheck, _ParcelType_, @@ -262,10 +262,10 @@ public class ProductMonthlyExcelT { public long Id { get; set; } public string ProductId { get; set; } - public SCHALE.Common.FlatData.StoreType StoreType_ { get; set; } + public SCHALE.Common.FlatData.StoreType StoreType { get; set; } public long Price { get; set; } public string PriceReference { get; set; } - public SCHALE.Common.FlatData.ProductTagType ProductTagType_ { get; set; } + public SCHALE.Common.FlatData.ProductTagType ProductTagType { get; set; } public long MonthlyDays { get; set; } public bool UseMonthlyProductCheck { get; set; } public List ParcelType_ { get; set; } @@ -279,10 +279,10 @@ public class ProductMonthlyExcelT public ProductMonthlyExcelT() { this.Id = 0; this.ProductId = null; - this.StoreType_ = SCHALE.Common.FlatData.StoreType.None; + this.StoreType = SCHALE.Common.FlatData.StoreType.None; this.Price = 0; this.PriceReference = null; - this.ProductTagType_ = SCHALE.Common.FlatData.ProductTagType.Monthly; + this.ProductTagType = SCHALE.Common.FlatData.ProductTagType.Monthly; this.MonthlyDays = 0; this.UseMonthlyProductCheck = false; this.ParcelType_ = null; @@ -303,10 +303,10 @@ static public class ProductMonthlyExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*ProductId*/, false) - && verifier.VerifyField(tablePos, 8 /*StoreType_*/, 4 /*SCHALE.Common.FlatData.StoreType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*StoreType*/, 4 /*SCHALE.Common.FlatData.StoreType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*Price*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 12 /*PriceReference*/, false) - && verifier.VerifyField(tablePos, 14 /*ProductTagType_*/, 4 /*SCHALE.Common.FlatData.ProductTagType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*ProductTagType*/, 4 /*SCHALE.Common.FlatData.ProductTagType*/, 4, false) && verifier.VerifyField(tablePos, 16 /*MonthlyDays*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*UseMonthlyProductCheck*/, 1 /*bool*/, 1, false) && verifier.VerifyVectorOfData(tablePos, 20 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) diff --git a/SCHALE.Common/FlatData/ProtocolSettingExcel.cs b/SCHALE.Common/FlatData/ProtocolSettingExcel.cs index 0f6e915..99c89bd 100644 --- a/SCHALE.Common/FlatData/ProtocolSettingExcel.cs +++ b/SCHALE.Common/FlatData/ProtocolSettingExcel.cs @@ -27,19 +27,19 @@ public struct ProtocolSettingExcel : IFlatbufferObject public ArraySegment? GetProtocolBytes() { return __p.__vector_as_arraysegment(4); } #endif public byte[] GetProtocolArray() { return __p.__vector_as_array(4); } - public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } } + public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.OpenConditionContent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.OpenConditionContent.Shop; } } public bool Currency { get { int o = __p.__offset(8); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool Inventory { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool Mail { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public static Offset CreateProtocolSettingExcel(FlatBufferBuilder builder, StringOffset ProtocolOffset = default(StringOffset), - SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop, + SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop, bool Currency = false, bool Inventory = false, bool Mail = false) { builder.StartTable(5); - ProtocolSettingExcel.AddOpenConditionContent_(builder, OpenConditionContent_); + ProtocolSettingExcel.AddOpenConditionContent(builder, OpenConditionContent); ProtocolSettingExcel.AddProtocol(builder, ProtocolOffset); ProtocolSettingExcel.AddMail(builder, Mail); ProtocolSettingExcel.AddInventory(builder, Inventory); @@ -49,7 +49,7 @@ public struct ProtocolSettingExcel : IFlatbufferObject public static void StartProtocolSettingExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddProtocol(FlatBufferBuilder builder, StringOffset protocolOffset) { builder.AddOffset(0, protocolOffset.Value, 0); } - public static void AddOpenConditionContent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent_) { builder.AddInt(1, (int)openConditionContent_, 0); } + public static void AddOpenConditionContent(FlatBufferBuilder builder, SCHALE.Common.FlatData.OpenConditionContent openConditionContent) { builder.AddInt(1, (int)openConditionContent, 0); } public static void AddCurrency(FlatBufferBuilder builder, bool currency) { builder.AddBool(2, currency, false); } public static void AddInventory(FlatBufferBuilder builder, bool inventory) { builder.AddBool(3, inventory, false); } public static void AddMail(FlatBufferBuilder builder, bool mail) { builder.AddBool(4, mail, false); } @@ -65,7 +65,7 @@ public struct ProtocolSettingExcel : IFlatbufferObject public void UnPackTo(ProtocolSettingExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ProtocolSetting"); _o.Protocol = TableEncryptionService.Convert(this.Protocol, key); - _o.OpenConditionContent_ = TableEncryptionService.Convert(this.OpenConditionContent_, key); + _o.OpenConditionContent = TableEncryptionService.Convert(this.OpenConditionContent, key); _o.Currency = TableEncryptionService.Convert(this.Currency, key); _o.Inventory = TableEncryptionService.Convert(this.Inventory, key); _o.Mail = TableEncryptionService.Convert(this.Mail, key); @@ -76,7 +76,7 @@ public struct ProtocolSettingExcel : IFlatbufferObject return CreateProtocolSettingExcel( builder, _Protocol, - _o.OpenConditionContent_, + _o.OpenConditionContent, _o.Currency, _o.Inventory, _o.Mail); @@ -86,14 +86,14 @@ public struct ProtocolSettingExcel : IFlatbufferObject public class ProtocolSettingExcelT { public string Protocol { get; set; } - public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent_ { get; set; } + public SCHALE.Common.FlatData.OpenConditionContent OpenConditionContent { get; set; } public bool Currency { get; set; } public bool Inventory { get; set; } public bool Mail { get; set; } public ProtocolSettingExcelT() { this.Protocol = null; - this.OpenConditionContent_ = SCHALE.Common.FlatData.OpenConditionContent.Shop; + this.OpenConditionContent = SCHALE.Common.FlatData.OpenConditionContent.Shop; this.Currency = false; this.Inventory = false; this.Mail = false; @@ -107,7 +107,7 @@ static public class ProtocolSettingExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyString(tablePos, 4 /*Protocol*/, false) - && verifier.VerifyField(tablePos, 6 /*OpenConditionContent_*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*OpenConditionContent*/, 4 /*SCHALE.Common.FlatData.OpenConditionContent*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Currency*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 10 /*Inventory*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 12 /*Mail*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/RaidStageExcel.cs b/SCHALE.Common/FlatData/RaidStageExcel.cs index 97865a8..6946e9c 100644 --- a/SCHALE.Common/FlatData/RaidStageExcel.cs +++ b/SCHALE.Common/FlatData/RaidStageExcel.cs @@ -53,7 +53,7 @@ public struct RaidStageExcel : IFlatbufferObject public ArraySegment? GetBossCharacterIdBytes() { return __p.__vector_as_arraysegment(18); } #endif public long[] GetBossCharacterIdArray() { return __p.__vector_as_array(18); } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } + public SCHALE.Common.FlatData.Difficulty Difficulty { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.Difficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Difficulty.Normal; } } public bool DifficultyOpenCondition { get { int o = __p.__offset(22); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long MaxPlayerCount { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public int RaidRoomLifeTime { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -73,7 +73,7 @@ public struct RaidStageExcel : IFlatbufferObject public ArraySegment? GetEnterTimeLineBytes() { return __p.__vector_as_arraysegment(34); } #endif public byte[] GetEnterTimeLineArray() { return __p.__vector_as_array(34); } - public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } } + public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.TacticEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TacticEnvironment.None; } } public long DefaultClearScore { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long MaximumScore { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PerSecondMinusScore { get { int o = __p.__offset(42); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -118,7 +118,7 @@ public struct RaidStageExcel : IFlatbufferObject public uint ClearScenarioKey { get { int o = __p.__offset(66); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public bool ShowSkillCard { get { int o = __p.__offset(68); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public uint BossBGInfoKey { get { int o = __p.__offset(70); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateRaidStageExcel(FlatBufferBuilder builder, long Id = 0, @@ -129,7 +129,7 @@ public struct RaidStageExcel : IFlatbufferObject StringOffset BGPathOffset = default(StringOffset), long RaidCharacterId = 0, VectorOffset BossCharacterIdOffset = default(VectorOffset), - SCHALE.Common.FlatData.Difficulty Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal, + SCHALE.Common.FlatData.Difficulty Difficulty = SCHALE.Common.FlatData.Difficulty.Normal, bool DifficultyOpenCondition = false, long MaxPlayerCount = 0, int RaidRoomLifeTime = 0, @@ -137,7 +137,7 @@ public struct RaidStageExcel : IFlatbufferObject long GroundId = 0, StringOffset GroundDevNameOffset = default(StringOffset), StringOffset EnterTimeLineOffset = default(StringOffset), - SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None, + SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None, long DefaultClearScore = 0, long MaximumScore = 0, long PerSecondMinusScore = 0, @@ -155,7 +155,7 @@ public struct RaidStageExcel : IFlatbufferObject uint ClearScenarioKey = 0, bool ShowSkillCard = false, uint BossBGInfoKey = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(35); RaidStageExcel.AddTimeLinePhase(builder, TimeLinePhase); RaidStageExcel.AddRaidRewardGroupId(builder, RaidRewardGroupId); @@ -170,7 +170,7 @@ public struct RaidStageExcel : IFlatbufferObject RaidStageExcel.AddMaxPlayerCount(builder, MaxPlayerCount); RaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId); RaidStageExcel.AddId(builder, Id); - RaidStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + RaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); RaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey); RaidStageExcel.AddClearScenarioKey(builder, ClearScenarioKey); RaidStageExcel.AddEnterScenarioKey(builder, EnterScenarioKey); @@ -179,11 +179,11 @@ public struct RaidStageExcel : IFlatbufferObject RaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset); RaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset); RaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset); - RaidStageExcel.AddTacticEnvironment_(builder, TacticEnvironment_); + RaidStageExcel.AddTacticEnvironment(builder, TacticEnvironment); RaidStageExcel.AddEnterTimeLine(builder, EnterTimeLineOffset); RaidStageExcel.AddGroundDevName(builder, GroundDevNameOffset); RaidStageExcel.AddRaidRoomLifeTime(builder, RaidRoomLifeTime); - RaidStageExcel.AddDifficulty_(builder, Difficulty_); + RaidStageExcel.AddDifficulty(builder, Difficulty); RaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset); RaidStageExcel.AddBGPath(builder, BGPathOffset); RaidStageExcel.AddPortraitPath(builder, PortraitPathOffset); @@ -209,7 +209,7 @@ public struct RaidStageExcel : IFlatbufferObject public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBossCharacterIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty_) { builder.AddInt(8, (int)difficulty_, 0); } + public static void AddDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.Difficulty difficulty) { builder.AddInt(8, (int)difficulty, 0); } public static void AddDifficultyOpenCondition(FlatBufferBuilder builder, bool difficultyOpenCondition) { builder.AddBool(9, difficultyOpenCondition, false); } public static void AddMaxPlayerCount(FlatBufferBuilder builder, long maxPlayerCount) { builder.AddLong(10, maxPlayerCount, 0); } public static void AddRaidRoomLifeTime(FlatBufferBuilder builder, int raidRoomLifeTime) { builder.AddInt(11, raidRoomLifeTime, 0); } @@ -217,7 +217,7 @@ public struct RaidStageExcel : IFlatbufferObject public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(13, groundId, 0); } public static void AddGroundDevName(FlatBufferBuilder builder, StringOffset groundDevNameOffset) { builder.AddOffset(14, groundDevNameOffset.Value, 0); } public static void AddEnterTimeLine(FlatBufferBuilder builder, StringOffset enterTimeLineOffset) { builder.AddOffset(15, enterTimeLineOffset.Value, 0); } - public static void AddTacticEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment_) { builder.AddInt(16, (int)tacticEnvironment_, 0); } + public static void AddTacticEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.TacticEnvironment tacticEnvironment) { builder.AddInt(16, (int)tacticEnvironment, 0); } public static void AddDefaultClearScore(FlatBufferBuilder builder, long defaultClearScore) { builder.AddLong(17, defaultClearScore, 0); } public static void AddMaximumScore(FlatBufferBuilder builder, long maximumScore) { builder.AddLong(18, maximumScore, 0); } public static void AddPerSecondMinusScore(FlatBufferBuilder builder, long perSecondMinusScore) { builder.AddLong(19, perSecondMinusScore, 0); } @@ -250,7 +250,7 @@ public struct RaidStageExcel : IFlatbufferObject public static void AddClearScenarioKey(FlatBufferBuilder builder, uint clearScenarioKey) { builder.AddUint(31, clearScenarioKey, 0); } public static void AddShowSkillCard(FlatBufferBuilder builder, bool showSkillCard) { builder.AddBool(32, showSkillCard, false); } public static void AddBossBGInfoKey(FlatBufferBuilder builder, uint bossBGInfoKey) { builder.AddUint(33, bossBGInfoKey, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(34, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(34, (int)echelonExtensionType, 0); } public static Offset EndRaidStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -271,7 +271,7 @@ public struct RaidStageExcel : IFlatbufferObject _o.RaidCharacterId = TableEncryptionService.Convert(this.RaidCharacterId, key); _o.BossCharacterId = new List(); for (var _j = 0; _j < this.BossCharacterIdLength; ++_j) {_o.BossCharacterId.Add(TableEncryptionService.Convert(this.BossCharacterId(_j), key));} - _o.Difficulty_ = TableEncryptionService.Convert(this.Difficulty_, key); + _o.Difficulty = TableEncryptionService.Convert(this.Difficulty, key); _o.DifficultyOpenCondition = TableEncryptionService.Convert(this.DifficultyOpenCondition, key); _o.MaxPlayerCount = TableEncryptionService.Convert(this.MaxPlayerCount, key); _o.RaidRoomLifeTime = TableEncryptionService.Convert(this.RaidRoomLifeTime, key); @@ -279,7 +279,7 @@ public struct RaidStageExcel : IFlatbufferObject _o.GroundId = TableEncryptionService.Convert(this.GroundId, key); _o.GroundDevName = TableEncryptionService.Convert(this.GroundDevName, key); _o.EnterTimeLine = TableEncryptionService.Convert(this.EnterTimeLine, key); - _o.TacticEnvironment_ = TableEncryptionService.Convert(this.TacticEnvironment_, key); + _o.TacticEnvironment = TableEncryptionService.Convert(this.TacticEnvironment, key); _o.DefaultClearScore = TableEncryptionService.Convert(this.DefaultClearScore, key); _o.MaximumScore = TableEncryptionService.Convert(this.MaximumScore, key); _o.PerSecondMinusScore = TableEncryptionService.Convert(this.PerSecondMinusScore, key); @@ -300,7 +300,7 @@ public struct RaidStageExcel : IFlatbufferObject _o.ClearScenarioKey = TableEncryptionService.Convert(this.ClearScenarioKey, key); _o.ShowSkillCard = TableEncryptionService.Convert(this.ShowSkillCard, key); _o.BossBGInfoKey = TableEncryptionService.Convert(this.BossBGInfoKey, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, RaidStageExcelT _o) { if (_o == null) return default(Offset); @@ -342,7 +342,7 @@ public struct RaidStageExcel : IFlatbufferObject _BGPath, _o.RaidCharacterId, _BossCharacterId, - _o.Difficulty_, + _o.Difficulty, _o.DifficultyOpenCondition, _o.MaxPlayerCount, _o.RaidRoomLifeTime, @@ -350,7 +350,7 @@ public struct RaidStageExcel : IFlatbufferObject _o.GroundId, _GroundDevName, _EnterTimeLine, - _o.TacticEnvironment_, + _o.TacticEnvironment, _o.DefaultClearScore, _o.MaximumScore, _o.PerSecondMinusScore, @@ -368,7 +368,7 @@ public struct RaidStageExcel : IFlatbufferObject _o.ClearScenarioKey, _o.ShowSkillCard, _o.BossBGInfoKey, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -382,7 +382,7 @@ public class RaidStageExcelT public string BGPath { get; set; } public long RaidCharacterId { get; set; } public List BossCharacterId { get; set; } - public SCHALE.Common.FlatData.Difficulty Difficulty_ { get; set; } + public SCHALE.Common.FlatData.Difficulty Difficulty { get; set; } public bool DifficultyOpenCondition { get; set; } public long MaxPlayerCount { get; set; } public int RaidRoomLifeTime { get; set; } @@ -390,7 +390,7 @@ public class RaidStageExcelT public long GroundId { get; set; } public string GroundDevName { get; set; } public string EnterTimeLine { get; set; } - public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment_ { get; set; } + public SCHALE.Common.FlatData.TacticEnvironment TacticEnvironment { get; set; } public long DefaultClearScore { get; set; } public long MaximumScore { get; set; } public long PerSecondMinusScore { get; set; } @@ -408,7 +408,7 @@ public class RaidStageExcelT public uint ClearScenarioKey { get; set; } public bool ShowSkillCard { get; set; } public uint BossBGInfoKey { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public RaidStageExcelT() { this.Id = 0; @@ -419,7 +419,7 @@ public class RaidStageExcelT this.BGPath = null; this.RaidCharacterId = 0; this.BossCharacterId = null; - this.Difficulty_ = SCHALE.Common.FlatData.Difficulty.Normal; + this.Difficulty = SCHALE.Common.FlatData.Difficulty.Normal; this.DifficultyOpenCondition = false; this.MaxPlayerCount = 0; this.RaidRoomLifeTime = 0; @@ -427,7 +427,7 @@ public class RaidStageExcelT this.GroundId = 0; this.GroundDevName = null; this.EnterTimeLine = null; - this.TacticEnvironment_ = SCHALE.Common.FlatData.TacticEnvironment.None; + this.TacticEnvironment = SCHALE.Common.FlatData.TacticEnvironment.None; this.DefaultClearScore = 0; this.MaximumScore = 0; this.PerSecondMinusScore = 0; @@ -445,7 +445,7 @@ public class RaidStageExcelT this.ClearScenarioKey = 0; this.ShowSkillCard = false; this.BossBGInfoKey = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -463,7 +463,7 @@ static public class RaidStageExcelVerify && verifier.VerifyString(tablePos, 14 /*BGPath*/, false) && verifier.VerifyField(tablePos, 16 /*RaidCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 18 /*BossCharacterId*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 20 /*Difficulty_*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) + && verifier.VerifyField(tablePos, 20 /*Difficulty*/, 4 /*SCHALE.Common.FlatData.Difficulty*/, 4, false) && verifier.VerifyField(tablePos, 22 /*DifficultyOpenCondition*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 24 /*MaxPlayerCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 26 /*RaidRoomLifeTime*/, 4 /*int*/, 4, false) @@ -471,7 +471,7 @@ static public class RaidStageExcelVerify && verifier.VerifyField(tablePos, 30 /*GroundId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 32 /*GroundDevName*/, false) && verifier.VerifyString(tablePos, 34 /*EnterTimeLine*/, false) - && verifier.VerifyField(tablePos, 36 /*TacticEnvironment_*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 36 /*TacticEnvironment*/, 4 /*SCHALE.Common.FlatData.TacticEnvironment*/, 4, false) && verifier.VerifyField(tablePos, 38 /*DefaultClearScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 40 /*MaximumScore*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 42 /*PerSecondMinusScore*/, 8 /*long*/, 8, false) @@ -489,7 +489,7 @@ static public class RaidStageExcelVerify && verifier.VerifyField(tablePos, 66 /*ClearScenarioKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 68 /*ShowSkillCard*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 70 /*BossBGInfoKey*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 72 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 72 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/RecipeCraftExcel.cs b/SCHALE.Common/FlatData/RecipeCraftExcel.cs index 178486a..f137960 100644 --- a/SCHALE.Common/FlatData/RecipeCraftExcel.cs +++ b/SCHALE.Common/FlatData/RecipeCraftExcel.cs @@ -28,7 +28,7 @@ public struct RecipeCraftExcel : IFlatbufferObject public ArraySegment? GetDevNameBytes() { return __p.__vector_as_arraysegment(6); } #endif public byte[] GetDevNameArray() { return __p.__vector_as_array(6); } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } + public SCHALE.Common.FlatData.RecipeType RecipeType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } public long RecipeIngredientId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string RecipeIngredientDevName { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -75,7 +75,7 @@ public struct RecipeCraftExcel : IFlatbufferObject public static Offset CreateRecipeCraftExcel(FlatBufferBuilder builder, long Id = 0, StringOffset DevNameOffset = default(StringOffset), - SCHALE.Common.FlatData.RecipeType RecipeType_ = SCHALE.Common.FlatData.RecipeType.None, + SCHALE.Common.FlatData.RecipeType RecipeType = SCHALE.Common.FlatData.RecipeType.None, long RecipeIngredientId = 0, StringOffset RecipeIngredientDevNameOffset = default(StringOffset), VectorOffset ParcelType_Offset = default(VectorOffset), @@ -92,7 +92,7 @@ public struct RecipeCraftExcel : IFlatbufferObject RecipeCraftExcel.AddParcelId(builder, ParcelIdOffset); RecipeCraftExcel.AddParcelType_(builder, ParcelType_Offset); RecipeCraftExcel.AddRecipeIngredientDevName(builder, RecipeIngredientDevNameOffset); - RecipeCraftExcel.AddRecipeType_(builder, RecipeType_); + RecipeCraftExcel.AddRecipeType(builder, RecipeType); RecipeCraftExcel.AddDevName(builder, DevNameOffset); return RecipeCraftExcel.EndRecipeCraftExcel(builder); } @@ -100,7 +100,7 @@ public struct RecipeCraftExcel : IFlatbufferObject public static void StartRecipeCraftExcel(FlatBufferBuilder builder) { builder.StartTable(10); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddDevName(FlatBufferBuilder builder, StringOffset devNameOffset) { builder.AddOffset(1, devNameOffset.Value, 0); } - public static void AddRecipeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType_) { builder.AddInt(2, (int)recipeType_, 0); } + public static void AddRecipeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType) { builder.AddInt(2, (int)recipeType, 0); } public static void AddRecipeIngredientId(FlatBufferBuilder builder, long recipeIngredientId) { builder.AddLong(3, recipeIngredientId, 0); } public static void AddRecipeIngredientDevName(FlatBufferBuilder builder, StringOffset recipeIngredientDevNameOffset) { builder.AddOffset(4, recipeIngredientDevNameOffset.Value, 0); } public static void AddParcelType_(FlatBufferBuilder builder, VectorOffset parcelType_Offset) { builder.AddOffset(5, parcelType_Offset.Value, 0); } @@ -146,7 +146,7 @@ public struct RecipeCraftExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("RecipeCraft"); _o.Id = TableEncryptionService.Convert(this.Id, key); _o.DevName = TableEncryptionService.Convert(this.DevName, key); - _o.RecipeType_ = TableEncryptionService.Convert(this.RecipeType_, key); + _o.RecipeType = TableEncryptionService.Convert(this.RecipeType, key); _o.RecipeIngredientId = TableEncryptionService.Convert(this.RecipeIngredientId, key); _o.RecipeIngredientDevName = TableEncryptionService.Convert(this.RecipeIngredientDevName, key); _o.ParcelType_ = new List(); @@ -194,7 +194,7 @@ public struct RecipeCraftExcel : IFlatbufferObject builder, _o.Id, _DevName, - _o.RecipeType_, + _o.RecipeType, _o.RecipeIngredientId, _RecipeIngredientDevName, _ParcelType_, @@ -209,7 +209,7 @@ public class RecipeCraftExcelT { public long Id { get; set; } public string DevName { get; set; } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get; set; } + public SCHALE.Common.FlatData.RecipeType RecipeType { get; set; } public long RecipeIngredientId { get; set; } public string RecipeIngredientDevName { get; set; } public List ParcelType_ { get; set; } @@ -221,7 +221,7 @@ public class RecipeCraftExcelT public RecipeCraftExcelT() { this.Id = 0; this.DevName = null; - this.RecipeType_ = SCHALE.Common.FlatData.RecipeType.None; + this.RecipeType = SCHALE.Common.FlatData.RecipeType.None; this.RecipeIngredientId = 0; this.RecipeIngredientDevName = null; this.ParcelType_ = null; @@ -240,7 +240,7 @@ static public class RecipeCraftExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 6 /*DevName*/, false) - && verifier.VerifyField(tablePos, 8 /*RecipeType_*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*RecipeType*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RecipeIngredientId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 12 /*RecipeIngredientDevName*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) diff --git a/SCHALE.Common/FlatData/RecipeExcel.cs b/SCHALE.Common/FlatData/RecipeExcel.cs index 6b618a2..6c52299 100644 --- a/SCHALE.Common/FlatData/RecipeExcel.cs +++ b/SCHALE.Common/FlatData/RecipeExcel.cs @@ -21,7 +21,7 @@ public struct RecipeExcel : IFlatbufferObject public RecipeExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } + public SCHALE.Common.FlatData.RecipeType RecipeType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } public long RecipeIngredientId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RecipeSelectionGroupId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.ParcelType ParcelType_(int j) { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } @@ -59,7 +59,7 @@ public struct RecipeExcel : IFlatbufferObject public static Offset CreateRecipeExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.RecipeType RecipeType_ = SCHALE.Common.FlatData.RecipeType.None, + SCHALE.Common.FlatData.RecipeType RecipeType = SCHALE.Common.FlatData.RecipeType.None, long RecipeIngredientId = 0, long RecipeSelectionGroupId = 0, VectorOffset ParcelType_Offset = default(VectorOffset), @@ -74,13 +74,13 @@ public struct RecipeExcel : IFlatbufferObject RecipeExcel.AddResultAmountMin(builder, ResultAmountMinOffset); RecipeExcel.AddParcelId(builder, ParcelIdOffset); RecipeExcel.AddParcelType_(builder, ParcelType_Offset); - RecipeExcel.AddRecipeType_(builder, RecipeType_); + RecipeExcel.AddRecipeType(builder, RecipeType); return RecipeExcel.EndRecipeExcel(builder); } public static void StartRecipeExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddRecipeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType_) { builder.AddInt(1, (int)recipeType_, 0); } + public static void AddRecipeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType) { builder.AddInt(1, (int)recipeType, 0); } public static void AddRecipeIngredientId(FlatBufferBuilder builder, long recipeIngredientId) { builder.AddLong(2, recipeIngredientId, 0); } public static void AddRecipeSelectionGroupId(FlatBufferBuilder builder, long recipeSelectionGroupId) { builder.AddLong(3, recipeSelectionGroupId, 0); } public static void AddParcelType_(FlatBufferBuilder builder, VectorOffset parcelType_Offset) { builder.AddOffset(4, parcelType_Offset.Value, 0); } @@ -119,7 +119,7 @@ public struct RecipeExcel : IFlatbufferObject public void UnPackTo(RecipeExcelT _o) { byte[] key = TableEncryptionService.CreateKey("Recipe"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.RecipeType_ = TableEncryptionService.Convert(this.RecipeType_, key); + _o.RecipeType = TableEncryptionService.Convert(this.RecipeType, key); _o.RecipeIngredientId = TableEncryptionService.Convert(this.RecipeIngredientId, key); _o.RecipeSelectionGroupId = TableEncryptionService.Convert(this.RecipeSelectionGroupId, key); _o.ParcelType_ = new List(); @@ -156,7 +156,7 @@ public struct RecipeExcel : IFlatbufferObject return CreateRecipeExcel( builder, _o.Id, - _o.RecipeType_, + _o.RecipeType, _o.RecipeIngredientId, _o.RecipeSelectionGroupId, _ParcelType_, @@ -169,7 +169,7 @@ public struct RecipeExcel : IFlatbufferObject public class RecipeExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get; set; } + public SCHALE.Common.FlatData.RecipeType RecipeType { get; set; } public long RecipeIngredientId { get; set; } public long RecipeSelectionGroupId { get; set; } public List ParcelType_ { get; set; } @@ -179,7 +179,7 @@ public class RecipeExcelT public RecipeExcelT() { this.Id = 0; - this.RecipeType_ = SCHALE.Common.FlatData.RecipeType.None; + this.RecipeType = SCHALE.Common.FlatData.RecipeType.None; this.RecipeIngredientId = 0; this.RecipeSelectionGroupId = 0; this.ParcelType_ = null; @@ -196,7 +196,7 @@ static public class RecipeExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RecipeType_*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RecipeType*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RecipeIngredientId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*RecipeSelectionGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) diff --git a/SCHALE.Common/FlatData/RecipeIngredientExcel.cs b/SCHALE.Common/FlatData/RecipeIngredientExcel.cs index a4b574d..8d02d30 100644 --- a/SCHALE.Common/FlatData/RecipeIngredientExcel.cs +++ b/SCHALE.Common/FlatData/RecipeIngredientExcel.cs @@ -21,7 +21,7 @@ public struct RecipeIngredientExcel : IFlatbufferObject public RecipeIngredientExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } + public SCHALE.Common.FlatData.RecipeType RecipeType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RecipeType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RecipeType.None; } } public SCHALE.Common.FlatData.ParcelType CostParcelType(int j) { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } public int CostParcelTypeLength { get { int o = __p.__offset(8); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -74,7 +74,7 @@ public struct RecipeIngredientExcel : IFlatbufferObject public static Offset CreateRecipeIngredientExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.RecipeType RecipeType_ = SCHALE.Common.FlatData.RecipeType.None, + SCHALE.Common.FlatData.RecipeType RecipeType = SCHALE.Common.FlatData.RecipeType.None, VectorOffset CostParcelTypeOffset = default(VectorOffset), VectorOffset CostIdOffset = default(VectorOffset), VectorOffset CostAmountOffset = default(VectorOffset), @@ -91,13 +91,13 @@ public struct RecipeIngredientExcel : IFlatbufferObject RecipeIngredientExcel.AddCostAmount(builder, CostAmountOffset); RecipeIngredientExcel.AddCostId(builder, CostIdOffset); RecipeIngredientExcel.AddCostParcelType(builder, CostParcelTypeOffset); - RecipeIngredientExcel.AddRecipeType_(builder, RecipeType_); + RecipeIngredientExcel.AddRecipeType(builder, RecipeType); return RecipeIngredientExcel.EndRecipeIngredientExcel(builder); } public static void StartRecipeIngredientExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddRecipeType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType_) { builder.AddInt(1, (int)recipeType_, 0); } + public static void AddRecipeType(FlatBufferBuilder builder, SCHALE.Common.FlatData.RecipeType recipeType) { builder.AddInt(1, (int)recipeType, 0); } public static void AddCostParcelType(FlatBufferBuilder builder, VectorOffset costParcelTypeOffset) { builder.AddOffset(2, costParcelTypeOffset.Value, 0); } public static VectorOffset CreateCostParcelTypeVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateCostParcelTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -147,7 +147,7 @@ public struct RecipeIngredientExcel : IFlatbufferObject public void UnPackTo(RecipeIngredientExcelT _o) { byte[] key = TableEncryptionService.CreateKey("RecipeIngredient"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.RecipeType_ = TableEncryptionService.Convert(this.RecipeType_, key); + _o.RecipeType = TableEncryptionService.Convert(this.RecipeType, key); _o.CostParcelType = new List(); for (var _j = 0; _j < this.CostParcelTypeLength; ++_j) {_o.CostParcelType.Add(TableEncryptionService.Convert(this.CostParcelType(_j), key));} _o.CostId = new List(); @@ -197,7 +197,7 @@ public struct RecipeIngredientExcel : IFlatbufferObject return CreateRecipeIngredientExcel( builder, _o.Id, - _o.RecipeType_, + _o.RecipeType, _CostParcelType, _CostId, _CostAmount, @@ -211,7 +211,7 @@ public struct RecipeIngredientExcel : IFlatbufferObject public class RecipeIngredientExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.RecipeType RecipeType_ { get; set; } + public SCHALE.Common.FlatData.RecipeType RecipeType { get; set; } public List CostParcelType { get; set; } public List CostId { get; set; } public List CostAmount { get; set; } @@ -222,7 +222,7 @@ public class RecipeIngredientExcelT public RecipeIngredientExcelT() { this.Id = 0; - this.RecipeType_ = SCHALE.Common.FlatData.RecipeType.None; + this.RecipeType = SCHALE.Common.FlatData.RecipeType.None; this.CostParcelType = null; this.CostId = null; this.CostAmount = null; @@ -240,7 +240,7 @@ static public class RecipeIngredientExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RecipeType_*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RecipeType*/, 4 /*SCHALE.Common.FlatData.RecipeType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 8 /*CostParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) && verifier.VerifyVectorOfData(tablePos, 10 /*CostId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 12 /*CostAmount*/, 8 /*long*/, false) diff --git a/SCHALE.Common/FlatData/RecipeSelectionAutoUseExcel.cs b/SCHALE.Common/FlatData/RecipeSelectionAutoUseExcel.cs index 1e14b4e..d0235fa 100644 --- a/SCHALE.Common/FlatData/RecipeSelectionAutoUseExcel.cs +++ b/SCHALE.Common/FlatData/RecipeSelectionAutoUseExcel.cs @@ -21,7 +21,7 @@ public struct RecipeSelectionAutoUseExcel : IFlatbufferObject public RecipeSelectionAutoUseExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long TargetItemId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Priority(int j) { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public int PriorityLength { get { int o = __p.__offset(10); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -34,20 +34,20 @@ public struct RecipeSelectionAutoUseExcel : IFlatbufferObject public static Offset CreateRecipeSelectionAutoUseExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long TargetItemId = 0, VectorOffset PriorityOffset = default(VectorOffset)) { builder.StartTable(4); RecipeSelectionAutoUseExcel.AddTargetItemId(builder, TargetItemId); RecipeSelectionAutoUseExcel.AddId(builder, Id); RecipeSelectionAutoUseExcel.AddPriority(builder, PriorityOffset); - RecipeSelectionAutoUseExcel.AddParcelType_(builder, ParcelType_); + RecipeSelectionAutoUseExcel.AddParcelType(builder, ParcelType); return RecipeSelectionAutoUseExcel.EndRecipeSelectionAutoUseExcel(builder); } public static void StartRecipeSelectionAutoUseExcel(FlatBufferBuilder builder) { builder.StartTable(4); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(1, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(1, (int)parcelType, 0); } public static void AddTargetItemId(FlatBufferBuilder builder, long targetItemId) { builder.AddLong(2, targetItemId, 0); } public static void AddPriority(FlatBufferBuilder builder, VectorOffset priorityOffset) { builder.AddOffset(3, priorityOffset.Value, 0); } public static VectorOffset CreatePriorityVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } @@ -67,7 +67,7 @@ public struct RecipeSelectionAutoUseExcel : IFlatbufferObject public void UnPackTo(RecipeSelectionAutoUseExcelT _o) { byte[] key = TableEncryptionService.CreateKey("RecipeSelectionAutoUse"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.TargetItemId = TableEncryptionService.Convert(this.TargetItemId, key); _o.Priority = new List(); for (var _j = 0; _j < this.PriorityLength; ++_j) {_o.Priority.Add(TableEncryptionService.Convert(this.Priority(_j), key));} @@ -82,7 +82,7 @@ public struct RecipeSelectionAutoUseExcel : IFlatbufferObject return CreateRecipeSelectionAutoUseExcel( builder, _o.Id, - _o.ParcelType_, + _o.ParcelType, _o.TargetItemId, _Priority); } @@ -91,13 +91,13 @@ public struct RecipeSelectionAutoUseExcel : IFlatbufferObject public class RecipeSelectionAutoUseExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long TargetItemId { get; set; } public List Priority { get; set; } public RecipeSelectionAutoUseExcelT() { this.Id = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.TargetItemId = 0; this.Priority = null; } @@ -110,7 +110,7 @@ static public class RecipeSelectionAutoUseExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*TargetItemId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 10 /*Priority*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/RecipeSelectionGroupExcel.cs b/SCHALE.Common/FlatData/RecipeSelectionGroupExcel.cs index 6a354fd..7742857 100644 --- a/SCHALE.Common/FlatData/RecipeSelectionGroupExcel.cs +++ b/SCHALE.Common/FlatData/RecipeSelectionGroupExcel.cs @@ -22,7 +22,7 @@ public struct RecipeSelectionGroupExcel : IFlatbufferObject public long RecipeSelectionGroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RecipeSelectionGroupComponentId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } + public SCHALE.Common.FlatData.ParcelType ParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ParcelId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ResultAmountMin { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ResultAmountMax { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct RecipeSelectionGroupExcel : IFlatbufferObject public static Offset CreateRecipeSelectionGroupExcel(FlatBufferBuilder builder, long RecipeSelectionGroupId = 0, long RecipeSelectionGroupComponentId = 0, - SCHALE.Common.FlatData.ParcelType ParcelType_ = SCHALE.Common.FlatData.ParcelType.None, + SCHALE.Common.FlatData.ParcelType ParcelType = SCHALE.Common.FlatData.ParcelType.None, long ParcelId = 0, long ResultAmountMin = 0, long ResultAmountMax = 0) { @@ -40,14 +40,14 @@ public struct RecipeSelectionGroupExcel : IFlatbufferObject RecipeSelectionGroupExcel.AddParcelId(builder, ParcelId); RecipeSelectionGroupExcel.AddRecipeSelectionGroupComponentId(builder, RecipeSelectionGroupComponentId); RecipeSelectionGroupExcel.AddRecipeSelectionGroupId(builder, RecipeSelectionGroupId); - RecipeSelectionGroupExcel.AddParcelType_(builder, ParcelType_); + RecipeSelectionGroupExcel.AddParcelType(builder, ParcelType); return RecipeSelectionGroupExcel.EndRecipeSelectionGroupExcel(builder); } public static void StartRecipeSelectionGroupExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void AddRecipeSelectionGroupId(FlatBufferBuilder builder, long recipeSelectionGroupId) { builder.AddLong(0, recipeSelectionGroupId, 0); } public static void AddRecipeSelectionGroupComponentId(FlatBufferBuilder builder, long recipeSelectionGroupComponentId) { builder.AddLong(1, recipeSelectionGroupComponentId, 0); } - public static void AddParcelType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType_) { builder.AddInt(2, (int)parcelType_, 0); } + public static void AddParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType parcelType) { builder.AddInt(2, (int)parcelType, 0); } public static void AddParcelId(FlatBufferBuilder builder, long parcelId) { builder.AddLong(3, parcelId, 0); } public static void AddResultAmountMin(FlatBufferBuilder builder, long resultAmountMin) { builder.AddLong(4, resultAmountMin, 0); } public static void AddResultAmountMax(FlatBufferBuilder builder, long resultAmountMax) { builder.AddLong(5, resultAmountMax, 0); } @@ -64,7 +64,7 @@ public struct RecipeSelectionGroupExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("RecipeSelectionGroup"); _o.RecipeSelectionGroupId = TableEncryptionService.Convert(this.RecipeSelectionGroupId, key); _o.RecipeSelectionGroupComponentId = TableEncryptionService.Convert(this.RecipeSelectionGroupComponentId, key); - _o.ParcelType_ = TableEncryptionService.Convert(this.ParcelType_, key); + _o.ParcelType = TableEncryptionService.Convert(this.ParcelType, key); _o.ParcelId = TableEncryptionService.Convert(this.ParcelId, key); _o.ResultAmountMin = TableEncryptionService.Convert(this.ResultAmountMin, key); _o.ResultAmountMax = TableEncryptionService.Convert(this.ResultAmountMax, key); @@ -75,7 +75,7 @@ public struct RecipeSelectionGroupExcel : IFlatbufferObject builder, _o.RecipeSelectionGroupId, _o.RecipeSelectionGroupComponentId, - _o.ParcelType_, + _o.ParcelType, _o.ParcelId, _o.ResultAmountMin, _o.ResultAmountMax); @@ -86,7 +86,7 @@ public class RecipeSelectionGroupExcelT { public long RecipeSelectionGroupId { get; set; } public long RecipeSelectionGroupComponentId { get; set; } - public SCHALE.Common.FlatData.ParcelType ParcelType_ { get; set; } + public SCHALE.Common.FlatData.ParcelType ParcelType { get; set; } public long ParcelId { get; set; } public long ResultAmountMin { get; set; } public long ResultAmountMax { get; set; } @@ -94,7 +94,7 @@ public class RecipeSelectionGroupExcelT public RecipeSelectionGroupExcelT() { this.RecipeSelectionGroupId = 0; this.RecipeSelectionGroupComponentId = 0; - this.ParcelType_ = SCHALE.Common.FlatData.ParcelType.None; + this.ParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ParcelId = 0; this.ResultAmountMin = 0; this.ResultAmountMax = 0; @@ -109,7 +109,7 @@ static public class RecipeSelectionGroupExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*RecipeSelectionGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*RecipeSelectionGroupComponentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*ParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ResultAmountMin*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*ResultAmountMax*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ScenarioBGNameExcel.cs b/SCHALE.Common/FlatData/ScenarioBGNameExcel.cs index 0a5b5a1..c0d8c85 100644 --- a/SCHALE.Common/FlatData/ScenarioBGNameExcel.cs +++ b/SCHALE.Common/FlatData/ScenarioBGNameExcel.cs @@ -21,7 +21,7 @@ public struct ScenarioBGNameExcel : IFlatbufferObject public ScenarioBGNameExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public uint Name { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public string BGFileName { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBGFileNameBytes() { return __p.__vector_as_span(8, 1); } @@ -50,7 +50,7 @@ public struct ScenarioBGNameExcel : IFlatbufferObject public static Offset CreateScenarioBGNameExcel(FlatBufferBuilder builder, uint Name = 0, - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, StringOffset BGFileNameOffset = default(StringOffset), SCHALE.Common.FlatData.ScenarioBGType BGType = SCHALE.Common.FlatData.ScenarioBGType.None, StringOffset AnimationRootOffset = default(StringOffset), @@ -66,14 +66,14 @@ public struct ScenarioBGNameExcel : IFlatbufferObject ScenarioBGNameExcel.AddAnimationRoot(builder, AnimationRootOffset); ScenarioBGNameExcel.AddBGType(builder, BGType); ScenarioBGNameExcel.AddBGFileName(builder, BGFileNameOffset); - ScenarioBGNameExcel.AddProductionStep_(builder, ProductionStep_); + ScenarioBGNameExcel.AddProductionStep(builder, ProductionStep); ScenarioBGNameExcel.AddName(builder, Name); return ScenarioBGNameExcel.EndScenarioBGNameExcel(builder); } public static void StartScenarioBGNameExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void AddName(FlatBufferBuilder builder, uint name) { builder.AddUint(0, name, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(1, (int)productionStep_, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(1, (int)productionStep, 0); } public static void AddBGFileName(FlatBufferBuilder builder, StringOffset bGFileNameOffset) { builder.AddOffset(2, bGFileNameOffset.Value, 0); } public static void AddBGType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ScenarioBGType bGType) { builder.AddInt(3, (int)bGType, 0); } public static void AddAnimationRoot(FlatBufferBuilder builder, StringOffset animationRootOffset) { builder.AddOffset(4, animationRootOffset.Value, 0); } @@ -93,7 +93,7 @@ public struct ScenarioBGNameExcel : IFlatbufferObject public void UnPackTo(ScenarioBGNameExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ScenarioBGName"); _o.Name = TableEncryptionService.Convert(this.Name, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); _o.BGFileName = TableEncryptionService.Convert(this.BGFileName, key); _o.BGType = TableEncryptionService.Convert(this.BGType, key); _o.AnimationRoot = TableEncryptionService.Convert(this.AnimationRoot, key); @@ -110,7 +110,7 @@ public struct ScenarioBGNameExcel : IFlatbufferObject return CreateScenarioBGNameExcel( builder, _o.Name, - _o.ProductionStep_, + _o.ProductionStep, _BGFileName, _o.BGType, _AnimationRoot, @@ -124,7 +124,7 @@ public struct ScenarioBGNameExcel : IFlatbufferObject public class ScenarioBGNameExcelT { public uint Name { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } public string BGFileName { get; set; } public SCHALE.Common.FlatData.ScenarioBGType BGType { get; set; } public string AnimationRoot { get; set; } @@ -135,7 +135,7 @@ public class ScenarioBGNameExcelT public ScenarioBGNameExcelT() { this.Name = 0; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; this.BGFileName = null; this.BGType = SCHALE.Common.FlatData.ScenarioBGType.None; this.AnimationRoot = null; @@ -153,7 +153,7 @@ static public class ScenarioBGNameExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Name*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyString(tablePos, 8 /*BGFileName*/, false) && verifier.VerifyField(tablePos, 10 /*BGType*/, 4 /*SCHALE.Common.FlatData.ScenarioBGType*/, 4, false) && verifier.VerifyString(tablePos, 12 /*AnimationRoot*/, false) diff --git a/SCHALE.Common/FlatData/ScenarioCharacterNameExcel.cs b/SCHALE.Common/FlatData/ScenarioCharacterNameExcel.cs index 04edd8a..2fdd8aa 100644 --- a/SCHALE.Common/FlatData/ScenarioCharacterNameExcel.cs +++ b/SCHALE.Common/FlatData/ScenarioCharacterNameExcel.cs @@ -21,7 +21,7 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject public ScenarioCharacterNameExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public uint CharacterName { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ProductionStep)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ProductionStep.ToDo; } } public string NameKR { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetNameKRBytes() { return __p.__vector_as_span(8, 1); } @@ -68,7 +68,7 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject public static Offset CreateScenarioCharacterNameExcel(FlatBufferBuilder builder, uint CharacterName = 0, - SCHALE.Common.FlatData.ProductionStep ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo, + SCHALE.Common.FlatData.ProductionStep ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo, StringOffset NameKROffset = default(StringOffset), StringOffset NicknameKROffset = default(StringOffset), StringOffset NameJPOffset = default(StringOffset), @@ -84,14 +84,14 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject ScenarioCharacterNameExcel.AddNameJP(builder, NameJPOffset); ScenarioCharacterNameExcel.AddNicknameKR(builder, NicknameKROffset); ScenarioCharacterNameExcel.AddNameKR(builder, NameKROffset); - ScenarioCharacterNameExcel.AddProductionStep_(builder, ProductionStep_); + ScenarioCharacterNameExcel.AddProductionStep(builder, ProductionStep); ScenarioCharacterNameExcel.AddCharacterName(builder, CharacterName); return ScenarioCharacterNameExcel.EndScenarioCharacterNameExcel(builder); } public static void StartScenarioCharacterNameExcel(FlatBufferBuilder builder) { builder.StartTable(9); } public static void AddCharacterName(FlatBufferBuilder builder, uint characterName) { builder.AddUint(0, characterName, 0); } - public static void AddProductionStep_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep_) { builder.AddInt(1, (int)productionStep_, 0); } + public static void AddProductionStep(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductionStep productionStep) { builder.AddInt(1, (int)productionStep, 0); } public static void AddNameKR(FlatBufferBuilder builder, StringOffset nameKROffset) { builder.AddOffset(2, nameKROffset.Value, 0); } public static void AddNicknameKR(FlatBufferBuilder builder, StringOffset nicknameKROffset) { builder.AddOffset(3, nicknameKROffset.Value, 0); } public static void AddNameJP(FlatBufferBuilder builder, StringOffset nameJPOffset) { builder.AddOffset(4, nameJPOffset.Value, 0); } @@ -111,7 +111,7 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject public void UnPackTo(ScenarioCharacterNameExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ScenarioCharacterName"); _o.CharacterName = TableEncryptionService.Convert(this.CharacterName, key); - _o.ProductionStep_ = TableEncryptionService.Convert(this.ProductionStep_, key); + _o.ProductionStep = TableEncryptionService.Convert(this.ProductionStep, key); _o.NameKR = TableEncryptionService.Convert(this.NameKR, key); _o.NicknameKR = TableEncryptionService.Convert(this.NicknameKR, key); _o.NameJP = TableEncryptionService.Convert(this.NameJP, key); @@ -131,7 +131,7 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject return CreateScenarioCharacterNameExcel( builder, _o.CharacterName, - _o.ProductionStep_, + _o.ProductionStep, _NameKR, _NicknameKR, _NameJP, @@ -145,7 +145,7 @@ public struct ScenarioCharacterNameExcel : IFlatbufferObject public class ScenarioCharacterNameExcelT { public uint CharacterName { get; set; } - public SCHALE.Common.FlatData.ProductionStep ProductionStep_ { get; set; } + public SCHALE.Common.FlatData.ProductionStep ProductionStep { get; set; } public string NameKR { get; set; } public string NicknameKR { get; set; } public string NameJP { get; set; } @@ -156,7 +156,7 @@ public class ScenarioCharacterNameExcelT public ScenarioCharacterNameExcelT() { this.CharacterName = 0; - this.ProductionStep_ = SCHALE.Common.FlatData.ProductionStep.ToDo; + this.ProductionStep = SCHALE.Common.FlatData.ProductionStep.ToDo; this.NameKR = null; this.NicknameKR = null; this.NameJP = null; @@ -174,7 +174,7 @@ static public class ScenarioCharacterNameExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*CharacterName*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*ProductionStep_*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ProductionStep*/, 4 /*SCHALE.Common.FlatData.ProductionStep*/, 4, false) && verifier.VerifyString(tablePos, 8 /*NameKR*/, false) && verifier.VerifyString(tablePos, 10 /*NicknameKR*/, false) && verifier.VerifyString(tablePos, 12 /*NameJP*/, false) diff --git a/SCHALE.Common/FlatData/ScenarioContentCollectionExcel.cs b/SCHALE.Common/FlatData/ScenarioContentCollectionExcel.cs index 41025d0..00d8cc5 100644 --- a/SCHALE.Common/FlatData/ScenarioContentCollectionExcel.cs +++ b/SCHALE.Common/FlatData/ScenarioContentCollectionExcel.cs @@ -31,7 +31,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject public ArraySegment? GetUnlockConditionParameterBytes() { return __p.__vector_as_arraysegment(10); } #endif public long[] GetUnlockConditionParameterArray() { return __p.__vector_as_array(10); } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } public long UnlockConditionCount { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public bool IsObject { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsHorizon { get { int o = __p.__offset(18); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } @@ -70,7 +70,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject long GroupId = 0, SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None, VectorOffset UnlockConditionParameterOffset = default(VectorOffset), - SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And, + SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And, long UnlockConditionCount = 0, bool IsObject = false, bool IsHorizon = false, @@ -88,7 +88,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject ScenarioContentCollectionExcel.AddFullResource(builder, FullResourceOffset); ScenarioContentCollectionExcel.AddThumbResource(builder, ThumbResourceOffset); ScenarioContentCollectionExcel.AddEmblemResource(builder, EmblemResourceOffset); - ScenarioContentCollectionExcel.AddMultipleConditionCheckType_(builder, MultipleConditionCheckType_); + ScenarioContentCollectionExcel.AddMultipleConditionCheckType(builder, MultipleConditionCheckType); ScenarioContentCollectionExcel.AddUnlockConditionParameter(builder, UnlockConditionParameterOffset); ScenarioContentCollectionExcel.AddUnlockConditionType(builder, UnlockConditionType); ScenarioContentCollectionExcel.AddIsHorizon(builder, IsHorizon); @@ -106,7 +106,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateUnlockConditionParameterVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartUnlockConditionParameterVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddMultipleConditionCheckType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType_) { builder.AddInt(4, (int)multipleConditionCheckType_, 0); } + public static void AddMultipleConditionCheckType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType) { builder.AddInt(4, (int)multipleConditionCheckType, 0); } public static void AddUnlockConditionCount(FlatBufferBuilder builder, long unlockConditionCount) { builder.AddLong(5, unlockConditionCount, 0); } public static void AddIsObject(FlatBufferBuilder builder, bool isObject) { builder.AddBool(6, isObject, false); } public static void AddIsHorizon(FlatBufferBuilder builder, bool isHorizon) { builder.AddBool(7, isHorizon, false); } @@ -131,7 +131,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject _o.UnlockConditionType = TableEncryptionService.Convert(this.UnlockConditionType, key); _o.UnlockConditionParameter = new List(); for (var _j = 0; _j < this.UnlockConditionParameterLength; ++_j) {_o.UnlockConditionParameter.Add(TableEncryptionService.Convert(this.UnlockConditionParameter(_j), key));} - _o.MultipleConditionCheckType_ = TableEncryptionService.Convert(this.MultipleConditionCheckType_, key); + _o.MultipleConditionCheckType = TableEncryptionService.Convert(this.MultipleConditionCheckType, key); _o.UnlockConditionCount = TableEncryptionService.Convert(this.UnlockConditionCount, key); _o.IsObject = TableEncryptionService.Convert(this.IsObject, key); _o.IsHorizon = TableEncryptionService.Convert(this.IsHorizon, key); @@ -158,7 +158,7 @@ public struct ScenarioContentCollectionExcel : IFlatbufferObject _o.GroupId, _o.UnlockConditionType, _UnlockConditionParameter, - _o.MultipleConditionCheckType_, + _o.MultipleConditionCheckType, _o.UnlockConditionCount, _o.IsObject, _o.IsHorizon, @@ -176,7 +176,7 @@ public class ScenarioContentCollectionExcelT public long GroupId { get; set; } public SCHALE.Common.FlatData.CollectionUnlockType UnlockConditionType { get; set; } public List UnlockConditionParameter { get; set; } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get; set; } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get; set; } public long UnlockConditionCount { get; set; } public bool IsObject { get; set; } public bool IsHorizon { get; set; } @@ -191,7 +191,7 @@ public class ScenarioContentCollectionExcelT this.GroupId = 0; this.UnlockConditionType = SCHALE.Common.FlatData.CollectionUnlockType.None; this.UnlockConditionParameter = null; - this.MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And; + this.MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And; this.UnlockConditionCount = 0; this.IsObject = false; this.IsHorizon = false; @@ -213,7 +213,7 @@ static public class ScenarioContentCollectionExcelVerify && verifier.VerifyField(tablePos, 6 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*UnlockConditionType*/, 4 /*SCHALE.Common.FlatData.CollectionUnlockType*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 10 /*UnlockConditionParameter*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 12 /*MultipleConditionCheckType_*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*MultipleConditionCheckType*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*UnlockConditionCount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 16 /*IsObject*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 18 /*IsHorizon*/, 1 /*bool*/, 1, false) diff --git a/SCHALE.Common/FlatData/ScenarioModeExcel.cs b/SCHALE.Common/FlatData/ScenarioModeExcel.cs index 985d11f..7a62225 100644 --- a/SCHALE.Common/FlatData/ScenarioModeExcel.cs +++ b/SCHALE.Common/FlatData/ScenarioModeExcel.cs @@ -72,7 +72,7 @@ public struct ScenarioModeExcel : IFlatbufferObject public SCHALE.Common.FlatData.Club NeedClub { get { int o = __p.__offset(48); return o != 0 ? (SCHALE.Common.FlatData.Club)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.Club.None; } } public int NeedClubStudentCount { get { int o = __p.__offset(50); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long EventContentId { get { int o = __p.__offset(52); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get { int o = __p.__offset(54); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } + public SCHALE.Common.FlatData.EventContentType EventContentType { get { int o = __p.__offset(54); return o != 0 ? (SCHALE.Common.FlatData.EventContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EventContentType.Stage; } } public long EventContentCondition { get { int o = __p.__offset(56); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long EventContentConditionGroup { get { int o = __p.__offset(58); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.StageDifficulty MapDifficulty { get { int o = __p.__offset(60); return o != 0 ? (SCHALE.Common.FlatData.StageDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageDifficulty.None; } } @@ -87,7 +87,7 @@ public struct ScenarioModeExcel : IFlatbufferObject public byte[] GetEventIconParcelPathArray() { return __p.__vector_as_array(66); } public uint EventBannerTitle { get { int o = __p.__offset(68); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public bool Lof { get { int o = __p.__offset(70); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public long FixedEchelonId { get { int o = __p.__offset(74); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string CompleteReportEventName { get { int o = __p.__offset(76); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -96,7 +96,7 @@ public struct ScenarioModeExcel : IFlatbufferObject public ArraySegment? GetCompleteReportEventNameBytes() { return __p.__vector_as_arraysegment(76); } #endif public byte[] GetCompleteReportEventNameArray() { return __p.__vector_as_array(76); } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(78); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(78); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public long CollectionGroupId { get { int o = __p.__offset(80); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateScenarioModeExcel(FlatBufferBuilder builder, @@ -125,7 +125,7 @@ public struct ScenarioModeExcel : IFlatbufferObject SCHALE.Common.FlatData.Club NeedClub = SCHALE.Common.FlatData.Club.None, int NeedClubStudentCount = 0, long EventContentId = 0, - SCHALE.Common.FlatData.EventContentType EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage, + SCHALE.Common.FlatData.EventContentType EventContentType = SCHALE.Common.FlatData.EventContentType.Stage, long EventContentCondition = 0, long EventContentConditionGroup = 0, SCHALE.Common.FlatData.StageDifficulty MapDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, @@ -134,10 +134,10 @@ public struct ScenarioModeExcel : IFlatbufferObject StringOffset EventIconParcelPathOffset = default(StringOffset), uint EventBannerTitle = 0, bool Lof = false, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, long FixedEchelonId = 0, StringOffset CompleteReportEventNameOffset = default(StringOffset), - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base, + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base, long CollectionGroupId = 0) { builder.StartTable(39); ScenarioModeExcel.AddCollectionGroupId(builder, CollectionGroupId); @@ -156,15 +156,15 @@ public struct ScenarioModeExcel : IFlatbufferObject ScenarioModeExcel.AddChapterId(builder, ChapterId); ScenarioModeExcel.AddVolumeId(builder, VolumeId); ScenarioModeExcel.AddModeId(builder, ModeId); - ScenarioModeExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + ScenarioModeExcel.AddEchelonExtensionType(builder, EchelonExtensionType); ScenarioModeExcel.AddCompleteReportEventName(builder, CompleteReportEventNameOffset); - ScenarioModeExcel.AddStageTopography_(builder, StageTopography_); + ScenarioModeExcel.AddStageTopography(builder, StageTopography); ScenarioModeExcel.AddEventBannerTitle(builder, EventBannerTitle); ScenarioModeExcel.AddEventIconParcelPath(builder, EventIconParcelPathOffset); ScenarioModeExcel.AddRecommendLevel(builder, RecommendLevel); ScenarioModeExcel.AddStepIndex(builder, StepIndex); ScenarioModeExcel.AddMapDifficulty(builder, MapDifficulty); - ScenarioModeExcel.AddEventContentType_(builder, EventContentType_); + ScenarioModeExcel.AddEventContentType(builder, EventContentType); ScenarioModeExcel.AddNeedClubStudentCount(builder, NeedClubStudentCount); ScenarioModeExcel.AddNeedClub(builder, NeedClub); ScenarioModeExcel.AddClearedModeId(builder, ClearedModeIdOffset); @@ -223,7 +223,7 @@ public struct ScenarioModeExcel : IFlatbufferObject public static void AddNeedClub(FlatBufferBuilder builder, SCHALE.Common.FlatData.Club needClub) { builder.AddInt(22, (int)needClub, 0); } public static void AddNeedClubStudentCount(FlatBufferBuilder builder, int needClubStudentCount) { builder.AddInt(23, needClubStudentCount, 0); } public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(24, eventContentId, 0); } - public static void AddEventContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType_) { builder.AddInt(25, (int)eventContentType_, 0); } + public static void AddEventContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EventContentType eventContentType) { builder.AddInt(25, (int)eventContentType, 0); } public static void AddEventContentCondition(FlatBufferBuilder builder, long eventContentCondition) { builder.AddLong(26, eventContentCondition, 0); } public static void AddEventContentConditionGroup(FlatBufferBuilder builder, long eventContentConditionGroup) { builder.AddLong(27, eventContentConditionGroup, 0); } public static void AddMapDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageDifficulty mapDifficulty) { builder.AddInt(28, (int)mapDifficulty, 0); } @@ -232,10 +232,10 @@ public struct ScenarioModeExcel : IFlatbufferObject public static void AddEventIconParcelPath(FlatBufferBuilder builder, StringOffset eventIconParcelPathOffset) { builder.AddOffset(31, eventIconParcelPathOffset.Value, 0); } public static void AddEventBannerTitle(FlatBufferBuilder builder, uint eventBannerTitle) { builder.AddUint(32, eventBannerTitle, 0); } public static void AddLof(FlatBufferBuilder builder, bool lof) { builder.AddBool(33, lof, false); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(34, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(34, (int)stageTopography, 0); } public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(35, fixedEchelonId, 0); } public static void AddCompleteReportEventName(FlatBufferBuilder builder, StringOffset completeReportEventNameOffset) { builder.AddOffset(36, completeReportEventNameOffset.Value, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(37, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(37, (int)echelonExtensionType, 0); } public static void AddCollectionGroupId(FlatBufferBuilder builder, long collectionGroupId) { builder.AddLong(38, collectionGroupId, 0); } public static Offset EndScenarioModeExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -276,7 +276,7 @@ public struct ScenarioModeExcel : IFlatbufferObject _o.NeedClub = TableEncryptionService.Convert(this.NeedClub, key); _o.NeedClubStudentCount = TableEncryptionService.Convert(this.NeedClubStudentCount, key); _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); - _o.EventContentType_ = TableEncryptionService.Convert(this.EventContentType_, key); + _o.EventContentType = TableEncryptionService.Convert(this.EventContentType, key); _o.EventContentCondition = TableEncryptionService.Convert(this.EventContentCondition, key); _o.EventContentConditionGroup = TableEncryptionService.Convert(this.EventContentConditionGroup, key); _o.MapDifficulty = TableEncryptionService.Convert(this.MapDifficulty, key); @@ -285,10 +285,10 @@ public struct ScenarioModeExcel : IFlatbufferObject _o.EventIconParcelPath = TableEncryptionService.Convert(this.EventIconParcelPath, key); _o.EventBannerTitle = TableEncryptionService.Convert(this.EventBannerTitle, key); _o.Lof = TableEncryptionService.Convert(this.Lof, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); _o.CompleteReportEventName = TableEncryptionService.Convert(this.CompleteReportEventName, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); _o.CollectionGroupId = TableEncryptionService.Convert(this.CollectionGroupId, key); } public static Offset Pack(FlatBufferBuilder builder, ScenarioModeExcelT _o) { @@ -338,7 +338,7 @@ public struct ScenarioModeExcel : IFlatbufferObject _o.NeedClub, _o.NeedClubStudentCount, _o.EventContentId, - _o.EventContentType_, + _o.EventContentType, _o.EventContentCondition, _o.EventContentConditionGroup, _o.MapDifficulty, @@ -347,10 +347,10 @@ public struct ScenarioModeExcel : IFlatbufferObject _EventIconParcelPath, _o.EventBannerTitle, _o.Lof, - _o.StageTopography_, + _o.StageTopography, _o.FixedEchelonId, _CompleteReportEventName, - _o.EchelonExtensionType_, + _o.EchelonExtensionType, _o.CollectionGroupId); } } @@ -382,7 +382,7 @@ public class ScenarioModeExcelT public SCHALE.Common.FlatData.Club NeedClub { get; set; } public int NeedClubStudentCount { get; set; } public long EventContentId { get; set; } - public SCHALE.Common.FlatData.EventContentType EventContentType_ { get; set; } + public SCHALE.Common.FlatData.EventContentType EventContentType { get; set; } public long EventContentCondition { get; set; } public long EventContentConditionGroup { get; set; } public SCHALE.Common.FlatData.StageDifficulty MapDifficulty { get; set; } @@ -391,10 +391,10 @@ public class ScenarioModeExcelT public string EventIconParcelPath { get; set; } public uint EventBannerTitle { get; set; } public bool Lof { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public long FixedEchelonId { get; set; } public string CompleteReportEventName { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public long CollectionGroupId { get; set; } public ScenarioModeExcelT() { @@ -423,7 +423,7 @@ public class ScenarioModeExcelT this.NeedClub = SCHALE.Common.FlatData.Club.None; this.NeedClubStudentCount = 0; this.EventContentId = 0; - this.EventContentType_ = SCHALE.Common.FlatData.EventContentType.Stage; + this.EventContentType = SCHALE.Common.FlatData.EventContentType.Stage; this.EventContentCondition = 0; this.EventContentConditionGroup = 0; this.MapDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; @@ -432,10 +432,10 @@ public class ScenarioModeExcelT this.EventIconParcelPath = null; this.EventBannerTitle = 0; this.Lof = false; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.FixedEchelonId = 0; this.CompleteReportEventName = null; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; this.CollectionGroupId = 0; } } @@ -471,7 +471,7 @@ static public class ScenarioModeExcelVerify && verifier.VerifyField(tablePos, 48 /*NeedClub*/, 4 /*SCHALE.Common.FlatData.Club*/, 4, false) && verifier.VerifyField(tablePos, 50 /*NeedClubStudentCount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 52 /*EventContentId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 54 /*EventContentType_*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) + && verifier.VerifyField(tablePos, 54 /*EventContentType*/, 4 /*SCHALE.Common.FlatData.EventContentType*/, 4, false) && verifier.VerifyField(tablePos, 56 /*EventContentCondition*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 58 /*EventContentConditionGroup*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 60 /*MapDifficulty*/, 4 /*SCHALE.Common.FlatData.StageDifficulty*/, 4, false) @@ -480,10 +480,10 @@ static public class ScenarioModeExcelVerify && verifier.VerifyString(tablePos, 66 /*EventIconParcelPath*/, false) && verifier.VerifyField(tablePos, 68 /*EventBannerTitle*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 70 /*Lof*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 72 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 72 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 74 /*FixedEchelonId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 76 /*CompleteReportEventName*/, false) - && verifier.VerifyField(tablePos, 78 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 78 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyField(tablePos, 80 /*CollectionGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/ScenarioModeExcelTable.cs b/SCHALE.Common/FlatData/ScenarioModeExcelTable.cs deleted file mode 100644 index 9bf1cdf..0000000 --- a/SCHALE.Common/FlatData/ScenarioModeExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct ScenarioModeExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static ScenarioModeExcelTable GetRootAsScenarioModeExcelTable(ByteBuffer _bb) { return GetRootAsScenarioModeExcelTable(_bb, new ScenarioModeExcelTable()); } - public static ScenarioModeExcelTable GetRootAsScenarioModeExcelTable(ByteBuffer _bb, ScenarioModeExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public ScenarioModeExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.ScenarioModeExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ScenarioModeExcel?)(new SCHALE.Common.FlatData.ScenarioModeExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateScenarioModeExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - ScenarioModeExcelTable.AddDataList(builder, DataListOffset); - return ScenarioModeExcelTable.EndScenarioModeExcelTable(builder); - } - - public static void StartScenarioModeExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndScenarioModeExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public ScenarioModeExcelTableT UnPack() { - var _o = new ScenarioModeExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(ScenarioModeExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("ScenarioModeExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, ScenarioModeExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.ScenarioModeExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateScenarioModeExcelTable( - builder, - _DataList); - } -} - -public class ScenarioModeExcelTableT -{ - public List DataList { get; set; } - - public ScenarioModeExcelTableT() { - this.DataList = null; - } -} - - -static public class ScenarioModeExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.ScenarioModeExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ScenarioModeRewardExcel.cs b/SCHALE.Common/FlatData/ScenarioModeRewardExcel.cs index 42ae17f..56410b1 100644 --- a/SCHALE.Common/FlatData/ScenarioModeRewardExcel.cs +++ b/SCHALE.Common/FlatData/ScenarioModeRewardExcel.cs @@ -21,7 +21,7 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject public ScenarioModeRewardExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long ScenarioModeRewardId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public int RewardProb { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardParcelId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject public static Offset CreateScenarioModeRewardExcel(FlatBufferBuilder builder, long ScenarioModeRewardId = 0, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, int RewardProb = 0, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardParcelId = 0, @@ -42,14 +42,14 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject ScenarioModeRewardExcel.AddRewardParcelAmount(builder, RewardParcelAmount); ScenarioModeRewardExcel.AddRewardParcelType(builder, RewardParcelType); ScenarioModeRewardExcel.AddRewardProb(builder, RewardProb); - ScenarioModeRewardExcel.AddRewardTag_(builder, RewardTag_); + ScenarioModeRewardExcel.AddRewardTag(builder, RewardTag); ScenarioModeRewardExcel.AddIsDisplayed(builder, IsDisplayed); return ScenarioModeRewardExcel.EndScenarioModeRewardExcel(builder); } public static void StartScenarioModeRewardExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddScenarioModeRewardId(FlatBufferBuilder builder, long scenarioModeRewardId) { builder.AddLong(0, scenarioModeRewardId, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(1, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(1, (int)rewardTag, 0); } public static void AddRewardProb(FlatBufferBuilder builder, int rewardProb) { builder.AddInt(2, rewardProb, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardParcelId(FlatBufferBuilder builder, long rewardParcelId) { builder.AddLong(4, rewardParcelId, 0); } @@ -67,7 +67,7 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject public void UnPackTo(ScenarioModeRewardExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ScenarioModeReward"); _o.ScenarioModeRewardId = TableEncryptionService.Convert(this.ScenarioModeRewardId, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardProb = TableEncryptionService.Convert(this.RewardProb, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelId = TableEncryptionService.Convert(this.RewardParcelId, key); @@ -79,7 +79,7 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject return CreateScenarioModeRewardExcel( builder, _o.ScenarioModeRewardId, - _o.RewardTag_, + _o.RewardTag, _o.RewardProb, _o.RewardParcelType, _o.RewardParcelId, @@ -91,7 +91,7 @@ public struct ScenarioModeRewardExcel : IFlatbufferObject public class ScenarioModeRewardExcelT { public long ScenarioModeRewardId { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public int RewardProb { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardParcelId { get; set; } @@ -100,7 +100,7 @@ public class ScenarioModeRewardExcelT public ScenarioModeRewardExcelT() { this.ScenarioModeRewardId = 0; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardProb = 0; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelId = 0; @@ -116,7 +116,7 @@ static public class ScenarioModeRewardExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*ScenarioModeRewardId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RewardProb*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/SchoolDungeonRewardExcel.cs b/SCHALE.Common/FlatData/SchoolDungeonRewardExcel.cs index 4fc5c6c..38498ca 100644 --- a/SCHALE.Common/FlatData/SchoolDungeonRewardExcel.cs +++ b/SCHALE.Common/FlatData/SchoolDungeonRewardExcel.cs @@ -22,7 +22,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject public long GroupId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.SchoolDungeonType DungeonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; } } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } + public SCHALE.Common.FlatData.RewardTag RewardTag { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.RewardTag)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.RewardTag.Default; } } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get { int o = __p.__offset(10); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long RewardParcelId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long RewardParcelAmount { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -32,7 +32,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject public static Offset CreateSchoolDungeonRewardExcel(FlatBufferBuilder builder, long GroupId = 0, SCHALE.Common.FlatData.SchoolDungeonType DungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA, - SCHALE.Common.FlatData.RewardTag RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default, + SCHALE.Common.FlatData.RewardTag RewardTag = SCHALE.Common.FlatData.RewardTag.Default, SCHALE.Common.FlatData.ParcelType RewardParcelType = SCHALE.Common.FlatData.ParcelType.None, long RewardParcelId = 0, long RewardParcelAmount = 0, @@ -44,7 +44,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject SchoolDungeonRewardExcel.AddRewardParcelId(builder, RewardParcelId); SchoolDungeonRewardExcel.AddGroupId(builder, GroupId); SchoolDungeonRewardExcel.AddRewardParcelType(builder, RewardParcelType); - SchoolDungeonRewardExcel.AddRewardTag_(builder, RewardTag_); + SchoolDungeonRewardExcel.AddRewardTag(builder, RewardTag); SchoolDungeonRewardExcel.AddDungeonType(builder, DungeonType); SchoolDungeonRewardExcel.AddIsDisplayed(builder, IsDisplayed); return SchoolDungeonRewardExcel.EndSchoolDungeonRewardExcel(builder); @@ -53,7 +53,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject public static void StartSchoolDungeonRewardExcel(FlatBufferBuilder builder) { builder.StartTable(8); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } public static void AddDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.SchoolDungeonType dungeonType) { builder.AddInt(1, (int)dungeonType, 0); } - public static void AddRewardTag_(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag_) { builder.AddInt(2, (int)rewardTag_, 0); } + public static void AddRewardTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.RewardTag rewardTag) { builder.AddInt(2, (int)rewardTag, 0); } public static void AddRewardParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType rewardParcelType) { builder.AddInt(3, (int)rewardParcelType, 0); } public static void AddRewardParcelId(FlatBufferBuilder builder, long rewardParcelId) { builder.AddLong(4, rewardParcelId, 0); } public static void AddRewardParcelAmount(FlatBufferBuilder builder, long rewardParcelAmount) { builder.AddLong(5, rewardParcelAmount, 0); } @@ -72,7 +72,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject byte[] key = TableEncryptionService.CreateKey("SchoolDungeonReward"); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.DungeonType = TableEncryptionService.Convert(this.DungeonType, key); - _o.RewardTag_ = TableEncryptionService.Convert(this.RewardTag_, key); + _o.RewardTag = TableEncryptionService.Convert(this.RewardTag, key); _o.RewardParcelType = TableEncryptionService.Convert(this.RewardParcelType, key); _o.RewardParcelId = TableEncryptionService.Convert(this.RewardParcelId, key); _o.RewardParcelAmount = TableEncryptionService.Convert(this.RewardParcelAmount, key); @@ -85,7 +85,7 @@ public struct SchoolDungeonRewardExcel : IFlatbufferObject builder, _o.GroupId, _o.DungeonType, - _o.RewardTag_, + _o.RewardTag, _o.RewardParcelType, _o.RewardParcelId, _o.RewardParcelAmount, @@ -98,7 +98,7 @@ public class SchoolDungeonRewardExcelT { public long GroupId { get; set; } public SCHALE.Common.FlatData.SchoolDungeonType DungeonType { get; set; } - public SCHALE.Common.FlatData.RewardTag RewardTag_ { get; set; } + public SCHALE.Common.FlatData.RewardTag RewardTag { get; set; } public SCHALE.Common.FlatData.ParcelType RewardParcelType { get; set; } public long RewardParcelId { get; set; } public long RewardParcelAmount { get; set; } @@ -108,7 +108,7 @@ public class SchoolDungeonRewardExcelT public SchoolDungeonRewardExcelT() { this.GroupId = 0; this.DungeonType = SCHALE.Common.FlatData.SchoolDungeonType.SchoolA; - this.RewardTag_ = SCHALE.Common.FlatData.RewardTag.Default; + this.RewardTag = SCHALE.Common.FlatData.RewardTag.Default; this.RewardParcelType = SCHALE.Common.FlatData.ParcelType.None; this.RewardParcelId = 0; this.RewardParcelAmount = 0; @@ -125,7 +125,7 @@ static public class SchoolDungeonRewardExcelVerify return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*DungeonType*/, 4 /*SCHALE.Common.FlatData.SchoolDungeonType*/, 4, false) - && verifier.VerifyField(tablePos, 8 /*RewardTag_*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*RewardTag*/, 4 /*SCHALE.Common.FlatData.RewardTag*/, 4, false) && verifier.VerifyField(tablePos, 10 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 12 /*RewardParcelId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 14 /*RewardParcelAmount*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/SchoolDungeonRewardExcelTable.cs b/SCHALE.Common/FlatData/SchoolDungeonRewardExcelTable.cs deleted file mode 100644 index 036342e..0000000 --- a/SCHALE.Common/FlatData/SchoolDungeonRewardExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct SchoolDungeonRewardExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static SchoolDungeonRewardExcelTable GetRootAsSchoolDungeonRewardExcelTable(ByteBuffer _bb) { return GetRootAsSchoolDungeonRewardExcelTable(_bb, new SchoolDungeonRewardExcelTable()); } - public static SchoolDungeonRewardExcelTable GetRootAsSchoolDungeonRewardExcelTable(ByteBuffer _bb, SchoolDungeonRewardExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public SchoolDungeonRewardExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.SchoolDungeonRewardExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonRewardExcel?)(new SCHALE.Common.FlatData.SchoolDungeonRewardExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateSchoolDungeonRewardExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - SchoolDungeonRewardExcelTable.AddDataList(builder, DataListOffset); - return SchoolDungeonRewardExcelTable.EndSchoolDungeonRewardExcelTable(builder); - } - - public static void StartSchoolDungeonRewardExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndSchoolDungeonRewardExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public SchoolDungeonRewardExcelTableT UnPack() { - var _o = new SchoolDungeonRewardExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(SchoolDungeonRewardExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("SchoolDungeonRewardExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, SchoolDungeonRewardExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.SchoolDungeonRewardExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateSchoolDungeonRewardExcelTable( - builder, - _DataList); - } -} - -public class SchoolDungeonRewardExcelTableT -{ - public List DataList { get; set; } - - public SchoolDungeonRewardExcelTableT() { - this.DataList = null; - } -} - - -static public class SchoolDungeonRewardExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.SchoolDungeonRewardExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/SchoolDungeonStageExcel.cs b/SCHALE.Common/FlatData/SchoolDungeonStageExcel.cs index d38ceec..132c4a1 100644 --- a/SCHALE.Common/FlatData/SchoolDungeonStageExcel.cs +++ b/SCHALE.Common/FlatData/SchoolDungeonStageExcel.cs @@ -74,11 +74,11 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject public ArraySegment? GetStarGoalAmountBytes() { return __p.__vector_as_arraysegment(26); } #endif public int[] GetStarGoalAmountArray() { return __p.__vector_as_array(26); } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public long RecommandLevel { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StageRewardId { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PlayTimeLimitInSeconds { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(36); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateSchoolDungeonStageExcel(FlatBufferBuilder builder, long StageId = 0, @@ -93,11 +93,11 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject int GroundId = 0, VectorOffset StarGoalOffset = default(VectorOffset), VectorOffset StarGoalAmountOffset = default(VectorOffset), - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, long RecommandLevel = 0, long StageRewardId = 0, long PlayTimeLimitInSeconds = 0, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(17); SchoolDungeonStageExcel.AddPlayTimeLimitInSeconds(builder, PlayTimeLimitInSeconds); SchoolDungeonStageExcel.AddStageRewardId(builder, StageRewardId); @@ -105,8 +105,8 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject SchoolDungeonStageExcel.AddPrevStageId(builder, PrevStageId); SchoolDungeonStageExcel.AddBattleDuration(builder, BattleDuration); SchoolDungeonStageExcel.AddStageId(builder, StageId); - SchoolDungeonStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); - SchoolDungeonStageExcel.AddStageTopography_(builder, StageTopography_); + SchoolDungeonStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); + SchoolDungeonStageExcel.AddStageTopography(builder, StageTopography); SchoolDungeonStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); SchoolDungeonStageExcel.AddStarGoal(builder, StarGoalOffset); SchoolDungeonStageExcel.AddGroundId(builder, GroundId); @@ -162,11 +162,11 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject public static VectorOffset CreateStarGoalAmountVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateStarGoalAmountVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(12, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(12, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, long recommandLevel) { builder.AddLong(13, recommandLevel, 0); } public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(14, stageRewardId, 0); } public static void AddPlayTimeLimitInSeconds(FlatBufferBuilder builder, long playTimeLimitInSeconds) { builder.AddLong(15, playTimeLimitInSeconds, 0); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(16, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(16, (int)echelonExtensionType, 0); } public static Offset EndSchoolDungeonStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -196,11 +196,11 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject for (var _j = 0; _j < this.StarGoalLength; ++_j) {_o.StarGoal.Add(TableEncryptionService.Convert(this.StarGoal(_j), key));} _o.StarGoalAmount = new List(); for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));} - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key); _o.PlayTimeLimitInSeconds = TableEncryptionService.Convert(this.PlayTimeLimitInSeconds, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, SchoolDungeonStageExcelT _o) { if (_o == null) return default(Offset); @@ -248,11 +248,11 @@ public struct SchoolDungeonStageExcel : IFlatbufferObject _o.GroundId, _StarGoal, _StarGoalAmount, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.StageRewardId, _o.PlayTimeLimitInSeconds, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -270,11 +270,11 @@ public class SchoolDungeonStageExcelT public int GroundId { get; set; } public List StarGoal { get; set; } public List StarGoalAmount { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public long RecommandLevel { get; set; } public long StageRewardId { get; set; } public long PlayTimeLimitInSeconds { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public SchoolDungeonStageExcelT() { this.StageId = 0; @@ -289,11 +289,11 @@ public class SchoolDungeonStageExcelT this.GroundId = 0; this.StarGoal = null; this.StarGoalAmount = null; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.StageRewardId = 0; this.PlayTimeLimitInSeconds = 0; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -315,11 +315,11 @@ static public class SchoolDungeonStageExcelVerify && verifier.VerifyField(tablePos, 22 /*GroundId*/, 4 /*int*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 24 /*StarGoal*/, 4 /*SCHALE.Common.FlatData.StarGoalType*/, false) && verifier.VerifyVectorOfData(tablePos, 26 /*StarGoalAmount*/, 4 /*int*/, false) - && verifier.VerifyField(tablePos, 28 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 28 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 30 /*RecommandLevel*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*StageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 34 /*PlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 36 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 36 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/SchoolDungeonStageExcelTable.cs b/SCHALE.Common/FlatData/SchoolDungeonStageExcelTable.cs deleted file mode 100644 index a36666f..0000000 --- a/SCHALE.Common/FlatData/SchoolDungeonStageExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct SchoolDungeonStageExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static SchoolDungeonStageExcelTable GetRootAsSchoolDungeonStageExcelTable(ByteBuffer _bb) { return GetRootAsSchoolDungeonStageExcelTable(_bb, new SchoolDungeonStageExcelTable()); } - public static SchoolDungeonStageExcelTable GetRootAsSchoolDungeonStageExcelTable(ByteBuffer _bb, SchoolDungeonStageExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public SchoolDungeonStageExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.SchoolDungeonStageExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.SchoolDungeonStageExcel?)(new SCHALE.Common.FlatData.SchoolDungeonStageExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateSchoolDungeonStageExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - SchoolDungeonStageExcelTable.AddDataList(builder, DataListOffset); - return SchoolDungeonStageExcelTable.EndSchoolDungeonStageExcelTable(builder); - } - - public static void StartSchoolDungeonStageExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndSchoolDungeonStageExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public SchoolDungeonStageExcelTableT UnPack() { - var _o = new SchoolDungeonStageExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(SchoolDungeonStageExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("SchoolDungeonStageExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, SchoolDungeonStageExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.SchoolDungeonStageExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateSchoolDungeonStageExcelTable( - builder, - _DataList); - } -} - -public class SchoolDungeonStageExcelTableT -{ - public List DataList { get; set; } - - public SchoolDungeonStageExcelTableT() { - this.DataList = null; - } -} - - -static public class SchoolDungeonStageExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.SchoolDungeonStageExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/ServiceActionExcel.cs b/SCHALE.Common/FlatData/ServiceActionExcel.cs index 084bd2a..d6a4735 100644 --- a/SCHALE.Common/FlatData/ServiceActionExcel.cs +++ b/SCHALE.Common/FlatData/ServiceActionExcel.cs @@ -20,23 +20,23 @@ public struct ServiceActionExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public ServiceActionExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.ServiceActionType ServiceActionType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ServiceActionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ServiceActionType.ClanCreate; } } + public SCHALE.Common.FlatData.ServiceActionType ServiceActionType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.ServiceActionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ServiceActionType.ClanCreate; } } public bool IsLegacy { get { int o = __p.__offset(6); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long GoodsId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateServiceActionExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.ServiceActionType ServiceActionType_ = SCHALE.Common.FlatData.ServiceActionType.ClanCreate, + SCHALE.Common.FlatData.ServiceActionType ServiceActionType = SCHALE.Common.FlatData.ServiceActionType.ClanCreate, bool IsLegacy = false, long GoodsId = 0) { builder.StartTable(3); ServiceActionExcel.AddGoodsId(builder, GoodsId); - ServiceActionExcel.AddServiceActionType_(builder, ServiceActionType_); + ServiceActionExcel.AddServiceActionType(builder, ServiceActionType); ServiceActionExcel.AddIsLegacy(builder, IsLegacy); return ServiceActionExcel.EndServiceActionExcel(builder); } public static void StartServiceActionExcel(FlatBufferBuilder builder) { builder.StartTable(3); } - public static void AddServiceActionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ServiceActionType serviceActionType_) { builder.AddInt(0, (int)serviceActionType_, 0); } + public static void AddServiceActionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ServiceActionType serviceActionType) { builder.AddInt(0, (int)serviceActionType, 0); } public static void AddIsLegacy(FlatBufferBuilder builder, bool isLegacy) { builder.AddBool(1, isLegacy, false); } public static void AddGoodsId(FlatBufferBuilder builder, long goodsId) { builder.AddLong(2, goodsId, 0); } public static Offset EndServiceActionExcel(FlatBufferBuilder builder) { @@ -50,7 +50,7 @@ public struct ServiceActionExcel : IFlatbufferObject } public void UnPackTo(ServiceActionExcelT _o) { byte[] key = TableEncryptionService.CreateKey("ServiceAction"); - _o.ServiceActionType_ = TableEncryptionService.Convert(this.ServiceActionType_, key); + _o.ServiceActionType = TableEncryptionService.Convert(this.ServiceActionType, key); _o.IsLegacy = TableEncryptionService.Convert(this.IsLegacy, key); _o.GoodsId = TableEncryptionService.Convert(this.GoodsId, key); } @@ -58,7 +58,7 @@ public struct ServiceActionExcel : IFlatbufferObject if (_o == null) return default(Offset); return CreateServiceActionExcel( builder, - _o.ServiceActionType_, + _o.ServiceActionType, _o.IsLegacy, _o.GoodsId); } @@ -66,12 +66,12 @@ public struct ServiceActionExcel : IFlatbufferObject public class ServiceActionExcelT { - public SCHALE.Common.FlatData.ServiceActionType ServiceActionType_ { get; set; } + public SCHALE.Common.FlatData.ServiceActionType ServiceActionType { get; set; } public bool IsLegacy { get; set; } public long GoodsId { get; set; } public ServiceActionExcelT() { - this.ServiceActionType_ = SCHALE.Common.FlatData.ServiceActionType.ClanCreate; + this.ServiceActionType = SCHALE.Common.FlatData.ServiceActionType.ClanCreate; this.IsLegacy = false; this.GoodsId = 0; } @@ -83,7 +83,7 @@ static public class ServiceActionExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*ServiceActionType_*/, 4 /*SCHALE.Common.FlatData.ServiceActionType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*ServiceActionType*/, 4 /*SCHALE.Common.FlatData.ServiceActionType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*IsLegacy*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 8 /*GoodsId*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/ShopExcel.cs b/SCHALE.Common/FlatData/ShopExcel.cs index 8fe58bc..b99abc7 100644 --- a/SCHALE.Common/FlatData/ShopExcel.cs +++ b/SCHALE.Common/FlatData/ShopExcel.cs @@ -49,7 +49,7 @@ public struct ShopExcel : IFlatbufferObject public byte[] GetSalePeriodToArray() { return __p.__vector_as_array(18); } public long PurchaseCooltimeMin { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCountLimit { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } public string BuyReportEventName { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetBuyReportEventNameBytes() { return __p.__vector_as_span(26, 1); } @@ -72,7 +72,7 @@ public struct ShopExcel : IFlatbufferObject StringOffset SalePeriodToOffset = default(StringOffset), long PurchaseCooltimeMin = 0, long PurchaseCountLimit = 0, - SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None, + SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None, StringOffset BuyReportEventNameOffset = default(StringOffset), bool RestrictBuyWhenInventoryFull = false, SCHALE.Common.FlatData.ProductDisplayTag DisplayTag = SCHALE.Common.FlatData.ProductDisplayTag.None, @@ -85,7 +85,7 @@ public struct ShopExcel : IFlatbufferObject ShopExcel.AddShopUpdateGroupId(builder, ShopUpdateGroupId); ShopExcel.AddDisplayTag(builder, DisplayTag); ShopExcel.AddBuyReportEventName(builder, BuyReportEventNameOffset); - ShopExcel.AddPurchaseCountResetType_(builder, PurchaseCountResetType_); + ShopExcel.AddPurchaseCountResetType(builder, PurchaseCountResetType); ShopExcel.AddSalePeriodTo(builder, SalePeriodToOffset); ShopExcel.AddSalePeriodFrom(builder, SalePeriodFromOffset); ShopExcel.AddGoodsId(builder, GoodsIdOffset); @@ -112,7 +112,7 @@ public struct ShopExcel : IFlatbufferObject public static void AddSalePeriodTo(FlatBufferBuilder builder, StringOffset salePeriodToOffset) { builder.AddOffset(7, salePeriodToOffset.Value, 0); } public static void AddPurchaseCooltimeMin(FlatBufferBuilder builder, long purchaseCooltimeMin) { builder.AddLong(8, purchaseCooltimeMin, 0); } public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(9, purchaseCountLimit, 0); } - public static void AddPurchaseCountResetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType_) { builder.AddInt(10, (int)purchaseCountResetType_, 0); } + public static void AddPurchaseCountResetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType) { builder.AddInt(10, (int)purchaseCountResetType, 0); } public static void AddBuyReportEventName(FlatBufferBuilder builder, StringOffset buyReportEventNameOffset) { builder.AddOffset(11, buyReportEventNameOffset.Value, 0); } public static void AddRestrictBuyWhenInventoryFull(FlatBufferBuilder builder, bool restrictBuyWhenInventoryFull) { builder.AddBool(12, restrictBuyWhenInventoryFull, false); } public static void AddDisplayTag(FlatBufferBuilder builder, SCHALE.Common.FlatData.ProductDisplayTag displayTag) { builder.AddInt(13, (int)displayTag, 0); } @@ -139,7 +139,7 @@ public struct ShopExcel : IFlatbufferObject _o.SalePeriodTo = TableEncryptionService.Convert(this.SalePeriodTo, key); _o.PurchaseCooltimeMin = TableEncryptionService.Convert(this.PurchaseCooltimeMin, key); _o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key); - _o.PurchaseCountResetType_ = TableEncryptionService.Convert(this.PurchaseCountResetType_, key); + _o.PurchaseCountResetType = TableEncryptionService.Convert(this.PurchaseCountResetType, key); _o.BuyReportEventName = TableEncryptionService.Convert(this.BuyReportEventName, key); _o.RestrictBuyWhenInventoryFull = TableEncryptionService.Convert(this.RestrictBuyWhenInventoryFull, key); _o.DisplayTag = TableEncryptionService.Convert(this.DisplayTag, key); @@ -167,7 +167,7 @@ public struct ShopExcel : IFlatbufferObject _SalePeriodTo, _o.PurchaseCooltimeMin, _o.PurchaseCountLimit, - _o.PurchaseCountResetType_, + _o.PurchaseCountResetType, _BuyReportEventName, _o.RestrictBuyWhenInventoryFull, _o.DisplayTag, @@ -187,7 +187,7 @@ public class ShopExcelT public string SalePeriodTo { get; set; } public long PurchaseCooltimeMin { get; set; } public long PurchaseCountLimit { get; set; } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get; set; } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get; set; } public string BuyReportEventName { get; set; } public bool RestrictBuyWhenInventoryFull { get; set; } public SCHALE.Common.FlatData.ProductDisplayTag DisplayTag { get; set; } @@ -204,7 +204,7 @@ public class ShopExcelT this.SalePeriodTo = null; this.PurchaseCooltimeMin = 0; this.PurchaseCountLimit = 0; - this.PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None; + this.PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None; this.BuyReportEventName = null; this.RestrictBuyWhenInventoryFull = false; this.DisplayTag = SCHALE.Common.FlatData.ProductDisplayTag.None; @@ -228,7 +228,7 @@ static public class ShopExcelVerify && verifier.VerifyString(tablePos, 18 /*SalePeriodTo*/, false) && verifier.VerifyField(tablePos, 20 /*PurchaseCooltimeMin*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 22 /*PurchaseCountLimit*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 24 /*PurchaseCountResetType_*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*PurchaseCountResetType*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) && verifier.VerifyString(tablePos, 26 /*BuyReportEventName*/, false) && verifier.VerifyField(tablePos, 28 /*RestrictBuyWhenInventoryFull*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 30 /*DisplayTag*/, 4 /*SCHALE.Common.FlatData.ProductDisplayTag*/, 4, false) diff --git a/SCHALE.Common/FlatData/ShopFilterClassifiedExcel.cs b/SCHALE.Common/FlatData/ShopFilterClassifiedExcel.cs index 1f9cc53..6274853 100644 --- a/SCHALE.Common/FlatData/ShopFilterClassifiedExcel.cs +++ b/SCHALE.Common/FlatData/ShopFilterClassifiedExcel.cs @@ -24,7 +24,7 @@ public struct ShopFilterClassifiedExcel : IFlatbufferObject public SCHALE.Common.FlatData.ShopCategoryType CategoryType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ShopCategoryType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopCategoryType.General; } } public SCHALE.Common.FlatData.ParcelType ConsumeParcelType { get { int o = __p.__offset(8); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ParcelType.None; } } public long ConsumeParcelId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ShopFilterType ShopFilterType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ShopFilterType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopFilterType.GachaTicket; } } + public SCHALE.Common.FlatData.ShopFilterType ShopFilterType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.ShopFilterType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ShopFilterType.GachaTicket; } } public long GoodsId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateShopFilterClassifiedExcel(FlatBufferBuilder builder, @@ -32,13 +32,13 @@ public struct ShopFilterClassifiedExcel : IFlatbufferObject SCHALE.Common.FlatData.ShopCategoryType CategoryType = SCHALE.Common.FlatData.ShopCategoryType.General, SCHALE.Common.FlatData.ParcelType ConsumeParcelType = SCHALE.Common.FlatData.ParcelType.None, long ConsumeParcelId = 0, - SCHALE.Common.FlatData.ShopFilterType ShopFilterType_ = SCHALE.Common.FlatData.ShopFilterType.GachaTicket, + SCHALE.Common.FlatData.ShopFilterType ShopFilterType = SCHALE.Common.FlatData.ShopFilterType.GachaTicket, long GoodsId = 0) { builder.StartTable(6); ShopFilterClassifiedExcel.AddGoodsId(builder, GoodsId); ShopFilterClassifiedExcel.AddConsumeParcelId(builder, ConsumeParcelId); ShopFilterClassifiedExcel.AddId(builder, Id); - ShopFilterClassifiedExcel.AddShopFilterType_(builder, ShopFilterType_); + ShopFilterClassifiedExcel.AddShopFilterType(builder, ShopFilterType); ShopFilterClassifiedExcel.AddConsumeParcelType(builder, ConsumeParcelType); ShopFilterClassifiedExcel.AddCategoryType(builder, CategoryType); return ShopFilterClassifiedExcel.EndShopFilterClassifiedExcel(builder); @@ -49,7 +49,7 @@ public struct ShopFilterClassifiedExcel : IFlatbufferObject public static void AddCategoryType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopCategoryType categoryType) { builder.AddInt(1, (int)categoryType, 0); } public static void AddConsumeParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType consumeParcelType) { builder.AddInt(2, (int)consumeParcelType, 0); } public static void AddConsumeParcelId(FlatBufferBuilder builder, long consumeParcelId) { builder.AddLong(3, consumeParcelId, 0); } - public static void AddShopFilterType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopFilterType shopFilterType_) { builder.AddInt(4, (int)shopFilterType_, 0); } + public static void AddShopFilterType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ShopFilterType shopFilterType) { builder.AddInt(4, (int)shopFilterType, 0); } public static void AddGoodsId(FlatBufferBuilder builder, long goodsId) { builder.AddLong(5, goodsId, 0); } public static Offset EndShopFilterClassifiedExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); @@ -66,7 +66,7 @@ public struct ShopFilterClassifiedExcel : IFlatbufferObject _o.CategoryType = TableEncryptionService.Convert(this.CategoryType, key); _o.ConsumeParcelType = TableEncryptionService.Convert(this.ConsumeParcelType, key); _o.ConsumeParcelId = TableEncryptionService.Convert(this.ConsumeParcelId, key); - _o.ShopFilterType_ = TableEncryptionService.Convert(this.ShopFilterType_, key); + _o.ShopFilterType = TableEncryptionService.Convert(this.ShopFilterType, key); _o.GoodsId = TableEncryptionService.Convert(this.GoodsId, key); } public static Offset Pack(FlatBufferBuilder builder, ShopFilterClassifiedExcelT _o) { @@ -77,7 +77,7 @@ public struct ShopFilterClassifiedExcel : IFlatbufferObject _o.CategoryType, _o.ConsumeParcelType, _o.ConsumeParcelId, - _o.ShopFilterType_, + _o.ShopFilterType, _o.GoodsId); } } @@ -88,7 +88,7 @@ public class ShopFilterClassifiedExcelT public SCHALE.Common.FlatData.ShopCategoryType CategoryType { get; set; } public SCHALE.Common.FlatData.ParcelType ConsumeParcelType { get; set; } public long ConsumeParcelId { get; set; } - public SCHALE.Common.FlatData.ShopFilterType ShopFilterType_ { get; set; } + public SCHALE.Common.FlatData.ShopFilterType ShopFilterType { get; set; } public long GoodsId { get; set; } public ShopFilterClassifiedExcelT() { @@ -96,7 +96,7 @@ public class ShopFilterClassifiedExcelT this.CategoryType = SCHALE.Common.FlatData.ShopCategoryType.General; this.ConsumeParcelType = SCHALE.Common.FlatData.ParcelType.None; this.ConsumeParcelId = 0; - this.ShopFilterType_ = SCHALE.Common.FlatData.ShopFilterType.GachaTicket; + this.ShopFilterType = SCHALE.Common.FlatData.ShopFilterType.GachaTicket; this.GoodsId = 0; } } @@ -111,7 +111,7 @@ static public class ShopFilterClassifiedExcelVerify && verifier.VerifyField(tablePos, 6 /*CategoryType*/, 4 /*SCHALE.Common.FlatData.ShopCategoryType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ConsumeParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) && verifier.VerifyField(tablePos, 10 /*ConsumeParcelId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*ShopFilterType_*/, 4 /*SCHALE.Common.FlatData.ShopFilterType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*ShopFilterType*/, 4 /*SCHALE.Common.FlatData.ShopFilterType*/, 4, false) && verifier.VerifyField(tablePos, 14 /*GoodsId*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/ShopRecruitExcel.cs b/SCHALE.Common/FlatData/ShopRecruitExcel.cs index 9261e52..5e60e39 100644 --- a/SCHALE.Common/FlatData/ShopRecruitExcel.cs +++ b/SCHALE.Common/FlatData/ShopRecruitExcel.cs @@ -76,7 +76,7 @@ public struct ShopRecruitExcel : IFlatbufferObject public long RecruitSellectionShopId { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCooltimeMin { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PurchaseCountLimit { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.PurchaseCountResetType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.PurchaseCountResetType.None; } } public bool IsNewbie { get { int o = __p.__offset(42); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public bool IsSelectRecruit { get { int o = __p.__offset(44); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long DirectPayInvisibleTokenId { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -102,7 +102,7 @@ public struct ShopRecruitExcel : IFlatbufferObject long RecruitSellectionShopId = 0, long PurchaseCooltimeMin = 0, long PurchaseCountLimit = 0, - SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None, + SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None, bool IsNewbie = false, bool IsSelectRecruit = false, long DirectPayInvisibleTokenId = 0, @@ -121,7 +121,7 @@ public struct ShopRecruitExcel : IFlatbufferObject ShopRecruitExcel.AddTenGachaGoodsId(builder, TenGachaGoodsId); ShopRecruitExcel.AddOneGachaGoodsId(builder, OneGachaGoodsId); ShopRecruitExcel.AddId(builder, Id); - ShopRecruitExcel.AddPurchaseCountResetType_(builder, PurchaseCountResetType_); + ShopRecruitExcel.AddPurchaseCountResetType(builder, PurchaseCountResetType); ShopRecruitExcel.AddSalePeriodTo(builder, SalePeriodToOffset); ShopRecruitExcel.AddSalePeriodFrom(builder, SalePeriodFromOffset); ShopRecruitExcel.AddInfoCharacterId(builder, InfoCharacterIdOffset); @@ -165,7 +165,7 @@ public struct ShopRecruitExcel : IFlatbufferObject public static void AddRecruitSellectionShopId(FlatBufferBuilder builder, long recruitSellectionShopId) { builder.AddLong(15, recruitSellectionShopId, 0); } public static void AddPurchaseCooltimeMin(FlatBufferBuilder builder, long purchaseCooltimeMin) { builder.AddLong(16, purchaseCooltimeMin, 0); } public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(17, purchaseCountLimit, 0); } - public static void AddPurchaseCountResetType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType_) { builder.AddInt(18, (int)purchaseCountResetType_, 0); } + public static void AddPurchaseCountResetType(FlatBufferBuilder builder, SCHALE.Common.FlatData.PurchaseCountResetType purchaseCountResetType) { builder.AddInt(18, (int)purchaseCountResetType, 0); } public static void AddIsNewbie(FlatBufferBuilder builder, bool isNewbie) { builder.AddBool(19, isNewbie, false); } public static void AddIsSelectRecruit(FlatBufferBuilder builder, bool isSelectRecruit) { builder.AddBool(20, isSelectRecruit, false); } public static void AddDirectPayInvisibleTokenId(FlatBufferBuilder builder, long directPayInvisibleTokenId) { builder.AddLong(21, directPayInvisibleTokenId, 0); } @@ -202,7 +202,7 @@ public struct ShopRecruitExcel : IFlatbufferObject _o.RecruitSellectionShopId = TableEncryptionService.Convert(this.RecruitSellectionShopId, key); _o.PurchaseCooltimeMin = TableEncryptionService.Convert(this.PurchaseCooltimeMin, key); _o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key); - _o.PurchaseCountResetType_ = TableEncryptionService.Convert(this.PurchaseCountResetType_, key); + _o.PurchaseCountResetType = TableEncryptionService.Convert(this.PurchaseCountResetType, key); _o.IsNewbie = TableEncryptionService.Convert(this.IsNewbie, key); _o.IsSelectRecruit = TableEncryptionService.Convert(this.IsSelectRecruit, key); _o.DirectPayInvisibleTokenId = TableEncryptionService.Convert(this.DirectPayInvisibleTokenId, key); @@ -245,7 +245,7 @@ public struct ShopRecruitExcel : IFlatbufferObject _o.RecruitSellectionShopId, _o.PurchaseCooltimeMin, _o.PurchaseCountLimit, - _o.PurchaseCountResetType_, + _o.PurchaseCountResetType, _o.IsNewbie, _o.IsSelectRecruit, _o.DirectPayInvisibleTokenId, @@ -274,7 +274,7 @@ public class ShopRecruitExcelT public long RecruitSellectionShopId { get; set; } public long PurchaseCooltimeMin { get; set; } public long PurchaseCountLimit { get; set; } - public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType_ { get; set; } + public SCHALE.Common.FlatData.PurchaseCountResetType PurchaseCountResetType { get; set; } public bool IsNewbie { get; set; } public bool IsSelectRecruit { get; set; } public long DirectPayInvisibleTokenId { get; set; } @@ -300,7 +300,7 @@ public class ShopRecruitExcelT this.RecruitSellectionShopId = 0; this.PurchaseCooltimeMin = 0; this.PurchaseCountLimit = 0; - this.PurchaseCountResetType_ = SCHALE.Common.FlatData.PurchaseCountResetType.None; + this.PurchaseCountResetType = SCHALE.Common.FlatData.PurchaseCountResetType.None; this.IsNewbie = false; this.IsSelectRecruit = false; this.DirectPayInvisibleTokenId = 0; @@ -333,7 +333,7 @@ static public class ShopRecruitExcelVerify && verifier.VerifyField(tablePos, 34 /*RecruitSellectionShopId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 36 /*PurchaseCooltimeMin*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 38 /*PurchaseCountLimit*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 40 /*PurchaseCountResetType_*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) + && verifier.VerifyField(tablePos, 40 /*PurchaseCountResetType*/, 4 /*SCHALE.Common.FlatData.PurchaseCountResetType*/, 4, false) && verifier.VerifyField(tablePos, 42 /*IsNewbie*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 44 /*IsSelectRecruit*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 46 /*DirectPayInvisibleTokenId*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/SkillExcel.cs b/SCHALE.Common/FlatData/SkillExcel.cs index ffd1f5e..0a0218c 100644 --- a/SCHALE.Common/FlatData/SkillExcel.cs +++ b/SCHALE.Common/FlatData/SkillExcel.cs @@ -50,7 +50,7 @@ public struct SkillExcel : IFlatbufferObject public int ExtraEnemySkillCost { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int NPCSkillCost { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int ExtraNPCSkillCost { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.BulletType BulletType_ { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } + public SCHALE.Common.FlatData.BulletType BulletType { get { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.BulletType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.BulletType.Normal; } } public int StartCoolTime { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int CoolTime { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int EnemyStartCoolTime { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } @@ -99,7 +99,7 @@ public struct SkillExcel : IFlatbufferObject int ExtraEnemySkillCost = 0, int NPCSkillCost = 0, int ExtraNPCSkillCost = 0, - SCHALE.Common.FlatData.BulletType BulletType_ = SCHALE.Common.FlatData.BulletType.Normal, + SCHALE.Common.FlatData.BulletType BulletType = SCHALE.Common.FlatData.BulletType.Normal, int StartCoolTime = 0, int CoolTime = 0, int EnemyStartCoolTime = 0, @@ -132,7 +132,7 @@ public struct SkillExcel : IFlatbufferObject SkillExcel.AddEnemyStartCoolTime(builder, EnemyStartCoolTime); SkillExcel.AddCoolTime(builder, CoolTime); SkillExcel.AddStartCoolTime(builder, StartCoolTime); - SkillExcel.AddBulletType_(builder, BulletType_); + SkillExcel.AddBulletType(builder, BulletType); SkillExcel.AddExtraNPCSkillCost(builder, ExtraNPCSkillCost); SkillExcel.AddNPCSkillCost(builder, NPCSkillCost); SkillExcel.AddExtraEnemySkillCost(builder, ExtraEnemySkillCost); @@ -162,7 +162,7 @@ public struct SkillExcel : IFlatbufferObject public static void AddExtraEnemySkillCost(FlatBufferBuilder builder, int extraEnemySkillCost) { builder.AddInt(9, extraEnemySkillCost, 0); } public static void AddNPCSkillCost(FlatBufferBuilder builder, int nPCSkillCost) { builder.AddInt(10, nPCSkillCost, 0); } public static void AddExtraNPCSkillCost(FlatBufferBuilder builder, int extraNPCSkillCost) { builder.AddInt(11, extraNPCSkillCost, 0); } - public static void AddBulletType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType_) { builder.AddInt(12, (int)bulletType_, 0); } + public static void AddBulletType(FlatBufferBuilder builder, SCHALE.Common.FlatData.BulletType bulletType) { builder.AddInt(12, (int)bulletType, 0); } public static void AddStartCoolTime(FlatBufferBuilder builder, int startCoolTime) { builder.AddInt(13, startCoolTime, 0); } public static void AddCoolTime(FlatBufferBuilder builder, int coolTime) { builder.AddInt(14, coolTime, 0); } public static void AddEnemyStartCoolTime(FlatBufferBuilder builder, int enemyStartCoolTime) { builder.AddInt(15, enemyStartCoolTime, 0); } @@ -202,7 +202,7 @@ public struct SkillExcel : IFlatbufferObject _o.ExtraEnemySkillCost = TableEncryptionService.Convert(this.ExtraEnemySkillCost, key); _o.NPCSkillCost = TableEncryptionService.Convert(this.NPCSkillCost, key); _o.ExtraNPCSkillCost = TableEncryptionService.Convert(this.ExtraNPCSkillCost, key); - _o.BulletType_ = TableEncryptionService.Convert(this.BulletType_, key); + _o.BulletType = TableEncryptionService.Convert(this.BulletType, key); _o.StartCoolTime = TableEncryptionService.Convert(this.StartCoolTime, key); _o.CoolTime = TableEncryptionService.Convert(this.CoolTime, key); _o.EnemyStartCoolTime = TableEncryptionService.Convert(this.EnemyStartCoolTime, key); @@ -242,7 +242,7 @@ public struct SkillExcel : IFlatbufferObject _o.ExtraEnemySkillCost, _o.NPCSkillCost, _o.ExtraNPCSkillCost, - _o.BulletType_, + _o.BulletType, _o.StartCoolTime, _o.CoolTime, _o.EnemyStartCoolTime, @@ -276,7 +276,7 @@ public class SkillExcelT public int ExtraEnemySkillCost { get; set; } public int NPCSkillCost { get; set; } public int ExtraNPCSkillCost { get; set; } - public SCHALE.Common.FlatData.BulletType BulletType_ { get; set; } + public SCHALE.Common.FlatData.BulletType BulletType { get; set; } public int StartCoolTime { get; set; } public int CoolTime { get; set; } public int EnemyStartCoolTime { get; set; } @@ -307,7 +307,7 @@ public class SkillExcelT this.ExtraEnemySkillCost = 0; this.NPCSkillCost = 0; this.ExtraNPCSkillCost = 0; - this.BulletType_ = SCHALE.Common.FlatData.BulletType.Normal; + this.BulletType = SCHALE.Common.FlatData.BulletType.Normal; this.StartCoolTime = 0; this.CoolTime = 0; this.EnemyStartCoolTime = 0; @@ -345,7 +345,7 @@ static public class SkillExcelVerify && verifier.VerifyField(tablePos, 22 /*ExtraEnemySkillCost*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 24 /*NPCSkillCost*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 26 /*ExtraNPCSkillCost*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 28 /*BulletType_*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) + && verifier.VerifyField(tablePos, 28 /*BulletType*/, 4 /*SCHALE.Common.FlatData.BulletType*/, 4, false) && verifier.VerifyField(tablePos, 30 /*StartCoolTime*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 32 /*CoolTime*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 34 /*EnemyStartCoolTime*/, 4 /*int*/, 4, false) diff --git a/SCHALE.Common/FlatData/StatLevelInterpolationExcelTable.cs b/SCHALE.Common/FlatData/StatLevelInterpolationExcelTable.cs deleted file mode 100644 index 788cf1c..0000000 --- a/SCHALE.Common/FlatData/StatLevelInterpolationExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct StatLevelInterpolationExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static StatLevelInterpolationExcelTable GetRootAsStatLevelInterpolationExcelTable(ByteBuffer _bb) { return GetRootAsStatLevelInterpolationExcelTable(_bb, new StatLevelInterpolationExcelTable()); } - public static StatLevelInterpolationExcelTable GetRootAsStatLevelInterpolationExcelTable(ByteBuffer _bb, StatLevelInterpolationExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public StatLevelInterpolationExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.StatLevelInterpolationExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StatLevelInterpolationExcel?)(new SCHALE.Common.FlatData.StatLevelInterpolationExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateStatLevelInterpolationExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - StatLevelInterpolationExcelTable.AddDataList(builder, DataListOffset); - return StatLevelInterpolationExcelTable.EndStatLevelInterpolationExcelTable(builder); - } - - public static void StartStatLevelInterpolationExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndStatLevelInterpolationExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public StatLevelInterpolationExcelTableT UnPack() { - var _o = new StatLevelInterpolationExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(StatLevelInterpolationExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("StatLevelInterpolationExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, StatLevelInterpolationExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.StatLevelInterpolationExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateStatLevelInterpolationExcelTable( - builder, - _DataList); - } -} - -public class StatLevelInterpolationExcelTableT -{ - public List DataList { get; set; } - - public StatLevelInterpolationExcelTableT() { - this.DataList = null; - } -} - - -static public class StatLevelInterpolationExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.StatLevelInterpolationExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/StickerGroupExcelTable.cs b/SCHALE.Common/FlatData/StickerGroupExcelTable.cs deleted file mode 100644 index c7137b7..0000000 --- a/SCHALE.Common/FlatData/StickerGroupExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct StickerGroupExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static StickerGroupExcelTable GetRootAsStickerGroupExcelTable(ByteBuffer _bb) { return GetRootAsStickerGroupExcelTable(_bb, new StickerGroupExcelTable()); } - public static StickerGroupExcelTable GetRootAsStickerGroupExcelTable(ByteBuffer _bb, StickerGroupExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public StickerGroupExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.StickerGroupExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StickerGroupExcel?)(new SCHALE.Common.FlatData.StickerGroupExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateStickerGroupExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - StickerGroupExcelTable.AddDataList(builder, DataListOffset); - return StickerGroupExcelTable.EndStickerGroupExcelTable(builder); - } - - public static void StartStickerGroupExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndStickerGroupExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public StickerGroupExcelTableT UnPack() { - var _o = new StickerGroupExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(StickerGroupExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("StickerGroupExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, StickerGroupExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.StickerGroupExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateStickerGroupExcelTable( - builder, - _DataList); - } -} - -public class StickerGroupExcelTableT -{ - public List DataList { get; set; } - - public StickerGroupExcelTableT() { - this.DataList = null; - } -} - - -static public class StickerGroupExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.StickerGroupExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/StickerPageContentExcel.cs b/SCHALE.Common/FlatData/StickerPageContentExcel.cs index 77a7abb..d869732 100644 --- a/SCHALE.Common/FlatData/StickerPageContentExcel.cs +++ b/SCHALE.Common/FlatData/StickerPageContentExcel.cs @@ -24,9 +24,9 @@ public struct StickerPageContentExcel : IFlatbufferObject public long StickerGroupId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StickerPageId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StickerSlot { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType_ { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StickerGetConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StickerGetConditionType.None; } } - public SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType_ { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.StickerCheckPassType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StickerCheckPassType.None; } } - public SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.GetStickerConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.GetStickerConditionType.None; } } + public SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType { get { int o = __p.__offset(12); return o != 0 ? (SCHALE.Common.FlatData.StickerGetConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StickerGetConditionType.None; } } + public SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType { get { int o = __p.__offset(14); return o != 0 ? (SCHALE.Common.FlatData.StickerCheckPassType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StickerCheckPassType.None; } } + public SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.GetStickerConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.GetStickerConditionType.None; } } public long StickerGetConditionCount { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StickerGetConditionParameter(int j) { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } public int StickerGetConditionParameterLength { get { int o = __p.__offset(20); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -72,9 +72,9 @@ public struct StickerPageContentExcel : IFlatbufferObject long StickerGroupId = 0, long StickerPageId = 0, long StickerSlot = 0, - SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType_ = SCHALE.Common.FlatData.StickerGetConditionType.None, - SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType_ = SCHALE.Common.FlatData.StickerCheckPassType.None, - SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType_ = SCHALE.Common.FlatData.GetStickerConditionType.None, + SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType = SCHALE.Common.FlatData.StickerGetConditionType.None, + SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType = SCHALE.Common.FlatData.StickerCheckPassType.None, + SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType = SCHALE.Common.FlatData.GetStickerConditionType.None, long StickerGetConditionCount = 0, VectorOffset StickerGetConditionParameterOffset = default(VectorOffset), VectorOffset StickerGetConditionParameterTagOffset = default(VectorOffset), @@ -94,9 +94,9 @@ public struct StickerPageContentExcel : IFlatbufferObject StickerPageContentExcel.AddPackedStickerIconLocalizeEtcId(builder, PackedStickerIconLocalizeEtcId); StickerPageContentExcel.AddStickerGetConditionParameterTag(builder, StickerGetConditionParameterTagOffset); StickerPageContentExcel.AddStickerGetConditionParameter(builder, StickerGetConditionParameterOffset); - StickerPageContentExcel.AddGetStickerConditionType_(builder, GetStickerConditionType_); - StickerPageContentExcel.AddStickerCheckPassType_(builder, StickerCheckPassType_); - StickerPageContentExcel.AddStickerGetConditionType_(builder, StickerGetConditionType_); + StickerPageContentExcel.AddGetStickerConditionType(builder, GetStickerConditionType); + StickerPageContentExcel.AddStickerCheckPassType(builder, StickerCheckPassType); + StickerPageContentExcel.AddStickerGetConditionType(builder, StickerGetConditionType); return StickerPageContentExcel.EndStickerPageContentExcel(builder); } @@ -105,9 +105,9 @@ public struct StickerPageContentExcel : IFlatbufferObject public static void AddStickerGroupId(FlatBufferBuilder builder, long stickerGroupId) { builder.AddLong(1, stickerGroupId, 0); } public static void AddStickerPageId(FlatBufferBuilder builder, long stickerPageId) { builder.AddLong(2, stickerPageId, 0); } public static void AddStickerSlot(FlatBufferBuilder builder, long stickerSlot) { builder.AddLong(3, stickerSlot, 0); } - public static void AddStickerGetConditionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StickerGetConditionType stickerGetConditionType_) { builder.AddInt(4, (int)stickerGetConditionType_, 0); } - public static void AddStickerCheckPassType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StickerCheckPassType stickerCheckPassType_) { builder.AddInt(5, (int)stickerCheckPassType_, 0); } - public static void AddGetStickerConditionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.GetStickerConditionType getStickerConditionType_) { builder.AddInt(6, (int)getStickerConditionType_, 0); } + public static void AddStickerGetConditionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StickerGetConditionType stickerGetConditionType) { builder.AddInt(4, (int)stickerGetConditionType, 0); } + public static void AddStickerCheckPassType(FlatBufferBuilder builder, SCHALE.Common.FlatData.StickerCheckPassType stickerCheckPassType) { builder.AddInt(5, (int)stickerCheckPassType, 0); } + public static void AddGetStickerConditionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.GetStickerConditionType getStickerConditionType) { builder.AddInt(6, (int)getStickerConditionType, 0); } public static void AddStickerGetConditionCount(FlatBufferBuilder builder, long stickerGetConditionCount) { builder.AddLong(7, stickerGetConditionCount, 0); } public static void AddStickerGetConditionParameter(FlatBufferBuilder builder, VectorOffset stickerGetConditionParameterOffset) { builder.AddOffset(8, stickerGetConditionParameterOffset.Value, 0); } public static VectorOffset CreateStickerGetConditionParameterVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } @@ -140,9 +140,9 @@ public struct StickerPageContentExcel : IFlatbufferObject _o.StickerGroupId = TableEncryptionService.Convert(this.StickerGroupId, key); _o.StickerPageId = TableEncryptionService.Convert(this.StickerPageId, key); _o.StickerSlot = TableEncryptionService.Convert(this.StickerSlot, key); - _o.StickerGetConditionType_ = TableEncryptionService.Convert(this.StickerGetConditionType_, key); - _o.StickerCheckPassType_ = TableEncryptionService.Convert(this.StickerCheckPassType_, key); - _o.GetStickerConditionType_ = TableEncryptionService.Convert(this.GetStickerConditionType_, key); + _o.StickerGetConditionType = TableEncryptionService.Convert(this.StickerGetConditionType, key); + _o.StickerCheckPassType = TableEncryptionService.Convert(this.StickerCheckPassType, key); + _o.GetStickerConditionType = TableEncryptionService.Convert(this.GetStickerConditionType, key); _o.StickerGetConditionCount = TableEncryptionService.Convert(this.StickerGetConditionCount, key); _o.StickerGetConditionParameter = new List(); for (var _j = 0; _j < this.StickerGetConditionParameterLength; ++_j) {_o.StickerGetConditionParameter.Add(TableEncryptionService.Convert(this.StickerGetConditionParameter(_j), key));} @@ -174,9 +174,9 @@ public struct StickerPageContentExcel : IFlatbufferObject _o.StickerGroupId, _o.StickerPageId, _o.StickerSlot, - _o.StickerGetConditionType_, - _o.StickerCheckPassType_, - _o.GetStickerConditionType_, + _o.StickerGetConditionType, + _o.StickerCheckPassType, + _o.GetStickerConditionType, _o.StickerGetConditionCount, _StickerGetConditionParameter, _StickerGetConditionParameterTag, @@ -193,9 +193,9 @@ public class StickerPageContentExcelT public long StickerGroupId { get; set; } public long StickerPageId { get; set; } public long StickerSlot { get; set; } - public SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType_ { get; set; } - public SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType_ { get; set; } - public SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType_ { get; set; } + public SCHALE.Common.FlatData.StickerGetConditionType StickerGetConditionType { get; set; } + public SCHALE.Common.FlatData.StickerCheckPassType StickerCheckPassType { get; set; } + public SCHALE.Common.FlatData.GetStickerConditionType GetStickerConditionType { get; set; } public long StickerGetConditionCount { get; set; } public List StickerGetConditionParameter { get; set; } public List StickerGetConditionParameterTag { get; set; } @@ -209,9 +209,9 @@ public class StickerPageContentExcelT this.StickerGroupId = 0; this.StickerPageId = 0; this.StickerSlot = 0; - this.StickerGetConditionType_ = SCHALE.Common.FlatData.StickerGetConditionType.None; - this.StickerCheckPassType_ = SCHALE.Common.FlatData.StickerCheckPassType.None; - this.GetStickerConditionType_ = SCHALE.Common.FlatData.GetStickerConditionType.None; + this.StickerGetConditionType = SCHALE.Common.FlatData.StickerGetConditionType.None; + this.StickerCheckPassType = SCHALE.Common.FlatData.StickerCheckPassType.None; + this.GetStickerConditionType = SCHALE.Common.FlatData.GetStickerConditionType.None; this.StickerGetConditionCount = 0; this.StickerGetConditionParameter = null; this.StickerGetConditionParameterTag = null; @@ -232,9 +232,9 @@ static public class StickerPageContentExcelVerify && verifier.VerifyField(tablePos, 6 /*StickerGroupId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*StickerPageId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*StickerSlot*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*StickerGetConditionType_*/, 4 /*SCHALE.Common.FlatData.StickerGetConditionType*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*StickerCheckPassType_*/, 4 /*SCHALE.Common.FlatData.StickerCheckPassType*/, 4, false) - && verifier.VerifyField(tablePos, 16 /*GetStickerConditionType_*/, 4 /*SCHALE.Common.FlatData.GetStickerConditionType*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*StickerGetConditionType*/, 4 /*SCHALE.Common.FlatData.StickerGetConditionType*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*StickerCheckPassType*/, 4 /*SCHALE.Common.FlatData.StickerCheckPassType*/, 4, false) + && verifier.VerifyField(tablePos, 16 /*GetStickerConditionType*/, 4 /*SCHALE.Common.FlatData.GetStickerConditionType*/, 4, false) && verifier.VerifyField(tablePos, 18 /*StickerGetConditionCount*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 20 /*StickerGetConditionParameter*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 22 /*StickerGetConditionParameterTag*/, 4 /*SCHALE.Common.FlatData.Tag*/, false) diff --git a/SCHALE.Common/FlatData/StickerPageContentExcelTable.cs b/SCHALE.Common/FlatData/StickerPageContentExcelTable.cs deleted file mode 100644 index e55e9e1..0000000 --- a/SCHALE.Common/FlatData/StickerPageContentExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct StickerPageContentExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static StickerPageContentExcelTable GetRootAsStickerPageContentExcelTable(ByteBuffer _bb) { return GetRootAsStickerPageContentExcelTable(_bb, new StickerPageContentExcelTable()); } - public static StickerPageContentExcelTable GetRootAsStickerPageContentExcelTable(ByteBuffer _bb, StickerPageContentExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public StickerPageContentExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.StickerPageContentExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StickerPageContentExcel?)(new SCHALE.Common.FlatData.StickerPageContentExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateStickerPageContentExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - StickerPageContentExcelTable.AddDataList(builder, DataListOffset); - return StickerPageContentExcelTable.EndStickerPageContentExcelTable(builder); - } - - public static void StartStickerPageContentExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndStickerPageContentExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public StickerPageContentExcelTableT UnPack() { - var _o = new StickerPageContentExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(StickerPageContentExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("StickerPageContentExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, StickerPageContentExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.StickerPageContentExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateStickerPageContentExcelTable( - builder, - _DataList); - } -} - -public class StickerPageContentExcelTableT -{ - public List DataList { get; set; } - - public StickerPageContentExcelTableT() { - this.DataList = null; - } -} - - -static public class StickerPageContentExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.StickerPageContentExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/StoryStrategyExcel.cs b/SCHALE.Common/FlatData/StoryStrategyExcel.cs index 8e0654a..cfff36d 100644 --- a/SCHALE.Common/FlatData/StoryStrategyExcel.cs +++ b/SCHALE.Common/FlatData/StoryStrategyExcel.cs @@ -53,9 +53,9 @@ public struct StoryStrategyExcel : IFlatbufferObject #endif public byte[] GetStrategyMapBGArray() { return __p.__vector_as_array(18); } public int MaxTurn { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } - public SCHALE.Common.FlatData.ContentType ContentType_ { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get { int o = __p.__offset(24); return o != 0 ? (SCHALE.Common.FlatData.StrategyEnvironment)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StrategyEnvironment.None; } } + public SCHALE.Common.FlatData.ContentType ContentType { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.ContentType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ContentType.None; } } public long BGMId { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string FirstClearReportEventName { get { int o = __p.__offset(30); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -75,9 +75,9 @@ public struct StoryStrategyExcel : IFlatbufferObject StringOffset StrategyMapOffset = default(StringOffset), StringOffset StrategyMapBGOffset = default(StringOffset), int MaxTurn = 0, - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, - SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None, - SCHALE.Common.FlatData.ContentType ContentType_ = SCHALE.Common.FlatData.ContentType.None, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None, + SCHALE.Common.FlatData.ContentType ContentType = SCHALE.Common.FlatData.ContentType.None, long BGMId = 0, StringOffset FirstClearReportEventNameOffset = default(StringOffset)) { builder.StartTable(14); @@ -86,9 +86,9 @@ public struct StoryStrategyExcel : IFlatbufferObject StoryStrategyExcel.AddBattleDuration(builder, BattleDuration); StoryStrategyExcel.AddId(builder, Id); StoryStrategyExcel.AddFirstClearReportEventName(builder, FirstClearReportEventNameOffset); - StoryStrategyExcel.AddContentType_(builder, ContentType_); - StoryStrategyExcel.AddStrategyEnvironment_(builder, StrategyEnvironment_); - StoryStrategyExcel.AddStageTopography_(builder, StageTopography_); + StoryStrategyExcel.AddContentType(builder, ContentType); + StoryStrategyExcel.AddStrategyEnvironment(builder, StrategyEnvironment); + StoryStrategyExcel.AddStageTopography(builder, StageTopography); StoryStrategyExcel.AddMaxTurn(builder, MaxTurn); StoryStrategyExcel.AddStrategyMapBG(builder, StrategyMapBGOffset); StoryStrategyExcel.AddStrategyMap(builder, StrategyMapOffset); @@ -108,9 +108,9 @@ public struct StoryStrategyExcel : IFlatbufferObject public static void AddStrategyMap(FlatBufferBuilder builder, StringOffset strategyMapOffset) { builder.AddOffset(6, strategyMapOffset.Value, 0); } public static void AddStrategyMapBG(FlatBufferBuilder builder, StringOffset strategyMapBGOffset) { builder.AddOffset(7, strategyMapBGOffset.Value, 0); } public static void AddMaxTurn(FlatBufferBuilder builder, int maxTurn) { builder.AddInt(8, maxTurn, 0); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(9, (int)stageTopography_, 0); } - public static void AddStrategyEnvironment_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment_) { builder.AddInt(10, (int)strategyEnvironment_, 0); } - public static void AddContentType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType_) { builder.AddInt(11, (int)contentType_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(9, (int)stageTopography, 0); } + public static void AddStrategyEnvironment(FlatBufferBuilder builder, SCHALE.Common.FlatData.StrategyEnvironment strategyEnvironment) { builder.AddInt(10, (int)strategyEnvironment, 0); } + public static void AddContentType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ContentType contentType) { builder.AddInt(11, (int)contentType, 0); } public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(12, bGMId, 0); } public static void AddFirstClearReportEventName(FlatBufferBuilder builder, StringOffset firstClearReportEventNameOffset) { builder.AddOffset(13, firstClearReportEventNameOffset.Value, 0); } public static Offset EndStoryStrategyExcel(FlatBufferBuilder builder) { @@ -133,9 +133,9 @@ public struct StoryStrategyExcel : IFlatbufferObject _o.StrategyMap = TableEncryptionService.Convert(this.StrategyMap, key); _o.StrategyMapBG = TableEncryptionService.Convert(this.StrategyMapBG, key); _o.MaxTurn = TableEncryptionService.Convert(this.MaxTurn, key); - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); - _o.StrategyEnvironment_ = TableEncryptionService.Convert(this.StrategyEnvironment_, key); - _o.ContentType_ = TableEncryptionService.Convert(this.ContentType_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); + _o.StrategyEnvironment = TableEncryptionService.Convert(this.StrategyEnvironment, key); + _o.ContentType = TableEncryptionService.Convert(this.ContentType, key); _o.BGMId = TableEncryptionService.Convert(this.BGMId, key); _o.FirstClearReportEventName = TableEncryptionService.Convert(this.FirstClearReportEventName, key); } @@ -157,9 +157,9 @@ public struct StoryStrategyExcel : IFlatbufferObject _StrategyMap, _StrategyMapBG, _o.MaxTurn, - _o.StageTopography_, - _o.StrategyEnvironment_, - _o.ContentType_, + _o.StageTopography, + _o.StrategyEnvironment, + _o.ContentType, _o.BGMId, _FirstClearReportEventName); } @@ -176,9 +176,9 @@ public class StoryStrategyExcelT public string StrategyMap { get; set; } public string StrategyMapBG { get; set; } public int MaxTurn { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } - public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment_ { get; set; } - public SCHALE.Common.FlatData.ContentType ContentType_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } + public SCHALE.Common.FlatData.StrategyEnvironment StrategyEnvironment { get; set; } + public SCHALE.Common.FlatData.ContentType ContentType { get; set; } public long BGMId { get; set; } public string FirstClearReportEventName { get; set; } @@ -192,9 +192,9 @@ public class StoryStrategyExcelT this.StrategyMap = null; this.StrategyMapBG = null; this.MaxTurn = 0; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; - this.StrategyEnvironment_ = SCHALE.Common.FlatData.StrategyEnvironment.None; - this.ContentType_ = SCHALE.Common.FlatData.ContentType.None; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; + this.StrategyEnvironment = SCHALE.Common.FlatData.StrategyEnvironment.None; + this.ContentType = SCHALE.Common.FlatData.ContentType.None; this.BGMId = 0; this.FirstClearReportEventName = null; } @@ -215,9 +215,9 @@ static public class StoryStrategyExcelVerify && verifier.VerifyString(tablePos, 16 /*StrategyMap*/, false) && verifier.VerifyString(tablePos, 18 /*StrategyMapBG*/, false) && verifier.VerifyField(tablePos, 20 /*MaxTurn*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 22 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) - && verifier.VerifyField(tablePos, 24 /*StrategyEnvironment_*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) - && verifier.VerifyField(tablePos, 26 /*ContentType_*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*StrategyEnvironment*/, 4 /*SCHALE.Common.FlatData.StrategyEnvironment*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*ContentType*/, 4 /*SCHALE.Common.FlatData.ContentType*/, 4, false) && verifier.VerifyField(tablePos, 28 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 30 /*FirstClearReportEventName*/, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/SystemMailExcel.cs b/SCHALE.Common/FlatData/SystemMailExcel.cs index 1450b17..4dda60a 100644 --- a/SCHALE.Common/FlatData/SystemMailExcel.cs +++ b/SCHALE.Common/FlatData/SystemMailExcel.cs @@ -20,7 +20,7 @@ public struct SystemMailExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public SystemMailExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.MailType MailType_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } + public SCHALE.Common.FlatData.MailType MailType { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.MailType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MailType.System; } } public long ExpiredDay { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public string Sender { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -38,7 +38,7 @@ public struct SystemMailExcel : IFlatbufferObject public byte[] GetCommentArray() { return __p.__vector_as_array(10); } public static Offset CreateSystemMailExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.MailType MailType_ = SCHALE.Common.FlatData.MailType.System, + SCHALE.Common.FlatData.MailType MailType = SCHALE.Common.FlatData.MailType.System, long ExpiredDay = 0, StringOffset SenderOffset = default(StringOffset), StringOffset CommentOffset = default(StringOffset)) { @@ -46,12 +46,12 @@ public struct SystemMailExcel : IFlatbufferObject SystemMailExcel.AddExpiredDay(builder, ExpiredDay); SystemMailExcel.AddComment(builder, CommentOffset); SystemMailExcel.AddSender(builder, SenderOffset); - SystemMailExcel.AddMailType_(builder, MailType_); + SystemMailExcel.AddMailType(builder, MailType); return SystemMailExcel.EndSystemMailExcel(builder); } public static void StartSystemMailExcel(FlatBufferBuilder builder) { builder.StartTable(4); } - public static void AddMailType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType_) { builder.AddInt(0, (int)mailType_, 0); } + public static void AddMailType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MailType mailType) { builder.AddInt(0, (int)mailType, 0); } public static void AddExpiredDay(FlatBufferBuilder builder, long expiredDay) { builder.AddLong(1, expiredDay, 0); } public static void AddSender(FlatBufferBuilder builder, StringOffset senderOffset) { builder.AddOffset(2, senderOffset.Value, 0); } public static void AddComment(FlatBufferBuilder builder, StringOffset commentOffset) { builder.AddOffset(3, commentOffset.Value, 0); } @@ -66,7 +66,7 @@ public struct SystemMailExcel : IFlatbufferObject } public void UnPackTo(SystemMailExcelT _o) { byte[] key = TableEncryptionService.CreateKey("SystemMail"); - _o.MailType_ = TableEncryptionService.Convert(this.MailType_, key); + _o.MailType = TableEncryptionService.Convert(this.MailType, key); _o.ExpiredDay = TableEncryptionService.Convert(this.ExpiredDay, key); _o.Sender = TableEncryptionService.Convert(this.Sender, key); _o.Comment = TableEncryptionService.Convert(this.Comment, key); @@ -77,7 +77,7 @@ public struct SystemMailExcel : IFlatbufferObject var _Comment = _o.Comment == null ? default(StringOffset) : builder.CreateString(_o.Comment); return CreateSystemMailExcel( builder, - _o.MailType_, + _o.MailType, _o.ExpiredDay, _Sender, _Comment); @@ -86,13 +86,13 @@ public struct SystemMailExcel : IFlatbufferObject public class SystemMailExcelT { - public SCHALE.Common.FlatData.MailType MailType_ { get; set; } + public SCHALE.Common.FlatData.MailType MailType { get; set; } public long ExpiredDay { get; set; } public string Sender { get; set; } public string Comment { get; set; } public SystemMailExcelT() { - this.MailType_ = SCHALE.Common.FlatData.MailType.System; + this.MailType = SCHALE.Common.FlatData.MailType.System; this.ExpiredDay = 0; this.Sender = null; this.Comment = null; @@ -105,7 +105,7 @@ static public class SystemMailExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*MailType_*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*MailType*/, 4 /*SCHALE.Common.FlatData.MailType*/, 4, false) && verifier.VerifyField(tablePos, 6 /*ExpiredDay*/, 8 /*long*/, 8, false) && verifier.VerifyString(tablePos, 8 /*Sender*/, false) && verifier.VerifyString(tablePos, 10 /*Comment*/, false) diff --git a/SCHALE.Common/FlatData/TacticSimulatorSettingExcel.cs b/SCHALE.Common/FlatData/TacticSimulatorSettingExcel.cs index ef3b469..931cb30 100644 --- a/SCHALE.Common/FlatData/TacticSimulatorSettingExcel.cs +++ b/SCHALE.Common/FlatData/TacticSimulatorSettingExcel.cs @@ -21,28 +21,20 @@ public struct TacticSimulatorSettingExcel : IFlatbufferObject public TacticSimulatorSettingExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long GroundId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long GetExp { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long GetStarGrade { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long Equipment { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long FixedEchelonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateTacticSimulatorSettingExcel(FlatBufferBuilder builder, long GroundId = 0, - long GetExp = 0, - long GetStarGrade = 0, - long Equipment = 0) { - builder.StartTable(4); - TacticSimulatorSettingExcel.AddEquipment(builder, Equipment); - TacticSimulatorSettingExcel.AddGetStarGrade(builder, GetStarGrade); - TacticSimulatorSettingExcel.AddGetExp(builder, GetExp); + long FixedEchelonId = 0) { + builder.StartTable(2); + TacticSimulatorSettingExcel.AddFixedEchelonId(builder, FixedEchelonId); TacticSimulatorSettingExcel.AddGroundId(builder, GroundId); return TacticSimulatorSettingExcel.EndTacticSimulatorSettingExcel(builder); } - public static void StartTacticSimulatorSettingExcel(FlatBufferBuilder builder) { builder.StartTable(4); } + public static void StartTacticSimulatorSettingExcel(FlatBufferBuilder builder) { builder.StartTable(2); } public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(0, groundId, 0); } - public static void AddGetExp(FlatBufferBuilder builder, long getExp) { builder.AddLong(1, getExp, 0); } - public static void AddGetStarGrade(FlatBufferBuilder builder, long getStarGrade) { builder.AddLong(2, getStarGrade, 0); } - public static void AddEquipment(FlatBufferBuilder builder, long equipment) { builder.AddLong(3, equipment, 0); } + public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(1, fixedEchelonId, 0); } public static Offset EndTacticSimulatorSettingExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -55,33 +47,25 @@ public struct TacticSimulatorSettingExcel : IFlatbufferObject public void UnPackTo(TacticSimulatorSettingExcelT _o) { byte[] key = TableEncryptionService.CreateKey("TacticSimulatorSetting"); _o.GroundId = TableEncryptionService.Convert(this.GroundId, key); - _o.GetExp = TableEncryptionService.Convert(this.GetExp, key); - _o.GetStarGrade = TableEncryptionService.Convert(this.GetStarGrade, key); - _o.Equipment = TableEncryptionService.Convert(this.Equipment, key); + _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); } public static Offset Pack(FlatBufferBuilder builder, TacticSimulatorSettingExcelT _o) { if (_o == null) return default(Offset); return CreateTacticSimulatorSettingExcel( builder, _o.GroundId, - _o.GetExp, - _o.GetStarGrade, - _o.Equipment); + _o.FixedEchelonId); } } public class TacticSimulatorSettingExcelT { public long GroundId { get; set; } - public long GetExp { get; set; } - public long GetStarGrade { get; set; } - public long Equipment { get; set; } + public long FixedEchelonId { get; set; } public TacticSimulatorSettingExcelT() { this.GroundId = 0; - this.GetExp = 0; - this.GetStarGrade = 0; - this.Equipment = 0; + this.FixedEchelonId = 0; } } @@ -92,9 +76,7 @@ static public class TacticSimulatorSettingExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*GroundId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*GetExp*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 8 /*GetStarGrade*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*Equipment*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*FixedEchelonId*/, 8 /*long*/, 8, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/TerrainAdaptationFactorExcel.cs b/SCHALE.Common/FlatData/TerrainAdaptationFactorExcel.cs index 469282f..614ae3e 100644 --- a/SCHALE.Common/FlatData/TerrainAdaptationFactorExcel.cs +++ b/SCHALE.Common/FlatData/TerrainAdaptationFactorExcel.cs @@ -21,7 +21,7 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject public TerrainAdaptationFactorExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public SCHALE.Common.FlatData.StageTopography TerrainAdaptation { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } - public SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TerrainAdaptationStat)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TerrainAdaptationStat.D; } } + public SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TerrainAdaptationStat)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TerrainAdaptationStat.D; } } public long ShotFactor { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long BlockFactor { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long AccuracyFactor { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -30,7 +30,7 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject public static Offset CreateTerrainAdaptationFactorExcel(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography TerrainAdaptation = SCHALE.Common.FlatData.StageTopography.Street, - SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat_ = SCHALE.Common.FlatData.TerrainAdaptationStat.D, + SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat = SCHALE.Common.FlatData.TerrainAdaptationStat.D, long ShotFactor = 0, long BlockFactor = 0, long AccuracyFactor = 0, @@ -42,14 +42,14 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject TerrainAdaptationFactorExcel.AddAccuracyFactor(builder, AccuracyFactor); TerrainAdaptationFactorExcel.AddBlockFactor(builder, BlockFactor); TerrainAdaptationFactorExcel.AddShotFactor(builder, ShotFactor); - TerrainAdaptationFactorExcel.AddTerrainAdaptationStat_(builder, TerrainAdaptationStat_); + TerrainAdaptationFactorExcel.AddTerrainAdaptationStat(builder, TerrainAdaptationStat); TerrainAdaptationFactorExcel.AddTerrainAdaptation(builder, TerrainAdaptation); return TerrainAdaptationFactorExcel.EndTerrainAdaptationFactorExcel(builder); } public static void StartTerrainAdaptationFactorExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddTerrainAdaptation(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography terrainAdaptation) { builder.AddInt(0, (int)terrainAdaptation, 0); } - public static void AddTerrainAdaptationStat_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TerrainAdaptationStat terrainAdaptationStat_) { builder.AddInt(1, (int)terrainAdaptationStat_, 0); } + public static void AddTerrainAdaptationStat(FlatBufferBuilder builder, SCHALE.Common.FlatData.TerrainAdaptationStat terrainAdaptationStat) { builder.AddInt(1, (int)terrainAdaptationStat, 0); } public static void AddShotFactor(FlatBufferBuilder builder, long shotFactor) { builder.AddLong(2, shotFactor, 0); } public static void AddBlockFactor(FlatBufferBuilder builder, long blockFactor) { builder.AddLong(3, blockFactor, 0); } public static void AddAccuracyFactor(FlatBufferBuilder builder, long accuracyFactor) { builder.AddLong(4, accuracyFactor, 0); } @@ -67,7 +67,7 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject public void UnPackTo(TerrainAdaptationFactorExcelT _o) { byte[] key = TableEncryptionService.CreateKey("TerrainAdaptationFactor"); _o.TerrainAdaptation = TableEncryptionService.Convert(this.TerrainAdaptation, key); - _o.TerrainAdaptationStat_ = TableEncryptionService.Convert(this.TerrainAdaptationStat_, key); + _o.TerrainAdaptationStat = TableEncryptionService.Convert(this.TerrainAdaptationStat, key); _o.ShotFactor = TableEncryptionService.Convert(this.ShotFactor, key); _o.BlockFactor = TableEncryptionService.Convert(this.BlockFactor, key); _o.AccuracyFactor = TableEncryptionService.Convert(this.AccuracyFactor, key); @@ -79,7 +79,7 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject return CreateTerrainAdaptationFactorExcel( builder, _o.TerrainAdaptation, - _o.TerrainAdaptationStat_, + _o.TerrainAdaptationStat, _o.ShotFactor, _o.BlockFactor, _o.AccuracyFactor, @@ -91,7 +91,7 @@ public struct TerrainAdaptationFactorExcel : IFlatbufferObject public class TerrainAdaptationFactorExcelT { public SCHALE.Common.FlatData.StageTopography TerrainAdaptation { get; set; } - public SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat_ { get; set; } + public SCHALE.Common.FlatData.TerrainAdaptationStat TerrainAdaptationStat { get; set; } public long ShotFactor { get; set; } public long BlockFactor { get; set; } public long AccuracyFactor { get; set; } @@ -100,7 +100,7 @@ public class TerrainAdaptationFactorExcelT public TerrainAdaptationFactorExcelT() { this.TerrainAdaptation = SCHALE.Common.FlatData.StageTopography.Street; - this.TerrainAdaptationStat_ = SCHALE.Common.FlatData.TerrainAdaptationStat.D; + this.TerrainAdaptationStat = SCHALE.Common.FlatData.TerrainAdaptationStat.D; this.ShotFactor = 0; this.BlockFactor = 0; this.AccuracyFactor = 0; @@ -116,7 +116,7 @@ static public class TerrainAdaptationFactorExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*TerrainAdaptation*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*TerrainAdaptationStat_*/, 4 /*SCHALE.Common.FlatData.TerrainAdaptationStat*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TerrainAdaptationStat*/, 4 /*SCHALE.Common.FlatData.TerrainAdaptationStat*/, 4, false) && verifier.VerifyField(tablePos, 8 /*ShotFactor*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 10 /*BlockFactor*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*AccuracyFactor*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/TimeAttackDungeonExcel.cs b/SCHALE.Common/FlatData/TimeAttackDungeonExcel.cs index 64b27fc..9a3b212 100644 --- a/SCHALE.Common/FlatData/TimeAttackDungeonExcel.cs +++ b/SCHALE.Common/FlatData/TimeAttackDungeonExcel.cs @@ -21,7 +21,7 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject public TimeAttackDungeonExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TimeAttackDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TimeAttackDungeonType.None; } } + public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TimeAttackDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TimeAttackDungeonType.None; } } public uint LocalizeEtcKey { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public string IconPath { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T @@ -34,7 +34,7 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject public static Offset CreateTimeAttackDungeonExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ = SCHALE.Common.FlatData.TimeAttackDungeonType.None, + SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType = SCHALE.Common.FlatData.TimeAttackDungeonType.None, uint LocalizeEtcKey = 0, StringOffset IconPathOffset = default(StringOffset), long InformationGroupID = 0) { @@ -43,13 +43,13 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject TimeAttackDungeonExcel.AddId(builder, Id); TimeAttackDungeonExcel.AddIconPath(builder, IconPathOffset); TimeAttackDungeonExcel.AddLocalizeEtcKey(builder, LocalizeEtcKey); - TimeAttackDungeonExcel.AddTimeAttackDungeonType_(builder, TimeAttackDungeonType_); + TimeAttackDungeonExcel.AddTimeAttackDungeonType(builder, TimeAttackDungeonType); return TimeAttackDungeonExcel.EndTimeAttackDungeonExcel(builder); } public static void StartTimeAttackDungeonExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddTimeAttackDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TimeAttackDungeonType timeAttackDungeonType_) { builder.AddInt(1, (int)timeAttackDungeonType_, 0); } + public static void AddTimeAttackDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TimeAttackDungeonType timeAttackDungeonType) { builder.AddInt(1, (int)timeAttackDungeonType, 0); } public static void AddLocalizeEtcKey(FlatBufferBuilder builder, uint localizeEtcKey) { builder.AddUint(2, localizeEtcKey, 0); } public static void AddIconPath(FlatBufferBuilder builder, StringOffset iconPathOffset) { builder.AddOffset(3, iconPathOffset.Value, 0); } public static void AddInformationGroupID(FlatBufferBuilder builder, long informationGroupID) { builder.AddLong(4, informationGroupID, 0); } @@ -65,7 +65,7 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject public void UnPackTo(TimeAttackDungeonExcelT _o) { byte[] key = TableEncryptionService.CreateKey("TimeAttackDungeon"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.TimeAttackDungeonType_ = TableEncryptionService.Convert(this.TimeAttackDungeonType_, key); + _o.TimeAttackDungeonType = TableEncryptionService.Convert(this.TimeAttackDungeonType, key); _o.LocalizeEtcKey = TableEncryptionService.Convert(this.LocalizeEtcKey, key); _o.IconPath = TableEncryptionService.Convert(this.IconPath, key); _o.InformationGroupID = TableEncryptionService.Convert(this.InformationGroupID, key); @@ -76,7 +76,7 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject return CreateTimeAttackDungeonExcel( builder, _o.Id, - _o.TimeAttackDungeonType_, + _o.TimeAttackDungeonType, _o.LocalizeEtcKey, _IconPath, _o.InformationGroupID); @@ -86,14 +86,14 @@ public struct TimeAttackDungeonExcel : IFlatbufferObject public class TimeAttackDungeonExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ { get; set; } + public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType { get; set; } public uint LocalizeEtcKey { get; set; } public string IconPath { get; set; } public long InformationGroupID { get; set; } public TimeAttackDungeonExcelT() { this.Id = 0; - this.TimeAttackDungeonType_ = SCHALE.Common.FlatData.TimeAttackDungeonType.None; + this.TimeAttackDungeonType = SCHALE.Common.FlatData.TimeAttackDungeonType.None; this.LocalizeEtcKey = 0; this.IconPath = null; this.InformationGroupID = 0; @@ -107,7 +107,7 @@ static public class TimeAttackDungeonExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*TimeAttackDungeonType_*/, 4 /*SCHALE.Common.FlatData.TimeAttackDungeonType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TimeAttackDungeonType*/, 4 /*SCHALE.Common.FlatData.TimeAttackDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*LocalizeEtcKey*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 10 /*IconPath*/, false) && verifier.VerifyField(tablePos, 12 /*InformationGroupID*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/TimeAttackDungeonGeasExcel.cs b/SCHALE.Common/FlatData/TimeAttackDungeonGeasExcel.cs index 77541ce..6bac3fe 100644 --- a/SCHALE.Common/FlatData/TimeAttackDungeonGeasExcel.cs +++ b/SCHALE.Common/FlatData/TimeAttackDungeonGeasExcel.cs @@ -21,7 +21,7 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject public TimeAttackDungeonGeasExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TimeAttackDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TimeAttackDungeonType.None; } } + public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.TimeAttackDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.TimeAttackDungeonType.None; } } public uint LocalizeEtcKey { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public long BattleDuration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ClearDefaultPoint { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -63,7 +63,7 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject public static Offset CreateTimeAttackDungeonGeasExcel(FlatBufferBuilder builder, long Id = 0, - SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ = SCHALE.Common.FlatData.TimeAttackDungeonType.None, + SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType = SCHALE.Common.FlatData.TimeAttackDungeonType.None, uint LocalizeEtcKey = 0, long BattleDuration = 0, long ClearDefaultPoint = 0, @@ -94,13 +94,13 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject TimeAttackDungeonGeasExcel.AddRecommandLevel(builder, RecommandLevel); TimeAttackDungeonGeasExcel.AddDifficulty(builder, Difficulty); TimeAttackDungeonGeasExcel.AddLocalizeEtcKey(builder, LocalizeEtcKey); - TimeAttackDungeonGeasExcel.AddTimeAttackDungeonType_(builder, TimeAttackDungeonType_); + TimeAttackDungeonGeasExcel.AddTimeAttackDungeonType(builder, TimeAttackDungeonType); return TimeAttackDungeonGeasExcel.EndTimeAttackDungeonGeasExcel(builder); } public static void StartTimeAttackDungeonGeasExcel(FlatBufferBuilder builder) { builder.StartTable(16); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } - public static void AddTimeAttackDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.TimeAttackDungeonType timeAttackDungeonType_) { builder.AddInt(1, (int)timeAttackDungeonType_, 0); } + public static void AddTimeAttackDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.TimeAttackDungeonType timeAttackDungeonType) { builder.AddInt(1, (int)timeAttackDungeonType, 0); } public static void AddLocalizeEtcKey(FlatBufferBuilder builder, uint localizeEtcKey) { builder.AddUint(2, localizeEtcKey, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(3, battleDuration, 0); } public static void AddClearDefaultPoint(FlatBufferBuilder builder, long clearDefaultPoint) { builder.AddLong(4, clearDefaultPoint, 0); } @@ -157,7 +157,7 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject public void UnPackTo(TimeAttackDungeonGeasExcelT _o) { byte[] key = TableEncryptionService.CreateKey("TimeAttackDungeonGeas"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.TimeAttackDungeonType_ = TableEncryptionService.Convert(this.TimeAttackDungeonType_, key); + _o.TimeAttackDungeonType = TableEncryptionService.Convert(this.TimeAttackDungeonType, key); _o.LocalizeEtcKey = TableEncryptionService.Convert(this.LocalizeEtcKey, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.ClearDefaultPoint = TableEncryptionService.Convert(this.ClearDefaultPoint, key); @@ -217,7 +217,7 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject return CreateTimeAttackDungeonGeasExcel( builder, _o.Id, - _o.TimeAttackDungeonType_, + _o.TimeAttackDungeonType, _o.LocalizeEtcKey, _o.BattleDuration, _o.ClearDefaultPoint, @@ -238,7 +238,7 @@ public struct TimeAttackDungeonGeasExcel : IFlatbufferObject public class TimeAttackDungeonGeasExcelT { public long Id { get; set; } - public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType_ { get; set; } + public SCHALE.Common.FlatData.TimeAttackDungeonType TimeAttackDungeonType { get; set; } public uint LocalizeEtcKey { get; set; } public long BattleDuration { get; set; } public long ClearDefaultPoint { get; set; } @@ -256,7 +256,7 @@ public class TimeAttackDungeonGeasExcelT public TimeAttackDungeonGeasExcelT() { this.Id = 0; - this.TimeAttackDungeonType_ = SCHALE.Common.FlatData.TimeAttackDungeonType.None; + this.TimeAttackDungeonType = SCHALE.Common.FlatData.TimeAttackDungeonType.None; this.LocalizeEtcKey = 0; this.BattleDuration = 0; this.ClearDefaultPoint = 0; @@ -281,7 +281,7 @@ static public class TimeAttackDungeonGeasExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*TimeAttackDungeonType_*/, 4 /*SCHALE.Common.FlatData.TimeAttackDungeonType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*TimeAttackDungeonType*/, 4 /*SCHALE.Common.FlatData.TimeAttackDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*LocalizeEtcKey*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 10 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*ClearDefaultPoint*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/ToastExcel.cs b/SCHALE.Common/FlatData/ToastExcel.cs index 7a6945b..dc340cc 100644 --- a/SCHALE.Common/FlatData/ToastExcel.cs +++ b/SCHALE.Common/FlatData/ToastExcel.cs @@ -21,14 +21,14 @@ public struct ToastExcel : IFlatbufferObject public ToastExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public uint Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } - public SCHALE.Common.FlatData.ToastType ToastType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ToastType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ToastType.None; } } + public SCHALE.Common.FlatData.ToastType ToastType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.ToastType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.ToastType.None; } } public uint MissionId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint TextId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public long LifeTime { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public static Offset CreateToastExcel(FlatBufferBuilder builder, uint Id = 0, - SCHALE.Common.FlatData.ToastType ToastType_ = SCHALE.Common.FlatData.ToastType.None, + SCHALE.Common.FlatData.ToastType ToastType = SCHALE.Common.FlatData.ToastType.None, uint MissionId = 0, uint TextId = 0, long LifeTime = 0) { @@ -36,14 +36,14 @@ public struct ToastExcel : IFlatbufferObject ToastExcel.AddLifeTime(builder, LifeTime); ToastExcel.AddTextId(builder, TextId); ToastExcel.AddMissionId(builder, MissionId); - ToastExcel.AddToastType_(builder, ToastType_); + ToastExcel.AddToastType(builder, ToastType); ToastExcel.AddId(builder, Id); return ToastExcel.EndToastExcel(builder); } public static void StartToastExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddId(FlatBufferBuilder builder, uint id) { builder.AddUint(0, id, 0); } - public static void AddToastType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.ToastType toastType_) { builder.AddInt(1, (int)toastType_, 0); } + public static void AddToastType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ToastType toastType) { builder.AddInt(1, (int)toastType, 0); } public static void AddMissionId(FlatBufferBuilder builder, uint missionId) { builder.AddUint(2, missionId, 0); } public static void AddTextId(FlatBufferBuilder builder, uint textId) { builder.AddUint(3, textId, 0); } public static void AddLifeTime(FlatBufferBuilder builder, long lifeTime) { builder.AddLong(4, lifeTime, 0); } @@ -59,7 +59,7 @@ public struct ToastExcel : IFlatbufferObject public void UnPackTo(ToastExcelT _o) { byte[] key = TableEncryptionService.CreateKey("Toast"); _o.Id = TableEncryptionService.Convert(this.Id, key); - _o.ToastType_ = TableEncryptionService.Convert(this.ToastType_, key); + _o.ToastType = TableEncryptionService.Convert(this.ToastType, key); _o.MissionId = TableEncryptionService.Convert(this.MissionId, key); _o.TextId = TableEncryptionService.Convert(this.TextId, key); _o.LifeTime = TableEncryptionService.Convert(this.LifeTime, key); @@ -69,7 +69,7 @@ public struct ToastExcel : IFlatbufferObject return CreateToastExcel( builder, _o.Id, - _o.ToastType_, + _o.ToastType, _o.MissionId, _o.TextId, _o.LifeTime); @@ -79,14 +79,14 @@ public struct ToastExcel : IFlatbufferObject public class ToastExcelT { public uint Id { get; set; } - public SCHALE.Common.FlatData.ToastType ToastType_ { get; set; } + public SCHALE.Common.FlatData.ToastType ToastType { get; set; } public uint MissionId { get; set; } public uint TextId { get; set; } public long LifeTime { get; set; } public ToastExcelT() { this.Id = 0; - this.ToastType_ = SCHALE.Common.FlatData.ToastType.None; + this.ToastType = SCHALE.Common.FlatData.ToastType.None; this.MissionId = 0; this.TextId = 0; this.LifeTime = 0; @@ -100,7 +100,7 @@ static public class ToastExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*Id*/, 4 /*uint*/, 4, false) - && verifier.VerifyField(tablePos, 6 /*ToastType_*/, 4 /*SCHALE.Common.FlatData.ToastType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*ToastType*/, 4 /*SCHALE.Common.FlatData.ToastType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*MissionId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 10 /*TextId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 12 /*LifeTime*/, 8 /*long*/, 8, false) diff --git a/SCHALE.Common/FlatData/VoiceCommonExcel.cs b/SCHALE.Common/FlatData/VoiceCommonExcel.cs index 2b8be52..8410434 100644 --- a/SCHALE.Common/FlatData/VoiceCommonExcel.cs +++ b/SCHALE.Common/FlatData/VoiceCommonExcel.cs @@ -20,7 +20,7 @@ public struct VoiceCommonExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public VoiceCommonExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.VoiceEvent VoiceEvent_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.VoiceEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.VoiceEvent.OnTSA; } } + public SCHALE.Common.FlatData.VoiceEvent VoiceEvent { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.VoiceEvent)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.VoiceEvent.OnTSA; } } public long Rate { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public uint VoiceHash(int j) { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(__p.__vector(o) + j * 4) : (uint)0; } public int VoiceHashLength { get { int o = __p.__offset(8); return o != 0 ? __p.__vector_len(o) : 0; } } @@ -32,18 +32,18 @@ public struct VoiceCommonExcel : IFlatbufferObject public uint[] GetVoiceHashArray() { return __p.__vector_as_array(8); } public static Offset CreateVoiceCommonExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.VoiceEvent VoiceEvent_ = SCHALE.Common.FlatData.VoiceEvent.OnTSA, + SCHALE.Common.FlatData.VoiceEvent VoiceEvent = SCHALE.Common.FlatData.VoiceEvent.OnTSA, long Rate = 0, VectorOffset VoiceHashOffset = default(VectorOffset)) { builder.StartTable(3); VoiceCommonExcel.AddRate(builder, Rate); VoiceCommonExcel.AddVoiceHash(builder, VoiceHashOffset); - VoiceCommonExcel.AddVoiceEvent_(builder, VoiceEvent_); + VoiceCommonExcel.AddVoiceEvent(builder, VoiceEvent); return VoiceCommonExcel.EndVoiceCommonExcel(builder); } public static void StartVoiceCommonExcel(FlatBufferBuilder builder) { builder.StartTable(3); } - public static void AddVoiceEvent_(FlatBufferBuilder builder, SCHALE.Common.FlatData.VoiceEvent voiceEvent_) { builder.AddInt(0, (int)voiceEvent_, 0); } + public static void AddVoiceEvent(FlatBufferBuilder builder, SCHALE.Common.FlatData.VoiceEvent voiceEvent) { builder.AddInt(0, (int)voiceEvent, 0); } public static void AddRate(FlatBufferBuilder builder, long rate) { builder.AddLong(1, rate, 0); } public static void AddVoiceHash(FlatBufferBuilder builder, VectorOffset voiceHashOffset) { builder.AddOffset(2, voiceHashOffset.Value, 0); } public static VectorOffset CreateVoiceHashVector(FlatBufferBuilder builder, uint[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddUint(data[i]); return builder.EndVector(); } @@ -62,7 +62,7 @@ public struct VoiceCommonExcel : IFlatbufferObject } public void UnPackTo(VoiceCommonExcelT _o) { byte[] key = TableEncryptionService.CreateKey("VoiceCommon"); - _o.VoiceEvent_ = TableEncryptionService.Convert(this.VoiceEvent_, key); + _o.VoiceEvent = TableEncryptionService.Convert(this.VoiceEvent, key); _o.Rate = TableEncryptionService.Convert(this.Rate, key); _o.VoiceHash = new List(); for (var _j = 0; _j < this.VoiceHashLength; ++_j) {_o.VoiceHash.Add(TableEncryptionService.Convert(this.VoiceHash(_j), key));} @@ -76,7 +76,7 @@ public struct VoiceCommonExcel : IFlatbufferObject } return CreateVoiceCommonExcel( builder, - _o.VoiceEvent_, + _o.VoiceEvent, _o.Rate, _VoiceHash); } @@ -84,12 +84,12 @@ public struct VoiceCommonExcel : IFlatbufferObject public class VoiceCommonExcelT { - public SCHALE.Common.FlatData.VoiceEvent VoiceEvent_ { get; set; } + public SCHALE.Common.FlatData.VoiceEvent VoiceEvent { get; set; } public long Rate { get; set; } public List VoiceHash { get; set; } public VoiceCommonExcelT() { - this.VoiceEvent_ = SCHALE.Common.FlatData.VoiceEvent.OnTSA; + this.VoiceEvent = SCHALE.Common.FlatData.VoiceEvent.OnTSA; this.Rate = 0; this.VoiceHash = null; } @@ -101,7 +101,7 @@ static public class VoiceCommonExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*VoiceEvent_*/, 4 /*SCHALE.Common.FlatData.VoiceEvent*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*VoiceEvent*/, 4 /*SCHALE.Common.FlatData.VoiceEvent*/, 4, false) && verifier.VerifyField(tablePos, 6 /*Rate*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 8 /*VoiceHash*/, 4 /*uint*/, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/WeekDungeonExcel.cs b/SCHALE.Common/FlatData/WeekDungeonExcel.cs index 2951b93..9199900 100644 --- a/SCHALE.Common/FlatData/WeekDungeonExcel.cs +++ b/SCHALE.Common/FlatData/WeekDungeonExcel.cs @@ -21,7 +21,7 @@ public struct WeekDungeonExcel : IFlatbufferObject public WeekDungeonExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long StageId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } } + public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDungeonType.None; } } public int Difficulty { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public long BattleDuration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PrevStageId { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -66,7 +66,7 @@ public struct WeekDungeonExcel : IFlatbufferObject public ArraySegment? GetStarGoalAmountBytes() { return __p.__vector_as_arraysegment(24); } #endif public int[] GetStarGoalAmountArray() { return __p.__vector_as_array(24); } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } + public SCHALE.Common.FlatData.StageTopography StageTopography { get { int o = __p.__offset(26); return o != 0 ? (SCHALE.Common.FlatData.StageTopography)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.StageTopography.Street; } } public long RecommandLevel { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long StageRewardId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long PlayTimeLimitInSeconds { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -80,11 +80,11 @@ public struct WeekDungeonExcel : IFlatbufferObject public ArraySegment? GetGroupBuffIDBytes() { return __p.__vector_as_arraysegment(38); } #endif public long[] GetGroupBuffIDArray() { return __p.__vector_as_array(38); } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(40); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateWeekDungeonExcel(FlatBufferBuilder builder, long StageId = 0, - SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None, + SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None, int Difficulty = 0, long BattleDuration = 0, long PrevStageId = 0, @@ -94,14 +94,14 @@ public struct WeekDungeonExcel : IFlatbufferObject int GroundId = 0, VectorOffset StarGoalOffset = default(VectorOffset), VectorOffset StarGoalAmountOffset = default(VectorOffset), - SCHALE.Common.FlatData.StageTopography StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street, + SCHALE.Common.FlatData.StageTopography StageTopography = SCHALE.Common.FlatData.StageTopography.Street, long RecommandLevel = 0, long StageRewardId = 0, long PlayTimeLimitInSeconds = 0, long BattleRewardExp = 0, long BattleRewardPlayerExp = 0, VectorOffset GroupBuffIDOffset = default(VectorOffset), - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(19); WeekDungeonExcel.AddBattleRewardPlayerExp(builder, BattleRewardPlayerExp); WeekDungeonExcel.AddBattleRewardExp(builder, BattleRewardExp); @@ -111,9 +111,9 @@ public struct WeekDungeonExcel : IFlatbufferObject WeekDungeonExcel.AddPrevStageId(builder, PrevStageId); WeekDungeonExcel.AddBattleDuration(builder, BattleDuration); WeekDungeonExcel.AddStageId(builder, StageId); - WeekDungeonExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + WeekDungeonExcel.AddEchelonExtensionType(builder, EchelonExtensionType); WeekDungeonExcel.AddGroupBuffID(builder, GroupBuffIDOffset); - WeekDungeonExcel.AddStageTopography_(builder, StageTopography_); + WeekDungeonExcel.AddStageTopography(builder, StageTopography); WeekDungeonExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); WeekDungeonExcel.AddStarGoal(builder, StarGoalOffset); WeekDungeonExcel.AddGroundId(builder, GroundId); @@ -121,13 +121,13 @@ public struct WeekDungeonExcel : IFlatbufferObject WeekDungeonExcel.AddStageEnterCostId(builder, StageEnterCostIdOffset); WeekDungeonExcel.AddStageEnterCostType(builder, StageEnterCostTypeOffset); WeekDungeonExcel.AddDifficulty(builder, Difficulty); - WeekDungeonExcel.AddWeekDungeonType_(builder, WeekDungeonType_); + WeekDungeonExcel.AddWeekDungeonType(builder, WeekDungeonType); return WeekDungeonExcel.EndWeekDungeonExcel(builder); } public static void StartWeekDungeonExcel(FlatBufferBuilder builder) { builder.StartTable(19); } public static void AddStageId(FlatBufferBuilder builder, long stageId) { builder.AddLong(0, stageId, 0); } - public static void AddWeekDungeonType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType_) { builder.AddInt(1, (int)weekDungeonType_, 0); } + public static void AddWeekDungeonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType weekDungeonType) { builder.AddInt(1, (int)weekDungeonType, 0); } public static void AddDifficulty(FlatBufferBuilder builder, int difficulty) { builder.AddInt(2, difficulty, 0); } public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(3, battleDuration, 0); } public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(4, prevStageId, 0); } @@ -162,7 +162,7 @@ public struct WeekDungeonExcel : IFlatbufferObject public static VectorOffset CreateStarGoalAmountVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateStarGoalAmountVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddStageTopography_(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography_) { builder.AddInt(11, (int)stageTopography_, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(11, (int)stageTopography, 0); } public static void AddRecommandLevel(FlatBufferBuilder builder, long recommandLevel) { builder.AddLong(12, recommandLevel, 0); } public static void AddStageRewardId(FlatBufferBuilder builder, long stageRewardId) { builder.AddLong(13, stageRewardId, 0); } public static void AddPlayTimeLimitInSeconds(FlatBufferBuilder builder, long playTimeLimitInSeconds) { builder.AddLong(14, playTimeLimitInSeconds, 0); } @@ -174,7 +174,7 @@ public struct WeekDungeonExcel : IFlatbufferObject public static VectorOffset CreateGroupBuffIDVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateGroupBuffIDVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartGroupBuffIDVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(18, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(18, (int)echelonExtensionType, 0); } public static Offset EndWeekDungeonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -187,7 +187,7 @@ public struct WeekDungeonExcel : IFlatbufferObject public void UnPackTo(WeekDungeonExcelT _o) { byte[] key = TableEncryptionService.CreateKey("WeekDungeon"); _o.StageId = TableEncryptionService.Convert(this.StageId, key); - _o.WeekDungeonType_ = TableEncryptionService.Convert(this.WeekDungeonType_, key); + _o.WeekDungeonType = TableEncryptionService.Convert(this.WeekDungeonType, key); _o.Difficulty = TableEncryptionService.Convert(this.Difficulty, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); @@ -202,7 +202,7 @@ public struct WeekDungeonExcel : IFlatbufferObject for (var _j = 0; _j < this.StarGoalLength; ++_j) {_o.StarGoal.Add(TableEncryptionService.Convert(this.StarGoal(_j), key));} _o.StarGoalAmount = new List(); for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));} - _o.StageTopography_ = TableEncryptionService.Convert(this.StageTopography_, key); + _o.StageTopography = TableEncryptionService.Convert(this.StageTopography, key); _o.RecommandLevel = TableEncryptionService.Convert(this.RecommandLevel, key); _o.StageRewardId = TableEncryptionService.Convert(this.StageRewardId, key); _o.PlayTimeLimitInSeconds = TableEncryptionService.Convert(this.PlayTimeLimitInSeconds, key); @@ -210,7 +210,7 @@ public struct WeekDungeonExcel : IFlatbufferObject _o.BattleRewardPlayerExp = TableEncryptionService.Convert(this.BattleRewardPlayerExp, key); _o.GroupBuffID = new List(); for (var _j = 0; _j < this.GroupBuffIDLength; ++_j) {_o.GroupBuffID.Add(TableEncryptionService.Convert(this.GroupBuffID(_j), key));} - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, WeekDungeonExcelT _o) { if (_o == null) return default(Offset); @@ -247,7 +247,7 @@ public struct WeekDungeonExcel : IFlatbufferObject return CreateWeekDungeonExcel( builder, _o.StageId, - _o.WeekDungeonType_, + _o.WeekDungeonType, _o.Difficulty, _o.BattleDuration, _o.PrevStageId, @@ -257,21 +257,21 @@ public struct WeekDungeonExcel : IFlatbufferObject _o.GroundId, _StarGoal, _StarGoalAmount, - _o.StageTopography_, + _o.StageTopography, _o.RecommandLevel, _o.StageRewardId, _o.PlayTimeLimitInSeconds, _o.BattleRewardExp, _o.BattleRewardPlayerExp, _GroupBuffID, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } public class WeekDungeonExcelT { public long StageId { get; set; } - public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType_ { get; set; } + public SCHALE.Common.FlatData.WeekDungeonType WeekDungeonType { get; set; } public int Difficulty { get; set; } public long BattleDuration { get; set; } public long PrevStageId { get; set; } @@ -281,18 +281,18 @@ public class WeekDungeonExcelT public int GroundId { get; set; } public List StarGoal { get; set; } public List StarGoalAmount { get; set; } - public SCHALE.Common.FlatData.StageTopography StageTopography_ { get; set; } + public SCHALE.Common.FlatData.StageTopography StageTopography { get; set; } public long RecommandLevel { get; set; } public long StageRewardId { get; set; } public long PlayTimeLimitInSeconds { get; set; } public long BattleRewardExp { get; set; } public long BattleRewardPlayerExp { get; set; } public List GroupBuffID { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public WeekDungeonExcelT() { this.StageId = 0; - this.WeekDungeonType_ = SCHALE.Common.FlatData.WeekDungeonType.None; + this.WeekDungeonType = SCHALE.Common.FlatData.WeekDungeonType.None; this.Difficulty = 0; this.BattleDuration = 0; this.PrevStageId = 0; @@ -302,14 +302,14 @@ public class WeekDungeonExcelT this.GroundId = 0; this.StarGoal = null; this.StarGoalAmount = null; - this.StageTopography_ = SCHALE.Common.FlatData.StageTopography.Street; + this.StageTopography = SCHALE.Common.FlatData.StageTopography.Street; this.RecommandLevel = 0; this.StageRewardId = 0; this.PlayTimeLimitInSeconds = 0; this.BattleRewardExp = 0; this.BattleRewardPlayerExp = 0; this.GroupBuffID = null; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -320,7 +320,7 @@ static public class WeekDungeonExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*StageId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*WeekDungeonType_*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*WeekDungeonType*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, 4, false) && verifier.VerifyField(tablePos, 8 /*Difficulty*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*BattleDuration*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 12 /*PrevStageId*/, 8 /*long*/, 8, false) @@ -330,14 +330,14 @@ static public class WeekDungeonExcelVerify && verifier.VerifyField(tablePos, 20 /*GroundId*/, 4 /*int*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 22 /*StarGoal*/, 4 /*SCHALE.Common.FlatData.StarGoalType*/, false) && verifier.VerifyVectorOfData(tablePos, 24 /*StarGoalAmount*/, 4 /*int*/, false) - && verifier.VerifyField(tablePos, 26 /*StageTopography_*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) && verifier.VerifyField(tablePos, 28 /*RecommandLevel*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 30 /*StageRewardId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 32 /*PlayTimeLimitInSeconds*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 34 /*BattleRewardExp*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 36 /*BattleRewardPlayerExp*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 38 /*GroupBuffID*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 40 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 40 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/WeekDungeonGroupBuffExcel.cs b/SCHALE.Common/FlatData/WeekDungeonGroupBuffExcel.cs index 8d9fc64..22b5642 100644 --- a/SCHALE.Common/FlatData/WeekDungeonGroupBuffExcel.cs +++ b/SCHALE.Common/FlatData/WeekDungeonGroupBuffExcel.cs @@ -21,7 +21,7 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject public WeekDungeonGroupBuffExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } public long WeekDungeonBuffId { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.School School_ { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } + public SCHALE.Common.FlatData.School School { get { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.School)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.School.None; } } public uint RecommandLocalizeEtcId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public uint FormationLocalizeEtcId { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } public string SkillGroupId { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } @@ -34,7 +34,7 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject public static Offset CreateWeekDungeonGroupBuffExcel(FlatBufferBuilder builder, long WeekDungeonBuffId = 0, - SCHALE.Common.FlatData.School School_ = SCHALE.Common.FlatData.School.None, + SCHALE.Common.FlatData.School School = SCHALE.Common.FlatData.School.None, uint RecommandLocalizeEtcId = 0, uint FormationLocalizeEtcId = 0, StringOffset SkillGroupIdOffset = default(StringOffset)) { @@ -43,13 +43,13 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject WeekDungeonGroupBuffExcel.AddSkillGroupId(builder, SkillGroupIdOffset); WeekDungeonGroupBuffExcel.AddFormationLocalizeEtcId(builder, FormationLocalizeEtcId); WeekDungeonGroupBuffExcel.AddRecommandLocalizeEtcId(builder, RecommandLocalizeEtcId); - WeekDungeonGroupBuffExcel.AddSchool_(builder, School_); + WeekDungeonGroupBuffExcel.AddSchool(builder, School); return WeekDungeonGroupBuffExcel.EndWeekDungeonGroupBuffExcel(builder); } public static void StartWeekDungeonGroupBuffExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddWeekDungeonBuffId(FlatBufferBuilder builder, long weekDungeonBuffId) { builder.AddLong(0, weekDungeonBuffId, 0); } - public static void AddSchool_(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school_) { builder.AddInt(1, (int)school_, 0); } + public static void AddSchool(FlatBufferBuilder builder, SCHALE.Common.FlatData.School school) { builder.AddInt(1, (int)school, 0); } public static void AddRecommandLocalizeEtcId(FlatBufferBuilder builder, uint recommandLocalizeEtcId) { builder.AddUint(2, recommandLocalizeEtcId, 0); } public static void AddFormationLocalizeEtcId(FlatBufferBuilder builder, uint formationLocalizeEtcId) { builder.AddUint(3, formationLocalizeEtcId, 0); } public static void AddSkillGroupId(FlatBufferBuilder builder, StringOffset skillGroupIdOffset) { builder.AddOffset(4, skillGroupIdOffset.Value, 0); } @@ -65,7 +65,7 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject public void UnPackTo(WeekDungeonGroupBuffExcelT _o) { byte[] key = TableEncryptionService.CreateKey("WeekDungeonGroupBuff"); _o.WeekDungeonBuffId = TableEncryptionService.Convert(this.WeekDungeonBuffId, key); - _o.School_ = TableEncryptionService.Convert(this.School_, key); + _o.School = TableEncryptionService.Convert(this.School, key); _o.RecommandLocalizeEtcId = TableEncryptionService.Convert(this.RecommandLocalizeEtcId, key); _o.FormationLocalizeEtcId = TableEncryptionService.Convert(this.FormationLocalizeEtcId, key); _o.SkillGroupId = TableEncryptionService.Convert(this.SkillGroupId, key); @@ -76,7 +76,7 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject return CreateWeekDungeonGroupBuffExcel( builder, _o.WeekDungeonBuffId, - _o.School_, + _o.School, _o.RecommandLocalizeEtcId, _o.FormationLocalizeEtcId, _SkillGroupId); @@ -86,14 +86,14 @@ public struct WeekDungeonGroupBuffExcel : IFlatbufferObject public class WeekDungeonGroupBuffExcelT { public long WeekDungeonBuffId { get; set; } - public SCHALE.Common.FlatData.School School_ { get; set; } + public SCHALE.Common.FlatData.School School { get; set; } public uint RecommandLocalizeEtcId { get; set; } public uint FormationLocalizeEtcId { get; set; } public string SkillGroupId { get; set; } public WeekDungeonGroupBuffExcelT() { this.WeekDungeonBuffId = 0; - this.School_ = SCHALE.Common.FlatData.School.None; + this.School = SCHALE.Common.FlatData.School.None; this.RecommandLocalizeEtcId = 0; this.FormationLocalizeEtcId = 0; this.SkillGroupId = null; @@ -107,7 +107,7 @@ static public class WeekDungeonGroupBuffExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*WeekDungeonBuffId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*School_*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) + && verifier.VerifyField(tablePos, 6 /*School*/, 4 /*SCHALE.Common.FlatData.School*/, 4, false) && verifier.VerifyField(tablePos, 8 /*RecommandLocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyField(tablePos, 10 /*FormationLocalizeEtcId*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 12 /*SkillGroupId*/, false) diff --git a/SCHALE.Common/FlatData/WeekDungeonOpenScheduleExcel.cs b/SCHALE.Common/FlatData/WeekDungeonOpenScheduleExcel.cs index 7944e2c..0e23141 100644 --- a/SCHALE.Common/FlatData/WeekDungeonOpenScheduleExcel.cs +++ b/SCHALE.Common/FlatData/WeekDungeonOpenScheduleExcel.cs @@ -20,7 +20,7 @@ public struct WeekDungeonOpenScheduleExcel : IFlatbufferObject public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } public WeekDungeonOpenScheduleExcel __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - public SCHALE.Common.FlatData.WeekDay WeekDay_ { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeekDay)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDay.Sunday; } } + public SCHALE.Common.FlatData.WeekDay WeekDay { get { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WeekDay)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WeekDay.Sunday; } } public SCHALE.Common.FlatData.WeekDungeonType Open(int j) { int o = __p.__offset(6); return o != 0 ? (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.WeekDungeonType)0; } public int OpenLength { get { int o = __p.__offset(6); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T @@ -31,16 +31,16 @@ public struct WeekDungeonOpenScheduleExcel : IFlatbufferObject public SCHALE.Common.FlatData.WeekDungeonType[] GetOpenArray() { int o = __p.__offset(6); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.WeekDungeonType[] a = new SCHALE.Common.FlatData.WeekDungeonType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.WeekDungeonType)__p.bb.GetInt(p + i * 4); } return a; } public static Offset CreateWeekDungeonOpenScheduleExcel(FlatBufferBuilder builder, - SCHALE.Common.FlatData.WeekDay WeekDay_ = SCHALE.Common.FlatData.WeekDay.Sunday, + SCHALE.Common.FlatData.WeekDay WeekDay = SCHALE.Common.FlatData.WeekDay.Sunday, VectorOffset OpenOffset = default(VectorOffset)) { builder.StartTable(2); WeekDungeonOpenScheduleExcel.AddOpen(builder, OpenOffset); - WeekDungeonOpenScheduleExcel.AddWeekDay_(builder, WeekDay_); + WeekDungeonOpenScheduleExcel.AddWeekDay(builder, WeekDay); return WeekDungeonOpenScheduleExcel.EndWeekDungeonOpenScheduleExcel(builder); } public static void StartWeekDungeonOpenScheduleExcel(FlatBufferBuilder builder) { builder.StartTable(2); } - public static void AddWeekDay_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDay weekDay_) { builder.AddInt(0, (int)weekDay_, 0); } + public static void AddWeekDay(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDay weekDay) { builder.AddInt(0, (int)weekDay, 0); } public static void AddOpen(FlatBufferBuilder builder, VectorOffset openOffset) { builder.AddOffset(1, openOffset.Value, 0); } public static VectorOffset CreateOpenVector(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddInt((int)data[i]); return builder.EndVector(); } public static VectorOffset CreateOpenVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.WeekDungeonType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } @@ -58,7 +58,7 @@ public struct WeekDungeonOpenScheduleExcel : IFlatbufferObject } public void UnPackTo(WeekDungeonOpenScheduleExcelT _o) { byte[] key = TableEncryptionService.CreateKey("WeekDungeonOpenSchedule"); - _o.WeekDay_ = TableEncryptionService.Convert(this.WeekDay_, key); + _o.WeekDay = TableEncryptionService.Convert(this.WeekDay, key); _o.Open = new List(); for (var _j = 0; _j < this.OpenLength; ++_j) {_o.Open.Add(TableEncryptionService.Convert(this.Open(_j), key));} } @@ -71,18 +71,18 @@ public struct WeekDungeonOpenScheduleExcel : IFlatbufferObject } return CreateWeekDungeonOpenScheduleExcel( builder, - _o.WeekDay_, + _o.WeekDay, _Open); } } public class WeekDungeonOpenScheduleExcelT { - public SCHALE.Common.FlatData.WeekDay WeekDay_ { get; set; } + public SCHALE.Common.FlatData.WeekDay WeekDay { get; set; } public List Open { get; set; } public WeekDungeonOpenScheduleExcelT() { - this.WeekDay_ = SCHALE.Common.FlatData.WeekDay.Sunday; + this.WeekDay = SCHALE.Common.FlatData.WeekDay.Sunday; this.Open = null; } } @@ -93,7 +93,7 @@ static public class WeekDungeonOpenScheduleExcelVerify static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) { return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*WeekDay_*/, 4 /*SCHALE.Common.FlatData.WeekDay*/, 4, false) + && verifier.VerifyField(tablePos, 4 /*WeekDay*/, 4 /*SCHALE.Common.FlatData.WeekDay*/, 4, false) && verifier.VerifyVectorOfData(tablePos, 6 /*Open*/, 4 /*SCHALE.Common.FlatData.WeekDungeonType*/, false) && verifier.VerifyTableEnd(tablePos); } diff --git a/SCHALE.Common/FlatData/WorldRaidConditionExcel.cs b/SCHALE.Common/FlatData/WorldRaidConditionExcel.cs index 9733160..add9a5c 100644 --- a/SCHALE.Common/FlatData/WorldRaidConditionExcel.cs +++ b/SCHALE.Common/FlatData/WorldRaidConditionExcel.cs @@ -41,7 +41,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject public ArraySegment? GetCampaignStageIDBytes() { return __p.__vector_as_arraysegment(14); } #endif public long[] GetCampaignStageIDArray() { return __p.__vector_as_array(14); } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get { int o = __p.__offset(16); return o != 0 ? (SCHALE.Common.FlatData.MultipleConditionCheckType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.MultipleConditionCheckType.And; } } public string AfterWhenDate { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T public Span GetAfterWhenDateBytes() { return __p.__vector_as_span(18, 1); } @@ -65,7 +65,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject long AccountLevel = 0, VectorOffset ScenarioModeIdOffset = default(VectorOffset), VectorOffset CampaignStageIDOffset = default(VectorOffset), - SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And, + SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And, StringOffset AfterWhenDateOffset = default(StringOffset), VectorOffset WorldRaidBossKillOffset = default(VectorOffset)) { builder.StartTable(9); @@ -73,7 +73,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject WorldRaidConditionExcel.AddId(builder, Id); WorldRaidConditionExcel.AddWorldRaidBossKill(builder, WorldRaidBossKillOffset); WorldRaidConditionExcel.AddAfterWhenDate(builder, AfterWhenDateOffset); - WorldRaidConditionExcel.AddMultipleConditionCheckType_(builder, MultipleConditionCheckType_); + WorldRaidConditionExcel.AddMultipleConditionCheckType(builder, MultipleConditionCheckType); WorldRaidConditionExcel.AddCampaignStageID(builder, CampaignStageIDOffset); WorldRaidConditionExcel.AddScenarioModeId(builder, ScenarioModeIdOffset); WorldRaidConditionExcel.AddLockUI(builder, LockUIOffset); @@ -103,7 +103,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject public static VectorOffset CreateCampaignStageIDVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateCampaignStageIDVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartCampaignStageIDVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddMultipleConditionCheckType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType_) { builder.AddInt(6, (int)multipleConditionCheckType_, 0); } + public static void AddMultipleConditionCheckType(FlatBufferBuilder builder, SCHALE.Common.FlatData.MultipleConditionCheckType multipleConditionCheckType) { builder.AddInt(6, (int)multipleConditionCheckType, 0); } public static void AddAfterWhenDate(FlatBufferBuilder builder, StringOffset afterWhenDateOffset) { builder.AddOffset(7, afterWhenDateOffset.Value, 0); } public static void AddWorldRaidBossKill(FlatBufferBuilder builder, VectorOffset worldRaidBossKillOffset) { builder.AddOffset(8, worldRaidBossKillOffset.Value, 0); } public static VectorOffset CreateWorldRaidBossKillVector(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); for (int i = data.Length - 1; i >= 0; i--) builder.AddLong(data[i]); return builder.EndVector(); } @@ -131,7 +131,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject for (var _j = 0; _j < this.ScenarioModeIdLength; ++_j) {_o.ScenarioModeId.Add(TableEncryptionService.Convert(this.ScenarioModeId(_j), key));} _o.CampaignStageID = new List(); for (var _j = 0; _j < this.CampaignStageIDLength; ++_j) {_o.CampaignStageID.Add(TableEncryptionService.Convert(this.CampaignStageID(_j), key));} - _o.MultipleConditionCheckType_ = TableEncryptionService.Convert(this.MultipleConditionCheckType_, key); + _o.MultipleConditionCheckType = TableEncryptionService.Convert(this.MultipleConditionCheckType, key); _o.AfterWhenDate = TableEncryptionService.Convert(this.AfterWhenDate, key); _o.WorldRaidBossKill = new List(); for (var _j = 0; _j < this.WorldRaidBossKillLength; ++_j) {_o.WorldRaidBossKill.Add(TableEncryptionService.Convert(this.WorldRaidBossKill(_j), key));} @@ -168,7 +168,7 @@ public struct WorldRaidConditionExcel : IFlatbufferObject _o.AccountLevel, _ScenarioModeId, _CampaignStageID, - _o.MultipleConditionCheckType_, + _o.MultipleConditionCheckType, _AfterWhenDate, _WorldRaidBossKill); } @@ -182,7 +182,7 @@ public class WorldRaidConditionExcelT public long AccountLevel { get; set; } public List ScenarioModeId { get; set; } public List CampaignStageID { get; set; } - public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType_ { get; set; } + public SCHALE.Common.FlatData.MultipleConditionCheckType MultipleConditionCheckType { get; set; } public string AfterWhenDate { get; set; } public List WorldRaidBossKill { get; set; } @@ -193,7 +193,7 @@ public class WorldRaidConditionExcelT this.AccountLevel = 0; this.ScenarioModeId = null; this.CampaignStageID = null; - this.MultipleConditionCheckType_ = SCHALE.Common.FlatData.MultipleConditionCheckType.And; + this.MultipleConditionCheckType = SCHALE.Common.FlatData.MultipleConditionCheckType.And; this.AfterWhenDate = null; this.WorldRaidBossKill = null; } @@ -211,7 +211,7 @@ static public class WorldRaidConditionExcelVerify && verifier.VerifyField(tablePos, 10 /*AccountLevel*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 12 /*ScenarioModeId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 14 /*CampaignStageID*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 16 /*MultipleConditionCheckType_*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) + && verifier.VerifyField(tablePos, 16 /*MultipleConditionCheckType*/, 4 /*SCHALE.Common.FlatData.MultipleConditionCheckType*/, 4, false) && verifier.VerifyString(tablePos, 18 /*AfterWhenDate*/, false) && verifier.VerifyVectorOfData(tablePos, 20 /*WorldRaidBossKill*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); diff --git a/SCHALE.Common/FlatData/WorldRaidConditionExcelTable.cs b/SCHALE.Common/FlatData/WorldRaidConditionExcelTable.cs deleted file mode 100644 index 4a61bb4..0000000 --- a/SCHALE.Common/FlatData/WorldRaidConditionExcelTable.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// automatically generated by the FlatBuffers compiler, do not modify -// - -namespace SCHALE.Common.FlatData -{ - -using global::System; -using global::System.Collections.Generic; -using global::SCHALE.Common.Crypto; -using global::Google.FlatBuffers; - -public struct WorldRaidConditionExcelTable : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static WorldRaidConditionExcelTable GetRootAsWorldRaidConditionExcelTable(ByteBuffer _bb) { return GetRootAsWorldRaidConditionExcelTable(_bb, new WorldRaidConditionExcelTable()); } - public static WorldRaidConditionExcelTable GetRootAsWorldRaidConditionExcelTable(ByteBuffer _bb, WorldRaidConditionExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public WorldRaidConditionExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } - - public SCHALE.Common.FlatData.WorldRaidConditionExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.WorldRaidConditionExcel?)(new SCHALE.Common.FlatData.WorldRaidConditionExcel()).__assign(__p.__indirect(__p.__vector(o) + j * 4), __p.bb) : null; } - public int DataListLength { get { int o = __p.__offset(4); return o != 0 ? __p.__vector_len(o) : 0; } } - - public static Offset CreateWorldRaidConditionExcelTable(FlatBufferBuilder builder, - VectorOffset DataListOffset = default(VectorOffset)) { - builder.StartTable(1); - WorldRaidConditionExcelTable.AddDataList(builder, DataListOffset); - return WorldRaidConditionExcelTable.EndWorldRaidConditionExcelTable(builder); - } - - public static void StartWorldRaidConditionExcelTable(FlatBufferBuilder builder) { builder.StartTable(1); } - public static void AddDataList(FlatBufferBuilder builder, VectorOffset dataListOffset) { builder.AddOffset(0, dataListOffset.Value, 0); } - public static VectorOffset CreateDataListVector(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, Offset[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment> data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } - public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add>(dataPtr, sizeInBytes); return builder.EndVector(); } - public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static Offset EndWorldRaidConditionExcelTable(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public WorldRaidConditionExcelTableT UnPack() { - var _o = new WorldRaidConditionExcelTableT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(WorldRaidConditionExcelTableT _o) { - byte[] key = TableEncryptionService.CreateKey("WorldRaidConditionExcel"); - _o.DataList = new List(); - for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);} - } - public static Offset Pack(FlatBufferBuilder builder, WorldRaidConditionExcelTableT _o) { - if (_o == null) return default(Offset); - var _DataList = default(VectorOffset); - if (_o.DataList != null) { - var __DataList = new Offset[_o.DataList.Count]; - for (var _j = 0; _j < __DataList.Length; ++_j) { __DataList[_j] = SCHALE.Common.FlatData.WorldRaidConditionExcel.Pack(builder, _o.DataList[_j]); } - _DataList = CreateDataListVector(builder, __DataList); - } - return CreateWorldRaidConditionExcelTable( - builder, - _DataList); - } -} - -public class WorldRaidConditionExcelTableT -{ - public List DataList { get; set; } - - public WorldRaidConditionExcelTableT() { - this.DataList = null; - } -} - - -static public class WorldRaidConditionExcelTableVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.WorldRaidConditionExcelVerify.Verify, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/WorldRaidStageExcel.cs b/SCHALE.Common/FlatData/WorldRaidStageExcel.cs index fc54daa..49bcbe9 100644 --- a/SCHALE.Common/FlatData/WorldRaidStageExcel.cs +++ b/SCHALE.Common/FlatData/WorldRaidStageExcel.cs @@ -48,7 +48,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject #endif public long[] GetBossCharacterIdArray() { return __p.__vector_as_array(18); } public long AssistCharacterLimitCount { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty_ { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.WorldRaidDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WorldRaidDifficulty.None; } } + public SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.WorldRaidDifficulty)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.WorldRaidDifficulty.None; } } public bool DifficultyOpenCondition { get { int o = __p.__offset(24); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public long RaidEnterAmount { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ReEnterAmount { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } @@ -108,7 +108,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject #endif public int[] GetAllyPassiveSkillLevelArray() { return __p.__vector_as_array(68); } public bool SaveCurrentLocalBossHP { get { int o = __p.__offset(70); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get { int o = __p.__offset(72); return o != 0 ? (SCHALE.Common.FlatData.EchelonExtensionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.EchelonExtensionType.Base; } } public static Offset CreateWorldRaidStageExcel(FlatBufferBuilder builder, long Id = 0, @@ -120,7 +120,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject long RaidCharacterId = 0, VectorOffset BossCharacterIdOffset = default(VectorOffset), long AssistCharacterLimitCount = 0, - SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty_ = SCHALE.Common.FlatData.WorldRaidDifficulty.None, + SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty = SCHALE.Common.FlatData.WorldRaidDifficulty.None, bool DifficultyOpenCondition = false, long RaidEnterAmount = 0, long ReEnterAmount = 0, @@ -145,7 +145,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject VectorOffset AllyPassiveSkillOffset = default(VectorOffset), VectorOffset AllyPassiveSkillLevelOffset = default(VectorOffset), bool SaveCurrentLocalBossHP = false, - SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base) { + SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base) { builder.StartTable(35); WorldRaidStageExcel.AddDamageToWorldBoss(builder, DamageToWorldBoss); WorldRaidStageExcel.AddFixedEchelonId(builder, FixedEchelonId); @@ -162,7 +162,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject WorldRaidStageExcel.AddRaidCharacterId(builder, RaidCharacterId); WorldRaidStageExcel.AddWorldRaidBossGroupId(builder, WorldRaidBossGroupId); WorldRaidStageExcel.AddId(builder, Id); - WorldRaidStageExcel.AddEchelonExtensionType_(builder, EchelonExtensionType_); + WorldRaidStageExcel.AddEchelonExtensionType(builder, EchelonExtensionType); WorldRaidStageExcel.AddAllyPassiveSkillLevel(builder, AllyPassiveSkillLevelOffset); WorldRaidStageExcel.AddAllyPassiveSkill(builder, AllyPassiveSkillOffset); WorldRaidStageExcel.AddBossBGInfoKey(builder, BossBGInfoKey); @@ -171,7 +171,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject WorldRaidStageExcel.AddBattleReadyTimelinePhaseEnd(builder, BattleReadyTimelinePhaseEndOffset); WorldRaidStageExcel.AddBattleReadyTimelinePhaseStart(builder, BattleReadyTimelinePhaseStartOffset); WorldRaidStageExcel.AddBattleReadyTimelinePath(builder, BattleReadyTimelinePathOffset); - WorldRaidStageExcel.AddWorldRaidDifficulty_(builder, WorldRaidDifficulty_); + WorldRaidStageExcel.AddWorldRaidDifficulty(builder, WorldRaidDifficulty); WorldRaidStageExcel.AddBossCharacterId(builder, BossCharacterIdOffset); WorldRaidStageExcel.AddBGPath(builder, BGPathOffset); WorldRaidStageExcel.AddPortraitPath(builder, PortraitPathOffset); @@ -200,7 +200,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject public static VectorOffset CreateBossCharacterIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBossCharacterIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } public static void AddAssistCharacterLimitCount(FlatBufferBuilder builder, long assistCharacterLimitCount) { builder.AddLong(8, assistCharacterLimitCount, 0); } - public static void AddWorldRaidDifficulty_(FlatBufferBuilder builder, SCHALE.Common.FlatData.WorldRaidDifficulty worldRaidDifficulty_) { builder.AddInt(9, (int)worldRaidDifficulty_, 0); } + public static void AddWorldRaidDifficulty(FlatBufferBuilder builder, SCHALE.Common.FlatData.WorldRaidDifficulty worldRaidDifficulty) { builder.AddInt(9, (int)worldRaidDifficulty, 0); } public static void AddDifficultyOpenCondition(FlatBufferBuilder builder, bool difficultyOpenCondition) { builder.AddBool(10, difficultyOpenCondition, false); } public static void AddRaidEnterAmount(FlatBufferBuilder builder, long raidEnterAmount) { builder.AddLong(11, raidEnterAmount, 0); } public static void AddReEnterAmount(FlatBufferBuilder builder, long reEnterAmount) { builder.AddLong(12, reEnterAmount, 0); } @@ -250,7 +250,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject public static VectorOffset CreateAllyPassiveSkillLevelVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartAllyPassiveSkillLevelVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } public static void AddSaveCurrentLocalBossHP(FlatBufferBuilder builder, bool saveCurrentLocalBossHP) { builder.AddBool(33, saveCurrentLocalBossHP, false); } - public static void AddEchelonExtensionType_(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType_) { builder.AddInt(34, (int)echelonExtensionType_, 0); } + public static void AddEchelonExtensionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.EchelonExtensionType echelonExtensionType) { builder.AddInt(34, (int)echelonExtensionType, 0); } public static Offset EndWorldRaidStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -272,7 +272,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject _o.BossCharacterId = new List(); for (var _j = 0; _j < this.BossCharacterIdLength; ++_j) {_o.BossCharacterId.Add(TableEncryptionService.Convert(this.BossCharacterId(_j), key));} _o.AssistCharacterLimitCount = TableEncryptionService.Convert(this.AssistCharacterLimitCount, key); - _o.WorldRaidDifficulty_ = TableEncryptionService.Convert(this.WorldRaidDifficulty_, key); + _o.WorldRaidDifficulty = TableEncryptionService.Convert(this.WorldRaidDifficulty, key); _o.DifficultyOpenCondition = TableEncryptionService.Convert(this.DifficultyOpenCondition, key); _o.RaidEnterAmount = TableEncryptionService.Convert(this.RaidEnterAmount, key); _o.ReEnterAmount = TableEncryptionService.Convert(this.ReEnterAmount, key); @@ -302,7 +302,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject _o.AllyPassiveSkillLevel = new List(); for (var _j = 0; _j < this.AllyPassiveSkillLevelLength; ++_j) {_o.AllyPassiveSkillLevel.Add(TableEncryptionService.Convert(this.AllyPassiveSkillLevel(_j), key));} _o.SaveCurrentLocalBossHP = TableEncryptionService.Convert(this.SaveCurrentLocalBossHP, key); - _o.EchelonExtensionType_ = TableEncryptionService.Convert(this.EchelonExtensionType_, key); + _o.EchelonExtensionType = TableEncryptionService.Convert(this.EchelonExtensionType, key); } public static Offset Pack(FlatBufferBuilder builder, WorldRaidStageExcelT _o) { if (_o == null) return default(Offset); @@ -353,7 +353,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject _o.RaidCharacterId, _BossCharacterId, _o.AssistCharacterLimitCount, - _o.WorldRaidDifficulty_, + _o.WorldRaidDifficulty, _o.DifficultyOpenCondition, _o.RaidEnterAmount, _o.ReEnterAmount, @@ -378,7 +378,7 @@ public struct WorldRaidStageExcel : IFlatbufferObject _AllyPassiveSkill, _AllyPassiveSkillLevel, _o.SaveCurrentLocalBossHP, - _o.EchelonExtensionType_); + _o.EchelonExtensionType); } } @@ -393,7 +393,7 @@ public class WorldRaidStageExcelT public long RaidCharacterId { get; set; } public List BossCharacterId { get; set; } public long AssistCharacterLimitCount { get; set; } - public SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty_ { get; set; } + public SCHALE.Common.FlatData.WorldRaidDifficulty WorldRaidDifficulty { get; set; } public bool DifficultyOpenCondition { get; set; } public long RaidEnterAmount { get; set; } public long ReEnterAmount { get; set; } @@ -418,7 +418,7 @@ public class WorldRaidStageExcelT public List AllyPassiveSkill { get; set; } public List AllyPassiveSkillLevel { get; set; } public bool SaveCurrentLocalBossHP { get; set; } - public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType_ { get; set; } + public SCHALE.Common.FlatData.EchelonExtensionType EchelonExtensionType { get; set; } public WorldRaidStageExcelT() { this.Id = 0; @@ -430,7 +430,7 @@ public class WorldRaidStageExcelT this.RaidCharacterId = 0; this.BossCharacterId = null; this.AssistCharacterLimitCount = 0; - this.WorldRaidDifficulty_ = SCHALE.Common.FlatData.WorldRaidDifficulty.None; + this.WorldRaidDifficulty = SCHALE.Common.FlatData.WorldRaidDifficulty.None; this.DifficultyOpenCondition = false; this.RaidEnterAmount = 0; this.ReEnterAmount = 0; @@ -455,7 +455,7 @@ public class WorldRaidStageExcelT this.AllyPassiveSkill = null; this.AllyPassiveSkillLevel = null; this.SaveCurrentLocalBossHP = false; - this.EchelonExtensionType_ = SCHALE.Common.FlatData.EchelonExtensionType.Base; + this.EchelonExtensionType = SCHALE.Common.FlatData.EchelonExtensionType.Base; } } @@ -474,7 +474,7 @@ static public class WorldRaidStageExcelVerify && verifier.VerifyField(tablePos, 16 /*RaidCharacterId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 18 /*BossCharacterId*/, 8 /*long*/, false) && verifier.VerifyField(tablePos, 20 /*AssistCharacterLimitCount*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 22 /*WorldRaidDifficulty_*/, 4 /*SCHALE.Common.FlatData.WorldRaidDifficulty*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*WorldRaidDifficulty*/, 4 /*SCHALE.Common.FlatData.WorldRaidDifficulty*/, 4, false) && verifier.VerifyField(tablePos, 24 /*DifficultyOpenCondition*/, 1 /*bool*/, 1, false) && verifier.VerifyField(tablePos, 26 /*RaidEnterAmount*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 28 /*ReEnterAmount*/, 8 /*long*/, 8, false) @@ -499,7 +499,7 @@ static public class WorldRaidStageExcelVerify && verifier.VerifyVectorOfStrings(tablePos, 66 /*AllyPassiveSkill*/, false) && verifier.VerifyVectorOfData(tablePos, 68 /*AllyPassiveSkillLevel*/, 4 /*int*/, false) && verifier.VerifyField(tablePos, 70 /*SaveCurrentLocalBossHP*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 72 /*EchelonExtensionType_*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) + && verifier.VerifyField(tablePos, 72 /*EchelonExtensionType*/, 4 /*SCHALE.Common.FlatData.EchelonExtensionType*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.Designer.cs b/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.Designer.cs new file mode 100644 index 0000000..82ceb46 --- /dev/null +++ b/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.Designer.cs @@ -0,0 +1,701 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using SCHALE.Common.Database; + +#nullable disable + +namespace SCHALE.Common.Migrations.SqlServerMigrations +{ + [DbContext(typeof(SCHALEContext))] + [Migration("20241227021741_BIGUPDATE")] + partial class BIGUPDATE + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "8.0.6") + .HasAnnotation("Proxies:ChangeTracking", false) + .HasAnnotation("Proxies:CheckEquality", false) + .HasAnnotation("Proxies:LazyLoading", true) + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("BirthDay") + .HasColumnType("datetime2"); + + b.Property("CallName") + .HasColumnType("nvarchar(max)"); + + b.Property("CallNameUpdateTime") + .HasColumnType("datetime2"); + + b.Property("Comment") + .HasColumnType("nvarchar(max)"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("DevId") + .HasColumnType("nvarchar(max)"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("LastConnectTime") + .HasColumnType("datetime2"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("LinkRewardDate") + .HasColumnType("datetime2"); + + b.Property("LobbyMode") + .HasColumnType("int"); + + b.Property("MemoryLobbyUniqueId") + .HasColumnType("bigint"); + + b.Property("Nickname") + .HasColumnType("nvarchar(max)"); + + b.Property("PublisherAccountId") + .HasColumnType("bigint"); + + b.Property("RaidInfo") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("RepresentCharacterServerId") + .HasColumnType("bigint"); + + b.Property("RetentionDays") + .HasColumnType("int"); + + b.Property("State") + .HasColumnType("int"); + + b.Property("UnReadMailCount") + .HasColumnType("int"); + + b.Property("VIPLevel") + .HasColumnType("int"); + + b.HasKey("ServerId"); + + b.ToTable("Accounts"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b => + { + b.Property("CafeDBId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("CafeDBId")); + + b.Property("AccountId") + .HasColumnType("bigint"); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CafeId") + .HasColumnType("bigint"); + + b.Property("CafeRank") + .HasColumnType("int"); + + b.Property("CafeVisitCharacterDBs") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CurrencyDict_Obsolete") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("LastSummonDate") + .HasColumnType("datetime2"); + + b.Property("LastUpdate") + .HasColumnType("datetime2"); + + b.Property("ProductionAppliedTime") + .HasColumnType("datetime2"); + + b.Property("UpdateTimeDict_Obsolete") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("CafeDBId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Cafes"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("EquipmentServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("EquipmentSlotAndDBIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ExSkillLevel") + .HasColumnType("int"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("ExtraPassiveSkillLevel") + .HasColumnType("int"); + + b.Property("FavorExp") + .HasColumnType("bigint"); + + b.Property("FavorRank") + .HasColumnType("int"); + + b.Property("IsFavorite") + .HasColumnType("bit"); + + b.Property("LeaderSkillLevel") + .HasColumnType("int"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("PassiveSkillLevel") + .HasColumnType("int"); + + b.Property("PotentialStats") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("PublicSkillLevel") + .HasColumnType("int"); + + b.Property("StarGrade") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Characters"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CombatStyleIndex") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("EchelonNumber") + .HasColumnType("bigint"); + + b.Property("EchelonType") + .HasColumnType("int"); + + b.Property("ExtensionType") + .HasColumnType("int"); + + b.Property("LeaderServerId") + .HasColumnType("bigint"); + + b.Property("MainSlotServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("SkillCardMulliganCharacterIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("SupportSlotServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("TSSInteractionServerId") + .HasColumnType("bigint"); + + b.Property("UsingFlag") + .HasColumnType("int"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Echelons"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("Tier") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Equipment"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CafeDBId") + .HasColumnType("bigint"); + + b.Property("ItemDeploySequence") + .HasColumnType("bigint"); + + b.Property("Location") + .HasColumnType("int"); + + b.Property("PositionX") + .HasColumnType("real"); + + b.Property("PositionY") + .HasColumnType("real"); + + b.Property("Rotation") + .HasColumnType("real"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Furnitures"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.GearDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("SlotIndex") + .HasColumnType("bigint"); + + b.Property("Tier") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Gears"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Items"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("MemoryLobbyUniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MemoryLobbies"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("Complete") + .HasColumnType("bit"); + + b.Property("MissionUniqueId") + .HasColumnType("bigint"); + + b.Property("ProgressParameters") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("StartTime") + .HasColumnType("datetime2"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MissionProgresses"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.Models.AccountTutorial", b => + { + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("TutorialIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("AccountServerId"); + + b.ToTable("AccountTutorials"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.Models.GuestAccount", b => + { + b.Property("Uid") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Uid")); + + b.Property("DeviceId") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Token") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Uid"); + + b.ToTable("GuestAccounts"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearDateTime") + .HasColumnType("datetime2"); + + b.Property("ScenarioUniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Scenarios"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("StarGrade") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Weapons"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Cafes") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Characters") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Echelons") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Equipment") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Furnitures") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.GearDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Gears") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Items") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MemoryLobbies") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MissionProgresses") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Scenarios") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Weapons") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => + { + b.Navigation("Cafes"); + + b.Navigation("Characters"); + + b.Navigation("Echelons"); + + b.Navigation("Equipment"); + + b.Navigation("Furnitures"); + + b.Navigation("Gears"); + + b.Navigation("Items"); + + b.Navigation("MemoryLobbies"); + + b.Navigation("MissionProgresses"); + + b.Navigation("Scenarios"); + + b.Navigation("Weapons"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.cs b/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.cs new file mode 100644 index 0000000..79599e0 --- /dev/null +++ b/SCHALE.Common/Migrations/SqlServerMigrations/20241227021741_BIGUPDATE.cs @@ -0,0 +1,115 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace SCHALE.Common.Migrations.SqlServerMigrations +{ + /// + public partial class BIGUPDATE : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "IsLocked", + table: "Weapons"); + + migrationBuilder.DropColumn( + name: "IsLocked", + table: "Items"); + + migrationBuilder.DropColumn( + name: "IsLocked", + table: "Equipment"); + + migrationBuilder.DropColumn( + name: "IsLocked", + table: "Characters"); + + migrationBuilder.AlterColumn( + name: "RepresentCharacterServerId", + table: "Accounts", + type: "bigint", + nullable: false, + oldClrType: typeof(int), + oldType: "int"); + + migrationBuilder.AlterColumn( + name: "LobbyMode", + table: "Accounts", + type: "int", + nullable: true, + oldClrType: typeof(int), + oldType: "int"); + + migrationBuilder.AlterColumn( + name: "BirthDay", + table: "Accounts", + type: "datetime2", + nullable: false, + defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), + oldClrType: typeof(DateTime), + oldType: "datetime2", + oldNullable: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "IsLocked", + table: "Weapons", + type: "bit", + nullable: false, + defaultValue: false); + + migrationBuilder.AddColumn( + name: "IsLocked", + table: "Items", + type: "bit", + nullable: false, + defaultValue: false); + + migrationBuilder.AddColumn( + name: "IsLocked", + table: "Equipment", + type: "bit", + nullable: false, + defaultValue: false); + + migrationBuilder.AddColumn( + name: "IsLocked", + table: "Characters", + type: "bit", + nullable: false, + defaultValue: false); + + migrationBuilder.AlterColumn( + name: "RepresentCharacterServerId", + table: "Accounts", + type: "int", + nullable: false, + oldClrType: typeof(long), + oldType: "bigint"); + + migrationBuilder.AlterColumn( + name: "LobbyMode", + table: "Accounts", + type: "int", + nullable: false, + defaultValue: 0, + oldClrType: typeof(int), + oldType: "int", + oldNullable: true); + + migrationBuilder.AlterColumn( + name: "BirthDay", + table: "Accounts", + type: "datetime2", + nullable: true, + oldClrType: typeof(DateTime), + oldType: "datetime2"); + } + } +} diff --git a/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.Designer.cs b/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.Designer.cs new file mode 100644 index 0000000..f172914 --- /dev/null +++ b/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.Designer.cs @@ -0,0 +1,1049 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using SCHALE.Common.Database; + +#nullable disable + +namespace SCHALE.Common.Migrations.SqlServerMigrations +{ + [DbContext(typeof(SCHALEContext))] + [Migration("20241229024747_Currency_Raid_Dungeons_and_Campaign")] + partial class Currency_Raid_Dungeons_and_Campaign + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "8.0.6") + .HasAnnotation("Proxies:ChangeTracking", false) + .HasAnnotation("Proxies:CheckEquality", false) + .HasAnnotation("Proxies:LazyLoading", true) + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AcademyLocationRankSum") + .HasColumnType("bigint"); + + b.Property("AccountLevel") + .HasColumnType("bigint"); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CurrencyDict") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UpdateTimeDict") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Currencies"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("BirthDay") + .HasColumnType("datetime2"); + + b.Property("CallName") + .HasColumnType("nvarchar(max)"); + + b.Property("CallNameUpdateTime") + .HasColumnType("datetime2"); + + b.Property("Comment") + .HasColumnType("nvarchar(max)"); + + b.Property("CreateDate") + .HasColumnType("datetime2"); + + b.Property("DevId") + .HasColumnType("nvarchar(max)"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("LastConnectTime") + .HasColumnType("datetime2"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("LinkRewardDate") + .HasColumnType("datetime2"); + + b.Property("LobbyMode") + .HasColumnType("int"); + + b.Property("MemoryLobbyUniqueId") + .HasColumnType("bigint"); + + b.Property("Nickname") + .HasColumnType("nvarchar(max)"); + + b.Property("PublisherAccountId") + .HasColumnType("bigint"); + + b.Property("RaidInfo") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("RepresentCharacterServerId") + .HasColumnType("bigint"); + + b.Property("RetentionDays") + .HasColumnType("int"); + + b.Property("State") + .HasColumnType("int"); + + b.Property("UnReadMailCount") + .HasColumnType("int"); + + b.Property("VIPLevel") + .HasColumnType("int"); + + b.HasKey("ServerId"); + + b.ToTable("Accounts"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b => + { + b.Property("CafeDBId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("CafeDBId")); + + b.Property("AccountId") + .HasColumnType("bigint"); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CafeId") + .HasColumnType("bigint"); + + b.Property("CafeRank") + .HasColumnType("int"); + + b.Property("CafeVisitCharacterDBs") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CurrencyDict_Obsolete") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("LastSummonDate") + .HasColumnType("datetime2"); + + b.Property("LastUpdate") + .HasColumnType("datetime2"); + + b.Property("ProductionAppliedTime") + .HasColumnType("datetime2"); + + b.Property("UpdateTimeDict_Obsolete") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("CafeDBId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Cafes"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ChapterUniqueId") + .HasColumnType("bigint"); + + b.Property("ClearTurnRecord") + .HasColumnType("bigint"); + + b.Property("FirstClearRewardReceive") + .HasColumnType("datetime2"); + + b.Property("LastPlay") + .HasColumnType("datetime2"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("Star1Flag") + .HasColumnType("bit"); + + b.Property("Star2Flag") + .HasColumnType("bit"); + + b.Property("Star3Flag") + .HasColumnType("bit"); + + b.Property("StarRewardReceive") + .HasColumnType("datetime2"); + + b.Property("StoryUniqueId") + .HasColumnType("bigint"); + + b.Property("TacticClearCountWithRankSRecord") + .HasColumnType("bigint"); + + b.Property("TodayPlayCount") + .HasColumnType("bigint"); + + b.Property("TodayPurchasePlayCountHardStage") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("CampaignStageHistories"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("EquipmentServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("EquipmentSlotAndDBIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ExSkillLevel") + .HasColumnType("int"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("ExtraPassiveSkillLevel") + .HasColumnType("int"); + + b.Property("FavorExp") + .HasColumnType("bigint"); + + b.Property("FavorRank") + .HasColumnType("int"); + + b.Property("IsFavorite") + .HasColumnType("bit"); + + b.Property("LeaderSkillLevel") + .HasColumnType("int"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("PassiveSkillLevel") + .HasColumnType("int"); + + b.Property("PotentialStats") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("PublicSkillLevel") + .HasColumnType("int"); + + b.Property("StarGrade") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Characters"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CombatStyleIndex") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("EchelonNumber") + .HasColumnType("bigint"); + + b.Property("EchelonType") + .HasColumnType("int"); + + b.Property("ExtensionType") + .HasColumnType("int"); + + b.Property("LeaderServerId") + .HasColumnType("bigint"); + + b.Property("MainSlotServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("SkillCardMulliganCharacterIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("SupportSlotServerIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("TSSInteractionServerId") + .HasColumnType("bigint"); + + b.Property("UsingFlag") + .HasColumnType("int"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Echelons"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("Tier") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Equipment"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CafeDBId") + .HasColumnType("bigint"); + + b.Property("ItemDeploySequence") + .HasColumnType("bigint"); + + b.Property("Location") + .HasColumnType("int"); + + b.Property("PositionX") + .HasColumnType("real"); + + b.Property("PositionY") + .HasColumnType("real"); + + b.Property("Rotation") + .HasColumnType("real"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Furnitures"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.GearDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("SlotIndex") + .HasColumnType("bigint"); + + b.Property("Tier") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Gears"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StackCount") + .HasColumnType("bigint"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Items"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MailDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ExpireDate") + .HasColumnType("datetime2"); + + b.Property("ReceiptDate") + .HasColumnType("datetime2"); + + b.Property("SendDate") + .HasColumnType("datetime2"); + + b.Property("Sender") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Type") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Mails"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("MemoryLobbyUniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MemoryLobbies"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("Complete") + .HasColumnType("bit"); + + b.Property("MissionUniqueId") + .HasColumnType("bigint"); + + b.Property("ProgressParameters") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("StartTime") + .HasColumnType("datetime2"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MissionProgresses"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.Models.AccountTutorial", b => + { + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("TutorialIds") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("AccountServerId"); + + b.ToTable("AccountTutorials"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.Models.GuestAccount", b => + { + b.Property("Uid") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Uid")); + + b.Property("DeviceId") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Token") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Uid"); + + b.ToTable("GuestAccounts"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearBattleFrame") + .HasColumnType("int"); + + b.Property("ClearedDifficulty") + .HasColumnType("int"); + + b.Property("LastClearDate") + .HasColumnType("datetime2"); + + b.Property("LastRewardDate") + .HasColumnType("datetime2"); + + b.Property("RewardDifficulty") + .HasColumnType("int"); + + b.Property("SeasonId") + .HasColumnType("bigint"); + + b.Property("TotalReceivableRewards") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("TotalReceivedRewards") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MultiFloorRaids"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearDateTime") + .HasColumnType("datetime2"); + + b.Property("EventContentId") + .HasColumnType("bigint"); + + b.Property("IsReturn") + .HasColumnType("bit"); + + b.Property("ScenarioGroupUqniueId") + .HasColumnType("bigint"); + + b.Property("ScenarioType") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("ScenarioGroupHistoryDB"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearDateTime") + .HasColumnType("datetime2"); + + b.Property("ScenarioUniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Scenarios"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("StarFlags") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("SchoolDungeonStageHistories"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("BoundCharacterServerId") + .HasColumnType("bigint"); + + b.Property("Exp") + .HasColumnType("bigint"); + + b.Property("Level") + .HasColumnType("int"); + + b.Property("StarGrade") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Weapons"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("StarGoalRecord") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("WeekDungeonStageHistories"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Currencies") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Cafes") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("CampaignStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Characters") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Echelons") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Equipment") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Furnitures") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.GearDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Gears") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Items") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MailDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Mails") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MemoryLobbies") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MissionProgresses") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MultiFloorRaids") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("ScenarioGroups") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Scenarios") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("SchoolDungeonStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Weapons") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("WeekDungeonStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => + { + b.Navigation("Cafes"); + + b.Navigation("CampaignStageHistories"); + + b.Navigation("Characters"); + + b.Navigation("Currencies"); + + b.Navigation("Echelons"); + + b.Navigation("Equipment"); + + b.Navigation("Furnitures"); + + b.Navigation("Gears"); + + b.Navigation("Items"); + + b.Navigation("Mails"); + + b.Navigation("MemoryLobbies"); + + b.Navigation("MissionProgresses"); + + b.Navigation("MultiFloorRaids"); + + b.Navigation("ScenarioGroups"); + + b.Navigation("Scenarios"); + + b.Navigation("SchoolDungeonStageHistories"); + + b.Navigation("Weapons"); + + b.Navigation("WeekDungeonStageHistories"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.cs b/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.cs new file mode 100644 index 0000000..9b565b7 --- /dev/null +++ b/SCHALE.Common/Migrations/SqlServerMigrations/20241229024747_Currency_Raid_Dungeons_and_Campaign.cs @@ -0,0 +1,249 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace SCHALE.Common.Migrations.SqlServerMigrations +{ + /// + public partial class Currency_Raid_Dungeons_and_Campaign : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "CampaignStageHistories", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + StoryUniqueId = table.Column(type: "bigint", nullable: false), + ChapterUniqueId = table.Column(type: "bigint", nullable: false), + StageUniqueId = table.Column(type: "bigint", nullable: false), + TacticClearCountWithRankSRecord = table.Column(type: "bigint", nullable: false), + ClearTurnRecord = table.Column(type: "bigint", nullable: false), + Star1Flag = table.Column(type: "bit", nullable: false), + Star2Flag = table.Column(type: "bit", nullable: false), + Star3Flag = table.Column(type: "bit", nullable: false), + LastPlay = table.Column(type: "datetime2", nullable: false), + TodayPlayCount = table.Column(type: "bigint", nullable: false), + TodayPurchasePlayCountHardStage = table.Column(type: "bigint", nullable: false), + FirstClearRewardReceive = table.Column(type: "datetime2", nullable: true), + StarRewardReceive = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_CampaignStageHistories", x => x.ServerId); + table.ForeignKey( + name: "FK_CampaignStageHistories_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "Currencies", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + AccountLevel = table.Column(type: "bigint", nullable: false), + AcademyLocationRankSum = table.Column(type: "bigint", nullable: false), + CurrencyDict = table.Column(type: "nvarchar(max)", nullable: false), + UpdateTimeDict = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Currencies", x => x.ServerId); + table.ForeignKey( + name: "FK_Currencies_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "Mails", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + Type = table.Column(type: "int", nullable: false), + UniqueId = table.Column(type: "bigint", nullable: false), + Sender = table.Column(type: "nvarchar(max)", nullable: false), + Comment = table.Column(type: "nvarchar(max)", nullable: false), + SendDate = table.Column(type: "datetime2", nullable: false), + ReceiptDate = table.Column(type: "datetime2", nullable: true), + ExpireDate = table.Column(type: "datetime2", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_Mails", x => x.ServerId); + table.ForeignKey( + name: "FK_Mails_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "MultiFloorRaids", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + SeasonId = table.Column(type: "bigint", nullable: false), + ClearedDifficulty = table.Column(type: "int", nullable: false), + LastClearDate = table.Column(type: "datetime2", nullable: false), + RewardDifficulty = table.Column(type: "int", nullable: false), + LastRewardDate = table.Column(type: "datetime2", nullable: false), + ClearBattleFrame = table.Column(type: "int", nullable: false), + TotalReceivableRewards = table.Column(type: "nvarchar(max)", nullable: false), + TotalReceivedRewards = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_MultiFloorRaids", x => x.ServerId); + table.ForeignKey( + name: "FK_MultiFloorRaids_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "ScenarioGroupHistoryDB", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + ScenarioGroupUqniueId = table.Column(type: "bigint", nullable: false), + ScenarioType = table.Column(type: "bigint", nullable: false), + EventContentId = table.Column(type: "bigint", nullable: true), + ClearDateTime = table.Column(type: "datetime2", nullable: false), + IsReturn = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_ScenarioGroupHistoryDB", x => x.ServerId); + table.ForeignKey( + name: "FK_ScenarioGroupHistoryDB_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "SchoolDungeonStageHistories", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + StageUniqueId = table.Column(type: "bigint", nullable: false), + StarFlags = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_SchoolDungeonStageHistories", x => x.ServerId); + table.ForeignKey( + name: "FK_SchoolDungeonStageHistories_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "WeekDungeonStageHistories", + columns: table => new + { + ServerId = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + AccountServerId = table.Column(type: "bigint", nullable: false), + StageUniqueId = table.Column(type: "bigint", nullable: false), + StarGoalRecord = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_WeekDungeonStageHistories", x => x.ServerId); + table.ForeignKey( + name: "FK_WeekDungeonStageHistories_Accounts_AccountServerId", + column: x => x.AccountServerId, + principalTable: "Accounts", + principalColumn: "ServerId", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_CampaignStageHistories_AccountServerId", + table: "CampaignStageHistories", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_Currencies_AccountServerId", + table: "Currencies", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_Mails_AccountServerId", + table: "Mails", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_MultiFloorRaids_AccountServerId", + table: "MultiFloorRaids", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_ScenarioGroupHistoryDB_AccountServerId", + table: "ScenarioGroupHistoryDB", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_SchoolDungeonStageHistories_AccountServerId", + table: "SchoolDungeonStageHistories", + column: "AccountServerId"); + + migrationBuilder.CreateIndex( + name: "IX_WeekDungeonStageHistories_AccountServerId", + table: "WeekDungeonStageHistories", + column: "AccountServerId"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "CampaignStageHistories"); + + migrationBuilder.DropTable( + name: "Currencies"); + + migrationBuilder.DropTable( + name: "Mails"); + + migrationBuilder.DropTable( + name: "MultiFloorRaids"); + + migrationBuilder.DropTable( + name: "ScenarioGroupHistoryDB"); + + migrationBuilder.DropTable( + name: "SchoolDungeonStageHistories"); + + migrationBuilder.DropTable( + name: "WeekDungeonStageHistories"); + } + } +} diff --git a/SCHALE.Common/Migrations/SqlServerMigrations/SCHALEContextModelSnapshot.cs b/SCHALE.Common/Migrations/SqlServerMigrations/SCHALEContextModelSnapshot.cs index b6efea5..b8c1a39 100644 --- a/SCHALE.Common/Migrations/SqlServerMigrations/SCHALEContextModelSnapshot.cs +++ b/SCHALE.Common/Migrations/SqlServerMigrations/SCHALEContextModelSnapshot.cs @@ -25,6 +25,38 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AcademyLocationRankSum") + .HasColumnType("bigint"); + + b.Property("AccountLevel") + .HasColumnType("bigint"); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("CurrencyDict") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UpdateTimeDict") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Currencies"); + }); + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => { b.Property("ServerId") @@ -33,7 +65,7 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); - b.Property("BirthDay") + b.Property("BirthDay") .HasColumnType("datetime2"); b.Property("CallName") @@ -63,7 +95,7 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Property("LinkRewardDate") .HasColumnType("datetime2"); - b.Property("LobbyMode") + b.Property("LobbyMode") .HasColumnType("int"); b.Property("MemoryLobbyUniqueId") @@ -79,8 +111,8 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations .IsRequired() .HasColumnType("nvarchar(max)"); - b.Property("RepresentCharacterServerId") - .HasColumnType("int"); + b.Property("RepresentCharacterServerId") + .HasColumnType("bigint"); b.Property("RetentionDays") .HasColumnType("int"); @@ -147,6 +179,63 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.ToTable("Cafes"); }); + modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ChapterUniqueId") + .HasColumnType("bigint"); + + b.Property("ClearTurnRecord") + .HasColumnType("bigint"); + + b.Property("FirstClearRewardReceive") + .HasColumnType("datetime2"); + + b.Property("LastPlay") + .HasColumnType("datetime2"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("Star1Flag") + .HasColumnType("bit"); + + b.Property("Star2Flag") + .HasColumnType("bit"); + + b.Property("Star3Flag") + .HasColumnType("bit"); + + b.Property("StarRewardReceive") + .HasColumnType("datetime2"); + + b.Property("StoryUniqueId") + .HasColumnType("bigint"); + + b.Property("TacticClearCountWithRankSRecord") + .HasColumnType("bigint"); + + b.Property("TodayPlayCount") + .HasColumnType("bigint"); + + b.Property("TodayPurchasePlayCountHardStage") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("CampaignStageHistories"); + }); + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => { b.Property("ServerId") @@ -184,9 +273,6 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Property("IsFavorite") .HasColumnType("bit"); - b.Property("IsLocked") - .HasColumnType("bit"); - b.Property("LeaderSkillLevel") .HasColumnType("int"); @@ -285,9 +371,6 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Property("Exp") .HasColumnType("bigint"); - b.Property("IsLocked") - .HasColumnType("bit"); - b.Property("Level") .HasColumnType("int"); @@ -396,9 +479,6 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Property("AccountServerId") .HasColumnType("bigint"); - b.Property("IsLocked") - .HasColumnType("bit"); - b.Property("StackCount") .HasColumnType("bigint"); @@ -412,6 +492,47 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.ToTable("Items"); }); + modelBuilder.Entity("SCHALE.Common.Database.MailDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("Comment") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ExpireDate") + .HasColumnType("datetime2"); + + b.Property("ReceiptDate") + .HasColumnType("datetime2"); + + b.Property("SendDate") + .HasColumnType("datetime2"); + + b.Property("Sender") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Type") + .HasColumnType("int"); + + b.Property("UniqueId") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("Mails"); + }); + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => { b.Property("ServerId") @@ -499,6 +620,83 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.ToTable("GuestAccounts"); }); + modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearBattleFrame") + .HasColumnType("int"); + + b.Property("ClearedDifficulty") + .HasColumnType("int"); + + b.Property("LastClearDate") + .HasColumnType("datetime2"); + + b.Property("LastRewardDate") + .HasColumnType("datetime2"); + + b.Property("RewardDifficulty") + .HasColumnType("int"); + + b.Property("SeasonId") + .HasColumnType("bigint"); + + b.Property("TotalReceivableRewards") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("TotalReceivedRewards") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("MultiFloorRaids"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("ClearDateTime") + .HasColumnType("datetime2"); + + b.Property("EventContentId") + .HasColumnType("bigint"); + + b.Property("IsReturn") + .HasColumnType("bit"); + + b.Property("ScenarioGroupUqniueId") + .HasColumnType("bigint"); + + b.Property("ScenarioType") + .HasColumnType("bigint"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("ScenarioGroupHistoryDB"); + }); + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => { b.Property("ServerId") @@ -523,6 +721,31 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.ToTable("Scenarios"); }); + modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("StarFlags") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("SchoolDungeonStageHistories"); + }); + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => { b.Property("ServerId") @@ -540,9 +763,6 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Property("Exp") .HasColumnType("bigint"); - b.Property("IsLocked") - .HasColumnType("bit"); - b.Property("Level") .HasColumnType("int"); @@ -559,6 +779,42 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.ToTable("Weapons"); }); + modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b => + { + b.Property("ServerId") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("ServerId")); + + b.Property("AccountServerId") + .HasColumnType("bigint"); + + b.Property("StageUniqueId") + .HasColumnType("bigint"); + + b.Property("StarGoalRecord") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("ServerId"); + + b.HasIndex("AccountServerId"); + + b.ToTable("WeekDungeonStageHistories"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Currencies") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b => { b.HasOne("SCHALE.Common.Database.AccountDB", "Account") @@ -570,6 +826,17 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Account"); }); + modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("CampaignStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b => { b.HasOne("SCHALE.Common.Database.AccountDB", "Account") @@ -636,6 +903,17 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Account"); }); + modelBuilder.Entity("SCHALE.Common.Database.MailDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("Mails") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b => { b.HasOne("SCHALE.Common.Database.AccountDB", "Account") @@ -658,6 +936,28 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Account"); }); + modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("MultiFloorRaids") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + + modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("ScenarioGroups") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b => { b.HasOne("SCHALE.Common.Database.AccountDB", "Account") @@ -669,6 +969,17 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Account"); }); + modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("SchoolDungeonStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b => { b.HasOne("SCHALE.Common.Database.AccountDB", "Account") @@ -680,12 +991,27 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Account"); }); + modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b => + { + b.HasOne("SCHALE.Common.Database.AccountDB", "Account") + .WithMany("WeekDungeonStageHistories") + .HasForeignKey("AccountServerId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Account"); + }); + modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b => { b.Navigation("Cafes"); + b.Navigation("CampaignStageHistories"); + b.Navigation("Characters"); + b.Navigation("Currencies"); + b.Navigation("Echelons"); b.Navigation("Equipment"); @@ -696,13 +1022,23 @@ namespace SCHALE.Common.Migrations.SqlServerMigrations b.Navigation("Items"); + b.Navigation("Mails"); + b.Navigation("MemoryLobbies"); b.Navigation("MissionProgresses"); + b.Navigation("MultiFloorRaids"); + + b.Navigation("ScenarioGroups"); + b.Navigation("Scenarios"); + b.Navigation("SchoolDungeonStageHistories"); + b.Navigation("Weapons"); + + b.Navigation("WeekDungeonStageHistories"); }); #pragma warning restore 612, 618 } diff --git a/SCHALE.Common/NetworkProtocol/Packet.cs b/SCHALE.Common/NetworkProtocol/Packet.cs index 61192c9..0c50fe0 100644 --- a/SCHALE.Common/NetworkProtocol/Packet.cs +++ b/SCHALE.Common/NetworkProtocol/Packet.cs @@ -41,24 +41,4 @@ namespace SCHALE.Common.NetworkProtocol public Dictionary> EventMissionProgressDBDict { get; set; } public Dictionary StaticOpenConditions { get; set; } } - - [Flags] - public enum ServerNotificationFlag - { - None = 0, - NewMailArrived = 4, - HasUnreadMail = 8, - NewToastDetected = 16, - CanReceiveArenaDailyReward = 32, - CanReceiveRaidReward = 64, - ServerMaintenance = 256, - CannotReceiveMail = 512, - InventoryFullRewardMail = 1024, - CanReceiveClanAttendanceReward = 2048, - HasClanApplicant = 4096, - HasFriendRequest = 8192, - CheckConquest = 16384, - CanReceiveEliminateRaidReward = 32768, - CanReceiveMultiFloorRaidReward = 65536 - } } diff --git a/SCHALE.Common/NetworkProtocol/Protocol.cs b/SCHALE.Common/NetworkProtocol/Protocol.cs deleted file mode 100644 index 7baf01e..0000000 --- a/SCHALE.Common/NetworkProtocol/Protocol.cs +++ /dev/null @@ -1,431 +0,0 @@ -namespace SCHALE.Common.NetworkProtocol -{ - public enum Protocol - { - Common_Cheat = -9999, - Error = -1, - None = 0, - System_Version = 1, - [Obsolete] - Session_Info = 2, - NetworkTime_Sync = 3, - [Obsolete] - NetworkTime_SyncReply = 4, - Audit_GachaStatistics = 5, - Account_Create = 1000, - Account_Nickname = 1001, - Account_Auth = 1002, - Account_CurrencySync = 1003, - Account_SetRepresentCharacterAndComment = 1004, - Account_GetTutorial = 1005, - Account_SetTutorial = 1006, - Account_PassCheck = 1007, - Account_VerifyForYostar = 1008, - Account_CheckYostar = 1009, - Account_CallName = 1010, - Account_BirthDay = 1011, - Account_Auth2 = 1012, - Account_LinkReward = 1013, - Account_ReportXignCodeCheater = 1014, - Account_DismissRepurchasablePopup = 1015, - Account_InvalidateToken = 1016, - Account_LoginSync = 1017, - Account_Reset = 1018, - Account_RequestBirthdayMail = 1019, - Character_List = 2000, - Character_Transcendence = 2001, - Character_ExpGrowth = 2002, - Character_FavorGrowth = 2003, - Character_UpdateSkillLevel = 2004, - Character_UnlockWeapon = 2005, - Character_WeaponExpGrowth = 2006, - Character_WeaponTranscendence = 2007, - Character_SetFavorites = 2008, - Character_SetCostume = 2009, - Character_BatchSkillLevelUpdate = 2010, - Character_PotentialGrowth = 2011, - Equipment_List = 3000, - Equipment_Sell = 3001, - Equipment_Equip = 3002, - Equipment_LevelUp = 3003, - Equipment_TierUp = 3004, - Equipment_Lock = 3005, - Equipment_BatchGrowth = 3006, - Item_List = 4000, - Item_Sell = 4001, - Item_Consume = 4002, - Item_Lock = 4003, - Item_BulkConsume = 4004, - Item_SelectTicket = 4005, - Item_AutoSynth = 4006, - Echelon_List = 5000, - Echelon_Save = 5001, - Echelon_PresetList = 5002, - Echelon_PresetSave = 5003, - Echelon_PresetGroupRename = 5004, - Campaign_List = 6000, - Campaign_EnterMainStage = 6001, - Campaign_ConfirmMainStage = 6002, - Campaign_DeployEchelon = 6003, - Campaign_WithdrawEchelon = 6004, - Campaign_MapMove = 6005, - Campaign_EndTurn = 6006, - Campaign_EnterTactic = 6007, - Campaign_TacticResult = 6008, - Campaign_Retreat = 6009, - Campaign_ChapterClearReward = 6010, - Campaign_Heal = 6011, - Campaign_EnterSubStage = 6012, - Campaign_SubStageResult = 6013, - Campaign_Portal = 6014, - Campaign_ConfirmTutorialStage = 6015, - Campaign_PurchasePlayCountHardStage = 6016, - Campaign_EnterTutorialStage = 6017, - Campaign_TutorialStageResult = 6018, - Campaign_RestartMainStage = 6019, - Campaign_EnterMainStageStrategySkip = 6020, - Campaign_MainStageStrategySkipResult = 6021, - Mail_List = 7000, - Mail_Check = 7001, - Mail_Receive = 7002, - Mission_List = 8000, - Mission_Reward = 8001, - Mission_MultipleReward = 8002, - Mission_GuideReward = 8003, - Mission_MultipleGuideReward = 8004, - Mission_Sync = 8005, - Mission_GuideMissionSeasonList = 8006, - Attendance_List = 9000, - Attendance_Check = 9001, - Attendance_Reward = 9002, - Shop_BuyMerchandise = 10000, - Shop_BuyGacha = 10001, - Shop_List = 10002, - Shop_Refresh = 10003, - Shop_BuyEligma = 10004, - Shop_BuyGacha2 = 10005, - Shop_GachaRecruitList = 10006, - Shop_BuyRefreshMerchandise = 10007, - Shop_BuyGacha3 = 10008, - Shop_BuyAP = 10009, - Shop_BeforehandGachaGet = 10010, - Shop_BeforehandGachaRun = 10011, - Shop_BeforehandGachaSave = 10012, - Shop_BeforehandGachaPick = 10013, - Recipe_Craft = 11000, - MemoryLobby_List = 12000, - MemoryLobby_SetMain = 12001, - MemoryLobby_UpdateLobbyMode = 12002, - MemoryLobby_Interact = 12003, - [Obsolete] - CumulativeTimeReward_List = 13000, - [Obsolete] - CumulativeTimeReward_Reward = 13001, - OpenCondition_List = 15000, - OpenCondition_Set = 15001, - OpenCondition_EventList = 15002, - Toast_List = 16000, - Raid_List = 17000, - Raid_CompleteList = 17001, - Raid_Detail = 17002, - Raid_Search = 17003, - Raid_CreateBattle = 17004, - Raid_EnterBattle = 17005, - Raid_BattleUpdate = 17006, - Raid_EndBattle = 17007, - Raid_Reward = 17008, - Raid_RewardAll = 17009, - Raid_Revive = 17010, - Raid_Share = 17011, - Raid_SeasonInfo = 17012, - Raid_SeasonReward = 17013, - Raid_Lobby = 17014, - Raid_GiveUp = 17015, - Raid_OpponentList = 17016, - Raid_RankingReward = 17017, - Raid_Login = 17018, - Raid_Sweep = 17019, - Raid_GetBestTeam = 17020, - SkipHistory_List = 18000, - SkipHistory_Save = 18001, - Scenario_List = 19000, - Scenario_Clear = 19001, - Scenario_GroupHistoryUpdate = 19002, - Scenario_Skip = 19003, - Scenario_Select = 19004, - Scenario_AccountStudentChange = 19005, - Scenario_LobbyStudentChange = 19006, - Scenario_SpecialLobbyChange = 19007, - Scenario_Enter = 19008, - Scenario_EnterMainStage = 19009, - Scenario_ConfirmMainStage = 19010, - Scenario_DeployEchelon = 19011, - Scenario_WithdrawEchelon = 19012, - Scenario_MapMove = 19013, - Scenario_EndTurn = 19014, - Scenario_EnterTactic = 19015, - Scenario_TacticResult = 19016, - Scenario_Retreat = 19017, - Scenario_Portal = 19018, - Scenario_RestartMainStage = 19019, - Scenario_SkipMainStage = 19020, - Cafe_Get = 20000, - Cafe_Ack = 20001, - Cafe_Deploy = 20002, - Cafe_Relocate = 20003, - Cafe_Remove = 20004, - Cafe_RemoveAll = 20005, - Cafe_Interact = 20006, - Cafe_ListPreset = 20007, - Cafe_RenamePreset = 20008, - Cafe_ClearPreset = 20009, - Cafe_UpdatePresetFurniture = 20010, - Cafe_ApplyPreset = 20011, - Cafe_RankUp = 20012, - Cafe_ReceiveCurrency = 20013, - Cafe_GiveGift = 20014, - Cafe_SummonCharacter = 20015, - Cafe_TrophyHistory = 20016, - Cafe_ApplyTemplate = 20017, - Cafe_Open = 20018, - Craft_List = 21000, - Craft_SelectNode = 21001, - Craft_UpdateNodeLevel = 21002, - Craft_BeginProcess = 21003, - Craft_CompleteProcess = 21004, - Craft_Reward = 21005, - Craft_HistoryList = 21006, - Craft_ShiftingBeginProcess = 21007, - Craft_ShiftingCompleteProcess = 21008, - Craft_ShiftingReward = 21009, - Craft_AutoBeginProcess = 21010, - Craft_CompleteProcessAll = 21011, - Craft_RewardAll = 21012, - Craft_ShiftingCompleteProcessAll = 21013, - Craft_ShiftingRewardAll = 21014, - Arena_EnterLobby = 22000, - Arena_Login = 22001, - Arena_SettingChange = 22002, - Arena_OpponentList = 22003, - Arena_EnterBattle = 22004, - Arena_EnterBattlePart1 = 22005, - Arena_EnterBattlePart2 = 22006, - Arena_BattleResult = 22007, - Arena_CumulativeTimeReward = 22008, - Arena_DailyReward = 22009, - Arena_RankList = 22010, - Arena_History = 22011, - Arena_RecordSync = 22012, - Arena_TicketPurchase = 22013, - Arena_DamageReport = 22014, - Arena_CheckSeasonCloseReward = 22015, - Arena_SyncEchelonSettingTime = 22016, - WeekDungeon_List = 23000, - WeekDungeon_EnterBattle = 23001, - WeekDungeon_BattleResult = 23002, - WeekDungeon_Retreat = 23003, - Academy_GetInfo = 24000, - Academy_AttendSchedule = 24001, - Academy_AttendFavorSchedule = 24002, - Event_GetList = 25000, - Event_GetImage = 25001, - Event_UseCoupon = 25002, - Event_RewardIncrease = 25003, - ContentSave_Get = 26000, - ContentSave_Discard = 26001, - ContentSweep_Request = 27000, - ContentSweep_MultiSweep = 27001, - ContentSweep_MultiSweepPresetList = 27002, - ContentSweep_SetMultiSweepPreset = 27003, - Clan_Lobby = 28000, - Clan_Login = 28001, - Clan_Search = 28002, - Clan_Create = 28003, - Clan_Member = 28004, - Clan_Applicant = 28005, - Clan_Join = 28006, - Clan_Quit = 28007, - Clan_Permit = 28008, - Clan_Kick = 28009, - Clan_Setting = 28010, - Clan_Confer = 28011, - Clan_Dismiss = 28012, - Clan_AutoJoin = 28013, - Clan_MemberList = 28014, - Clan_CancelApply = 28015, - Clan_MyAssistList = 28016, - Clan_SetAssist = 28017, - Clan_ChatLog = 28018, - Clan_Check = 28019, - Clan_AllAssistList = 28020, - Billing_TransactionStartByYostar = 29000, - Billing_TransactionEndByYostar = 29001, - Billing_PurchaseListByYostar = 29002, - EventContent_AdventureList = 30000, - EventContent_EnterMainStage = 30001, - EventContent_ConfirmMainStage = 30002, - EventContent_EnterTactic = 30003, - EventContent_TacticResult = 30004, - EventContent_EnterSubStage = 30005, - EventContent_SubStageResult = 30006, - EventContent_DeployEchelon = 30007, - EventContent_WithdrawEchelon = 30008, - EventContent_MapMove = 30009, - EventContent_EndTurn = 30010, - EventContent_Retreat = 30011, - EventContent_Portal = 30012, - EventContent_PurchasePlayCountHardStage = 30013, - EventContent_ShopList = 30014, - EventContent_ShopRefresh = 30015, - EventContent_ReceiveStageTotalReward = 30016, - EventContent_EnterMainGroundStage = 30017, - EventContent_MainGroundStageResult = 30018, - EventContent_ShopBuyMerchandise = 30019, - EventContent_ShopBuyRefreshMerchandise = 30020, - EventContent_SelectBuff = 30021, - EventContent_BoxGachaShopList = 30022, - EventContent_BoxGachaShopPurchase = 30023, - EventContent_BoxGachaShopRefresh = 30024, - EventContent_CollectionList = 30025, - EventContent_CollectionForMission = 30026, - EventContent_ScenarioGroupHistoryUpdate = 30027, - EventContent_CardShopList = 30028, - EventContent_CardShopShuffle = 30029, - EventContent_CardShopPurchase = 30030, - EventContent_RestartMainStage = 30031, - EventContent_LocationGetInfo = 30032, - EventContent_LocationAttendSchedule = 30033, - EventContent_FortuneGachaPurchase = 30034, - EventContent_SubEventLobby = 30035, - EventContent_EnterStoryStage = 30036, - EventContent_StoryStageResult = 30037, - EventContent_DiceRaceLobby = 30038, - EventContent_DiceRaceRoll = 30039, - EventContent_DiceRaceLapReward = 30040, - EventContent_PermanentList = 30041, - EventContent_DiceRaceUseItem = 30042, - EventContent_CardShopPurchaseAll = 30043, - EventContent_TreasureLobby = 30044, - EventContent_TreasureFlip = 30045, - EventContent_TreasureNextRound = 30046, - TTS_GetFile = 31000, - ContentLog_UIOpenStatistics = 32000, - MomoTalk_OutLine = 33000, - MomoTalk_MessageList = 33001, - MomoTalk_Read = 33002, - MomoTalk_Reply = 33003, - MomoTalk_FavorSchedule = 33004, - ClearDeck_List = 34000, - MiniGame_StageList = 35000, - MiniGame_EnterStage = 35001, - MiniGame_Result = 35002, - MiniGame_MissionList = 35003, - MiniGame_MissionReward = 35004, - MiniGame_MissionMultipleReward = 35005, - MiniGame_ShootingLobby = 35006, - MiniGame_ShootingBattleEnter = 35007, - MiniGame_ShootingBattleResult = 35008, - MiniGame_ShootingSweep = 35009, - MiniGame_TableBoardSync = 35010, - MiniGame_TableBoardMove = 35011, - MiniGame_TableBoardEncounterInput = 35012, - MiniGame_TableBoardBattleEncounter = 35013, - MiniGame_TableBoardBattleRunAway = 35014, - MiniGame_TableBoardClearThema = 35015, - MiniGame_TableBoardUseItem = 35016, - MiniGame_TableBoardResurrect = 35017, - MiniGame_TableBoardSweep = 35018, - MiniGame_TableBoardMoveThema = 35019, - MiniGame_DreamMakerGetInfo = 35020, - MiniGame_DreamMakerNewGame = 35021, - MiniGame_DreamMakerRestart = 35022, - MiniGame_DreamMakerAttendSchedule = 35023, - MiniGame_DreamMakerDailyClosing = 35024, - Notification_LobbyCheck = 36000, - Notification_EventContentReddotCheck = 36001, - ProofToken_RequestQuestion = 37000, - ProofToken_Submit = 37001, - SchoolDungeon_List = 38000, - SchoolDungeon_EnterBattle = 38001, - SchoolDungeon_BattleResult = 38002, - SchoolDungeon_Retreat = 38003, - TimeAttackDungeon_Lobby = 39000, - TimeAttackDungeon_CreateBattle = 39001, - TimeAttackDungeon_EnterBattle = 39002, - TimeAttackDungeon_EndBattle = 39003, - TimeAttackDungeon_Sweep = 39004, - TimeAttackDungeon_GiveUp = 39005, - TimeAttackDungeon_Login = 39006, - WorldRaid_Lobby = 40000, - WorldRaid_BossList = 40001, - WorldRaid_EnterBattle = 40002, - WorldRaid_BattleResult = 40003, - WorldRaid_ReceiveReward = 40004, - ResetableContent_Get = 41000, - Conquest_GetInfo = 42000, - Conquest_Conquer = 42001, - Conquest_ConquerWithBattleStart = 42002, - Conquest_ConquerWithBattleResult = 42003, - Conquest_DeployEchelon = 42004, - Conquest_ManageBase = 42005, - Conquest_UpgradeBase = 42006, - Conquest_TakeEventObject = 42007, - Conquest_EventObjectBattleStart = 42008, - Conquest_EventObjectBattleResult = 42009, - Conquest_ReceiveCalculateRewards = 42010, - Conquest_NormalizeEchelon = 42011, - Conquest_Check = 42012, - Conquest_ErosionBattleStart = 42013, - Conquest_ErosionBattleResult = 42014, - Conquest_MainStoryGetInfo = 42015, - Conquest_MainStoryConquer = 42016, - Conquest_MainStoryConquerWithBattleStart = 42017, - Conquest_MainStoryConquerWithBattleResult = 42018, - Conquest_MainStoryCheck = 42019, - Friend_List = 43000, - Friend_Remove = 43001, - Friend_GetFriendDetailedInfo = 43002, - Friend_GetIdCard = 43003, - Friend_SetIdCard = 43004, - Friend_Search = 43005, - Friend_SendFriendRequest = 43006, - Friend_AcceptFriendRequest = 43007, - Friend_DeclineFriendRequest = 43008, - Friend_CancelFriendRequest = 43009, - Friend_Check = 43010, - CharacterGear_List = 44000, - CharacterGear_Unlock = 44001, - CharacterGear_TierUp = 44002, - EliminateRaid_Login = 45000, - EliminateRaid_Lobby = 45001, - EliminateRaid_OpponentList = 45002, - EliminateRaid_GetBestTeam = 45003, - EliminateRaid_CreateBattle = 45004, - EliminateRaid_EnterBattle = 45005, - EliminateRaid_EndBattle = 45006, - EliminateRaid_GiveUp = 45007, - EliminateRaid_Sweep = 45008, - EliminateRaid_SeasonReward = 45009, - EliminateRaid_RankingReward = 45010, - EliminateRaid_LimitedReward = 45011, - Attachment_Get = 46000, - Attachment_EmblemList = 46001, - Attachment_EmblemAcquire = 46002, - Attachment_EmblemAttach = 46003, - Sticker_Login = 47000, - Sticker_Lobby = 47001, - Sticker_UseSticker = 47002, - Field_Sync = 48000, - Field_Interaction = 48001, - Field_QuestClear = 48002, - Field_SceneChanged = 48003, - Field_EndDate = 48004, - Field_EnterStage = 48005, - Field_StageResult = 48006, - MultiFloorRaid_Sync = 49000, - MultiFloorRaid_EnterBattle = 49001, - MultiFloorRaid_EndBattle = 49002, - MultiFloorRaid_ReceiveReward = 49003, - Queuing_GetTicket = 50000 - } -} diff --git a/SCHALE.Common/NetworkProtocol/WebAPIErrorCode.cs b/SCHALE.Common/NetworkProtocol/WebAPIErrorCode.cs deleted file mode 100644 index 9804202..0000000 --- a/SCHALE.Common/NetworkProtocol/WebAPIErrorCode.cs +++ /dev/null @@ -1,542 +0,0 @@ -namespace SCHALE.Common.NetworkProtocol -{ - public enum WebAPIErrorCode - { - None = 0, - InvalidPacket = 1, - InvalidProtocol = 2, - InvalidSession = 3, - InvalidVersion = 4, - InternalServerError = 5, - DBError = 6, - InvalidToken = 7, - FailedToLockAccount = 8, - InvalidCheatError = 9, - AccountCurrencyCannotAffordCost = 10, - ExceedTranscendenceCountLimit = 11, - MailBoxFull = 12, - InventoryAlreadyFull = 13, - AccountNotFound = 14, - DataClassNotFound = 15, - DataEntityNotFound = 16, - AccountGemPaidCannotAffordCost = 17, - AccountGemBonusCannotAffordCost = 18, - AccountItemCannotAffordCost = 19, - APITimeoutError = 20, - FunctionTimeoutError = 21, - DBDistributeTransactionError = 22, - OccasionalJobError = 23, - FailedToConsumeParcel = 100, - InvalidString = 200, - InvalidStringLength = 201, - EmptyString = 202, - SpecialSymbolNotAllowed = 203, - InvalidDate = 300, - CoolTimeRemain = 301, - TimeElapseError = 302, - ClientSendBadRequest = 400, - ClientSendTooManyRequest = 401, - ClientSuspectedAsCheater = 402, - ServerFailedToHandleRequest = 500, - DocumentDBFailedToHandleRequest = 501, - ServerCacheFailedToHandleRequest = 502, - ReconnectBundleUpdateRequired = 800, - GatewayMakeStandbyNotSupport = 900, - GatewayPassCheckNotSupport = 901, - GatewayWaitingTicketTimeOut = 902, - ClientUpdateRequire = 903, - AccountCreateNoDevId = 1000, - AccountCreateDuplicatedDevId = 1001, - AccountAuthEmptyDevId = 1002, - AccountAuthNotCreated = 1003, - AccountAccessControlWithoutPermission = 1004, - AccountNicknameEmptyString = 1005, - AccountNicknameSameName = 1006, - AccountNicknameWithInvalidString = 1007, - AccountNicknameWithInvalidLength = 1008, - YostarServerNotSuccessStatusCode = 1009, - YostarNetworkException = 1010, - YostarException = 1011, - AccoountPassCheckNotSupportCheat = 1012, - AccountCreateFail = 1013, - AccountAddPubliserAccountFail = 1014, - AccountAddDevIdFail = 1015, - AccountCreateAlreadyPublisherAccoundId = 1016, - AccountUpdateStateFail = 1017, - YostarCheckFail = 1018, - EnterTicketInvalid = 1019, - EnterTicketTimeOut = 1020, - EnterTicketUsed = 1021, - AccountCommentLengthOverLimit = 1022, - AccountUpdateBirthdayFailed = 1023, - AccountLoginError = 1024, - AccountCurrencySyncError = 1025, - InvalidClientCookie = 1026, - CharacterNotFound = 2000, - CharacterLocked = 2001, - CharacterAlreadyHas = 2002, - CharacterAssignedEchelon = 2003, - CharacterFavorDownException = 2004, - CharacterFavorMaxLevelExceed = 2005, - CannotLevelUpSkill = 2006, - CharacterLevelAlreadyMax = 2007, - InvalidCharacterExpGrowthRequest = 2008, - CharacterWeaponDataNotFound = 2009, - CharacterWeaponNotFound = 2010, - CharacterWeaponAlreadyUnlocked = 2011, - CharacterWeaponUnlockConditionFail = 2012, - CharacterWeaponExpGrowthNotValidItem = 2013, - InvalidCharacterWeaponExpGrowthRequest = 2014, - CharacterWeaponTranscendenceRecipeNotFound = 2015, - CharacterWeaponTranscendenceConditionFail = 2016, - CharacterWeaponUpdateFail = 2017, - CharacterGearNotFound = 2018, - CharacterGearAlreadyEquiped = 2019, - CharacterGearCannotTierUp = 2020, - CharacterGearCannotUnlock = 2021, - CharacterCostumeNotFound = 2022, - CharacterCostumeAlreadySet = 2023, - CharacterCannotEquipCostume = 2024, - InvalidCharacterSkillLevelUpdateRequest = 2025, - InvalidCharacterPotentialGrowthRequest = 2026, - CharacterPotentialGrowthDataNotFound = 2027, - EquipmentNotFound = 3000, - InvalidEquipmentExpGrowthRequest = 3001, - EquipmentNotMatchingSlotItemCategory = 3002, - EquipmentLocked = 3003, - EquipmentAlreadyEquiped = 3004, - EquipmentConsumeItemLimitCountOver = 3005, - EquipmentNotEquiped = 3006, - EquipmentCanNotEquip = 3007, - EquipmentIngredientEmtpy = 3008, - EquipmentCannotLevelUp = 3009, - EquipmentCannotTierUp = 3010, - EquipmentGearCannotUnlock = 3011, - EquipmentBatchGrowthNotValid = 3012, - ItemNotFound = 4000, - ItemLocked = 4001, - ItemCreateWithoutStackCount = 4002, - ItemCreateStackCountFull = 4003, - ItemNotUsingType = 4004, - ItemEnchantIngredientFail = 4005, - ItemInvalidConsumeRequest = 4006, - ItemInsufficientStackCount = 4007, - ItemOverExpirationDateTime = 4008, - ItemCannotAutoSynth = 4009, - EchelonEmptyLeader = 5000, - EchelonNotFound = 5001, - EchelonNotDeployed = 5002, - EchelonSlotOverMaxCount = 5003, - EchelonAssignCharacterOnOtherEchelon = 5004, - EchelonTypeNotAcceptable = 5005, - EchelonEmptyNotAcceptable = 5006, - EchelonPresetInvalidSave = 5007, - EchelonPresetLabelLengthInvalid = 5008, - CampaignStageNotOpen = 6000, - CampaignStagePlayLimit = 6001, - CampaignStageEnterFail = 6002, - CampaignStageInvalidSaveData = 6003, - CampaignStageNotPlayerTurn = 6004, - CampaignStageStageNotFound = 6005, - CampaignStageHistoryNotFound = 6006, - CampaignStageChapterNotFound = 6007, - CampaignStageEchelonNotFound = 6008, - CampaignStageWithdrawedCannotReUse = 6009, - CampaignStageChapterRewardInvalidReward = 6010, - CampaignStageChapterRewardAlreadyReceived = 6011, - CampaignStageTacticWinnerInvalid = 6012, - CampaignStageActionCountZero = 6013, - CampaignStageHealNotAcceptable = 6014, - CampaignStageHealLimit = 6015, - CampaignStageLocationCanNotEngage = 6016, - CampaignEncounterWaitingCannotEndTurn = 6017, - CampaignTacticResultEmpty = 6018, - CampaignPortalExitNotFound = 6019, - CampaignCannotReachDestination = 6020, - CampaignChapterRewardConditionNotSatisfied = 6021, - CampaignStageDataInvalid = 6022, - ContentSweepNotOpened = 6023, - CampaignTacticSkipFailed = 6024, - CampaignUnableToRemoveFixedEchelon = 6025, - CampaignCharacterIsNotWhitelist = 6026, - CampaignFailedToSkipStrategy = 6027, - InvalidSweepRequest = 6028, - MailReceiveRequestInvalid = 7000, - MissionCannotComplete = 8000, - MissionRewardInvalid = 8001, - AttendanceInvalid = 9000, - ShopExcelNotFound = 10000, - ShopAndGoodsNotMatched = 10001, - ShopGoodsNotFound = 10002, - ShopExceedPurchaseCountLimit = 10003, - ShopCannotRefresh = 10004, - ShopInfoNotFound = 10005, - ShopCannotPurchaseActionPointLimitOver = 10006, - ShopNotOpened = 10007, - ShopInvalidGoods = 10008, - ShopInvalidCostOrReward = 10009, - ShopEligmaOverPurchase = 10010, - ShopFreeRecruitInvalid = 10011, - ShopNewbieGachaInvalid = 10012, - ShopCannotNewGoodsRefresh = 10013, - GachaCostNotValid = 10014, - ShopRestrictBuyWhenInventoryFull = 10015, - BeforehandGachaMetadataNotFound = 10016, - BeforehandGachaCandidateNotFound = 10017, - BeforehandGachaInvalidLastIndex = 10018, - BeforehandGachaInvalidSaveIndex = 10019, - BeforehandGachaInvalidPickIndex = 10020, - BeforehandGachaDuplicatedResults = 10021, - RecipeCraftNoData = 11000, - RecipeCraftInsufficientIngredients = 11001, - RecipeCraftDataError = 11002, - MemoryLobbyNotFound = 12000, - LobbyModeChangeFailed = 12001, - CumulativeTimeRewardNotFound = 13000, - CumulativeTimeRewardAlreadyReceipt = 13001, - CumulativeTimeRewardInsufficientConnectionTime = 13002, - OpenConditionClosed = 14000, - OpenConditionSetNotSupport = 14001, - CafeNotFound = 15000, - CafeFurnitureNotFound = 15001, - CafeDeployFail = 15002, - CafeRelocateFail = 15003, - CafeInteractionNotFound = 15004, - CafeProductionEmpty = 15005, - CafeRankUpFail = 15006, - CafePresetNotFound = 15007, - CafeRenamePresetFail = 15008, - CafeClearPresetFail = 15009, - CafeUpdatePresetFurnitureFail = 15010, - CafeReservePresetActivationTimeFail = 15011, - CafePresetApplyFail = 15012, - CafePresetIsEmpty = 15013, - CafeAlreadyVisitCharacter = 15014, - CafeCannotSummonCharacter = 15015, - CafeCanRefreshVisitCharacter = 15016, - CafeAlreadyInteraction = 15017, - CafeTemplateNotFound = 15018, - CafeAlreadyOpened = 15019, - ScenarioMode_Fail = 16000, - ScenarioMode_DuplicatedScenarioModeId = 16001, - ScenarioMode_LimitClearedScenario = 16002, - ScenarioMode_LimitAccountLevel = 16003, - ScenarioMode_LimitClearedStage = 16004, - ScenarioMode_LimitClubStudent = 16005, - ScenarioMode_FailInDBProcess = 16006, - ScenarioGroup_DuplicatedScenarioGroupId = 16007, - ScenarioGroup_FailInDBProcess = 16008, - ScenarioGroup_DataNotFound = 16009, - ScenarioGroup_MeetupConditionFail = 16010, - CraftInfoNotFound = 17000, - CraftCanNotCreateNode = 17001, - CraftCanNotUpdateNode = 17002, - CraftCanNotBeginProcess = 17003, - CraftNodeDepthError = 17004, - CraftAlreadyProcessing = 17005, - CraftCanNotCompleteProcess = 17006, - CraftProcessNotComplete = 17007, - CraftInvalidIngredient = 17008, - CraftError = 17009, - CraftInvalidData = 17010, - CraftNotAvailableToCafePresets = 17011, - CraftNotEnoughEmptySlotCount = 17012, - CraftInvalidPresetSlotDB = 17013, - RaidExcelDataNotFound = 18000, - RaidSeasonNotOpen = 18001, - RaidDBDataNotFound = 18002, - RaidBattleNotFound = 18003, - RaidBattleUpdateFail = 18004, - RaidCompleteListEmpty = 18005, - RaidRoomCanNotCreate = 18006, - RaidActionPointZero = 18007, - RaidTicketZero = 18008, - RaidRoomCanNotJoin = 18009, - RaidRoomMaxPlayer = 18010, - RaidRewardDataNotFound = 18011, - RaidSeasonRewardNotFound = 18012, - RaidSeasonAlreadyReceiveReward = 18013, - RaidSeasonAddRewardPointError = 18014, - RaidSeasonRewardNotUpdate = 18015, - RaidSeasonReceiveRewardFail = 18016, - RaidSearchNotFound = 18017, - RaidShareNotFound = 18018, - RaidEndRewardFlagError = 18019, - RaidCanNotFoundPlayer = 18020, - RaidAlreadyParticipateCharacters = 18021, - RaidClearHistoryNotSave = 18022, - RaidBattleAlreadyEnd = 18023, - RaidEchelonNotFound = 18024, - RaidSeasonOpen = 18025, - RaidRoomIsAlreadyClose = 18026, - RaidRankingNotFound = 18027, - WeekDungeonInfoNotFound = 19000, - WeekDungeonNotOpenToday = 19001, - WeekDungeonBattleWinnerInvalid = 19002, - WeekDungeonInvalidSaveData = 19003, - FindGiftRewardNotFound = 20000, - FindGiftRewardAlreadyAcquired = 20001, - FindGiftClearCountOverTotalCount = 20002, - ArenaInfoNotFound = 21000, - ArenaGroupNotFound = 21001, - ArenaRankHistoryNotFound = 21002, - ArenaRankInvalid = 21003, - ArenaBattleFail = 21004, - ArenaDailyRewardAlreadyBeenReceived = 21005, - ArenaNoSeasonAvailable = 21006, - ArenaAttackCoolTime = 21007, - ArenaOpponentAlreadyBeenAttacked = 21008, - ArenaOpponentRankInvalid = 21009, - ArenaNeedFormationSetting = 21010, - ArenaNoHistory = 21011, - ArenaInvalidRequest = 21012, - ArenaInvalidIndex = 21013, - ArenaNotFoundBattle = 21014, - ArenaBattleTimeOver = 21015, - ArenaRefreshTimeOver = 21016, - ArenaEchelonSettingTimeOver = 21017, - ArenaCannotReceiveReward = 21018, - ArenaRewardNotExist = 21019, - ArenaCannotSetMap = 21020, - ArenaDefenderRankChange = 21021, - AcademyNotFound = 22000, - AcademyScheduleTableNotFound = 22001, - AcademyScheduleOperationNotFound = 22002, - AcademyAlreadyAttendedSchedule = 22003, - AcademyAlreadyAttendedFavorSchedule = 22004, - AcademyRewardCharacterNotFound = 22005, - AcademyScheduleCanNotAttend = 22006, - AcademyTicketZero = 22007, - AcademyMessageCanNotSend = 22008, - ContentSaveDBNotFound = 26000, - ContentSaveDBEntranceFeeEmpty = 26001, - AccountBanned = 27000, - ServerNowLoadingProhibitedWord = 28000, - ServerIsUnderMaintenance = 28001, - ServerMaintenanceSoon = 28002, - AccountIsNotInWhiteList = 28003, - ServerContentsLockUpdating = 28004, - ServerContentsLock = 28005, - CouponIsEmpty = 29000, - CouponIsInvalid = 29001, - UseCouponUsedListReadFail = 29002, - UseCouponUsedCoupon = 29003, - UseCouponNotFoundSerials = 29004, - UseCouponDeleteSerials = 29005, - UseCouponUnapprovedSerials = 29006, - UseCouponExpiredSerials = 29007, - UseCouponMaximumSerials = 29008, - UseCouponNotFoundMeta = 29009, - UseCouponDuplicateUseCoupon = 29010, - UseCouponDuplicateUseSerial = 29011, - BillingStartShopCashIdNotFound = 30000, - BillingStartNotServiceTime = 30001, - BillingStartUseConditionCheckError = 30002, - BillingStartSmallLevel = 30003, - BillingStartMaxPurchaseCount = 30004, - BillingStartFailAddOrder = 30005, - BillingStartExistPurchase = 30006, - BillingEndFailGetOrder = 30007, - BillingEndShopCashIdNotFound = 30008, - BillingEndProductIdNotFound = 30009, - BillingEndMonthlyProductIdNotFound = 30010, - BillingEndInvalidState = 30011, - BillingEndFailUpdteState = 30012, - BillingEndFailSendMail = 30013, - BillingEndInvalidAccount = 30014, - BillingEndNotFoundPurchaseCount = 30015, - BillingEndFailUpdteMonthlyProduct = 30016, - BillingStartMailFull = 30017, - BillingStartInventoryAndMailFull = 30018, - BillingEndRecvedErrorMonthlyProduct = 30019, - MonthlyProductNotOutdated = 30020, - ClanNotFound = 31000, - ClanSearchFailed = 31001, - ClanEmptySearchString = 31002, - ClanAccountAlreadyJoinedClan = 31003, - ClanAccountAlreadyQuitClan = 31004, - ClanCreateFailed = 31005, - ClanMemberExceedCapacity = 31006, - ClanDoesNotHavePermission = 31007, - ClanTargetAccountIsNotApplicant = 31008, - ClanMemberNotFound = 31009, - ClanCanNotKick = 31010, - ClanCanNotDismiss = 31011, - ClanCanNotQuit = 31012, - ClanRejoinCoolOff = 31013, - ClanChangeMemberGradeFailed = 31014, - ClanHasBeenDisMissed = 31015, - ClanCannotChangeJoinOption = 31016, - ClanExceedConferCountLimit = 31017, - ClanBusy = 31018, - ClanNameEmptyString = 31019, - ClanNameWithInvalidLength = 31020, - ClanAssistCharacterAlreadyDeployed = 31021, - ClanAssistNotValidUse = 31022, - ClanAssistCharacterChanged = 31023, - ClanAssistCoolTime = 31024, - ClanAssistAlreadyUsedInRaidRoom = 31025, - ClanAssistAlreadyUsedInTimeAttackDungeonRoom = 31026, - ClanAssistEchelonHasAssistOnly = 31027, - PaymentInvalidSign = 32000, - PaymentInvalidSeed1 = 32001, - PaymentInvalidSeed2 = 32002, - PaymentInvalidInput = 32003, - PaymentNotFoundPurchase = 32004, - PaymentGetPurchaseOrderNotZero = 32005, - PaymentSetPurchaseOrderNotZero = 32006, - PaymentException = 32007, - PaymentInvalidState = 32008, - SessionNotFound = 33000, - SessionParseFail = 33001, - SessionInvalidInput = 33002, - SessionNotAuth = 33003, - SessionDuplicateLogin = 33004, - SessionTimeOver = 33005, - SessionInvalidVersion = 33006, - SessionChangeDate = 33007, - CallName_RenameCoolTime = 34000, - CallName_EmptyString = 34001, - CallName_InvalidString = 34002, - CallName_TTSServerIsNotAvailable = 34003, - CouchbaseInvalidCas = 35000, - CouchbaseOperationFailed = 35001, - CouchbaseRollBackFailed = 35002, - EventContentCannotSelectBuff = 36000, - EventContentNoBuffGroupAvailable = 36001, - EventContentBuffGroupIdDuplicated = 36002, - EventContentNotOpen = 36003, - EventContentNoTotalRewardAvailable = 36004, - EventContentBoxGachaPurchaseFailed = 36005, - EventContentBoxGachaCannotRefresh = 36006, - EventContentCardShopCannotShuffle = 36007, - EventContentElementDoesNotExist = 36008, - EventContentElementAlreadyPurchased = 36009, - EventContentLocationNotFound = 36010, - EventContentLocationScheduleCanNotAttend = 36011, - EventContentDiceRaceDataNotFound = 36012, - EventContentDiceRaceAlreadyReceiveLapRewardAll = 36013, - EventContentDiceRaceInvalidDiceRaceResultType = 36014, - EventContentTreasureDataNotFound = 36015, - EventContentTreasureNotComplete = 36016, - EventContentTreasureFlipFailed = 36017, - MiniGameStageIsNotOpen = 37000, - MiniGameStageInvalidResult = 37001, - MiniGameShootingStageInvlid = 37002, - MiniGameShootingCannotSweep = 37003, - MiniGameTableBoardSaveNotExist = 37004, - MiniGameTableBoardPlayerCannotMove = 37005, - MiniGameTableBoardNoActiveEncounter = 37006, - MiniGameTableBoardInvalidEncounterRequest = 37007, - MiniGameTableBoardProcessEncounterFailed = 37008, - MiniGameTableBoardItemNotExist = 37009, - MiniGameTableBoardInvalidItemUse = 37010, - MiniGameTableBoardInvalidClearThemaRequest = 37011, - MiniGameTableBoardInvalidSeason = 37012, - MiniGameTableBoardInvalidResurrectRequest = 37013, - MiniGameTableBoardSweepConditionFail = 37014, - MiniGameTableBoardInvalidData = 37015, - ProofTokenNotSubmitted = 38000, - SchoolDungeonInfoNotFound = 39000, - SchoolDungeonNotOpened = 39001, - SchoolDungeonInvalidSaveData = 39002, - SchoolDungeonBattleWinnerInvalid = 39003, - SchoolDungeonInvalidReward = 39004, - TimeAttackDungeonDataNotFound = 40000, - TimeAttackDungeonNotOpen = 40001, - TimeAttackDungeonRoomTimeOut = 40002, - TimeAttackDungeonRoomPlayCountOver = 40003, - TimeAttackDungeonRoomAlreadyExists = 40004, - TimeAttackDungeonRoomAlreadyClosed = 40005, - TimeAttackDungeonRoomNotExist = 40006, - TimeAttackDungeonInvalidRequest = 40007, - TimeAttackDungeonInvalidData = 40008, - WorldRaidDataNotFound = 41000, - WorldRaidSeasonNotOpen = 41001, - WorldRaidBossGroupNotOpen = 41002, - WorldRaidInvalidOpenCondition = 41003, - WorldRaidDifficultyNotOpen = 41004, - WorldRaidAssistCharacterLimitOver = 41005, - WorldRaidContainBlackListCharacter = 41006, - WorldRaidValidFixedEchelonSetting = 41007, - WorldRaidAlredayReceiveRewardAll = 41008, - WorldRaidCannotReceiveReward = 41009, - WorldRaidBossAlreadyDead = 41010, - WorldRaidNotAnotherBossKilled = 41011, - WorldRaidBattleResultUpdateFailed = 41012, - WorldRaidGemEnterCountLimitOver = 41013, - WorldRaidCannotGemEnter = 41014, - WorldRaidNeedClearScenarioBoss = 41015, - WorldRaidBossIsAlive = 41016, - ConquestDataNotFound = 42000, - ConquestAlreadyConquested = 42001, - ConquestNotFullyConquested = 42002, - ConquestStepNotOpened = 42003, - ConquestUnableToReach = 42004, - ConquestUnableToAttack = 42005, - ConquestEchelonChangedCountMax = 42006, - ConquestEchelonNotFound = 42007, - ConquestCharacterAlreadyDeployed = 42008, - ConquestMaxUpgrade = 42009, - ConquestUnitNotFound = 42010, - ConquestObjectNotFound = 42011, - ConquestCalculateRewardNotFound = 42012, - ConquestInvalidTileType = 42013, - ConquestInvalidObjectType = 42014, - ConquestInvalidSaveData = 42015, - ConquestMaxAssistCountReached = 42016, - ConquestErosionConditionNotSatisfied = 42017, - ConquestAdditionalContentNotInUse = 42018, - ConquestCannotUseManageEchelon = 42019, - FriendUserIsNotFriend = 43000, - FriendFailedToCreateFriendIdCard = 43001, - FriendRequestNotFound = 43002, - FriendInvalidFriendCode = 43003, - FriendAlreadyFriend = 43004, - FriendMaxSentRequestReached = 43005, - FriendMaxReceivedRequestReached = 43006, - FriendCannotRequestMaxFriendCountReached = 43007, - FriendCannotAcceptMaxFriendCountReached = 43008, - FriendOpponentMaxFriendCountReached = 43009, - FriendTargetIsBusy = 43010, - FriendRequestTargetIsYourself = 43011, - FriendSearchTargetIsYourself = 43012, - FriendInvalidBackgroundId = 43013, - FriendIdCardCommentLengthOverLimit = 43014, - FriendBackgroundNotOwned = 43015, - EliminateStageIsNotOpened = 44000, - MultiSweepPresetDocumentNotFound = 45000, - MultiSweepPresetNameEmpty = 45001, - MultiSweepPresetInvalidStageId = 45002, - MultiSweepPresetInvalidId = 45003, - MultiSweepPresetNameInvalidLength = 45004, - EmblemDataNotFound = 46000, - EmblemAttachFailed = 46001, - EmblemCannotReceive = 46002, - EmblemPassCheckEmblemIsEmpty = 46003, - StickerDataNotFound = 47000, - StickerNotAcquired = 47001, - StickerDocumentNotFound = 47002, - StickerAlreadyUsed = 47003, - ClearDeckInvalidKey = 48000, - ClearDeckOutOfDate = 48001, - MultiFloorRaidSeasonNotOpened = 49000, - MultiFloorRaidDataNotFound = 49001, - MultiFloorRaidAssistCharacterLimitOver = 49002, - MultiFloorRaidStageOpenConditionFail = 49003, - MultiFloorRaidInvalidSummary = 49004, - MultiFloorRaidInvalidRewardRequest = 49005, - FieldDataNotFound = 60000, - FieldInteracionFailed = 60001, - FieldQuestClearFailed = 60002, - FieldInvalidSceneChangedRequest = 60003, - FieldInvalidEndDateRequest = 60004, - FieldCreateDailyQuestFailed = 60005, - FieldResetReplayFailed = 60006, - FieldIncreaseMasteryFailed = 60007, - FieldStageDataInvalid = 60008, - FieldStageEnterFail = 60009, - FieldContentIsClosed = 60010, - FieldEventStageNotCleared = 60011 - } -} diff --git a/SCHALE.Common/NetworkProtocol/protos.cs b/SCHALE.Common/NetworkProtocol/protos.cs index d0a1924..99ee520 100644 --- a/SCHALE.Common/NetworkProtocol/protos.cs +++ b/SCHALE.Common/NetworkProtocol/protos.cs @@ -1,11223 +1,12539 @@ -using SCHALE.Common.Database; +using System; using System.Text.Json.Serialization; -using SCHALE.Common.Parcel; using SCHALE.Common.FlatData; +using SCHALE.Common.Database; namespace SCHALE.Common.NetworkProtocol { + public class AcademyGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Academy_GetInfo; + } + } - public class MissionSyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_Sync; - } - } - } + } - public class MissionSyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_Sync; - } - } - } + public class AcademyGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Academy_GetInfo; + } + } + public AcademyDB AcademyDB { get; set; } + public List AcademyLocationDBs { get; set; } + } + + public class AcademyAttendScheduleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Academy_AttendSchedule; + } + } + + public long ZoneId { get; set; } + } + + public class AcademyAttendScheduleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Academy_AttendSchedule; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public AcademyDB AcademyDB { get; set; } + public List ExtraRewards { get; set; } + } + + public class AccountCurrencySyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CurrencySync; + } + } + + } + + public class AccountCurrencySyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CurrencySync; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public Dictionary ExpiredCurrency { get; set; } + } + + public class AccountAuthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Auth; + } + } + + public long Version { get; set; } + public string DevId { get; set; } + public long IMEI { get; set; } + public string AccessIP { get; set; } + public string MarketId { get; set; } + public string UserType { get; set; } + public string AdvertisementId { get; set; } + public string OSType { get; set; } + public string OSVersion { get; set; } + public string DeviceUniqueId { get; set; } + public string DeviceModel { get; set; } + public int DeviceSystemMemorySize { get; set; } + } public class AccountAuthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Auth; - } - } - - public long CurrentVersion { get; set; } - public long MinimumVersion { get; set; } - public bool IsDevelopment { get; set; } - public bool UpdateRequired { get; set; } - public string TTSCdnUri { get; set; } - public AccountDB AccountDB { get; set; } - public IEnumerable AttendanceBookRewards { get; set; } - public IEnumerable AttendanceHistoryDBs { get; set; } - public IEnumerable OpenConditions { get; set; } - public IEnumerable RepurchasableMonthlyProductCountDBs { get; set; } - public IEnumerable MonthlyProductParcel { get; set; } - public IEnumerable MonthlyProductMail { get; set; } - public IEnumerable BiweeklyProductParcel { get; set; } - public IEnumerable BiweeklyProductMail { get; set; } - public IEnumerable WeeklyProductParcel { get; set; } - public IEnumerable WeeklyProductMail { get; set; } - public string EncryptedUID { get; set; } - } - - public class AccountAuthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Auth; - } - } - public long Version { get; set; } - public string DevId { get; set; } - public long IMEI { get; set; } - public string AccessIP { get; set; } - public string MarketId { get; set; } - public string UserType { get; set; } - public string AdvertisementId { get; set; } - public string OSType { get; set; } - public string OSVersion { get; set; } - public string DeviceUniqueId { get; set; } - public string DeviceModel { get; set; } - public int DeviceSystemMemorySize { get; set; } - } - - - public class AccountCurrencySyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CurrencySync; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class AcademyAttendScheduleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Academy_AttendSchedule; - } - } - public long ZoneId { get; set; } - } - - - public class AccountCurrencySyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CurrencySync; - } - } - } - - - public class AcademyGetInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Academy_GetInfo; - } - } - public AcademyDB AcademyDB { get; set; } - public List AcademyLocationDBs { get; set; } - } - - - public class AcademyAttendScheduleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Academy_AttendSchedule; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public AcademyDB AcademyDB { get; set; } - public List ExtraRewards { get; set; } - } - - - public class AcademyGetInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Academy_GetInfo; - } - } - } + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Auth; + } + } + public long CurrentVersion { get; set; } + public long MinimumVersion { get; set; } + public bool IsDevelopment { get; set; } + public bool BattleValidation { get; set; } + public bool UpdateRequired { get; set; } + public string TTSCdnUri { get; set; } + public AccountDB AccountDB { get; set; } + public IEnumerable AttendanceBookRewards { get; set; } + public IEnumerable AttendanceHistoryDBs { get; set; } + public IEnumerable OpenConditions { get; set; } + public IEnumerable RepurchasableMonthlyProductCountDBs { get; set; } + public IEnumerable MonthlyProductParcel { get; set; } + public IEnumerable MonthlyProductMail { get; set; } + public IEnumerable BiweeklyProductParcel { get; set; } + public IEnumerable BiweeklyProductMail { get; set; } + public IEnumerable WeeklyProductParcel { get; set; } + public IEnumerable WeeklyProductMail { get; set; } + public string EncryptedUID { get; set; } + public AccountRestrictionsDB AccountRestrictionsDB { get; set; } + public IEnumerable IssueAlertInfos { get; set; } + } public class AccountAuth2Request : AccountAuthRequest - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Auth2; - } - } - } - - - public class AccountAuth2Response : AccountAuthResponse - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Auth2; - } - } - } - - - public class AccountCreateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Create; - } - } - public string DevId { get; set; } - public long Version { get; set; } - public long IMEI { get; set; } - public string AccessIP { get; set; } - public string MarketId { get; set; } - public string UserType { get; set; } - public string AdvertisementId { get; set; } - public string OSType { get; set; } - public string OSVersion { get; set; } - } - - - public class AccountCreateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Create; - } - } - } - - - public class AccountNicknameRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Nickname; - } - } - public string Nickname { get; set; } - } - - - public class AccountNicknameResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Nickname; - } - } - public AccountDB AccountDB { get; set; } - } - - - public class AccountCallNameRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CallName; - } - } - public string CallName { get; set; } - } - - - public class AccountCallNameResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CallName; - } - } - public AccountDB AccountDB { get; set; } - } - - - public class AccountBirthDayRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_BirthDay; - } - } - public DateTime BirthDay { get; set; } - } - - - public class AccountBirthDayResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_BirthDay; - } - } - public AccountDB AccountDB { get; set; } - } - - - public class AccountSetRepresentCharacterAndCommentRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_SetRepresentCharacterAndComment; - } - } - public int RepresentCharacterServerId { get; set; } - public string Comment { get; set; } - } - - - public class AccountSetRepresentCharacterAndCommentResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_SetRepresentCharacterAndComment; - } - } - public AccountDB AccountDB { get; set; } - public CharacterDB RepresentCharacterDB { get; set; } - } - - - public class AccountGetTutorialRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_GetTutorial; - } - } - } - - - public class AccountGetTutorialResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_GetTutorial; - } - } - public List TutorialIds { get; set; } - } - - - public class AccountSetTutorialRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_SetTutorial; - } - } - public List TutorialIds { get; set; } - } - - - public class AccountSetTutorialResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_SetTutorial; - } - } - } - - - public class AccountPassCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_PassCheck; - } - } - public string DevId { get; set; } - public bool OnlyAccountId { get; set; } - } - - - public class AccountPassCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_PassCheck; - } - } - } - - - public class AccountLinkRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_LinkReward; - } - } - } - - - public class AccountLinkRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_LinkReward; - } - } - } - - - public class AccountReportXignCodeCheaterRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_ReportXignCodeCheater; - } - } - public string ErrorCode { get; set; } - } - - - public class AccountReportXignCodeCheaterResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_ReportXignCodeCheater; - } - } - } - - - public class AccountDismissRepurchasablePopupRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_DismissRepurchasablePopup; - } - } - public List ProductIds { get; set; } - } - - - public class AccountDismissRepurchasablePopupResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_DismissRepurchasablePopup; - } - } - } - - - public class AccountInvalidateTokenRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_InvalidateToken; - } - } - } - - - public class AccountInvalidateTokenResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - } - - - public class AccountLoginSyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_LoginSync; - } - } - public List SyncProtocols { get; set; } - } - - - public class AccountLoginSyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_LoginSync; - } - } - public ResponsePacket Responses { get; set; } - public CafeGetInfoResponse CafeGetInfoResponse { get; set; } - public AccountCurrencySyncResponse AccountCurrencySyncResponse { get; set; } - public CharacterListResponse CharacterListResponse { get; set; } - public EquipmentItemListResponse EquipmentItemListResponse { get; set; } - public CharacterGearListResponse CharacterGearListResponse { get; set; } - public ItemListResponse ItemListResponse { get; set; } - public EchelonListResponse EchelonListResponse { get; set; } - public MemoryLobbyListResponse MemoryLobbyListResponse { get; set; } - public CampaignListResponse CampaignListResponse { get; set; } - public ArenaLoginResponse ArenaLoginResponse { get; set; } - public RaidLoginResponse RaidLoginResponse { get; set; } - public EliminateRaidLoginResponse EliminateRaidLoginResponse { get; set; } - public CraftInfoListResponse CraftInfoListResponse { get; set; } - public ClanLoginResponse ClanLoginResponse { get; set; } - public MomoTalkOutLineResponse MomotalkOutlineResponse { get; set; } - public ScenarioListResponse ScenarioListResponse { get; set; } - public ShopGachaRecruitListResponse ShopGachaRecruitListResponse { get; set; } - public TimeAttackDungeonLoginResponse TimeAttackDungeonLoginResponse { get; set; } - public BillingPurchaseListByYostarResponse BillingPurchaseListByYostarResponse { get; set; } - public EventContentPermanentListResponse EventContentPermanentListResponse { get; set; } - public AttachmentGetResponse AttachmentGetResponse { get; set; } - public AttachmentEmblemListResponse AttachmentEmblemListResponse { get; set; } - public ContentSweepMultiSweepPresetListResponse ContentSweepMultiSweepPresetListResponse { get; set; } - public StickerLoginResponse StickerListResponse { get; set; } - public MultiFloorRaidSyncResponse MultiFloorRaidSyncResponse { get; set; } - public long FriendCount { get; set; } - public string FriendCode { get; set; } - } - - - public class AccountCheckYostarRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CheckYostar; - } - } - public long UID { get; set; } - public string YostarToken { get; set; } - public string EnterTicket { get; set; } - public bool PassCookieResult { get; set; } - public string Cookie { get; set; } - } - - - public class AccountCheckYostarResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_CheckYostar; - } - } - public int ResultState { get; set; } - public string ResultMessag { get; set; } - public string Birth { get; set; } - } - - - public class AccountResetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Reset; - } - } - public string DevId { get; set; } - } - - - public class AccountResetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_Reset; - } - } - } - - - public class AccountRequestBirthdayMailRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_RequestBirthdayMail; - } - } - public DateTime Birthday { get; set; } - } - - - public class AccountRequestBirthdayMailResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Account_RequestBirthdayMail; - } - } - } - - - public class ArenaEnterLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterLobby; - } - } - } - - - public class ArenaEnterLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterLobby; - } - } - public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } - public List OpponentUserDBs { get; set; } - public long MapId { get; set; } - public DateTime AutoRefreshTime { get; set; } - } - - - public class ArenaLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_Login; - } - } - } - - - public class ArenaLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_Login; - } - } - public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } - } - - - public class ArenaSettingChangeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_SettingChange; - } - } - public long MapId { get; set; } - } - - - public class ArenaSettingChangeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_SettingChange; - } - } - } - - - public class ArenaOpponentListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_OpponentList; - } - } - } - - - public class ArenaOpponentListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_OpponentList; - } - } - public long PlayerRank { get; set; } - public List OpponentUserDBs { get; set; } - public DateTime AutoRefreshTime { get; set; } - } - - - public class ArenaEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattle; - } - } - public long OpponentAccountServerId { get; set; } - public long OpponentIndex { get; set; } - } - - - public class ArenaEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattle; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ArenaBattleDB ArenaBattleDB { get; set; } - public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } - public ParcelResultDB VictoryRewards { get; set; } - public ParcelResultDB SeasonRewards { get; set; } - public ParcelResultDB AllTimeRewards { get; set; } - } - - - public class ArenaBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_BattleResult; - } - } - public ArenaBattleDB ArenaBattleDB { get; set; } - } - - - public class ArenaBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_BattleResult; - } - } - } - - - public class ArenaEnterBattlePart1Response : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattlePart1; - } - } - public ArenaBattleDB ArenaBattleDB { get; set; } - } - - - public class ArenaEnterBattlePart1Request : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattlePart1; - } - } - public long OpponentAccountServerId { get; set; } - public long OpponentRank { get; set; } - public int OpponentIndex { get; set; } - } - - - public class ArenaEnterBattlePart2Request : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattlePart2; - } - } - public ArenaBattleDB ArenaBattleDB { get; set; } - } - - - public class ArenaCumulativeTimeRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_CumulativeTimeReward; - } - } - public long TimeRewardAmount { get; set; } - public DateTime TimeRewardLastUpdateTime { get; set; } - public ParcelResultDB ParcelResult { get; set; } - } - - - public class ArenaHistoryRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_History; - } - } - public DateTime SearchStartDate { get; set; } - public int Count { get; set; } - } - - - public class ArenaCheckSeasonCloseRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_CheckSeasonCloseReward; - } - } - } - - - public class ArenaEnterBattlePart2Response : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_EnterBattlePart2; - } - } - public ArenaBattleDB ArenaBattleDB { get; set; } - public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ParcelResultDB VictoryRewards { get; set; } - public ParcelResultDB SeasonRewards { get; set; } - public ParcelResultDB AllTimeRewards { get; set; } - } - - - public class ArenaRankListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_RankList; - } - } - public List TopRankedUserDBs { get; set; } - } - - - public class ArenaDailyRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_DailyReward; - } - } - public ParcelResultDB ParcelResult { get; set; } - public DateTime DailyRewardActiveTime { get; set; } - } - - - public class ArenaCheckSeasonCloseRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_CheckSeasonCloseReward; - } - } - } - - - public class ArenaSyncEchelonSettingTimeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_SyncEchelonSettingTime; - } - } - public DateTime EchelonSettingTime { get; set; } - } - - - public class AttachmentGetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_Get; - } - } - public AccountAttachmentDB AccountAttachmentDB { get; set; } - } - - - public class AttachmentEmblemListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemList; - } - } - public List EmblemDBs { get; set; } - } - - - public class AttachmentEmblemAcquireResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemAcquire; - } - } - public List EmblemDBs { get; set; } - } - - - public class AttachmentEmblemAttachResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemAttach; - } - } - public AccountAttachmentDB AttachmentDB { get; set; } - } - - - public class AttendanceRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attendance_Reward; - } - } - public List AttendanceBookRewards { get; set; } - public List AttendanceHistoryDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class AuditGachaStatisticsResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Audit_GachaStatistics; - } - } - public Dictionary GachaResult { get; set; } - } - - public class MailBoxFullErrorPacket : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public WebAPIErrorCode ErrorCode - { - get - { - return WebAPIErrorCode.MailBoxFull; - } - } - } - - - public class BillingPurchaseListByYostarRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_PurchaseListByYostar; - } - } - } - - - public class BillingTransactionStartByYostarRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_TransactionStartByYostar; - } - } - public long ShopCashId { get; set; } - public bool VirtualPayment { get; set; } - } - - - public class AttachmentGetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_Get; - } - } - } - - - public class ArenaSyncEchelonSettingTimeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_SyncEchelonSettingTime; - } - } - } - - - public class BillingTransactionEndByYostarRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_TransactionEndByYostar; - } - } - public long PurchaseOrderId { get; set; } - public BillingTransactionEndType EndType { get; set; } = BillingTransactionEndType.Success; - } - - - public class AttachmentEmblemListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemList; - } - } - } - - - public class CafeGetInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Get; - } - } - public long AccountServerId { get; set; } - } - - - public class ArenaHistoryResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_History; - } - } - public List ArenaHistoryDBs { get; set; } - public List ArenaDamageReportDB { get; set; } - } - - - public class ArenaCumulativeTimeRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_CumulativeTimeReward; - } - } - } - - - public class ArenaRankListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_RankList; - } - } - public int StartIndex { get; set; } - public int Count { get; set; } - } - - - public class ArenaDailyRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Arena_DailyReward; - } - } - } - - - public class AttachmentEmblemAttachRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemAttach; - } - } - public long UniqueId { get; set; } - } - - - public class AttachmentEmblemAcquireRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attachment_EmblemAcquire; - } - } - public List UniqueIds { get; set; } - } - - - public class InventoryFullErrorPacket : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public WebAPIErrorCode ErrorCode - { - get - { - return WebAPIErrorCode.InventoryAlreadyFull; - } - } - public List ParcelInfos { get; set; } - } - - - public class AttendanceRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Attendance_Reward; - } - } - public Dictionary DayByBookUniqueId { get; set; } - public long AttendanceBookUniqueId { get; set; } - public long Day { get; set; } - } - - - public class AccountBanErrorPacket : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public WebAPIErrorCode ErrorCode - { - get - { - return WebAPIErrorCode.AccountBanned; - } - } - public string BanReason { get; set; } - } - - - public class AuditGachaStatisticsRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Audit_GachaStatistics; - } - } - public long MerchandiseUniqueId { get; set; } - public long ShopUniqueId { get; set; } - public long Count { get; set; } - } - - - public class BillingPurchaseListByYostarResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_PurchaseListByYostar; - } - } - public List CountList { get; set; } - public List OrderList { get; set; } - public List MonthlyProductList { get; set; } - public List BlockedProductDBs { get; set; } - } - - - public class BillingTransactionStartByYostarResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_TransactionStartByYostar; - } - } - public long PurchaseCount { get; set; } - public DateTime PurchaseResetDate { get; set; } - public long PurchaseOrderId { get; set; } - public string MXSeedKey { get; set; } - public PurchaseServerTag PurchaseServerTag { get; set; } - } - - - public class CafeAckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Ack; - } - } - public long CafeDBId { get; set; } - } - - - public class CafeDeployFurnitureRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Deploy; - } - } - public long CafeDBId { get; set; } - public FurnitureDB FurnitureDB { get; set; } - } - - - public class CafeRelocateFurnitureRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Relocate; - } - } - public long CafeDBId { get; set; } - public FurnitureDB FurnitureDB { get; set; } - } - - - public class CafeRemoveFurnitureRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Remove; - } - } - public long CafeDBId { get; set; } - public List FurnitureServerIds { get; set; } - } - - - public class CafeRemoveAllFurnitureRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RemoveAll; - } - } - public long CafeDBId { get; set; } - } - - - public class BillingTransactionEndByYostarResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Billing_TransactionEndByYostar; - } - } - public ParcelResultDB ParcelResult { get; set; } - public MailDB MailDB { get; set; } - public List CountList { get; set; } - public int PurchaseCount { get; set; } - public List MonthlyProductList { get; set; } - } - - - public class CafeInteractWithCharacterRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Interact; - } - } - public long CafeDBId { get; set; } - public long CharacterId { get; set; } - } - - - public class CafeGetInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Get; - } - } - public CafeDB CafeDB { get; set; } - public List CafeDBs { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CafeApplyPresetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ApplyPreset; - } - } - public int SlotId { get; set; } - public long CafeDBId { get; set; } - public bool UseOtherCafeFurniture { get; set; } - } - - - public class CafeClearPresetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ClearPreset; - } - } - public int SlotId { get; set; } - } - - - public class CafeRenamePresetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RenamePreset; - } - } - public int SlotId { get; set; } - public string PresetName { get; set; } - } - - - public class CafeUpdatePresetFurnitureRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_UpdatePresetFurniture; - } - } - public long CafeDBId { get; set; } - public int SlotId { get; set; } - } - - - public class CafeRankUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RankUp; - } - } - public long AccountServerId { get; set; } - public long CafeDBId { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class CafeListPresetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ListPreset; - } - } - } - - - public class CafeReceiveCurrencyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ReceiveCurrency; - } - } - public long AccountServerId { get; set; } - public long CafeDBId { get; set; } - } - - - public class CafeGiveGiftRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_GiveGift; - } - } - public long CafeDBId { get; set; } - public long CharacterUniqueId { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class CafeSummonCharacterRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_SummonCharacter; - } - } - public long CafeDBId { get; set; } - public long CharacterServerId { get; set; } - } - - - public class CafeTrophyHistoryRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_TrophyHistory; - } - } - } - - - public class CafeApplyTemplateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ApplyTemplate; - } - } - public long TemplateId { get; set; } - public long CafeDBId { get; set; } - public bool UseOtherCafeFurniture { get; set; } - } - - - public class CafeRemoveFurnitureResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Remove; - } - } - public CafeDB CafeDB { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CafeDeployFurnitureResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Deploy; - } - } - public CafeDB CafeDB { get; set; } - public long NewFurnitureServerId { get; set; } - public List ChangedFurnitureDBs { get; set; } - } - - - public class CafeAckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Ack; - } - } - public CafeDB CafeDB { get; set; } - } - - - public class CafeOpenRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Open; - } - } - public long CafeId { get; set; } - } - - - public class CafeRelocateFurnitureResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Relocate; - } - } - public CafeDB CafeDB { get; set; } - public FurnitureDB RelocatedFurnitureDB { get; set; } - } - - - public class CafeInteractWithCharacterResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Interact; - } - } - public CafeDB CafeDB { get; set; } - public CharacterDB CharacterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CafeRemoveAllFurnitureResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RemoveAll; - } - } - public CafeDB CafeDB { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CafeClearPresetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ClearPreset; - } - } - } - - - public class CafeReceiveCurrencyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ReceiveCurrency; - } - } - public CafeDB CafeDB { get; set; } - public List CafeDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public enum CampaignState - { - BeforeStart, - BeginPlayerPhase, - PlayerPhase, - EndPlayerPhase, - BeginEnemyPhase, - EnemyPhase, - EndEnemyPhase, - Win, - Lose, - StrategySkip - } - - - public class CampaignListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_List; - } - } - } - - - public class CafeListPresetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ListPreset; - } - } - public List CafePresetDBs { get; set; } - } - - - public class CafeUpdatePresetFurnitureResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_UpdatePresetFurniture; - } - } - } - - - public class CafeApplyPresetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ApplyPreset; - } - } - public List CafeDBs { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CafeRenamePresetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RenamePreset; - } - } - } - - - public class CafeGiveGiftResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_GiveGift; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class CafeRankUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_RankUp; - } - } - public CafeDB CafeDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class CampaignEnterMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CafeApplyTemplateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_ApplyTemplate; - } - } - public List CafeDBs { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CampaignConfirmMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_ConfirmMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignEnterSubStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterSubStage; - } - } - public long StageUniqueId { get; set; } - public long LastEnterStageEchelonNumber { get; set; } - } - - - public class CafeSummonCharacterResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_SummonCharacter; - } - } - public CafeDB CafeDB { get; set; } - public List CafeDBs { get; set; } - } - - - public class CafeTrophyHistoryResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_TrophyHistory; - } - } - public List RaidSeasonRankingHistoryDBs { get; set; } - } - - - public class CafeOpenResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Cafe_Open; - } - } - public CafeDB OpenedCafeDB { get; set; } - public List FurnitureDBs { get; set; } - } - - - public class CampaignEnterTutorialStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterTutorialStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public CampaignTutorialStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignWithdrawEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_WithdrawEchelon; - } - } - public long StageUniqueId { get; set; } - public List WithdrawEchelonEntityId { get; set; } - } - - - public class CampaignMapMoveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_MapMove; - } - } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - //public HexLocation DestPosition { get; set; } - } - - - public class CampaignEndTurnRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EndTurn; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignEnterTacticRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterTactic; - } - } - public long StageUniqueId { get; set; } - public long EchelonIndex { get; set; } - public long EnemyIndex { get; set; } - } - - - public enum CampaignEndBattle - { - None, - Win, - Lose - } - - - public class CampaignListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_List; - } - } - public List CampaignChapterClearRewardHistoryDBs { get; set; } - public List StageHistoryDBs { get; set; } - public List StrategyObjecthistoryDBs { get; set; } - public DailyResetCountDB DailyResetCountDB { get; set; } - } - - - public class CampaignTacticResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_TacticResult; - } - } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - //public SkillCardHand Hand { get; set; } - //public TacticSkipSummary SkipSummary { get; set; } - } - - - public class CampaignRetreatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_Retreat; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignChapterClearRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_ChapterClearReward; - } - } - public long CampaignChapterUniqueId { get; set; } - public StageDifficulty StageDifficulty { get; set; } - } - - - public class CampaignEnterMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterMainStage; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignHealRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_Heal; - } - } - public long CampaignStageUniqueId { get; set; } - public long EchelonIndex { get; set; } - public long CharacterServerId { get; set; } - } - - - public class CampaignEnterSubStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterSubStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public CampaignSubStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignConfirmMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignTutorialStageResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_TutorialStageResult; - } - } - public BattleSummary Summary { get; set; } - } - - - public class CampaignSubStageResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_SubStageResult; - } - } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class CampaignDeployEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_DeployEchelon; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignPurchasePlayCountHardStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_PurchasePlayCountHardStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignEnterTutorialStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterTutorialStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignConfirmTutorialStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_ConfirmTutorialStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignPortalRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_Portal; - } - } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - } - - - public class CampaignMapMoveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_MapMove; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - public long EchelonEntityId { get; set; } - //public Strategy StrategyObject { get; set; } - public List StrategyObjectParcelInfos { get; set; } - } - - - public class CampaignWithdrawEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_WithdrawEchelon; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - public List WithdrawEchelonDBs { get; set; } - } - - - public class CampaignEnterTacticResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterTactic; - } - } - } - - - public class CampaignEndTurnResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EndTurn; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class CampaignRestartMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_RestartMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class CampaignEnterMainStageStrategySkipRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterMainStageStrategySkip; - } - } - public long StageUniqueId { get; set; } - public long LastEnterStageEchelonNumber { get; set; } - } - - - public class CampaignMainStageStrategySkipResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_MainStageStrategySkipResult; - } - } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class CampaignRetreatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_Retreat; - } - } - public List ReleasedEchelonNumbers { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CampaignChapterClearRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_ChapterClearReward; - } - } - public CampaignChapterClearRewardHistoryDB CampaignChapterClearRewardHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CampaignHealResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_Heal; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public DailyResetCountDB DailyResetCountDB { get; set; } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignTacticResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_TacticResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public List FirstClearReward { get; set; } - public List ThreeStarReward { get; set; } - //public Strategy StrategyObject { get; set; } - public Dictionary> StrategyObjectRewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignTutorialStageResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_TutorialStageResult; - } - } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List ClearReward { get; set; } - public List FirstClearReward { get; set; } - } - - - public class CampaignPortalResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public CampaignMainStageSaveDB CampaignMainStageSaveDB { get; set; } - } - - - public class CharacterGearUnlockRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_Unlock; - } - } - public long CharacterServerId { get; set; } - public int SlotIndex { get; set; } - } - - - public class CharacterListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_List; - } - } - } - - - public class CampaignSubStageResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_SubStageResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List FirstClearReward { get; set; } - public List ThreeStarReward { get; set; } - } - - - public class CharacterExpGrowthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_ExpGrowth; - } - } - public long TargetCharacterServerId { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class CharacterSkillLevelUpdateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public long TargetCharacterDBId { get; set; } - //public SkillSlot SkillSlot { get; set; } - public int Level { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class CampaignPurchasePlayCountHardStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_PurchasePlayCountHardStage; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - } - - - public class CharacterWeaponExpGrowthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_WeaponExpGrowth; - } - } - public long TargetCharacterServerId { get; set; } - public Dictionary ConsumeUniqueIdAndCounts { get; set; } - } - - - public class CampaignConfirmTutorialStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_ConfirmTutorialStage; - } - } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CharacterSetFavoritesRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_SetFavorites; - } - } - public Dictionary ActivateByServerIds { get; set; } - } - - - public class CampaignRestartMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_RestartMainStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public CampaignMainStageSaveDB SaveDataDB { get; set; } - } - - - public class CampaignDeployEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_DeployEchelon; - } - } - public long StageUniqueId { get; set; } - //public List DeployedEchelons { get; set; } - } - - - public class CharacterBatchSkillLevelUpdateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_BatchSkillLevelUpdate; - } - } - public long TargetCharacterDBId { get; set; } - public List SkillLevelUpdateRequestDBs { get; set; } - } - - - public class CampaignEnterMainStageStrategySkipResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_EnterMainStageStrategySkip; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CampaignMainStageStrategySkipResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Campaign_MainStageStrategySkipResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List FirstClearReward { get; set; } - public List ThreeStarReward { get; set; } - } - - - public class ClanLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Login; - } - } - } - - - public class ClanSearchRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Search; - } - } - public string SearchString { get; set; } - //public ClanJoinOption ClanJoinOption { get; set; } - public string ClanUniqueCode { get; set; } - } - - - public class ClanMemberRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Member; - } - } - public long ClanDBId { get; set; } - public long MemberAccountId { get; set; } - } - - - public class ClanApplicantRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Applicant; - } - } - public long OffSet { get; set; } - } - - - public class ClanAutoJoinRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_AutoJoin; - } - } - } - - - public class ClanCancelApplyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_CancelApply; - } - } - } - - - public class CharacterListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_List; - } - } - public List CharacterDBs { get; set; } - public List TSSCharacterDBs { get; set; } - public List WeaponDBs { get; set; } - public List CostumeDBs { get; set; } - } - - - public class ClanKickRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Kick; - } - } - public long MemberAccountId { get; set; } - } - - - public class ClanConferRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Confer; - } - } - public long MemberAccountId { get; set; } - public ClanSocialGrade ConferingGrade { get; set; } - } - - - public class CharacterSetFavoritesResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_SetFavorites; - } - } - public List CharacterDBs { get; set; } - } - - - public class CharacterGearUnlockResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_Unlock; - } - } - public GearDB GearDB { get; set; } - public CharacterDB CharacterDB { get; set; } - } - - - public class CharacterExpGrowthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_ExpGrowth; - } - } - public CharacterDB CharacterDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class ClanApplicantResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Applicant; - } - } - public List ClanMemberDBs { get; set; } - } - - - public class ClanLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Login; - } - } - public ClanDB AccountClanDB { get; set; } - public ClanMemberDB AccountClanMemberDB { get; set; } - [Obsolete] - public List AssistCharacterDBs { get; set; } - public List ClanAssistSlotDBs { get; set; } - } - - - public class ClanMyAssistListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_MyAssistList; - } - } - } - - - public class CharacterBatchSkillLevelUpdateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_BatchSkillLevelUpdate; - } - } - public CharacterDB CharacterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ClanMemberResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Member; - } - } - public ClanDB ClanDB { get; set; } - public ClanMemberDB ClanMemberDB { get; set; } - public DetailedAccountInfoDB DetailedAccountInfoDB { get; set; } - } - - - public class ClearDeckListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ClearDeck_List; - } - } - public List ClearDeckDBs { get; set; } - } - - - public class CharacterSkillLevelUpdateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_BatchSkillLevelUpdate; - } - } - public CharacterDB CharacterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CharacterGearListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_List; - } - } - } - - - public class ClanAllAssistListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_AllAssistList; - } - } - public EchelonType EchelonType { get; set; } - } - - - public class ClanCancelApplyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_CancelApply; - } - } - } - - - public class ClanSearchResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Search; - } - } - public List ClanDBs { get; set; } - } - - - public class CharacterWeaponExpGrowthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_WeaponExpGrowth; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ClanChatLogRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_ChatLog; - } - } - public string Channel { get; set; } - public DateTime FromDate { get; set; } - } - - - public class ClanAutoJoinResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_AutoJoin; - } - } - public IrcServerConfig IrcConfig { get; set; } - public ClanDB ClanDB { get; set; } - public ClanMemberDB ClanMemberDB { get; set; } - } - - - public class CharacterTranscendenceRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_Transcendence; - } - } - public long TargetCharacterServerId { get; set; } - } - - - public class ClanConferResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Confer; - } - } - public ClanMemberDB ClanMemberDB { get; set; } - public ClanMemberDB AccountClanMemberDB { get; set; } - public ClanDB ClanDB { get; set; } - public ClanMemberDescriptionDB ClanMemberDescriptionDB { get; set; } - } - - - public class ClanKickResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Kick; - } - } - } - - - public class CharacterSetCostumeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_SetCostume; - } - } - public long CharacterUniqueId { get; set; } - public long? CostumeIdToSet { get; set; } - } - - - public class CharacterFavorGrowthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_FavorGrowth; - } - } - public long TargetCharacterDBId { get; set; } - public Dictionary ConsumeItemDBIdsAndCounts { get; set; } - } - - - public class CharacterGearTierUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_TierUp; - } - } - public long GearServerId { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class ClanMemberListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_MemberList; - } - } - public long ClanDBId { get; set; } - } - - - public class ClanCreateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Create; - } - } - public string ClanNickName { get; set; } - public ClanJoinOption ClanJoinOption { get; set; } - } - - - public class ClanLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Lobby; - } - } - } - - - public class CharacterGearListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_List; - } - } - public List GearDBs { get; set; } - } - - - public class CharacterPotentialGrowthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_PotentialGrowth; - } - } - public long TargetCharacterDBId { get; set; } - public List PotentialGrowthRequestDBs { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class CharacterTranscendenceResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_Transcendence; - } - } - public CharacterDB CharacterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - [Flags] - public enum CheatFlags - { - None = 0, - Conquest = 1, - Mission = 2 - } - - - public class CharacterWeaponTranscendenceRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_WeaponTranscendence; - } - } - public long TargetCharacterServerId { get; set; } - } - - - public class ClanPermitRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Permit; - } - } - public long ApplicantAccountId { get; set; } - public bool IsPerMit { get; set; } - } - - - public class ClanQuitRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Quit; - } - } - } - - - public class ClanMyAssistListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_MyAssistList; - } - } - public List ClanAssistSlotDBs { get; set; } - } - - - public class ClanJoinRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Join; - } - } - public long ClanDBId { get; set; } - } - - - public class CharacterUnlockWeaponRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_UnlockWeapon; - } - } - public long TargetCharacterServerId { get; set; } - } - - - public class ClanSettingRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Setting; - } - } - public string ChangedClanName { get; set; } - public string ChangedNotice { get; set; } - public ClanJoinOption ClanJoinOption { get; set; } - } - - - public class CharacterSetCostumeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_SetCostume; - } - } - public CostumeDB SetCostumeDB { get; set; } - public CostumeDB UnsetCostumeDB { get; set; } - } - - - public class ClanDismissRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Dismiss; - } - } - } - - - public class ClanAllAssistListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_AllAssistList; - } - } - public List AssistCharacterDBs { get; set; } - public List AssistCharacterRentHistoryDBs { get; set; } - public long ClanDBId { get; set; } - } - - - public class ClanChatLogResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_ChatLog; - } - } - public string ClanChatLog { get; set; } - } - - - public class CharacterFavorGrowthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_FavorGrowth; - } - } - public CharacterDB CharacterDB { get; set; } - public List ConsumeStackableItemDBResult { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CharacterGearTierUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.CharacterGear_TierUp; - } - } - public GearDB GearDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class ClanMemberListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_MemberList; - } - } - public ClanDB ClanDB { get; set; } - public List ClanMemberDBs { get; set; } - } - - - public class CheatCharacterCustomPreset - { - public CheatEquipmentCustomPreset[] Equipments { get; set; } - public long UniqueId { get; set; } - public int StarGrade { get; set; } - public int Level { get; set; } - public int ExSkillLevel { get; set; } - public int PublicSkillLevel { get; set; } - public int PassiveSkillLevel { get; set; } - public int ExPassiveSkillLevel { get; set; } - //public CheatEquipmentCustomPreset[] Equipments { get; set; } - public CheatWeaponCustomPreset Weapon { get; set; } - - } - - - public class CheatEquipmentCustomPreset - { - public int Tier { get; set; } - public int Level { get; set; } - public CheatEquipmentCustomPreset(int tier, int level) - { - this.Tier = tier; - } - - } - - - public class CharacterPotentialGrowthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_PotentialGrowth; - } - } - public CharacterDB CharacterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ClanCreateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Create; - } - } - public ClanDB ClanDB { get; set; } - public ClanMemberDB ClanMemberDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class ClanLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Lobby; - } - } - public IrcServerConfig IrcConfig { get; set; } - public ClanDB AccountClanDB { get; set; } - public List DefaultExposedClanDBs { get; set; } - public ClanMemberDB AccountClanMemberDB { get; set; } - public List ClanMemberDBs { get; set; } - } - - - public class ClanCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Check; - } - } - } - - - public class GetArenaTeamCheatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public ArenaUserDB Opponent { get; set; } - } - - - public class ClanJoinResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Join; - } - } - public IrcServerConfig IrcConfig { get; set; } - public ClanDB ClanDB { get; set; } - public ClanMemberDB ClanMemberDB { get; set; } - } - - - public class ConquestNormalizeEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_NormalizeEchelon; - } - } - public ConquestEchelonDB ConquestEchelonDB { get; set; } - } - - - public class ConquestUpgradeBaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_UpgradeBase; - } - } - public List UpgradeRewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class ConquestConquerResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_Conquer; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class IrcServerConfig - { - public string HostAddress { get; set; } - public int Port { get; set; } - public string Password { get; set; } - [JsonIgnore] - public bool IsValid { get; set; } - - } - - - public class CharacterWeaponTranscendenceResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_WeaponTranscendence; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ClanQuitResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Quit; - } - } - } - - - public class ClanSetAssistRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_SetAssist; - } - } - public EchelonType EchelonType { get; set; } - public int SlotNumber { get; set; } - public long CharacterDBId { get; set; } - } - - - public class ConquestConquerWithBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ConquerWithBattleResult; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - //public IEnumerable DisplayInfos { get; set; } - public int StepAfterBattle { get; set; } - } - - - public class ClanSettingResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Setting; - } - } - public ClanDB ClanDB { get; set; } - } - - - public class ClanDismissResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Dismiss; - } - } - } - - - public class ClanPermitResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Permit; - } - } - public ClanDB ClanDB { get; set; } - public ClanMemberDB ClanMemberDB { get; set; } - } - - - public class CharacterUnlockWeaponResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Character_UnlockWeapon; - } - } - public WeaponDB WeaponDB { get; set; } - } - - - public class CheatWeaponCustomPreset - { - public CheatWeaponCustomPreset(int weaponStarGrade, int weaponLevel) - { - this.StarGrade = weaponStarGrade; - } - public int StarGrade { get; set; } - public int Level { get; set; } - - } - - - public class CommonCheatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public string Cheat { get; set; } - public List CharacterCustomPreset { get; set; } - } - - - public class ConquestEventObjectBattleStartResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_EventObjectBattleStart; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestStageSaveDB ConquestStageSaveDB { get; set; } - } - - - public class ConquestReceiveRewardsResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ReceiveCalculateRewards; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - [Obsolete] - public List ConquestTileDBs { get; set; } - } - - - public class ClanCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_Check; - } - } - } - - - public class ConquestErosionBattleStartResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ErosionBattleStart; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestStageSaveDB ConquestStageSaveDB { get; set; } - } - - - public class ConquestGetInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_GetInfo; - } - } - public long EventContentId { get; set; } - } - - - public class ConquestMainStoryGetInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryGetInfo; - } - } - public ConquestInfoDB ConquestInfoDB { get; set; } - public List ConquestedTileDBs { get; set; } - public Dictionary DifficultyToStepDict { get; set; } - public bool IsFirstEnter { get; set; } - } - - - public class ConquestTakeEventObjectRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_TakeEventObject; - } - } - public long EventContentId { get; set; } - public long ConquestObjectDBId { get; set; } - } - - - public class ConquestMainStoryConquerWithBattleStartResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleStart; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestStageSaveDB ConquestStageSaveDB { get; set; } - } - - - public class ConquestConquerDeployEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_DeployEchelon; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public EchelonDB EchelonDB { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - } - - - public class ConquestMainStoryCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryCheck; - } - } - public ConquestMainStorySummary ConquestMainStorySummary { get; set; } - } - - - public class CommonCheatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public AccountDB Account { get; set; } - public AccountCurrencyDB AccountCurrency { get; set; } - public List CharacterDBs { get; set; } - public List EquipmentDBs { get; set; } - public List WeaponDBs { get; set; } - public List GearDBs { get; set; } - public List CostumeDBs { get; set; } - public List ItemDBs { get; set; } - public List ScenarioHistoryDBs { get; set; } - public List ScenarioGroupHistoryDBs { get; set; } - public List EmblemDBs { get; set; } - public List AttendanceBookRewards { get; set; } - public List AttendanceHistoryDBs { get; set; } - public List StickerDBs { get; set; } - public List MemoryLobbyDBs { get; set; } - public CheatFlags CheatFlags { get; set; } - } - - - public class ConquestManageBaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ManageBase; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public int ManageCount { get; set; } - } - - - public class ContentSaveGetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSave_Get; - } - } - public bool HasValidData { get; set; } - public ContentSaveDB ContentSaveDB { get; set; } - public EventContentChangeDB EventContentChangeDB { get; set; } - } - - - public class ConquestConquerWithBattleStartRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ConquerWithBattleStart; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public long? EchelonNumber { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - } - - - public class ContentSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_Request; - } - } - public List> ClearParcels { get; set; } - public List BonusParcels { get; set; } - public List> EventContentBonusParcels { get; set; } - public ParcelResultDB ParcelResult { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - } - - - public class ContentSweepMultiSweepPresetListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_MultiSweepPresetList; - } - } - public IEnumerable MultiSweepPresetDBs { get; set; } - } - - - public class CraftInfoListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_List; - } - } - public List CraftInfos { get; set; } - public List ShiftingCraftInfos { get; set; } - } - - - public class ClanSetAssistResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Clan_SetAssist; - } - } - public ClanAssistSlotDB ClanAssistSlotDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ClanAssistRewardInfo RewardInfo { get; set; } - } - - - public class ConquestEventObjectBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_EventObjectBattleResult; - } - } - public long EventContentId { get; set; } - public long ConquestObjectDBId { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class CraftUpdateNodeLevelResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_UpdateNodeLevel; - } - } - public CraftInfoDB CraftInfoDB { get; set; } - public CraftNodeDB CraftNodeDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class ClearDeckListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ClearDeck_List; - } - } - public ClearDeckKey ClearDeckKey { get; set; } - } - - - public class CraftCompleteProcessResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_CompleteProcess; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public CraftInfoDB CraftInfoDB { get; set; } - public ItemDB TicketItemDB { get; set; } - } - - - public class ConquestErosionBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ErosionBattleResult; - } - } - public long EventContentId { get; set; } - public long ConquestObjectDBId { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class ConquestGetInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_GetInfo; - } - } - public ConquestInfoDB ConquestInfoDB { get; set; } - public List ConquestedTileDBs { get; set; } - //public TypedJsonWrapper> ConquestObjectDBsWrapper { get; set; } - public List ConquestEchelonDBs { get; set; } - public Dictionary DifficultyToStepDict { get; set; } - public bool IsFirstEnter { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class ConquestCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_Check; - } - } - public long EventContentId { get; set; } - } - - - public class ConquestMainStoryConquerRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquer; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - } - - - public class ConquestMainStoryConquerWithBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleResult; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class ConquestTakeEventObjectResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_TakeEventObject; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - //public TypedJsonWrapper ConquestEventObjectDBWrapper { get; set; } - } - - - public class ConquestConquerDeployEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public IEnumerable ConquestEchelonDBs { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - } - - - public class ContentSweepMultiSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_MultiSweep; - } - } - //public IEnumerable MultiSweepParameters { get; set; } - } - - - public class CraftShiftingBeginProcessResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingBeginProcess; - } - } - public ShiftingCraftInfoDB CraftInfoDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ContentLogUIOpenStatisticsRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentLog_UIOpenStatistics; - } - } - public Dictionary OpenCountPerPrefab { get; set; } - } - - - public class ContentSweepSetMultiSweepPresetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPreset; - } - } - public long PresetId { get; set; } - public string PresetName { get; set; } - public IEnumerable StageIds { get; set; } - } - - - public class ContentSaveDiscardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSave_Discard; - } - } - public ContentType ContentType { get; set; } - public long StageUniqueId { get; set; } - } - - - public class CraftSelectNodeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_SelectNode; - } - } - public long SlotId { get; set; } - public long LeafNodeIndex { get; set; } - } - - - public class ConquestConquerWithBattleStartResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ConquerWithBattleStart; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestStageSaveDB ConquestStageSaveDB { get; set; } - } - - - public class ConquestManageBaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ManageBase; - } - } - public List> ClearParcels { get; set; } - public List> ConquerBonusParcels { get; set; } - public List BonusParcels { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class GachaSimulateCheatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public Dictionary CharacterIdAndCount { get; set; } - public long SimulationCount { get; set; } - public long GoodsUniqueId { get; set; } - public string GoodsDevName { get; set; } - } - - - public class CraftBeginProcessRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_BeginProcess; - } - } - public long SlotId { get; set; } - } - - - public class CraftRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_Reward; - } - } - public long SlotId { get; set; } - } - - - public class CraftShiftingRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingReward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List TargetCraftInfos { get; set; } - } - - - public class ConquestConquerRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_Conquer; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - } - - - public class ConquestMainStoryConquerResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquer; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class ConquestErosionBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class ConquestMainStoryConquerWithBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleResult; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - //public IEnumerable DisplayInfos { get; set; } - public int StepAfterBattle { get; set; } - } - - - public class ConquestEventObjectBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_EventObjectBattleResult; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - //public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } - public ConquestInfoDB ConquestInfoDB { get; set; } - public ConquestTileDB ConquestTileDB { get; set; } - //public IEnumerable DisplayInfos { get; set; } - } - - - public class ConquestCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_Check; - } - } - public bool CanReceiveCalculateReward { get; set; } - public int? AlarmPhaseToShow { get; set; } - public long ParcelConsumeCumulatedAmount { get; set; } - public ConquestSummary ConquestSummary { get; set; } - } - - - public class ConquestNormalizeEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_NormalizeEchelon; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - } - - - public class ConquestEventObjectBattleStartRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_EventObjectBattleStart; - } - } - public long EventContentId { get; set; } - public long ConquestObjectDBId { get; set; } - public long EchelonNumber { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - } - - - public class ContentSweepMultiSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_MultiSweep; - } - } - public List> ClearParcels { get; set; } - public List BonusParcels { get; set; } - public List> EventContentBonusParcels { get; set; } - public ParcelResultDB ParcelResult { get; set; } - public List CampaignStageHistoryDBs { get; set; } - } - - - public class CraftShiftingCompleteProcessRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcess; - } - } - public long SlotId { get; set; } - } - - - public class ContentLogUIOpenStatisticsResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentLog_UIOpenStatistics; - } - } - } - - - public class CraftSelectNodeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_SelectNode; - } - } - public CraftNodeDB SelectedNodeDB { get; set; } - } - - - public class ConquestConquerWithBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ConquerWithBattleResult; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class ContentSweepSetMultiSweepPresetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPreset; - } - } - } - - - public class CraftCompleteProcessAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_CompleteProcessAll; - } - } - public List CraftInfoDBs { get; set; } - public ItemDB TicketItemDB { get; set; } - } - - - public class ContentSaveDiscardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSave_Discard; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ConquestUpgradeBaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_UpgradeBase; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - } - - - public class CraftRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_Reward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List CraftInfos { get; set; } - } - - - public class ConquestMainStoryGetInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryGetInfo; - } - } - public long EventContentId { get; set; } - } - - - public class ConquestReceiveRewardsRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ReceiveCalculateRewards; - } - } - public long EventContentId { get; set; } - [Obsolete] - public StageDifficulty Difficulty { get; set; } - [Obsolete] - public int Step { get; set; } - } - - - public class ConquestMainStoryConquerWithBattleStartRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleStart; - } - } - public long EventContentId { get; set; } - public StageDifficulty Difficulty { get; set; } - public long TileUniqueId { get; set; } - public long? EchelonNumber { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - } - - - public class CraftShiftingCompleteProcessAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcessAll; - } - } - public List CraftInfoDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ConquestMainStoryCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_MainStoryCheck; - } - } - public long EventContentId { get; set; } - } - - - public class ConquestErosionBattleStartRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Conquest_ErosionBattleStart; - } - } - public long EventContentId { get; set; } - public long ConquestObjectDBId { get; set; } - public bool UseManageEchelon { get; set; } - public long EchelonNumber { get; set; } - public ClanAssistUseInfo ClanAssistUseInfo { get; set; } - } - - - public class EchelonListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_List; - } - } - public List EchelonDBs { get; set; } - public EchelonDB ArenaEchelonDB { get; set; } - } - - - public class CraftAutoBeginProcessRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_AutoBeginProcess; - } - } - public CraftPresetSlotDB PresetSlotDB { get; set; } - public long Count { get; set; } - } - - - public class CraftBeginProcessResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_BeginProcess; - } - } - public CraftInfoDB CraftInfoDB { get; set; } - } - - - public class ContentSaveGetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSave_Get; - } - } - } - - - public class EchelonPresetListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetList; - } - } - public EchelonPresetGroupDB[] PresetGroupDBs { get; set; } - } - - - public class ContentSweepMultiSweepPresetListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_MultiSweepPresetList; - } - } - } - - - public class CraftShiftingCompleteProcessResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcess; - } - } - public ShiftingCraftInfoDB CraftInfoDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class CraftUpdateNodeLevelRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_UpdateNodeLevel; - } - } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - public long ConsumeGoldAmount { get; set; } - public long SlotId { get; set; } - public CraftNodeTier CraftNodeType { get; set; } - } - - - public class CraftRewardAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_RewardAll; - } - } - } - - - public class ContentSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ContentSweep_Request; - } - } - public ContentType Content { get; set; } - public long StageId { get; set; } - public long EventContentId { get; set; } - public long Count { get; set; } - } - - - public class EchelonPresetGroupRenameResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetGroupRename; - } - } - public EchelonPresetGroupDB PresetGroupDB { get; set; } - } - - - public class EliminateRaidLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Lobby; - } - } - public RaidSeasonType SeasonType { get; set; } - public RaidGiveUpDB RaidGiveUpDB { get; set; } - public EliminateRaidLobbyInfoDB RaidLobbyInfoDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class CraftInfoListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_List; - } - } - } - - - public class CraftShiftingBeginProcessRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingBeginProcess; - } - } - public long SlotId { get; set; } - public long RecipeId { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class EchelonSaveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_Save; - } - } - public EchelonDB EchelonDB { get; set; } - public List AssistUseInfos { get; set; } - public bool IsPractice { get; set; } - } - - - public class CraftCompleteProcessRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_CompleteProcess; - } - } - public long SlotId { get; set; } - } - - - public class EliminateRaidEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_EnterBattle; - } - } - public RaidDB RaidDB { get; set; } - public RaidBattleDB RaidBattleDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public AssistCharacterDB AssistCharacterDB { get; set; } - } - - - public class CraftShiftingRewardAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingRewardAll; - } - } - } - - - public class EliminateRaidGiveUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_GiveUp; - } - } - public int Tier { get; set; } - public RaidGiveUpDB RaidGiveUpDB { get; set; } - } - - - public class EliminateRaidSeasonRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_SeasonReward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List ReceiveRewardIds { get; set; } - } - - - public class EliminateRaidOpponentListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_OpponentList; - } - } - //public List OpponentUserDBs { get; set; } - } - - - public class EchelonPresetSaveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetSave; - } - } - public EchelonPresetDB PresetDB { get; set; } - } - - - public class EliminateRaidSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Sweep; - } - } - public long TotalSeasonPoint { get; set; } - public List> Rewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - [Obsolete] - public class EquipmentItemSellResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Sell; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class EliminateRaidCreateBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_CreateBattle; - } - } - public long RaidUniqueId { get; set; } - public bool IsPractice { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class EquipmentItemLevelUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_LevelUp; - } - } - public EquipmentDB EquipmentDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class CraftAutoBeginProcessResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_AutoBeginProcess; - } - } - public List CraftInfoDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EquipmentItemTierUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_TierUp; - } - } - public EquipmentDB EquipmentDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class CraftShiftingRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingReward; - } - } - public long SlotId { get; set; } - } - - - public class CraftRewardAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_RewardAll; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List CraftInfos { get; set; } - } - - - public class EventContentAdventureListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_AdventureList; - } - } - public List StageHistoryDBs { get; set; } - public List StrategyObjecthistoryDBs { get; set; } - public List EventContentBonusRewardDBs { get; set; } - public List AlreadyReceiveRewardId { get; set; } - public long StagePoint { get; set; } - } - - - public class EventContentEnterMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterMainStage; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - public bool IsOnSubEvent { get; set; } - } - - - public class EliminateRaidLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Login; - } - } - } - - - public class EventContentEnterTacticResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterTactic; - } - } - } - - - public class CraftShiftingRewardAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingRewardAll; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List CraftInfoDBs { get; set; } - } - - - public class EliminateRaidEndBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_EndBattle; - } - } - public int EchelonId { get; set; } - public long RaidServerId { get; set; } - public bool IsPractice { get; set; } - public int LastBossIndex { get; set; } - - //public IEnumerable RaidBossDamages { get; set; } - - //public RaidBossResultCollection RaidBossResults { get; set; } - - public BattleSummary Summary { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class EchelonSaveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_Save; - } - } - public EchelonDB EchelonDB { get; set; } - } - - - public class EventContentEnterSubStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterSubStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentSubStageSaveDB SaveDataDB { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - } - - - public class EliminateRaidLimitedRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_LimitedReward; - } - } - } - - - public class EliminateRaidRankingRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_RankingReward; - } - } - } - - - public class EchelonPresetSaveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetSave; - } - } - public EchelonPresetDB PresetDB { get; set; } - } - - - public class EliminateRaidGetBestTeamRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_GetBestTeam; - } - } - public long SearchAccountId { get; set; } - } - - - public class EquipmentItemListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_List; - } - } - } - - - public class EquipmentItemEquipRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Equip; - } - } - public long CharacterServerId { get; set; } - public List EquipmentServerIds { get; set; } - public long EquipmentServerId { get; set; } - public int SlotIndex { get; set; } - } - - - public class CraftCompleteProcessAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_CompleteProcessAll; - } - } - } - - - public class CraftShiftingCompleteProcessAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcessAll; - } - } - } - - - [Obsolete] - public class EquipmentItemLockRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Lock; - } - } - public long TargetServerId { get; set; } - public bool IsLocked { get; set; } - } - - - public class EliminateRaidCreateBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_CreateBattle; - } - } - public RaidDB RaidDB { get; set; } - public RaidBattleDB RaidBattleDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public AssistCharacterDB AssistCharacterDB { get; set; } - } - - - public class EquipmentBatchGrowthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_BatchGrowth; - } - } - public List EquipmentBatchGrowthRequestDBs { get; set; } - public GearTierUpRequestDB GearTierUpRequestDB { get; set; } - } - - - public class EliminateRaidLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Login; - } - } - public RaidSeasonType SeasonType { get; set; } - public bool CanReceiveRankingReward { get; set; } - public List ReceiveLimitedRewardIds { get; set; } - public Dictionary SweepPointByRaidUniqueId { get; set; } - public long LastSettledRanking { get; set; } - public int? LastSettledTier { get; set; } - } - - - public class EventContentTacticResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TacticResult; - } - } - public long EventContentId { get; set; } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - //public SkillCardHand Hand { get; set; } - //public TacticSkipSummary SkipSummary { get; set; } - } - - - public class EventContentDeployEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DeployEchelon; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - } - - - public class EventContentConfirmMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ConfirmMainStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class EventContentSubEventLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SubEventLobby; - } - } - public long EventContentId { get; set; } - } - - - public class EchelonListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_List; - } - } - } - - - public class EchelonPresetListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetList; - } - } - public EchelonExtensionType EchelonExtensionType { get; set; } - } - - - public class EliminateRaidEndBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_EndBattle; - } - } - public long RankingPoint { get; set; } - public long BestRankingPoint { get; set; } - public long ClearTimePoint { get; set; } - public long HPPercentScorePoint { get; set; } - public long DefaultClearPoint { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EliminateRaidRankingRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_RankingReward; - } - } - public long ReceivedRankingRewardId { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EliminateRaidLimitedRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_LimitedReward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List ReceiveRewardIds { get; set; } - } - - - public class EchelonPresetGroupRenameRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Echelon_PresetGroupRename; - } - } - public int PresetGroupIndex { get; set; } - public EchelonExtensionType ExtensionType { get; set; } - public string PresetGroupLabel { get; set; } - } - - - public class EliminateRaidGetBestTeamResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_GetBestTeam; - } - } - public Dictionary> RaidTeamSettingDBsDict { get; set; } - } - - - public class EventContentSubStageResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SubStageResult; - } - } - public long EventContentId { get; set; } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class EquipmentItemListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_List; - } - } - public List EquipmentDBs { get; set; } - } - - - public class EquipmentItemEquipResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Equip; - } - } - public CharacterDB CharacterDB { get; set; } - public List EquipmentDBs { get; set; } - } - - - [Obsolete] - public class EquipmentItemLockResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Lock; - } - } - public EquipmentDB EquipmentDB { get; set; } - } - - - public class EliminateRaidEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_EnterBattle; - } - } - public long RaidServerId { get; set; } - public long RaidUniqueId { get; set; } - public bool IsPractice { get; set; } - public long EchelonId { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class EventContentMapMoveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_MapMove; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - public long EchelonEntityId { get; set; } - //public Strategy StrategyObject { get; set; } - public List StrategyObjectParcelInfos { get; set; } - } - - - public class EventContentPurchasePlayCountHardStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_PurchasePlayCountHardStage; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - } - - - public class EliminateRaidLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Lobby; - } - } - } - - - public class EquipmentBatchGrowthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_BatchGrowth; - } - } - public List EquipmentDBs { get; set; } - public GearDB GearDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - } - - - public class EventContentShopRefreshResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopRefresh; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ShopInfoDB ShopInfoDB { get; set; } - } - - - public class EventContentConfirmMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ConfirmMainStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - } - - - public class EventContentWithdrawEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_WithdrawEchelon; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public List WithdrawEchelonEntityId { get; set; } - } - - - public class EventContentSubEventLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SubEventLobby; - } - } - public EventContentChangeDB EventContentChangeDB { get; set; } - public bool IsOnSubEvent { get; set; } - } - - - public class EventContentTacticResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TacticResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public List FirstClearReward { get; set; } - //public Strategy StrategyObject { get; set; } - public Dictionary> StrategyObjectRewards { get; set; } - public List BonusReward { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EventContentShopBuyMerchandiseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopBuyMerchandise; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public MailDB MailDB { get; set; } - public ShopProductDB ShopProductDB { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EliminateRaidGiveUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_GiveUp; - } - } - public long RaidServerId { get; set; } - public bool IsPractice { get; set; } - } - - - public class EliminateRaidSeasonRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_SeasonReward; - } - } - } - - - public class EliminateRaidOpponentListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_OpponentList; - } - } - public long? Rank { get; set; } - public long? Score { get; set; } - public bool IsUpper { get; set; } - public bool IsFirstRequest { get; set; } - public RankingSearchType SearchType { get; set; } - } - - - public class EventContentCardShopPurchaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopPurchase; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public CardShopElementDB CardShopElementDB { get; set; } - public List CardShopPurchaseHistoryDBs { get; set; } - } - - - public class EliminateRaidSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EliminateRaid_Sweep; - } - } - public long UniqueId { get; set; } - public int SweepCount { get; set; } - } - - - public class EventContentSubStageResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SubStageResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List FirstClearReward { get; set; } - public List BonusReward { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - [Obsolete] - public class EquipmentItemSellRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_Sell; - } - } - public List TargetServerIds { get; set; } - } - - - public class EquipmentItemLevelUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_LevelUp; - } - } - public long TargetServerId { get; set; } - public List ConsumeServerIds { get; set; } - public ConsumeRequestDB ConsumeRequestDB { get; set; } - } - - - public class EquipmentItemTierUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Equipment_TierUp; - } - } - public long TargetEquipmentServerId { get; set; } - public List ReplaceInfos { get; set; } - } - - - public class EventContentBoxGachaShopPurchaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopPurchase; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentBoxGachaDB BoxGachaDB { get; set; } - public Dictionary BoxGachaGroupIdByCount { get; set; } - public List BoxGachaElements { get; set; } - } - - - public class EventContentEndTurnRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EndTurn; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class EventContentAdventureListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_AdventureList; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentReceiveStageTotalRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ReceiveStageTotalReward; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentEnterTacticRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterTactic; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public long EchelonIndex { get; set; } - public long EnemyIndex { get; set; } - } - - - public class EventContentShopListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopList; - } - } - public long EventContentId { get; set; } - public List CategoryList { get; set; } - } - - - public class EventContentScenarioGroupHistoryUpdateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ScenarioGroupHistoryUpdate; - } - } - public List ScenarioGroupHistoryDBs { get; set; } - public List EventContentCollectionDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentWithdrawEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_WithdrawEchelon; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - public List WithdrawEchelonDBs { get; set; } - } - - - public class EventContentShopBuyRefreshMerchandiseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public long EventContentId { get; set; } - public List ShopUniqueIds { get; set; } - } - - - public class EventContentEnterMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterMainStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class EventContentFortuneGachaPurchaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_FortuneGachaPurchase; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public long FortuneGachaShopUniqueId; - } - - - public class EventContentEnterSubStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterSubStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public long LastEnterStageEchelonNumber { get; set; } - } - - - public class EventContentDiceRaceRollResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceRoll; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentDiceRaceDB DiceRaceDB { get; set; } - public List DiceResults { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EventContentTreasureLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureLobby; - } - } - public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } - public EventContentTreasureCell HiddenImage { get; set; } - public long VariationId { get; set; } - } - - - public class EventImageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_GetImage; - } - } - public byte[] ImageBytes { get; set; } - } - - - public class FriendRemoveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Remove; - } - } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - } - - - public class EventContentCardShopPurchaseAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopPurchaseAll; - } - } - public long EventContentId { get; set; } - } - - - public class FriendSearchResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Search; - } - } - public FriendDB[] SearchResult { get; set; } - } - - - public class EventContentDeployEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DeployEchelon; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - //public List DeployedEchelons { get; set; } - } - - - public class EventContentBoxGachaShopRefreshRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopRefresh; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentEndTurnResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EndTurn; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class FriendCancelFriendRequestResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_CancelFriendRequest; - } - } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - } - - - public class ItemConsumeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Consume; - } - } - public ItemDB UsedItemDB { get; set; } - public ParcelResultDB NewParcelResultDB { get; set; } - } - - - public class ItemAutoSynthResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_AutoSynth; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentReceiveStageTotalRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ReceiveStageTotalReward; - } - } - public long EventContentId { get; set; } - public List AlreadyReceiveRewardId { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentShopListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopList; - } - } - public List ShopInfos { get; set; } - public List ShopEligmaHistoryDBs { get; set; } - } - - - public class EventContentShopBuyRefreshMerchandiseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopBuyRefreshMerchandise; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public MailDB MailDB { get; set; } - public List ShopProductDB { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class MemoryLobbyListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_List; - } - } - public List MemoryLobbyDBs { get; set; } - } - - - public class EventContentRestartMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_RestartMainStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class EventContentEnterStoryStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterStoryStage; - } - } - public long StageUniqueId { get; set; } - public long EventContentId { get; set; } - } - - - public class EventContentMapMoveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - //public HexLocation DestPosition { get; set; } - } - - - public class MiniGameStageListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_StageList; - } - } - public List MiniGameHistoryDBs { get; set; } - } - - - public class EventContentTreasureFlipRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureFlip; - } - } - public long EventContentId { get; set; } - public int Round { get; set; } - public List Cells { get; set; } - } - - - public class EventContentDiceRaceLapRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceLapReward; - } - } - public long EventContentId { get; set; } - } - - - public class UseCouponRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_UseCoupon; - } - } - public string CouponSerial { get; set; } - } - - - public class FriendGetFriendDetailedInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_GetFriendDetailedInfo; - } - } - public long FriendAccountId { get; set; } - } - - - public class FriendSendFriendRequestRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_SendFriendRequest; - } - } - public long TargetAccountId { get; set; } - } - - - public class EventContentCardShopPurchaseAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopPurchaseAll; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List CardShopElementDBs { get; set; } - public List CardShopPurchaseHistoryDBs { get; set; } - public Dictionary> RewardHistory { get; set; } - } - - - public class MiniGameMissionRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionReward; - } - } - public MissionHistoryDB AddedHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentRetreatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_Retreat; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class EventContentBoxGachaShopRefreshResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopRefresh; - } - } - public EventContentBoxGachaDB BoxGachaDB { get; set; } - public Dictionary BoxGachaGroupIdByCount { get; set; } - } - - - public class FriendCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Check; - } - } - } - - - public class MailListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_List; - } - } - public bool IsReadMail { get; set; } - public DateTime PivotTime { get; set; } - public long PivotIndex { get; set; } - public bool IsDescending { get; set; } - } - - - [Obsolete] - public class ItemLockRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Lock; - } - } - public long TargetServerId { get; set; } - public bool IsLocked { get; set; } - } - - - public class EventContentShopRefreshRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopRefresh; - } - } - public long EventContentId { get; set; } - public ShopCategoryType ShopCategoryType { get; set; } - } - - - public class EventContentEnterMainGroundStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterMainGroundStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public long LastEnterStageEchelonNumber { get; set; } - } - - - public class EventContentEnterStoryStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterStoryStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentStoryStageSaveDB SaveDataDB { get; set; } - } - - - public class MemoryLobbySetMainRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_SetMain; - } - } - public long MemoryLobbyId { get; set; } - } - - - public class EventContentCardShopListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopList; - } - } - public long EventContentId { get; set; } - } - - - public class UseCouponResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_UseCoupon; - } - } - public bool CouponCompleteRewardReceived { get; set; } - } - - - public class EventContentRestartMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_RestartMainStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - } - - - public class MiniGameShootingBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingBattleResult; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MiniGameEnterStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_EnterStage; - } - } - public long EventContentId { get; set; } - public long UniqueId { get; set; } - } - - - public class EventContentTreasureFlipResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureFlip; - } - } - public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentDiceRaceLapRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceLapReward; - } - } - public EventContentDiceRaceDB DiceRaceDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class FriendGetFriendDetailedInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_GetFriendDetailedInfo; - } - } - public string Nickname { get; set; } - public long Level { get; set; } - public string ClanName { get; set; } - public string Comment { get; set; } - public long FriendCount { get; set; } - public string FriendCode { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long RepresentCharacterCostumeId { get; set; } - public long CharacterCount { get; set; } - public long? LastNormalCampaignClearStageId { get; set; } - public long? LastHardCampaignClearStageId { get; set; } - public long? ArenaRanking { get; set; } - public long? RaidRanking { get; set; } - public int? RaidTier { get; set; } - public DetailedAccountInfoDB DetailedAccountInfoDB { get; set; } - public AccountAttachmentDB AttachmentDB { get; set; } - public AssistCharacterDB[] AssistCharacterDBs { get; set; } - } - - - public class FriendSendFriendRequestResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_SendFriendRequest; - } - } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - } - - - public class EventContentSelectBuffRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SelectBuff; - } - } - public long SelectedBuffId { get; set; } - } - - - public class MiniGameMissionMultipleRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionMultipleReward; - } - } - public MissionCategory MissionCategory { get; set; } - public long EventContentId { get; set; } - } - - - public class FriendCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Check; - } - } - } - - - public class EventContentRetreatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_Retreat; - } - } - public List ReleasedEchelonNumbers { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MailListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_List; - } - } - public List MailDBs { get; set; } - public long Count { get; set; } - } - - - public class EventContentCollectionListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CollectionList; - } - } - public long EventContentId { get; set; } - public long? GroupId { get; set; } - } - - - [Obsolete] - public class ItemLockResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Lock; - } - } - public ItemDB ItemDB { get; set; } - } - - - public class MiniGameTableBoardEncounterInputResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardEncounterInput; - } - } - //public TBGBoardSaveDB SaveDB { get; set; } - //[JsonConverter(typeof(TBGEncounterDBConverter))] - //public TBGEncounterDB EncounterDB { get; set; } - public List PlayerDiceResult { get; set; } - public int? PlayerAddDotEffectResult { get; set; } - //public TBGDiceRollResult? PlayerDicePlayResult { get; set; } - public long? EncounterRewardItemId { get; set; } - [Obsolete] - public int? EncounterRewardItemSlot { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EventContentEnterMainGroundStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_EnterMainGroundStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentMainGroundStageSaveDB SaveDataDB { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - } - - - public class EventContentSelectBuffResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_SelectBuff; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - } - - - public class EventContentLocationGetInfoRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_LocationGetInfo; - } - } - public long EventContentId { get; set; } - } - - - public class MailCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_Check; - } - } - } - - - public class EventContentCollectionListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CollectionList; - } - } - public List EventContentUnlockCGDBs { get; set; } - } - - - public class EventContentTreasureNextRoundRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureNextRound; - } - } - public long EventContentId { get; set; } - public int Round { get; set; } - } - - - public class EventContentCardShopListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopList; - } - } - public List CardShopElementDBs { get; set; } - public Dictionary> RewardHistory { get; set; } - } - - - public class EventContentStoryStageResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_StoryStageResult; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class MemoryLobbySetMainResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_SetMain; - } - } - public AccountDB AccountDB { get; set; } - } - - - public class ItemBulkConsumeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_BulkConsume; - } - } - public long TargetItemServerId { get; set; } - public int ConsumeCount { get; set; } - } - - - public class EventContentMainGroundStageResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_MainGroundStageResult; - } - } - public long EventContentId { get; set; } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class MiniGameEnterStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - } - - - public class EventContentDiceRaceUseItemRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceUseItem; - } - } - public long EventContentId { get; set; } - public EventContentDiceRaceResultType DiceRaceResultType { get; set; } - } - - - public class MiniGameMissionMultipleRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionMultipleReward; - } - } - public List AddedHistoryDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentPortalRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_Portal; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - } - - - public class EventRewardIncreaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_RewardIncrease; - } - } - } - - - public class FriendAcceptFriendRequestRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_AcceptFriendRequest; - } - } - public long TargetAccountId { get; set; } - } - - - public class MiniGameShootingSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingSweep; - } - } - public long EventContentId { get; set; } - public long UniqueId { get; set; } - public long SweepCount { get; set; } - } - - - public class FriendGetIdCardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_GetIdCard; - } - } - } - - - public class ItemListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_List; - } - } - } - - - public class MiniGameTableBoardMoveThemaRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardMoveThema; - } - } - public long EventContentId { get; set; } - } - - - public class MailCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_Check; - } - } - public long Count { get; set; } - } - - - public class EventContentCollectionForMissionRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CollectionForMission; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentLocationGetInfoResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_LocationGetInfo; - } - } - public EventContentLocationDB EventContentLocationDB { get; set; } - } - - - public class EventContentBoxGachaShopListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopList; - } - } - public long EventContentId { get; set; } - } - - - public class MemoryLobbyUpdateLobbyModeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_UpdateLobbyMode; - } - } - public bool IsMemoryLobbyMode { get; set; } - } - - - public class EventContentCardShopShuffleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopShuffle; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentTreasureNextRoundResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureNextRound; - } - } - public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } - public EventContentTreasureCell HiddenImage { get; set; } - } - - - public class ItemBulkConsumeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_BulkConsume; - } - } - public ItemDB UsedItemDB { get; set; } - public List ParcelInfosInMailBox { get; set; } - } - - - public class EventContentDiceRaceUseItemResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceUseItem; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public EventContentDiceRaceDB DiceRaceDB { get; set; } - public List DiceResults { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EventContentMainGroundStageResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_MainGroundStageResult; - } - } - public long TacticRank { get; set; } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List FirstClearReward { get; set; } - public List ThreeStarReward { get; set; } - public List BonusReward { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class EventContentStoryStageResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_StoryStageResult; - } - } - public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List FirstClearReward { get; set; } - public List EventContentCollectionDBs { get; set; } - } - - - public class MiniGameResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_Result; - } - } - public long EventContentId { get; set; } - public long UniqueId { get; set; } - //public MinigameRhythmSummary Summary { get; set; } - } - - - public class MailReceiveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_Receive; - } - } - public List MailServerIds { get; set; } - } - - - public class EventContentPortalResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_Portal; - } - } - public EventContentMainStageSaveDB SaveDataDB { get; set; } - } - - - public class FriendGetIdCardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_GetIdCard; - } - } - public FriendIdCardDB FriendIdCardDB { get; set; } - } - - - public class EventRewardIncreaseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_RewardIncrease; - } - } - public List EventRewardIncreaseDBs { get; set; } - } - - - public class MiniGameShootingLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingLobby; - } - } - public long EventContentId { get; set; } - } - - - public class ItemListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_List; - } - } - public List ItemDBs { get; set; } - public List ExpiryItemDBs { get; set; } - } - - - public class EventContentCollectionForMissionResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CollectionForMission; - } - } - public List EventContentCollectionDBs { get; set; } - } - - - public class MiniGameShootingSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingSweep; - } - } - public List> Rewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MiniGameTableBoardMoveThemaResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardMoveThema; - } - } - //public TBGBoardSaveDB SaveDB { get; set; } - } - - - public class MemoryLobbyUpdateLobbyModeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_UpdateLobbyMode; - } - } - } - - - public class FriendAcceptFriendRequestResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_AcceptFriendRequest; - } - } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - } - - - public class EventContentLocationAttendScheduleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_LocationAttendSchedule; - } - } - public long EventContentId { get; set; } - public long ZoneId { get; set; } - public long Count { get; set; } - } - - - public class EventContentCardShopShuffleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopShuffle; - } - } - public List CardShopElementDBs { get; set; } - } - - - public class EventContentBoxGachaShopListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopList; - } - } - public EventContentBoxGachaDB BoxGachaDB { get; set; } - public Dictionary BoxGachaGroupIdByCount { get; set; } - } - - - public class EventContentPermanentListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_PermanentList; - } - } - } - - - public class EventListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_GetList; - } - } - } - - - public class ItemSelectTicketRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_SelectTicket; - } - } - public long TicketItemServerId { get; set; } - public long SelectItemUniqueId { get; set; } - public int ConsumeCount { get; set; } - } - - - public class EventContentDiceRaceLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceLobby; - } - } - public long EventContentId { get; set; } - } - - - public class EventContentShopBuyMerchandiseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ShopBuyMerchandise; - } - } - public long EventContentId { get; set; } - public bool IsRefreshMerchandise { get; set; } - public long ShopUniqueId { get; set; } - public long GoodsUniqueId { get; set; } - public long PurchaseCount { get; set; } - } - - - public class MiniGameResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_Result; - } - } - } - - - public class MailReceiveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mail_Receive; - } - } - public List MailServerIds { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentPurchasePlayCountHardStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_PurchasePlayCountHardStage; - } - } - public long EventContentId { get; set; } - public long StageUniqueId { get; set; } - } - - - public class FriendSetIdCardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_SetIdCard; - } - } - public string Comment { get; set; } - public long RepresentCharacterUniqueId { get; set; } - public long EmblemId { get; set; } - public bool SearchPermission { get; set; } - public bool AutoAcceptFriendRequest { get; set; } - public bool ShowAccountLevel { get; set; } - public bool ShowFriendCode { get; set; } - public bool ShowRaidRanking { get; set; } - public bool ShowArenaRanking { get; set; } - public bool ShowEliminateRaidRanking { get; set; } - public long BackgroundId { get; set; } - } - - - public class MiniGameShootingLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingLobby; - } - } - public List HistoryDBs { get; set; } - } - - - public class FriendListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_List; - } - } - } - - - public class MiniGameTableBoardSyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardSync; - } - } - public long EventContentId { get; set; } - } - - - [Obsolete] - public class ItemSellRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Sell; - } - } - public List TargetServerIds { get; set; } - } - - - public class EventContentScenarioGroupHistoryUpdateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_ScenarioGroupHistoryUpdate; - } - } - public long ScenarioGroupUniqueId { get; set; } - public long ScenarioType { get; set; } - public long EventContentId { get; set; } - } - - - public class MemoryLobbyInteractRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_Interact; - } - } - } - - - public class MiniGameTableBoardClearThemaRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardClearThema; - } - } - public long EventContentId { get; set; } - public List PreserveItemEffectUniqueIds { get; set; } - } - - - public class EventListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_GetList; - } - } - public List EventInfoDBs { get; set; } - } - - - public class EventContentBoxGachaShopPurchaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_BoxGachaShopPurchase; - } - } - public long EventContentId { get; set; } - public long PurchaseCount { get; set; } - public bool PurchaseAll { get; set; } - } - - - public class ItemSelectTicketResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_SelectTicket; - } - } - public ItemDB UsedItemDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentCardShopPurchaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_CardShopPurchase; - } - } - public long EventContentId { get; set; } - public int SlotNumber { get; set; } - } - - - public class EventContentDiceRaceLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceLobby; - } - } - public EventContentDiceRaceDB DiceRaceDB { get; set; } - } - - - public class EventContentPermanentListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_PermanentList; - } - } - public List PermanentDBs { get; set; } - } - - - public class FriendDeclineFriendRequestRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_DeclineFriendRequest; - } - } - public long TargetAccountId { get; set; } - } - - - public class EventContentLocationAttendScheduleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_LocationAttendSchedule; - } - } - public EventContentLocationDB EventContentLocationDB { get; set; } - public IEnumerable EventContentCollectionDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List ExtraRewards { get; set; } - } - - - public class MemoryLobbyListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_List; - } - } - } - - - public class MiniGameTableBoardResurrectResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardResurrect; - } - } - //public TBGPlayerDB PlayerDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MissionMultipleRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_MultipleReward; - } - } - public List AddedHistoryDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MiniGameMissionListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionList; - } - } - public long EventContentId { get; set; } - } - - - public class MiniGameShootingBattleEnterRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingBattleEnter; - } - } - public long EventContentId { get; set; } - public long UniqueId { get; set; } - } - - - public class FriendSetIdCardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_SetIdCard; - } - } - } - - - public class FriendListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_List; - } - } - public IdCardBackgroundDB[] IdCardBackgroundDBs { get; set; } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - public FriendIdCardDB FriendIdCardDB; - } - - - public class MiniGameTableBoardClearThemaResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardClearThema; - } - } - //public TBGBoardSaveDB SaveDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MomoTalkReadResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_Read; - } - } - public MomoTalkOutLineDB MomoTalkOutLineDB { get; set; } - public List MomoTalkChoiceDBs { get; set; } - } - - - public class MiniGameTableBoardSyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardSync; - } - } - //public TBGBoardSaveDB SaveDB { get; set; } - } - - - [Obsolete] - public class ItemSellResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Sell; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - public class MemoryLobbyInteractResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MemoryLobby_Interact; - } - } - } - - - public class EventImageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Event_GetImage; - } - } - public long EventId { get; set; } - } - - - public class ItemAutoSynthRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_AutoSynth; - } - } - public List TargetParcels { get; set; } - } - - - public class MultiFloorRaidEndBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_EndBattle; - } - } - public MultiFloorRaidDB MultiFloorRaidDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class EventContentDiceRaceRollRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_DiceRaceRoll; - } - } - public long EventContentId { get; set; } - } - - - public class FriendDeclineFriendRequestResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_DeclineFriendRequest; - } - } - public FriendDB[] FriendDBs { get; set; } - public FriendDB[] SentRequestFriendDBs { get; set; } - public FriendDB[] ReceivedRequestFriendDBs { get; set; } - } - - - public class EventContentFortuneGachaPurchaseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_FortuneGachaPurchase; - } - } - public long EventContentId { get; set; } - } - - - public class NotificationEventContentReddotResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Notification_EventContentReddotCheck; - } - } - public Dictionary> Reddots { get; set; } - public Dictionary> EventContentUnlockCGDBs { get; set; } - } - - - public class EventContentTreasureLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.EventContent_TreasureLobby; - } - } - public long EventContentId { get; set; } - } - - - public class ProofTokenRequestQuestionResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ProofToken_RequestQuestion; - } - } - public long Hint { get; set; } - public string Question { get; set; } - } - - - public class GuideMissionSeasonListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_GuideMissionSeasonList; - } - } - } - - - public class MiniGameTableBoardSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardSweep; - } - } - public long EventContentId { get; set; } - public List PreserveItemEffectUniqueIds { get; set; } - } - - - public class MiniGameMissionListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionList; - } - } - public List MissionHistoryUniqueIds { get; set; } - public List ProgressDBs { get; set; } - } - - - public class MiniGameShootingBattleEnterResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingBattleEnter; - } - } - } - - - public class FriendSearchRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Search; - } - } - public string FriendCode { get; set; } - public FriendSearchLevelOption LevelOption { get; set; } - } - - - public class FriendRemoveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_Remove; - } - } - public long TargetAccountId; - } - - - public class MomoTalkFavorScheduleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_FavorSchedule; - } - } - public long ScheduleId { get; set; } - } - - - public class MiniGameTableBoardUseItemRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardUseItem; - } - } - public long EventContentId { get; set; } - public int ItemSlotIndex { get; set; } - public long UsedItemId { get; set; } - } - - - public class ItemConsumeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Item_Consume; - } - } - public long TargetItemServerId { get; set; } - public int ConsumeCount { get; set; } - } - - - public class MiniGameStageListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_StageList; - } - } - public long EventContentId { get; set; } - } - - - public class MiniGameTableBoardMoveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardMove; - } - } - public long EventContentId { get; set; } - //public List Steps { get; set; } - } - - - public class RaidLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Login; - } - } - public RaidSeasonType SeasonType { get; set; } - public bool CanReceiveRankingReward { get; set; } - public long LastSettledRanking { get; set; } - public int? LastSettledTier { get; set; } - } - - - public class MultiFloorRaidReceiveRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_ReceiveReward; - } - } - public long SeasonId { get; set; } - public int RewardDifficulty { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidDetailResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Detail; - } - } - public RaidDetailDB RaidDetailDB { get; set; } - public List ParticipateCharacterServerIds { get; set; } - } - - - public class RaidBattleUpdateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_BattleUpdate; - } - } - public RaidBattleDB RaidBattleDB { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidRewardAllResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_RewardAll; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class OpenConditionListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_List; - } - } - } - - - public class GuideMissionSeasonListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_GuideMissionSeasonList; - } - } - public List GuideMissionSeasonDBs { get; set; } - } - - - public class ProofTokenSubmitRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ProofToken_Submit; - } - } - public long Answer; - } - - - public class RaidOpponentListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_OpponentList; - } - } - public List OpponentUserDBs { get; set; } - } - - - public class FriendCancelFriendRequestRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Friend_CancelFriendRequest; - } - } - public long TargetAccountId; - } - - - public class MiniGameTableBoardSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardSweep; - } - } - //public TBGBoardSaveDB SaveDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MomoTalkFavorScheduleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_FavorSchedule; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public Dictionary> FavorScheduleRecords { get; set; } - } - - - public class MiniGameMissionRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_MissionReward; - } - } - public long MissionUniqueId { get; set; } - public long ProgressServerId { get; set; } - public long EventContentId { get; set; } - } - - - public class ResetableContentGetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ResetableContent_Get; - } - } - public List ResetableContentValueDBs { get; set; } - } - - - public class MiniGameShootingBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_ShootingBattleResult; - } - } - //public MiniGameShootingSummary Summary { get; set; } - } - - - public class ScenarioGroupHistoryUpdateResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_GroupHistoryUpdate; - } - } - public ScenarioGroupHistoryDB ScenarioGroupHistoryDB { get; set; } - } - - - public class ScenarioLobbyStudentChangeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_LobbyStudentChange; - } - } - } - - - public class ScenarioDeployEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_DeployEchelon; - } - } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - } - - - public class MiniGameTableBoardUseItemResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardUseItem; - } - } - //public TBGPlayerDB PlayerDB { get; set; } - } - - - public class MiniGameTableBoardMoveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardMove; - } - } - //public TBGPlayerDB PlayerDB { get; set; } - //public TBGBoardSaveDB SaveDB { get; set; } - //[JsonConverter(typeof(TBGEncounterDBConverter))] - //public TBGEncounterDB EncounterDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidSearchRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Search; - } - } - public string SecretCode { get; set; } - public List Tags { get; set; } - } - - - public class RaidLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Lobby; - } - } - } - - - public class OpenConditionListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_List; - } - } - public List ConditionContents { get; set; } - } - - - public class MultiFloorRaidReceiveRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_ReceiveReward; - } - } - public MultiFloorRaidDB MultiFloorRaidDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class RaidEndBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_EndBattle; - } - } - public int EchelonId { get; set; } - public long RaidServerId { get; set; } - public bool IsPractice { get; set; } - [JsonIgnore] - public int LastBossIndex { get; set; } - //[JsonIgnore] - //public IEnumerable RaidBossDamages { get; set; } - //[JsonIgnore] - //public RaidBossResultCollection RaidBossResults { get; set; } - public BattleSummary Summary { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class ProofTokenSubmitResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ProofToken_Submit; - } - } - } - - - [Obsolete("MultiRaid")] - public class RaidShareRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Share; - } - } - public long RaidServerId { get; set; } - } - - - public class RaidGetBestTeamRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_GetBestTeam; - } - } - public long SearchAccountId { get; set; } - } - - - public class MomoTalkOutLineRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_OutLine; - } - } - } - - - public class ScenarioEnterTacticResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EnterTactic; - } - } - } - - - public class MultiFloorRaidSyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_Sync; - } - } - public long? SeasonId { get; set; } - } - - - public class ScenarioRestartMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_RestartMainStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - } - - - public class ScenarioListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_List; - } - } - } - - - public class SchoolDungeonBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_BattleResult; - } - } - public SchoolDungeonStageHistoryDB SchoolDungeonStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public List FirstClearReward { get; set; } - public List ThreeStarReward { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MissionListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_List; - } - } - public long? EventContentId { get; set; } - } - - - public class ScenarioSkipRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Skip; - } - } - public long ScriptGroupId { get; set; } - public int SkipPointScriptCount { get; set; } - } - - - public class ScenarioWithdrawEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_WithdrawEchelon; - } - } - public long StageUniqueId { get; set; } - public List WithdrawEchelonEntityId { get; set; } - } - - - public class ScenarioSpecialLobbyChangeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_SpecialLobbyChange; - } - } - public long MemoryLobbyId { get; set; } - public long MemoryLobbyIdBefore { get; set; } - } - - - public class MiniGameTableBoardResurrectRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardResurrect; - } - } - public long EventContentId { get; set; } - } - - - public class MiniGameTableBoardEncounterInputRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MiniGame_TableBoardEncounterInput; - } - } - public long EventContentId { get; set; } - public long ObjectServerId { get; set; } - public int EncounterStage { get; set; } - public int SelectedIndex { get; set; } - } - - - public class NetworkTimeSyncRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.NetworkTime_Sync; - } - } - } - - - public class RaidLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Lobby; - } - } - public RaidSeasonType SeasonType { get; set; } - public RaidGiveUpDB RaidGiveUpDB { get; set; } - public SingleRaidLobbyInfoDB RaidLobbyInfoDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidSearchResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Search; - } - } - public List RaidDBs { get; set; } - } - - - public class OpenConditionSetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_Set; - } - } - public OpenConditionDB ConditionDB { get; set; } - } - - - public class RaidEndBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_EndBattle; - } - } - public long RankingPoint { get; set; } - public long BestRankingPoint { get; set; } - public long ClearTimePoint { get; set; } - public long HPPercentScorePoint { get; set; } - public long DefaultClearPoint { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidShareResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Share; - } - } - public RaidDB RaidDB { get; set; } - } - - - public class RaidGetBestTeamResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public List RaidTeamSettingDBs { get; set; } - } - - - public class MultiFloorRaidSyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_Sync; - } - } - public List MultiFloorRaidDBs { get; set; } - } - - - public class MomoTalkOutLineResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_OutLine; - } - } - public List MomoTalkOutLineDBs { get; set; } - public Dictionary> FavorScheduleRecords { get; set; } - } - - - public class ScenarioTacticResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_TacticResult; - } - } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - //public SkillCardHand Hand { get; set; } - //public TacticSkipSummary SkipSummary { get; set; } - } - - - public class ScenarioListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - - public List ScenarioCollectionDBs; - public List ScenarioHistoryDBs { get; set; } - public List ScenarioGroupHistoryDBs { get; set; } - } - - - public class SchoolDungeonRetreatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_Retreat; - } - } - public long StageUniqueId { get; set; } - } - - public interface IMissionConstraint - { - bool CanComplete(DateTime serverTime); - - bool CanReceiveReward(DateTime serverTime); - } - - public class MissionInfo : IMissionConstraint - { - public long Id { get; set; } - - public MissionCategory Category { get; set; } - - public MissionResetType ResetType { get; set; } - - public MissionToastDisplayConditionType ToastDisplayType { get; set; } - - public string Description { get; set; } - - public bool IsVisible { get; set; } - - public bool IsLimited { get; set; } - - public DateTime StartDate { get; set; } - - public DateTime StartableEndDate { get; set; } - - public DateTime EndDate { get; set; } - - public long EndDday { get; set; } - - public AccountState AccountState { get; set; } - - public long AccountLevel { get; set; } - - public List PreMissionIds { get; set; } - - public long NextMissionId { get; set; } - - public SuddenMissionContentType[] SuddenMissionContentTypes { get; set; } - - public MissionCompleteConditionType CompleteConditionType { get; set; } - - public long CompleteConditionCount { get; set; } - - public List CompleteConditionParameters { get; set; } - - public string RewardIcon { get; set; } - - public List Rewards { get; set; } - - public ContentType DateAutoRefer { get; set; } - - public string ToastImagePath { get; set; } - - public long DisplayOrder { get; set; } - - public bool HasFollowingMission { get; set; } - - public string[] Shortcuts { get; set; } - - public long ChallengeStageId { get; set; } - - public virtual bool CanComplete(DateTime serverTime) - { - return true; - } - - public virtual bool CanReceiveReward(DateTime serverTime) - { - return true; - } - - } - public class MissionListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_List; - } - } - public List MissionHistoryUniqueIds { get; set; } - public List ProgressDBs { get; set; } - public MissionInfo DailySuddenMissionInfo { get; set; } - public List ClearedOrignalMissionIds { get; set; } - } - - - public class ScenarioSkipMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_SkipMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class ScenarioWithdrawEchelonResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_WithdrawEchelon; - } - } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - public List WithdrawEchelonDBs { get; set; } - } - - - public class ScenarioSkipResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Skip; - } - } - } - - - public class NetworkTimeSyncResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.NetworkTime_Sync; - } - } - public long ReceiveTick { get; set; } - public long EchoSendTick { get; set; } - } - - - public class GachaResult - { - public long CharacterId { get; set; } - public CharacterDB? Character { get; set; } - public ItemDB? Stone { get; set; } - public GachaResult(long id) - { - this.CharacterId = id; - } - } - - - public class ScenarioSpecialLobbyChangeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_SpecialLobbyChange; - } - } - } - - - public class ShopBuyEligmaResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyEligma; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ShopProductDB ShopProductDB { get; set; } - } - - - public class OpenConditionSetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_Set; - } - } - public List ConditionDBs { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_List; - } - } - public string RaidBossGroup { get; set; } - public Difficulty RaidDifficulty { get; set; } - public RaidRoomSortOption RaidRoomSortOption { get; set; } - } - - - public class RaidRankingRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_RankingReward; - } - } - } - - - public class RaidCreateBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_CreateBattle; - } - } - public long RaidUniqueId { get; set; } - public bool IsPractice { get; set; } - public List Tags { get; set; } - public bool IsPublic { get; set; } - public Difficulty Difficulty { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class RaidGiveUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_GiveUp; - } - } - public long RaidServerId { get; set; } - public bool IsPractice { get; set; } - } - - - public class RaidSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Sweep; - } - } - public long UniqueId { get; set; } - public long SweepCount { get; set; } - } - - - public class MultiFloorRaidEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_EnterBattle; - } - } - public long SeasonId { get; set; } - public int Difficulty { get; set; } - public int EchelonId { get; set; } - public List AssistUseInfos { get; set; } - } - - - public class ScenarioClearRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Clear; - } - } - public long ScenarioId { get; set; } - public BattleSummary BattleSummary { get; set; } - } - - - public class MomoTalkMessageListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_MessageList; - } - } - public long CharacterDBId { get; set; } - } - - - public class ScenarioTacticResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - //public Strategy StrategyObject { get; set; } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - public bool IsPlayerWin { get; set; } - public List ScenarioIds { get; set; } - } - - - public class ScenarioSelectRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Select; - } - } - public long ScriptGroupId { get; set; } - public long ScriptSelectGroup { get; set; } - } - - - public class SchoolDungeonRetreatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_Retreat; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ScenarioMapMoveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_MapMove; - } - } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - //public HexLocation DestPosition { get; set; } - } - - - public class ScenarioSkipMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_SkipMainStage; - } - } - } - - - public class MissionRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_Reward; - } - } - public long MissionUniqueId { get; set; } - public long ProgressServerId { get; set; } - public long? EventContentId { get; set; } - } - - - public class ScenarioEnterMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EnterMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class NotificationLobbyCheckRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Notification_LobbyCheck; - } - } - } - - - public class ShopBuyGacha2Response : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha2; - } - } - public DateTime UpdateTime { get; set; } - public long GemBonusRemain { get; set; } - public long GemPaidRemain { get; set; } - public List ConsumedItems { get; set; } - public List GachaResults { get; set; } - public List AcquiredItems { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_List; - } - } - public List CreateRaidDBs { get; set; } - public List EnterRaidDBs { get; set; } - public List ListRaidDBs { get; set; } - } - - - public class ShopBuyEligmaRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyEligma; - } - } - public long GoodsUniqueId { get; set; } - public long ShopUniqueId { get; set; } - public long CharacterUniqueId { get; set; } - public long PurchaseCount { get; set; } - } - - - public class RaidRankingRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_RankingReward; - } - } - public long ReceivedRankingRewardId { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class OpenConditionEventListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_EventList; - } - } - public List ConquestEventIds { get; set; } - public Dictionary WorldRaidSeasonAndGroupIds { get; set; } - } - - - public class QueuingGetTicketRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Queuing_GetTicket; - } - } - public long YostarUID { get; set; } - public string YostarToken { get; set; } - public bool MakeStandby { get; set; } - public bool PassCheck { get; set; } - public bool PassCheckYostar { get; set; } - public string WaitingTicket { get; set; } - public string ClientVersion { get; set; } - } - - - public class MultiFloorRaidEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_EnterBattle; - } - } - public List AssistCharacterDBs { get; set; } - } - - - public class RaidSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Sweep; - } - } - public long TotalSeasonPoint { get; set; } - public List> Rewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class RaidCreateBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_CreateBattle; - } - } - public RaidDB RaidDB { get; set; } - public RaidBattleDB RaidBattleDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public AssistCharacterDB AssistCharacterDB { get; set; } - } - - - public class RaidGiveUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_GiveUp; - } - } - public int Tier { get; set; } - public RaidGiveUpDB RaidGiveUpDB { get; set; } - } - - - public class ScenarioClearResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Clear; - } - } - public ScenarioHistoryDB ScenarioHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MomoTalkMessageListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_MessageList; - } - } - public MomoTalkOutLineDB MomoTalkOutLineDB { get; set; } - public List MomoTalkChoiceDBs { get; set; } - } - - - public class ScenarioRetreatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Retreat; - } - } - public long StageUniqueId { get; set; } - } - - - public class ScenarioSelectResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Select; - } - } - } - - - public class ShopBuyMerchandiseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyMerchandise; - } - } - public bool IsRefreshGoods { get; set; } - public long ShopUniqueId { get; set; } - public long GoodsId { get; set; } - public long PurchaseCount { get; set; } - } - - - public class ScenarioMapMoveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_MapMove; - } - } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - public List ScenarioIds { get; set; } - public long EchelonEntityId { get; set; } - //public Strategy StrategyObject { get; set; } - public List StrategyObjectParcelInfos { get; set; } - } - - - public class SchoolDungeonListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_List; - } - } - } - - - public class MissionRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_Reward; - } - } - public MissionHistoryDB AddedHistoryDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ScenarioEnterMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EnterMainStage; - } - } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - } - - - public class NotificationLobbyCheckResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Notification_LobbyCheck; - } - } - public long UnreadMailCount { get; set; } - public List EventRewardIncreaseDBs { get; set; } - } - - - public class ShopBuyGacha3Request : ShopBuyGacha2Request - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha3; - } - } - public long FreeRecruitId { get; set; } - public ParcelCost Cost { get; set; } - } - - - public class RaidSeasonRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_SeasonReward; - } - } - } - - - [Obsolete("MultiRaid")] - public class RaidCompleteListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_CompleteList; - } - } - } - - - public class ShopGachaRecruitListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_GachaRecruitList; - } - } - } - - - public class OpenConditionEventListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.OpenCondition_EventList; - } - } - public Dictionary> ConquestTiles { get; set; } - public Dictionary> WorldRaidLocalBossDBs { get; set; } - } - - - public class RecipeCraftRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Recipe_Craft; - } - } - public long RecipeCraftUniqueId { get; set; } - public long RecipeIngredientUniqueId { get; set; } - } - - - public class MultiFloorRaidEndBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MultiFloorRaid_EndBattle; - } - } - public long SeasonId { get; set; } - public int Difficulty { get; set; } - public BattleSummary Summary { get; set; } - public int EchelonId { get; set; } - public List AssistUseInfos { get; set; } - } - - - public class RaidEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_EnterBattle; - } - } - public long RaidServerId { get; set; } - public long RaidUniqueId { get; set; } - public bool IsPractice { get; set; } - public long EchelonId { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class RaidRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Reward; - } - } - public long RaidServerId { get; set; } - public bool IsPractice { get; set; } - } - - - public class QueuingGetTicketResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Queuing_GetTicket; - } - } - public string WaitingTicket { get; set; } - public string EnterTicket { get; set; } - public long TicketSequence { get; set; } - public long AllowedSequence { get; set; } - public double RequiredSecondsPerUser { get; set; } - public string Birth { get; set; } - public string ServerSeed { get; set; } - public void Reset() - { - } - } - - - public class ScenarioRetreatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Retreat; - } - } - public List ReleasedEchelonNumbers { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class MomoTalkReadRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.MomoTalk_Read; - } - } - public long CharacterDBId { get; set; } - public long LastReadMessageGroupId { get; set; } - public long? ChosenMessageId { get; set; } - } - - - public class ScenarioEnterRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Enter; - } - } - public long ScenarioId { get; set; } - } - - - public class ScenarioAccountStudentChangeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_AccountStudentChange; - } - } - public long AccountStudent { get; set; } - public long AccountStudentBefore { get; set; } - } - - - public class SchoolDungeonListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_List; - } - } - public List SchoolDungeonStageHistoryDBList { get; set; } - } - - - public class ScenarioEndTurnRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EndTurn; - } - } - public long StageUniqueId { get; set; } - } - - - public class ShopBuyMerchandiseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyMerchandise; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public MailDB MailDB { get; set; } - public ShopProductDB ShopProductDB { get; set; } - } - - - public class MissionMultipleRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Mission_MultipleReward; - } - } - public MissionCategory MissionCategory { get; set; } - public long? GuideMissionSeasonId { get; set; } - public long? EventContentId { get; set; } - } - - - public class ScenarioConfirmMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_ConfirmMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class NotificationEventContentReddotRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Notification_EventContentReddotCheck; - } - } - } - - - [Obsolete("MultiRaid")] - public class RaidCompleteListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_CompleteList; - } - } - public List RaidDBs { get; set; } - public long StackedDamage { get; set; } - public List ReceiveRewardId { get; set; } - public long CurSeasonUniqueId { get; set; } - } - - - public class RaidSeasonRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_SeasonReward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public List ReceiveRewardIds { get; set; } - } - - - public class ShopGachaRecruitListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_GachaRecruitList; - } - } - public List ShopRecruits { get; set; } - public List ShopFreeRecruitHistoryDBs { get; set; } - } - - - public class ShopBuyGacha3Response : ShopBuyGacha2Response - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha3; - } - } - public ShopFreeRecruitHistoryDB FreeRecruitHistoryDB { get; set; } - } - - - public class ProofTokenRequestQuestionRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ProofToken_RequestQuestion; - } - } - } - - - public class RaidEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_EnterBattle; - } - } - public RaidDB RaidDB { get; set; } - public RaidBattleDB RaidBattleDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public AssistCharacterDB AssistCharacterDB { get; set; } - } - - - public class ScenarioAccountStudentChangeResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_AccountStudentChange; - } - } - } - - - public class ShopBeforehandGachaGetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaGet; - } - } - } - - - public class RaidRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Reward; - } - } - public long RankingPoint { get; set; } - public long BestRankingPoint { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class RecipeCraftResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Recipe_Craft; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ConsumeResultDB EquipmentConsumeResultDB { get; set; } - public ConsumeResultDB ItemConsumeResultDB { get; set; } - } - - - public enum RaidRoomSortOption - { - HPHigh, - HPLow, - RemainTimeHigh, - RemainTimeLow - } - - - public class ScenarioEnterResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Enter; - } - } - } - - - public class ScenarioPortalRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public long StageUniqueId { get; set; } - public long EchelonEntityId { get; set; } - } - - - public class SkipHistoryListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SkipHistory_List; - } - } - } - - - public class SchoolDungeonEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_EnterBattle; - } - } - public long StageUniqueId { get; set; } - } - - - public class ScenarioConfirmMainStageResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_ConfirmMainStage; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - public List ScenarioIds { get; set; } - } - - - public class ScenarioEndTurnResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EndTurn; - } - } - public StoryStrategyStageSaveDB SaveDataDB { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public List ScenarioIds { get; set; } - } - - - public class StickerUseStickerRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_UseSticker; - } - } - public long StickerUniqueId { get; set; } - } - - - public class ShopBuyGachaRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha; - } - } - public long GoodsId { get; set; } - public long ShopUniqueId { get; set; } - } - - - public class TimeAttackDungeonEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_EnterBattle; - } - } - public long RoomId { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidDetailRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Detail; - } - } - public long RaidServerId { get; set; } - public long RaidUniqueId { get; set; } - } - - - public class ShopListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_List; - } - } - public List CategoryList { get; set; } - } - - - public class RaidOpponentListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_OpponentList; - } - } - public long? Rank { get; set; } - public long? Score { get; set; } - public bool IsUpper { get; set; } - public bool IsFirstRequest { get; set; } - public RankingSearchType SearchType { get; set; } - } - - - public class ShopBuyRefreshMerchandiseRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyRefreshMerchandise; - } - } - public List ShopUniqueIds { get; set; } - } - - - public class TimeAttackDungeonLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Login; - } - } - } - - - public class RaidBattleUpdateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_BattleUpdate; - } - } - public long RaidServerId { get; set; } - public int RaidBossIndex { get; set; } - public long CumulativeDamage { get; set; } - public long CumulativeGroggyPoint { get; set; } - - //[JsonIgnore] - //public IEnumerable Debuffs { get; set; } - - //private List playerDebuffs; - } - - - public class ShopBeforehandGachaGetResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaGet; - } - } - public bool AlreadyPicked { get; set; } - public BeforehandGachaSnapshotDB BeforehandGachaSnapshot { get; set; } - } - - - public class ScenarioLobbyStudentChangeRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_LobbyStudentChange; - } - } - public List LobbyStudents { get; set; } - public List LobbyStudentsBefore { get; set; } - } - - - [Obsolete("MultiRaid")] - public class RaidRewardAllRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_RewardAll; - } - } - } - - - public class ScenarioPortalResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_Portal; - } - } - public StoryStrategyStageSaveDB StoryStrategyStageSaveDB { get; set; } - public List ScenarioIds { get; set; } - } - - - public class RaidLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Raid_Login; - } - } - } - - - public class ScenarioGroupHistoryUpdateRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_GroupHistoryUpdate; - } - } - public long ScenarioGroupUniqueId { get; set; } - public long ScenarioType { get; set; } - } - - - public class SkipHistoryListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SkipHistory_List; - } - } - public SkipHistoryDB SkipHistoryDB { get; set; } - } - - - public class SchoolDungeonEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_EnterBattle; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ResetableContentGetRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.ResetableContent_Get; - } - } - } - - - public class TimeAttackDungeonEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_EnterBattle; - } - } - public AssistCharacterDB AssistCharacterDB { get; set; } - } - - - public class StickerUseStickerResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_UseSticker; - } - } - public StickerBookDB StickerBookDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ScenarioEnterTacticRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_EnterTactic; - } - } - public long StageUniqueId { get; set; } - public long EchelonIndex { get; set; } - public long EnemyIndex { get; set; } - } - - - public class ShopBuyGachaResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha; - } - } - [JsonIgnore] - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ScenarioDeployEchelonRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_DeployEchelon; - } - } - public long StageUniqueId { get; set; } - //public List DeployedEchelons { get; set; } - } - - - public class ShopBuyRefreshMerchandiseResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyRefreshMerchandise; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public List ShopProductDB { get; set; } - public MailDB MailDB { get; set; } - } - - - public class WeekDungeonListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_List; - } - } - public List AdditionalStageIdList { get; set; } - public List WeekDungeonStageHistoryDBList { get; set; } - } - - - public class WorldRaidLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_Lobby; - } - } - public List ClearHistoryDBs { get; set; } - public List LocalBossDBs { get; set; } - public List BossGroups { get; set; } - } - - - public class ShopListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_List; - } - } - public List ShopInfos { get; set; } - public List ShopEligmaHistoryDBs { get; set; } - } - - - public class TimeAttackDungeonLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Login; - } - } - public TimeAttackDungeonRoomDB PreviousRoomDB { get; set; } - } - - - public class ShopBeforehandGachaRunRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaRun; - } - } - public long ShopUniqueId { get; set; } - public long GoodsId { get; set; } - } - - - public class WorldRaidReceiveRewardResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class ScenarioRestartMainStageRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Scenario_RestartMainStage; - } - } - public long StageUniqueId { get; set; } - } - - - public class SchoolDungeonBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SchoolDungeon_BattleResult; - } - } - public long StageUniqueId { get; set; } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class SkipHistorySaveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SkipHistory_Save; - } - } - public SkipHistoryDB SkipHistoryDB { get; set; } - } - - - public class TimeAttackDungeonEndBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_EndBattle; - } - } - public int EchelonId { get; set; } - public long RoomId { get; set; } - public BattleSummary Summary { get; set; } - public ClanAssistUseInfo AssistUseInfo { get; set; } - } - - - public class SystemVersionRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.System_Version; - } - } - } - - - public class ShopBuyGacha2Request : ShopBuyGachaRequest - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyGacha2; - } - } - } - - - public class ToastListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Toast_List; - } - } - } - - - public class WorldRaidBossListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_BossList; - } - } - public long SeasonId { get; set; } - public bool RequestOnlyWorldBossData { get; set; } - } - - - public class WeekDungeonEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_EnterBattle; - } - } - public long StageUniqueId { get; set; } - public long EchelonIndex { get; set; } - } - - - public class ShopBuyAPRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyAP; - } - } - public long ShopUniqueId { get; set; } - public long PurchaseCount { get; set; } - } - - - public class ShopRefreshRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public ShopCategoryType ShopCategoryType { get; set; } - } - - - public class ShopBeforehandGachaRunResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaRun; - } - } - public BeforehandGachaSnapshotDB SelectGachaSnapshot { get; set; } - } - - - public class TimeAttackDungeonEndBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_EndBattle; - } - } - public TimeAttackDungeonRoomDB RoomDB { get; set; } - public long TotalPoint { get; set; } - public long DefaultPoint { get; set; } - public long TimePoint { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class SystemVersionResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.System_Version; - } - } - public long CurrentVersion { get; set; } - public long MinimumVersion { get; set; } - public bool IsDevelopment { get; set; } - } - - - public class SkipHistorySaveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.SkipHistory_Save; - } - } - public SkipHistoryDB SkipHistoryDB { get; set; } - } - - - public class WorldRaidBossListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_BossList; - } - } - public List BossListInfoDBs { get; set; } - } - - - public class ToastListResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Toast_List; - } - } - public List ToastDBs { get; set; } - } - - - public class WeekDungeonEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_EnterBattle; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public int Seed { get; set; } - public int Sequence { get; set; } - } - - - public class ShopBeforehandGachaSaveRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaSave; - } - } - public long TargetIndex { get; set; } - } - - - public class ShopRefreshResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_Refresh; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - public ShopInfoDB ShopInfoDB { get; set; } - } - - - public class ShopBuyAPResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BuyAP; - } - } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public ConsumeResultDB ConsumeResultDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public MailDB MailDB { get; set; } - public ShopProductDB ShopProductDB { get; set; } - } - - - public class TimeAttackDungeonGiveUpRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_GiveUp; - } - } - public long RoomId { get; set; } - } - - - public class TimeAttackDungeonLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Lobby; - } - } - } - + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Auth2; + } + } + + } + + public class AccountAuth2Response : AccountAuthResponse + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Auth2; + } + } + + } + + public class AccountCreateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Create; + } + } + + public string DevId { get; set; } + public long Version { get; set; } + public long IMEI { get; set; } + public string AccessIP { get; set; } + public string MarketId { get; set; } + public string UserType { get; set; } + public string AdvertisementId { get; set; } + public string OSType { get; set; } + public string OSVersion { get; set; } + } + + public class AccountCreateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Create; + } + } + + } + + public class AccountNicknameRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Nickname; + } + } + + public string Nickname { get; set; } + } + + public class AccountNicknameResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Nickname; + } + } + + public AccountDB AccountDB { get; set; } + } + + public class AccountCallNameRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CallName; + } + } + + public string CallName { get; set; } + } + + public class AccountCallNameResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CallName; + } + } + + public AccountDB AccountDB { get; set; } + } + + public class AccountBirthDayRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_BirthDay; + } + } + + public DateTime BirthDay { get; set; } + } + + public class AccountBirthDayResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_BirthDay; + } + } + + public AccountDB AccountDB { get; set; } + } + + public class AccountSetRepresentCharacterAndCommentRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_SetRepresentCharacterAndComment; + } + } + + public long RepresentCharacterServerId { get; set; } + public string Comment { get; set; } + } + + public class AccountSetRepresentCharacterAndCommentResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_SetRepresentCharacterAndComment; + } + } + + public AccountDB AccountDB { get; set; } + public CharacterDB RepresentCharacterDB { get; set; } + } + + public class AccountGetTutorialRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_GetTutorial; + } + } + + } + + public class AccountGetTutorialResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_GetTutorial; + } + } + + public List TutorialIds { get; set; } + } + + public class AccountSetTutorialRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_SetTutorial; + } + } + + public List TutorialIds { get; set; } + } + + public class AccountSetTutorialResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_SetTutorial; + } + } + + } + + public class AccountPassCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_PassCheck; + } + } + + public string DevId { get; set; } + public bool OnlyAccountId { get; set; } + } + + public class AccountPassCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_PassCheck; + } + } + + } + + public class AccountLinkRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_LinkReward; + } + } + + } + + public class AccountLinkRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_LinkReward; + } + } + + } + + public class AccountReportXignCodeCheaterRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_ReportXignCodeCheater; + } + } + + public string ErrorCode { get; set; } + } + + public class AccountReportXignCodeCheaterResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_ReportXignCodeCheater; + } + } + + } + + public class AccountDismissRepurchasablePopupRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_DismissRepurchasablePopup; + } + } + + public List ProductIds { get; set; } + } + + public class AccountDismissRepurchasablePopupResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_DismissRepurchasablePopup; + } + } + + } + + public class AccountInvalidateTokenRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_InvalidateToken; + } + } + + } + + public class AccountInvalidateTokenResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_InvalidateToken; + } + } + + } + + public class AccountLoginSyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_LoginSync; + } + } + + public List SyncProtocols { get; set; } + public string SkillCutInOption { get; set; } + } + + public class AccountLoginSyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_LoginSync; + } + } + + public ResponsePacket Responses { get; set; } + public CafeGetInfoResponse CafeGetInfoResponse { get; set; } + public AccountCurrencySyncResponse AccountCurrencySyncResponse { get; set; } + public CharacterListResponse CharacterListResponse { get; set; } + public EquipmentItemListResponse EquipmentItemListResponse { get; set; } + public CharacterGearListResponse CharacterGearListResponse { get; set; } + public ItemListResponse ItemListResponse { get; set; } + public EchelonListResponse EchelonListResponse { get; set; } + public MemoryLobbyListResponse MemoryLobbyListResponse { get; set; } + public CampaignListResponse CampaignListResponse { get; set; } + public ArenaLoginResponse ArenaLoginResponse { get; set; } + public RaidLoginResponse RaidLoginResponse { get; set; } + public EliminateRaidLoginResponse EliminateRaidLoginResponse { get; set; } + public CraftInfoListResponse CraftInfoListResponse { get; set; } + public ClanLoginResponse ClanLoginResponse { get; set; } + public MomoTalkOutLineResponse MomotalkOutlineResponse { get; set; } + public ScenarioListResponse ScenarioListResponse { get; set; } + public ShopGachaRecruitListResponse ShopGachaRecruitListResponse { get; set; } + public TimeAttackDungeonLoginResponse TimeAttackDungeonLoginResponse { get; set; } + public BillingPurchaseListByYostarResponse BillingPurchaseListByYostarResponse { get; set; } + public EventContentPermanentListResponse EventContentPermanentListResponse { get; set; } + public AttachmentGetResponse AttachmentGetResponse { get; set; } + public AttachmentEmblemListResponse AttachmentEmblemListResponse { get; set; } + public ContentSweepMultiSweepPresetListResponse ContentSweepMultiSweepPresetListResponse { get; set; } + public StickerLoginResponse StickerListResponse { get; set; } + public MultiFloorRaidSyncResponse MultiFloorRaidSyncResponse { get; set; } + public long FriendCount { get; set; } + public string FriendCode { get; set; } + } + + public class AccountCheckYostarRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CheckYostar; + } + } + + public long UID { get; set; } + public string YostarToken { get; set; } + public string EnterTicket { get; set; } + public bool PassCookieResult { get; set; } + public string Cookie { get; set; } + } + + public class AccountCheckYostarResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_CheckYostar; + } + } + + public int ResultState { get; set; } + public string ResultMessag { get; set; } + public string Birth { get; set; } + } + + public class AccountResetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Reset; + } + } + + public string DevId { get; set; } + } + + public class AccountResetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Reset; + } + } + + } + + public class AccountRequestBirthdayMailRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_BirthDay; + } + } + + public DateTime Birthday { get; set; } + } + + public class AccountRequestBirthdayMailResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_BirthDay; + } + } + + } + + public class ArenaEnterLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterLobby; + } + } + + } + + public class ArenaEnterLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterLobby; + } + } + + public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } + public List OpponentUserDBs { get; set; } + public long MapId { get; set; } + public DateTime AutoRefreshTime { get; set; } + } + + public class ArenaLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_Login; + } + } + + } + + public class ArenaLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_Login; + } + } + + public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } + } + + public class ArenaSettingChangeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_SettingChange; + } + } + + public long MapId { get; set; } + } + + public class ArenaSettingChangeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_SettingChange; + } + } + + } + + public class ArenaOpponentListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_OpponentList; + } + } + + } + + public class ArenaOpponentListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_OpponentList; + } + } + + public long PlayerRank { get; set; } + public List OpponentUserDBs { get; set; } + public DateTime AutoRefreshTime { get; set; } + } + + public class ArenaEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattle; + } + } + + public long OpponentAccountServerId { get; set; } + public long OpponentIndex { get; set; } + } + + public class ArenaEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattle; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ArenaBattleDB ArenaBattleDB { get; set; } + public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } + public ParcelResultDB VictoryRewards { get; set; } + public ParcelResultDB SeasonRewards { get; set; } + public ParcelResultDB AllTimeRewards { get; set; } + } + + public class ArenaBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_BattleResult; + } + } + + public ArenaBattleDB ArenaBattleDB { get; set; } + } + + public class ArenaBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_BattleResult; + } + } + + } + + public class ArenaEnterBattlePart1Request : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattlePart1; + } + } + + public long OpponentAccountServerId { get; set; } + public long OpponentRank { get; set; } + public int OpponentIndex { get; set; } + } + + public class ArenaEnterBattlePart1Response : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattlePart1; + } + } + + public ArenaBattleDB ArenaBattleDB { get; set; } + } + + public class ArenaEnterBattlePart2Request : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattlePart2; + } + } + + public ArenaBattleDB ArenaBattleDB { get; set; } + } + + public class ArenaEnterBattlePart2Response : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_EnterBattlePart2; + } + } + + public ArenaBattleDB ArenaBattleDB { get; set; } + public ArenaPlayerInfoDB ArenaPlayerInfoDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ParcelResultDB VictoryRewards { get; set; } + public ParcelResultDB SeasonRewards { get; set; } + public ParcelResultDB AllTimeRewards { get; set; } + } + + public class ArenaCumulativeTimeRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_CumulativeTimeReward; + } + } + + } + + public class ArenaCumulativeTimeRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_CumulativeTimeReward; + } + } + + public long TimeRewardAmount { get; set; } + public DateTime TimeRewardLastUpdateTime { get; set; } + public ParcelResultDB ParcelResult { get; set; } + } + + public class ArenaDailyRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_DailyReward; + } + } + + } + + public class ArenaDailyRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_DailyReward; + } + } + + public ParcelResultDB ParcelResult { get; set; } + public DateTime DailyRewardActiveTime { get; set; } + } + + public class ArenaRankListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_RankList; + } + } + + public int StartIndex { get; set; } + public int Count { get; set; } + } + + public class ArenaRankListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_RankList; + } + } + + public List TopRankedUserDBs { get; set; } + } + + public class ArenaHistoryRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_History; + } + } + + public DateTime SearchStartDate { get; set; } + public int Count { get; set; } + } + + public class ArenaHistoryResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_History; + } + } + + public List ArenaHistoryDBs { get; set; } + public List ArenaDamageReportDB { get; set; } + } + + public class ArenaCheckSeasonCloseRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_CheckSeasonCloseReward; + } + } + + } + + public class ArenaCheckSeasonCloseRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_CheckSeasonCloseReward; + } + } + + } + + public class ArenaSyncEchelonSettingTimeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_SyncEchelonSettingTime; + } + } + + } + + public class ArenaSyncEchelonSettingTimeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_SyncEchelonSettingTime; + } + } + + public DateTime EchelonSettingTime { get; set; } + } + + public class AttachmentGetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_Get; + } + } + + } + + public class AttachmentGetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_Get; + } + } + + public AccountAttachmentDB AccountAttachmentDB { get; set; } + } + + public class AttachmentEmblemListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemList; + } + } + + } + + public class AttachmentEmblemListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemList; + } + } + + public List EmblemDBs { get; set; } + } + + public class AttachmentEmblemAcquireRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemAcquire; + } + } + + public List UniqueIds { get; set; } + } + + public class AttachmentEmblemAcquireResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemAcquire; + } + } + + public List EmblemDBs { get; set; } + } + + public class AttachmentEmblemAttachRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemAttach; + } + } + + public long UniqueId { get; set; } + } + + public class AttachmentEmblemAttachResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attachment_EmblemAttach; + } + } + + public AccountAttachmentDB AttachmentDB { get; set; } + } + + public class AttendanceRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attendance_Reward; + } + } + + public Dictionary DayByBookUniqueId { get; set; } + public long AttendanceBookUniqueId { get; set; } + public long Day { get; set; } + } + + public class AttendanceRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Attendance_Reward; + } + } + + public List AttendanceBookRewards { get; set; } + public List AttendanceHistoryDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class AuditGachaStatisticsRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Audit_GachaStatistics; + } + } + + public long MerchandiseUniqueId { get; set; } + public long ShopUniqueId { get; set; } + public long Count { get; set; } + } + + public class AuditGachaStatisticsResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Audit_GachaStatistics; + } + } + + public Dictionary GachaResult { get; set; } + } + + public enum Protocol + { + Common_Cheat = -9999, + Error = -1, + None = 0, + System_Version = 1, + Session_Info = 2, + NetworkTime_Sync = 3, + NetworkTime_SyncReply = 4, + Audit_GachaStatistics = 5, + Account_Create = 1000, + Account_Nickname = 1001, + Account_Auth = 1002, + Account_CurrencySync = 1003, + Account_SetRepresentCharacterAndComment = 1004, + Account_GetTutorial = 1005, + Account_SetTutorial = 1006, + Account_PassCheck = 1007, + Account_VerifyForYostar = 1008, + Account_CheckYostar = 1009, + Account_CallName = 1010, + Account_BirthDay = 1011, + Account_Auth2 = 1012, + Account_LinkReward = 1013, + Account_ReportXignCodeCheater = 1014, + Account_DismissRepurchasablePopup = 1015, + Account_InvalidateToken = 1016, + Account_LoginSync = 1017, + Account_Reset = 1018, + Account_RequestBirthdayMail = 1019, + Character_List = 2000, + Character_Transcendence = 2001, + Character_ExpGrowth = 2002, + Character_FavorGrowth = 2003, + Character_UpdateSkillLevel = 2004, + Character_UnlockWeapon = 2005, + Character_WeaponExpGrowth = 2006, + Character_WeaponTranscendence = 2007, + Character_SetFavorites = 2008, + Character_SetCostume = 2009, + Character_BatchSkillLevelUpdate = 2010, + Character_PotentialGrowth = 2011, + Equipment_List = 3000, + Equipment_Sell = 3001, + Equipment_Equip = 3002, + Equipment_LevelUp = 3003, + Equipment_TierUp = 3004, + Equipment_Lock = 3005, + Equipment_BatchGrowth = 3006, + Item_List = 4000, + Item_Sell = 4001, + Item_Consume = 4002, + Item_Lock = 4003, + Item_BulkConsume = 4004, + Item_SelectTicket = 4005, + Item_AutoSynth = 4006, + Echelon_List = 5000, + Echelon_Save = 5001, + Echelon_PresetList = 5002, + Echelon_PresetSave = 5003, + Echelon_PresetGroupRename = 5004, + Campaign_List = 6000, + Campaign_EnterMainStage = 6001, + Campaign_ConfirmMainStage = 6002, + Campaign_DeployEchelon = 6003, + Campaign_WithdrawEchelon = 6004, + Campaign_MapMove = 6005, + Campaign_EndTurn = 6006, + Campaign_EnterTactic = 6007, + Campaign_TacticResult = 6008, + Campaign_Retreat = 6009, + Campaign_ChapterClearReward = 6010, + Campaign_Heal = 6011, + Campaign_EnterSubStage = 6012, + Campaign_SubStageResult = 6013, + Campaign_Portal = 6014, + Campaign_ConfirmTutorialStage = 6015, + Campaign_PurchasePlayCountHardStage = 6016, + Campaign_EnterTutorialStage = 6017, + Campaign_TutorialStageResult = 6018, + Campaign_RestartMainStage = 6019, + Campaign_EnterMainStageStrategySkip = 6020, + Campaign_MainStageStrategySkipResult = 6021, + Mail_List = 7000, + Mail_Check = 7001, + Mail_Receive = 7002, + Mission_List = 8000, + Mission_Reward = 8001, + Mission_MultipleReward = 8002, + Mission_GuideReward = 8003, + Mission_MultipleGuideReward = 8004, + Mission_Sync = 8005, + Mission_GuideMissionSeasonList = 8006, + Attendance_List = 9000, + Attendance_Check = 9001, + Attendance_Reward = 9002, + Shop_BuyMerchandise = 10000, + Shop_BuyGacha = 10001, + Shop_List = 10002, + Shop_Refresh = 10003, + Shop_BuyEligma = 10004, + Shop_BuyGacha2 = 10005, + Shop_GachaRecruitList = 10006, + Shop_BuyRefreshMerchandise = 10007, + Shop_BuyGacha3 = 10008, + Shop_BuyAP = 10009, + Shop_BeforehandGachaGet = 10010, + Shop_BeforehandGachaRun = 10011, + Shop_BeforehandGachaSave = 10012, + Shop_BeforehandGachaPick = 10013, + Recipe_Craft = 11000, + MemoryLobby_List = 12000, + MemoryLobby_SetMain = 12001, + MemoryLobby_UpdateLobbyMode = 12002, + MemoryLobby_Interact = 12003, + CumulativeTimeReward_List = 13000, + CumulativeTimeReward_Reward = 13001, + OpenCondition_List = 15000, + OpenCondition_Set = 15001, + OpenCondition_EventList = 15002, + Toast_List = 16000, + Raid_List = 17000, + Raid_CompleteList = 17001, + Raid_Detail = 17002, + Raid_Search = 17003, + Raid_CreateBattle = 17004, + Raid_EnterBattle = 17005, + Raid_BattleUpdate = 17006, + Raid_EndBattle = 17007, + Raid_Reward = 17008, + Raid_RewardAll = 17009, + Raid_Revive = 17010, + Raid_Share = 17011, + Raid_SeasonInfo = 17012, + Raid_SeasonReward = 17013, + Raid_Lobby = 17014, + Raid_GiveUp = 17015, + Raid_OpponentList = 17016, + Raid_RankingReward = 17017, + Raid_Login = 17018, + Raid_Sweep = 17019, + Raid_GetBestTeam = 17020, + SkipHistory_List = 18000, + SkipHistory_Save = 18001, + Scenario_List = 19000, + Scenario_Clear = 19001, + Scenario_GroupHistoryUpdate = 19002, + Scenario_Skip = 19003, + Scenario_Select = 19004, + Scenario_AccountStudentChange = 19005, + Scenario_LobbyStudentChange = 19006, + Scenario_SpecialLobbyChange = 19007, + Scenario_Enter = 19008, + Scenario_EnterMainStage = 19009, + Scenario_ConfirmMainStage = 19010, + Scenario_DeployEchelon = 19011, + Scenario_WithdrawEchelon = 19012, + Scenario_MapMove = 19013, + Scenario_EndTurn = 19014, + Scenario_EnterTactic = 19015, + Scenario_TacticResult = 19016, + Scenario_Retreat = 19017, + Scenario_Portal = 19018, + Scenario_RestartMainStage = 19019, + Scenario_SkipMainStage = 19020, + Cafe_Get = 20000, + Cafe_Ack = 20001, + Cafe_Deploy = 20002, + Cafe_Relocate = 20003, + Cafe_Remove = 20004, + Cafe_RemoveAll = 20005, + Cafe_Interact = 20006, + Cafe_ListPreset = 20007, + Cafe_RenamePreset = 20008, + Cafe_ClearPreset = 20009, + Cafe_UpdatePresetFurniture = 20010, + Cafe_ApplyPreset = 20011, + Cafe_RankUp = 20012, + Cafe_ReceiveCurrency = 20013, + Cafe_GiveGift = 20014, + Cafe_SummonCharacter = 20015, + Cafe_TrophyHistory = 20016, + Cafe_ApplyTemplate = 20017, + Cafe_Open = 20018, + Cafe_Travel = 20019, + Craft_List = 21000, + Craft_SelectNode = 21001, + Craft_UpdateNodeLevel = 21002, + Craft_BeginProcess = 21003, + Craft_CompleteProcess = 21004, + Craft_Reward = 21005, + Craft_HistoryList = 21006, + Craft_ShiftingBeginProcess = 21007, + Craft_ShiftingCompleteProcess = 21008, + Craft_ShiftingReward = 21009, + Craft_AutoBeginProcess = 21010, + Craft_CompleteProcessAll = 21011, + Craft_RewardAll = 21012, + Craft_ShiftingCompleteProcessAll = 21013, + Craft_ShiftingRewardAll = 21014, + Arena_EnterLobby = 22000, + Arena_Login = 22001, + Arena_SettingChange = 22002, + Arena_OpponentList = 22003, + Arena_EnterBattle = 22004, + Arena_EnterBattlePart1 = 22005, + Arena_EnterBattlePart2 = 22006, + Arena_BattleResult = 22007, + Arena_CumulativeTimeReward = 22008, + Arena_DailyReward = 22009, + Arena_RankList = 22010, + Arena_History = 22011, + Arena_RecordSync = 22012, + Arena_TicketPurchase = 22013, + Arena_DamageReport = 22014, + Arena_CheckSeasonCloseReward = 22015, + Arena_SyncEchelonSettingTime = 22016, + WeekDungeon_List = 23000, + WeekDungeon_EnterBattle = 23001, + WeekDungeon_BattleResult = 23002, + WeekDungeon_Retreat = 23003, + Academy_GetInfo = 24000, + Academy_AttendSchedule = 24001, + Academy_AttendFavorSchedule = 24002, + Event_GetList = 25000, + Event_GetImage = 25001, + Event_UseCoupon = 25002, + Event_RewardIncrease = 25003, + ContentSave_Get = 26000, + ContentSave_Discard = 26001, + ContentSweep_Request = 27000, + ContentSweep_MultiSweep = 27001, + ContentSweep_MultiSweepPresetList = 27002, + ContentSweep_SetMultiSweepPreset = 27003, + ContentSweep_SetMultiSweepPresetName = 27004, + Clan_Lobby = 28000, + Clan_Login = 28001, + Clan_Search = 28002, + Clan_Create = 28003, + Clan_Member = 28004, + Clan_Applicant = 28005, + Clan_Join = 28006, + Clan_Quit = 28007, + Clan_Permit = 28008, + Clan_Kick = 28009, + Clan_Setting = 28010, + Clan_Confer = 28011, + Clan_Dismiss = 28012, + Clan_AutoJoin = 28013, + Clan_MemberList = 28014, + Clan_CancelApply = 28015, + Clan_MyAssistList = 28016, + Clan_SetAssist = 28017, + Clan_ChatLog = 28018, + Clan_Check = 28019, + Clan_AllAssistList = 28020, + Billing_TransactionStartByYostar = 29000, + Billing_TransactionEndByYostar = 29001, + Billing_PurchaseListByYostar = 29002, + EventContent_AdventureList = 30000, + EventContent_EnterMainStage = 30001, + EventContent_ConfirmMainStage = 30002, + EventContent_EnterTactic = 30003, + EventContent_TacticResult = 30004, + EventContent_EnterSubStage = 30005, + EventContent_SubStageResult = 30006, + EventContent_DeployEchelon = 30007, + EventContent_WithdrawEchelon = 30008, + EventContent_MapMove = 30009, + EventContent_EndTurn = 30010, + EventContent_Retreat = 30011, + EventContent_Portal = 30012, + EventContent_PurchasePlayCountHardStage = 30013, + EventContent_ShopList = 30014, + EventContent_ShopRefresh = 30015, + EventContent_ReceiveStageTotalReward = 30016, + EventContent_EnterMainGroundStage = 30017, + EventContent_MainGroundStageResult = 30018, + EventContent_ShopBuyMerchandise = 30019, + EventContent_ShopBuyRefreshMerchandise = 30020, + EventContent_SelectBuff = 30021, + EventContent_BoxGachaShopList = 30022, + EventContent_BoxGachaShopPurchase = 30023, + EventContent_BoxGachaShopRefresh = 30024, + EventContent_CollectionList = 30025, + EventContent_CollectionForMission = 30026, + EventContent_ScenarioGroupHistoryUpdate = 30027, + EventContent_CardShopList = 30028, + EventContent_CardShopShuffle = 30029, + EventContent_CardShopPurchase = 30030, + EventContent_RestartMainStage = 30031, + EventContent_LocationGetInfo = 30032, + EventContent_LocationAttendSchedule = 30033, + EventContent_FortuneGachaPurchase = 30034, + EventContent_SubEventLobby = 30035, + EventContent_EnterStoryStage = 30036, + EventContent_StoryStageResult = 30037, + EventContent_DiceRaceLobby = 30038, + EventContent_DiceRaceRoll = 30039, + EventContent_DiceRaceLapReward = 30040, + EventContent_PermanentList = 30041, + EventContent_DiceRaceUseItem = 30042, + EventContent_CardShopPurchaseAll = 30043, + EventContent_TreasureLobby = 30044, + EventContent_TreasureFlip = 30045, + EventContent_TreasureNextRound = 30046, + TTS_GetFile = 31000, + ContentLog_UIOpenStatistics = 32000, + MomoTalk_OutLine = 33000, + MomoTalk_MessageList = 33001, + MomoTalk_Read = 33002, + MomoTalk_Reply = 33003, + MomoTalk_FavorSchedule = 33004, + ClearDeck_List = 34000, + MiniGame_StageList = 35000, + MiniGame_EnterStage = 35001, + MiniGame_Result = 35002, + MiniGame_MissionList = 35003, + MiniGame_MissionReward = 35004, + MiniGame_MissionMultipleReward = 35005, + MiniGame_ShootingLobby = 35006, + MiniGame_ShootingBattleEnter = 35007, + MiniGame_ShootingBattleResult = 35008, + MiniGame_ShootingSweep = 35009, + MiniGame_TableBoardSync = 35010, + MiniGame_TableBoardMove = 35011, + MiniGame_TableBoardEncounterInput = 35012, + MiniGame_TableBoardBattleEncounter = 35013, + MiniGame_TableBoardBattleRunAway = 35014, + MiniGame_TableBoardClearThema = 35015, + MiniGame_TableBoardUseItem = 35016, + MiniGame_TableBoardResurrect = 35017, + MiniGame_TableBoardSweep = 35018, + MiniGame_TableBoardMoveThema = 35019, + MiniGame_DreamMakerGetInfo = 35020, + MiniGame_DreamMakerNewGame = 35021, + MiniGame_DreamMakerRestart = 35022, + MiniGame_DreamMakerAttendSchedule = 35023, + MiniGame_DreamMakerDailyClosing = 35024, + MiniGame_DreamMakerEnding = 35025, + MiniGame_DefenseGetInfo = 35026, + MiniGame_DefenseEnterBattle = 35027, + MiniGame_DefenseBattleResult = 35028, + Notification_LobbyCheck = 36000, + Notification_EventContentReddotCheck = 36001, + ProofToken_RequestQuestion = 37000, + ProofToken_Submit = 37001, + SchoolDungeon_List = 38000, + SchoolDungeon_EnterBattle = 38001, + SchoolDungeon_BattleResult = 38002, + SchoolDungeon_Retreat = 38003, + TimeAttackDungeon_Lobby = 39000, + TimeAttackDungeon_CreateBattle = 39001, + TimeAttackDungeon_EnterBattle = 39002, + TimeAttackDungeon_EndBattle = 39003, + TimeAttackDungeon_Sweep = 39004, + TimeAttackDungeon_GiveUp = 39005, + TimeAttackDungeon_Login = 39006, + WorldRaid_Lobby = 40000, + WorldRaid_BossList = 40001, + WorldRaid_EnterBattle = 40002, + WorldRaid_BattleResult = 40003, + WorldRaid_ReceiveReward = 40004, + ResetableContent_Get = 41000, + Conquest_GetInfo = 42000, + Conquest_Conquer = 42001, + Conquest_ConquerWithBattleStart = 42002, + Conquest_ConquerWithBattleResult = 42003, + Conquest_DeployEchelon = 42004, + Conquest_ManageBase = 42005, + Conquest_UpgradeBase = 42006, + Conquest_TakeEventObject = 42007, + Conquest_EventObjectBattleStart = 42008, + Conquest_EventObjectBattleResult = 42009, + Conquest_ReceiveCalculateRewards = 42010, + Conquest_NormalizeEchelon = 42011, + Conquest_Check = 42012, + Conquest_ErosionBattleStart = 42013, + Conquest_ErosionBattleResult = 42014, + Conquest_MainStoryGetInfo = 42015, + Conquest_MainStoryConquer = 42016, + Conquest_MainStoryConquerWithBattleStart = 42017, + Conquest_MainStoryConquerWithBattleResult = 42018, + Conquest_MainStoryCheck = 42019, + Friend_List = 43000, + Friend_Remove = 43001, + Friend_GetFriendDetailedInfo = 43002, + Friend_GetIdCard = 43003, + Friend_SetIdCard = 43004, + Friend_Search = 43005, + Friend_SendFriendRequest = 43006, + Friend_AcceptFriendRequest = 43007, + Friend_DeclineFriendRequest = 43008, + Friend_CancelFriendRequest = 43009, + Friend_Check = 43010, + Friend_ListByIds = 43011, + Friend_Block = 43012, + Friend_Unblock = 43013, + CharacterGear_List = 44000, + CharacterGear_Unlock = 44001, + CharacterGear_TierUp = 44002, + EliminateRaid_Login = 45000, + EliminateRaid_Lobby = 45001, + EliminateRaid_OpponentList = 45002, + EliminateRaid_GetBestTeam = 45003, + EliminateRaid_CreateBattle = 45004, + EliminateRaid_EnterBattle = 45005, + EliminateRaid_EndBattle = 45006, + EliminateRaid_GiveUp = 45007, + EliminateRaid_Sweep = 45008, + EliminateRaid_SeasonReward = 45009, + EliminateRaid_RankingReward = 45010, + EliminateRaid_LimitedReward = 45011, + Attachment_Get = 46000, + Attachment_EmblemList = 46001, + Attachment_EmblemAcquire = 46002, + Attachment_EmblemAttach = 46003, + Sticker_Login = 47000, + Sticker_Lobby = 47001, + Sticker_UseSticker = 47002, + Field_Sync = 48000, + Field_Interaction = 48001, + Field_QuestClear = 48002, + Field_SceneChanged = 48003, + Field_EndDate = 48004, + Field_EnterStage = 48005, + Field_StageResult = 48006, + MultiFloorRaid_Sync = 49000, + MultiFloorRaid_EnterBattle = 49001, + MultiFloorRaid_EndBattle = 49002, + MultiFloorRaid_ReceiveReward = 49003, + Queuing_GetTicket = 50000, + } + + public enum ServerNotificationFlag + { + None = 0, + NewMailArrived = 4, + HasUnreadMail = 8, + NewToastDetected = 16, + CanReceiveArenaDailyReward = 32, + CanReceiveRaidReward = 64, + ServerMaintenance = 256, + CannotReceiveMail = 512, + InventoryFullRewardMail = 1024, + CanReceiveClanAttendanceReward = 2048, + HasClanApplicant = 4096, + HasFriendRequest = 8192, + CheckConquest = 16384, + CanReceiveEliminateRaidReward = 32768, + CanReceiveMultiFloorRaidReward = 65536, + } + + public class InventoryFullErrorPacket : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterTactic; + } + } + + public WebAPIErrorCode ErrorCode { get; } + public List ParcelInfos { get; set; } + } + + public class MailBoxFullErrorPacket : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_Check; + } + } + + public WebAPIErrorCode ErrorCode { get; } + } + + public class AccountBanErrorPacket : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Account_Create; + } + } + + public WebAPIErrorCode ErrorCode { get; } + public string BanReason { get; set; } + } + + public class BillingPurchaseListByYostarRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_PurchaseListByYostar; + } + } + + } + + public class BillingPurchaseListByYostarResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_PurchaseListByYostar; + } + } + + public List CountList { get; set; } + public List OrderList { get; set; } + public List MonthlyProductList { get; set; } + public List BlockedProductDBs { get; set; } + } + + public class BillingTransactionStartByYostarRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_TransactionStartByYostar; + } + } + + public long ShopCashId { get; set; } + public bool VirtualPayment { get; set; } + } + + public class BillingTransactionStartByYostarResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_TransactionStartByYostar; + } + } + + public long PurchaseCount { get; set; } + public DateTime PurchaseResetDate { get; set; } + public long PurchaseOrderId { get; set; } + public string MXSeedKey { get; set; } + public PurchaseServerTag PurchaseServerTag { get; set; } + } + + public class BillingTransactionEndByYostarRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_TransactionEndByYostar; + } + } + + public long PurchaseOrderId { get; set; } + public BillingTransactionEndType EndType { get; set; } + } + + public class BillingTransactionEndByYostarResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Billing_TransactionEndByYostar; + } + } + + public ParcelResultDB ParcelResult { get; set; } + public MailDB MailDB { get; set; } + public List CountList { get; set; } + public int PurchaseCount { get; set; } + public List MonthlyProductList { get; set; } + } + + public class CafeGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Get; + } + } + + public long AccountServerId { get; set; } + } + + public class CafeGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Get; + } + } + + public CafeDB CafeDB { get; set; } + public List CafeDBs { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeAckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Ack; + } + } + + public long CafeDBId { get; set; } + } + + public class CafeAckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Ack; + } + } + + public CafeDB CafeDB { get; set; } + } + + public class CafeDeployFurnitureRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Deploy; + } + } + + public long CafeDBId { get; set; } + public FurnitureDB FurnitureDB { get; set; } + } + + public class CafeDeployFurnitureResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Deploy; + } + } + + public CafeDB CafeDB { get; set; } + public long NewFurnitureServerId { get; set; } + public List ChangedFurnitureDBs { get; set; } + } + + public class CafeRelocateFurnitureRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Relocate; + } + } + + public long CafeDBId { get; set; } + public FurnitureDB FurnitureDB { get; set; } + } + + public class CafeRelocateFurnitureResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Relocate; + } + } + + public CafeDB CafeDB { get; set; } + public FurnitureDB RelocatedFurnitureDB { get; set; } + } + + public class CafeRemoveFurnitureRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Remove; + } + } + + public long CafeDBId { get; set; } + public List FurnitureServerIds { get; set; } + } + + public class CafeRemoveFurnitureResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Remove; + } + } + + public CafeDB CafeDB { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeRemoveAllFurnitureRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RemoveAll; + } + } + + public long CafeDBId { get; set; } + } + + public class CafeRemoveAllFurnitureResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RemoveAll; + } + } + + public CafeDB CafeDB { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeInteractWithCharacterRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_SummonCharacter; + } + } + + public long CafeDBId { get; set; } + public long CharacterId { get; set; } + } + + public class CafeInteractWithCharacterResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_SummonCharacter; + } + } + + public CafeDB CafeDB { get; set; } + public CharacterDB CharacterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CafeListPresetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ListPreset; + } + } + + } + + public class CafeListPresetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ListPreset; + } + } + + public List CafePresetDBs { get; set; } + } + + public class CafeRenamePresetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RenamePreset; + } + } + + public int SlotId { get; set; } + public string PresetName { get; set; } + } + + public class CafeRenamePresetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RenamePreset; + } + } + + } + + public class CafeClearPresetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ClearPreset; + } + } + + public int SlotId { get; set; } + } + + public class CafeClearPresetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ClearPreset; + } + } + + } + + public class CafeUpdatePresetFurnitureRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_UpdatePresetFurniture; + } + } + + public long CafeDBId { get; set; } + public int SlotId { get; set; } + } + + public class CafeUpdatePresetFurnitureResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_UpdatePresetFurniture; + } + } + + } + + public class CafeApplyPresetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ApplyPreset; + } + } + + public int SlotId { get; set; } + public long CafeDBId { get; set; } + public bool UseOtherCafeFurniture { get; set; } + } + + public class CafeApplyPresetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ApplyPreset; + } + } + + public List CafeDBs { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeRankUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RankUp; + } + } + + public long AccountServerId { get; set; } + public long CafeDBId { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class CafeRankUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_RankUp; + } + } + + public CafeDB CafeDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class CafeReceiveCurrencyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ReceiveCurrency; + } + } + + public long AccountServerId { get; set; } + public long CafeDBId { get; set; } + } + + public class CafeReceiveCurrencyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ReceiveCurrency; + } + } + + public CafeDB CafeDB { get; set; } + public List CafeDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CafeGiveGiftRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_GiveGift; + } + } + + public long CafeDBId { get; set; } + public long CharacterUniqueId { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class CafeGiveGiftResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_GiveGift; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class CafeSummonCharacterRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_SummonCharacter; + } + } + + public long CafeDBId { get; set; } + public long CharacterServerId { get; set; } + } + + public class CafeSummonCharacterResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_SummonCharacter; + } + } + + public CafeDB CafeDB { get; set; } + public List CafeDBs { get; set; } + } + + public class CafeTrophyHistoryRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_TrophyHistory; + } + } + + } + + public class CafeTrophyHistoryResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_TrophyHistory; + } + } + + public List RaidSeasonRankingHistoryDBs { get; set; } + } + + public class CafeApplyTemplateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ApplyTemplate; + } + } + + public long TemplateId { get; set; } + public long CafeDBId { get; set; } + public bool UseOtherCafeFurniture { get; set; } + } + + public class CafeApplyTemplateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_ApplyTemplate; + } + } + + public List CafeDBs { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeOpenRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Open; + } + } + + public long CafeId { get; set; } + } + + public class CafeOpenResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Open; + } + } + + public CafeDB OpenedCafeDB { get; set; } + public List FurnitureDBs { get; set; } + } + + public class CafeTravelRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Travel; + } + } + + public Nullable TargetAccountId { get; set; } + } + + public class CafeTravelResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Cafe_Travel; + } + } + + public FriendDB FriendDB { get; set; } + public List CafeDBs { get; set; } + } + + public enum CampaignState + { + BeforeStart = 0, + BeginPlayerPhase = 1, + PlayerPhase = 2, + EndPlayerPhase = 3, + BeginEnemyPhase = 4, + EnemyPhase = 5, + EndEnemyPhase = 6, + Win = 7, + Lose = 8, + StrategySkip = 9, + } + + public enum CampaignEndBattle + { + None = 0, + Win = 1, + Lose = 2, + } + + public class CampaignListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_List; + } + } + + } + + public class CampaignListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_List; + } + } + + public List CampaignChapterClearRewardHistoryDBs { get; set; } + public List StageHistoryDBs { get; set; } + public List StrategyObjecthistoryDBs { get; set; } + public DailyResetCountDB DailyResetCountDB { get; set; } + } + + public class CampaignEnterMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignEnterMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterMainStage; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignConfirmMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ConfirmMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignConfirmMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ConfirmMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignEnterSubStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterSubStage; + } + } + + public long StageUniqueId { get; set; } + public long LastEnterStageEchelonNumber { get; set; } + } + + public class CampaignEnterTutorialStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterTutorialStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignEnterTutorialStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterTutorialStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public CampaignTutorialStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignDeployEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_DeployEchelon; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignWithdrawEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_WithdrawEchelon; + } + } + + public long StageUniqueId { get; set; } + public List WithdrawEchelonEntityId { get; set; } + } + + public class CampaignWithdrawEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_WithdrawEchelon; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + public List WithdrawEchelonDBs { get; set; } + } + + public class CampaignMapMoveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_MapMove; + } + } + + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + public HexLocation DestPosition { get; set; } + } + + public class CampaignMapMoveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_MapMove; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + public long EchelonEntityId { get; set; } + public Strategy StrategyObject { get; set; } + public List StrategyObjectParcelInfos { get; set; } + } + + public class CampaignEndTurnRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EndTurn; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignEndTurnResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EndTurn; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + } + + public class CampaignEnterTacticRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterTactic; + } + } + + public long StageUniqueId { get; set; } + public long EchelonIndex { get; set; } + public long EnemyIndex { get; set; } + } + + public class CampaignEnterTacticResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterTactic; + } + } + + } + + public class CampaignTacticResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_TacticResult; + } + } + + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + public SkillCardHand Hand { get; set; } + public TacticSkipSummary SkipSummary { get; set; } + } + + public class CampaignTacticResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_TacticResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + public Strategy StrategyObject { get; set; } + public Dictionary> StrategyObjectRewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignRetreatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Retreat; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignRetreatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Retreat; + } + } + + public List ReleasedEchelonNumbers { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CampaignChapterClearRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ChapterClearReward; + } + } + + public long CampaignChapterUniqueId { get; set; } + public StageDifficulty StageDifficulty { get; set; } + } + + public class CampaignChapterClearRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ChapterClearReward; + } + } + + public CampaignChapterClearRewardHistoryDB CampaignChapterClearRewardHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CampaignHealRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Heal; + } + } + + public long CampaignStageUniqueId { get; set; } + public long EchelonIndex { get; set; } + public long CharacterServerId { get; set; } + } + + public class CampaignHealResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Heal; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public DailyResetCountDB DailyResetCountDB { get; set; } + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignEnterSubStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterSubStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public CampaignSubStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignDeployEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_DeployEchelon; + } + } + + public long StageUniqueId { get; set; } + public List DeployedEchelons { get; set; } + } + + public class CampaignSubStageResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_SubStageResult; + } + } + + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class CampaignSubStageResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_SubStageResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + } + + public class CampaignTutorialStageResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_TutorialStageResult; + } + } + + public BattleSummary Summary { get; set; } + } + + public class CampaignTutorialStageResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_TutorialStageResult; + } + } + + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List ClearReward { get; set; } + public List FirstClearReward { get; set; } + } + + public class CampaignPortalRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Portal; + } + } + + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + } + + public class CampaignPortalResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Portal; + } + } + + public CampaignMainStageSaveDB CampaignMainStageSaveDB { get; set; } + } + + public class CampaignConfirmTutorialStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ConfirmTutorialStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignConfirmTutorialStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_ConfirmTutorialStage; + } + } + + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignPurchasePlayCountHardStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_PurchasePlayCountHardStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignPurchasePlayCountHardStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_PurchasePlayCountHardStage; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } + + public class CampaignRestartMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_RestartMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class CampaignRestartMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_RestartMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public CampaignMainStageSaveDB SaveDataDB { get; set; } + } + + public class CampaignEnterMainStageStrategySkipRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterMainStageStrategySkip; + } + } + + public long StageUniqueId { get; set; } + public long LastEnterStageEchelonNumber { get; set; } + } + + public class CampaignEnterMainStageStrategySkipResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_EnterMainStageStrategySkip; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CampaignMainStageStrategySkipResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_MainStageStrategySkipResult; + } + } + + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class CampaignMainStageStrategySkipResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_MainStageStrategySkipResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + } + + public class CharacterGearListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_List; + } + } + + } + + public class CharacterGearListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_List; + } + } + + public List GearDBs { get; set; } + } + + public class CharacterGearUnlockRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_Unlock; + } + } + + public long CharacterServerId { get; set; } + public int SlotIndex { get; set; } + } + + public class CharacterGearUnlockResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_Unlock; + } + } + + public GearDB GearDB { get; set; } + public CharacterDB CharacterDB { get; set; } + } + + public class CharacterGearTierUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_TierUp; + } + } + + public long GearServerId { get; set; } + public List ReplaceInfos { get; set; } + } + + public class CharacterGearTierUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.CharacterGear_TierUp; + } + } + + public GearDB GearDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class CharacterListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_List; + } + } + + } + + public class CharacterListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_List; + } + } + + public List CharacterDBs { get; set; } + public List TSSCharacterDBs { get; set; } + public List WeaponDBs { get; set; } + public List CostumeDBs { get; set; } + } + + public class CharacterTranscendenceRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_Transcendence; + } + } + + public long TargetCharacterServerId { get; set; } + } + + public class CharacterTranscendenceResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_Transcendence; + } + } + + public CharacterDB CharacterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterExpGrowthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_ExpGrowth; + } + } + + public long TargetCharacterServerId { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class CharacterExpGrowthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_ExpGrowth; + } + } + + public CharacterDB CharacterDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class CharacterFavorGrowthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_FavorGrowth; + } + } + + public long TargetCharacterDBId { get; set; } + public Dictionary ConsumeItemDBIdsAndCounts { get; set; } + } + + public class CharacterFavorGrowthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_FavorGrowth; + } + } + + public CharacterDB CharacterDB { get; set; } + public List ConsumeStackableItemDBResult { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterSkillLevelUpdateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_UpdateSkillLevel; + } + } + + public long TargetCharacterDBId { get; set; } + + [JsonConverter(typeof(JsonStringEnumConverter))] + public SkillSlot SkillSlot { get; set; } + + public int Level { get; set; } + public List ReplaceInfos { get; set; } + } + + public class CharacterSkillLevelUpdateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_UpdateSkillLevel; + } + } + + public CharacterDB CharacterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterUnlockWeaponRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_UnlockWeapon; + } + } + + public long TargetCharacterServerId { get; set; } + } + + public class CharacterUnlockWeaponResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_UnlockWeapon; + } + } + + public WeaponDB WeaponDB { get; set; } + } + + public class CharacterWeaponExpGrowthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_WeaponExpGrowth; + } + } + + public long TargetCharacterServerId { get; set; } + public Dictionary ConsumeUniqueIdAndCounts { get; set; } + } + + public class CharacterWeaponExpGrowthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_WeaponExpGrowth; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterWeaponTranscendenceRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_WeaponTranscendence; + } + } + + public long TargetCharacterServerId { get; set; } + } + + public class CharacterWeaponTranscendenceResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_WeaponTranscendence; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterSetFavoritesRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_SetFavorites; + } + } + + public Dictionary ActivateByServerIds { get; set; } + } + + public class CharacterSetFavoritesResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_SetFavorites; + } + } + + public List CharacterDBs { get; set; } + } + + public class CharacterSetCostumeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_SetCostume; + } + } + + public long CharacterUniqueId { get; set; } + public Nullable CostumeIdToSet { get; set; } + } + + public class CharacterSetCostumeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_SetCostume; + } + } + + public CostumeDB SetCostumeDB { get; set; } + public CostumeDB UnsetCostumeDB { get; set; } + } + + public class CharacterBatchSkillLevelUpdateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_BatchSkillLevelUpdate; + } + } + + public long TargetCharacterDBId { get; set; } + public List SkillLevelUpdateRequestDBs { get; set; } + } + + public class CharacterBatchSkillLevelUpdateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_BatchSkillLevelUpdate; + } + } + + public CharacterDB CharacterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CharacterPotentialGrowthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_PotentialGrowth; + } + } + + public long TargetCharacterDBId { get; set; } + public List PotentialGrowthRequestDBs { get; set; } + public List ReplaceInfos { get; set; } + } + + public class CharacterPotentialGrowthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Character_PotentialGrowth; + } + } + + public CharacterDB CharacterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ClanLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Login; + } + } + + } + + public class ClanLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Login; + } + } + + public ClanDB AccountClanDB { get; set; } + public ClanMemberDB AccountClanMemberDB { get; set; } + public List ClanAssistSlotDBs { get; set; } + } + + public class ClanLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Lobby; + } + } + + } + + public class ClanLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Lobby; + } + } + + public IrcServerConfig IrcConfig { get; set; } + public ClanDB AccountClanDB { get; set; } + public List DefaultExposedClanDBs { get; set; } + public ClanMemberDB AccountClanMemberDB { get; set; } + public List ClanMemberDBs { get; set; } + } + + public class ClanSearchRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Search; + } + } + + public string SearchString { get; set; } + public ClanJoinOption ClanJoinOption { get; set; } + public string ClanUniqueCode { get; set; } + } + + public class ClanSearchResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Search; + } + } + + public List ClanDBs { get; set; } + } + + public class ClanCreateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Create; + } + } + + public string ClanNickName { get; set; } + public ClanJoinOption ClanJoinOption { get; set; } + } + + public class ClanCreateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Create; + } + } + + public ClanDB ClanDB { get; set; } + public ClanMemberDB ClanMemberDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + } + + public class ClanMemberRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Member; + } + } + + public long ClanDBId { get; set; } + public long MemberAccountId { get; set; } + } + + public class ClanMemberResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Member; + } + } + + public ClanDB ClanDB { get; set; } + public ClanMemberDB ClanMemberDB { get; set; } + public DetailedAccountInfoDB DetailedAccountInfoDB { get; set; } + } + + public class ClanMemberListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_MemberList; + } + } + + public long ClanDBId { get; set; } + } + + public class ClanMemberListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_MemberList; + } + } + + public ClanDB ClanDB { get; set; } + public List ClanMemberDBs { get; set; } + } + + public class ClanApplicantRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Applicant; + } + } + + public long OffSet { get; set; } + } + + public class ClanApplicantResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Applicant; + } + } + + public List ClanMemberDBs { get; set; } + } + + public class ClanJoinRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Join; + } + } + + public long ClanDBId { get; set; } + } + + public class ClanJoinResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Join; + } + } + + public IrcServerConfig IrcConfig { get; set; } + public ClanDB ClanDB { get; set; } + public ClanMemberDB ClanMemberDB { get; set; } + } + + public class ClanAutoJoinRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_AutoJoin; + } + } + + } + + public class ClanAutoJoinResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_AutoJoin; + } + } + + public IrcServerConfig IrcConfig { get; set; } + public ClanDB ClanDB { get; set; } + public ClanMemberDB ClanMemberDB { get; set; } + } + + public class ClanQuitRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Quit; + } + } + + } + + public class ClanQuitResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Quit; + } + } + + } + + public class ClanCancelApplyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_CancelApply; + } + } + + } + + public class ClanCancelApplyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_CancelApply; + } + } + + } + + public class ClanPermitRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Permit; + } + } + + public long ApplicantAccountId { get; set; } + public bool IsPerMit { get; set; } + } + + public class ClanPermitResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Permit; + } + } + + public ClanDB ClanDB { get; set; } + public ClanMemberDB ClanMemberDB { get; set; } + } + + public class ClanKickRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Kick; + } + } + + public long MemberAccountId { get; set; } + } + + public class ClanKickResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Kick; + } + } + + } + + public class ClanSettingRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Setting; + } + } + + public string ChangedClanName { get; set; } + public string ChangedNotice { get; set; } + public ClanJoinOption ClanJoinOption { get; set; } + } + + public class ClanSettingResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Setting; + } + } + + public ClanDB ClanDB { get; set; } + } + + public class ClanConferRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Confer; + } + } + + public long MemberAccountId { get; set; } + public ClanSocialGrade ConferingGrade { get; set; } + } + + public class ClanConferResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Confer; + } + } + + public ClanMemberDB ClanMemberDB { get; set; } + public ClanMemberDB AccountClanMemberDB { get; set; } + public ClanDB ClanDB { get; set; } + public ClanMemberDescriptionDB ClanMemberDescriptionDB { get; set; } + } + + public class ClanDismissRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Dismiss; + } + } + + } + + public class ClanDismissResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Dismiss; + } + } + + } + + public class ClanMyAssistListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_MyAssistList; + } + } + + } + + public class ClanMyAssistListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_MyAssistList; + } + } + + public List ClanAssistSlotDBs { get; set; } + } + + public class ClanSetAssistRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_SetAssist; + } + } + + public EchelonType EchelonType { get; set; } + public int SlotNumber { get; set; } + public long CharacterDBId { get; set; } + public int CombatStyleIndex { get; set; } + } + + public class ClanSetAssistResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_SetAssist; + } + } + + public ClanAssistSlotDB ClanAssistSlotDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ClanAssistRewardInfo RewardInfo { get; set; } + } + + public class ClanChatLogRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_ChatLog; + } + } + + public string Channel { get; set; } + public DateTime FromDate { get; set; } + } + + public class ClanChatLogResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_ChatLog; + } + } + + public string ClanChatLog { get; set; } + } + + public class ClanCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Check; + } + } + + } + + public class ClanCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_Check; + } + } + + } + + public class ClanAllAssistListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_AllAssistList; + } + } + + public EchelonType EchelonType { get; set; } + public List PendingAssistUseInfo { get; set; } + public bool IsPractice { get; set; } + } + + public class ClanAllAssistListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Clan_AllAssistList; + } + } + + public List AssistCharacterDBs { get; set; } + public List AssistCharacterRentHistoryDBs { get; set; } + public long ClanDBId { get; set; } + } + + public class IrcServerConfig + { + public string HostAddress { get; set; } + public int Port { get; set; } + public string Password { get; set; } + + [JsonIgnore] + public bool IsValid { get; } + } + + public class ClearDeckListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ClearDeck_List; + } + } + + public ClearDeckKey ClearDeckKey { get; set; } + } + + public class ClearDeckListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ClearDeck_List; + } + } + + public List ClearDeckDBs { get; set; } + } + + public enum CheatFlags + { + None = 0, + Conquest = 1, + Mission = 2, + } + + public class CheatEquipmentCustomPreset + { + public int Tier { get; set; } + public int Level { get; set; } + } + + public class CheatWeaponCustomPreset + { + public int StarGrade { get; set; } + public int Level { get; set; } + } + + public class CheatCharacterCustomPreset + { + public long UniqueId { get; set; } + public int StarGrade { get; set; } + public int Level { get; set; } + public int ExSkillLevel { get; set; } + public int PublicSkillLevel { get; set; } + public int PassiveSkillLevel { get; set; } + public int ExPassiveSkillLevel { get; set; } + public CheatEquipmentCustomPreset[] Equipments { get; set; } + public CheatWeaponCustomPreset Weapon { get; set; } + } + + public class CommonCheatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Common_Cheat; + } + } + + public string Cheat { get; set; } + public List CharacterCustomPreset { get; set; } + } + + public class CommonCheatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Common_Cheat; + } + } + + public AccountDB Account { get; set; } + public AccountCurrencyDB AccountCurrency { get; set; } + public List CharacterDBs { get; set; } + public List EquipmentDBs { get; set; } + public List WeaponDBs { get; set; } + public List GearDBs { get; set; } + public List CostumeDBs { get; set; } + public List ItemDBs { get; set; } + public List ScenarioHistoryDBs { get; set; } + public List ScenarioGroupHistoryDBs { get; set; } + public List EmblemDBs { get; set; } + public List AttendanceBookRewards { get; set; } + public List AttendanceHistoryDBs { get; set; } + public List StickerDBs { get; set; } + public List MemoryLobbyDBs { get; set; } + public List ScenarioCollectionDBs { get; set; } + public CheatFlags CheatFlags { get; set; } + } + + public class GachaSimulateCheatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Campaign_Retreat; + } + } + + public Dictionary CharacterIdAndCount { get; set; } + public long SimulationCount { get; set; } + public long GoodsUniqueId { get; set; } + public string GoodsDevName { get; set; } + } + + public class GetArenaTeamCheatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Arena_RankList; + } + } + + public ArenaUserDB Opponent { get; set; } + } + + public class ConquestGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_GetInfo; + } + } + + public long EventContentId { get; set; } + } + + public class ConquestGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_GetInfo; + } + } + + public ConquestInfoDB ConquestInfoDB { get; set; } + public List ConquestedTileDBs { get; set; } + public TypedJsonWrapper> ConquestObjectDBsWrapper { get; set; } + public List ConquestEchelonDBs { get; set; } + public Dictionary DifficultyToStepDict { get; set; } + public bool IsFirstEnter { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestConquerRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_Conquer; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public long TileRewardId { get; set; } + } + + public class ConquestConquerResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_Conquer; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestConquerWithBattleStartRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ConquerWithBattleStart; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public Nullable EchelonNumber { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + } + + public class ConquestConquerWithBattleStartResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ConquerWithBattleStart; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestStageSaveDB ConquestStageSaveDB { get; set; } + } + + public class ConquestConquerWithBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ConquerWithBattleResult; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ConquestConquerWithBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ConquerWithBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public IEnumerable DisplayInfos { get; set; } + public int StepAfterBattle { get; set; } + public Dictionary> DisplayParcelByRewardTag { get; set; } + } + + public class ConquestConquerDeployEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_DeployEchelon; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public EchelonDB EchelonDB { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + } + + public class ConquestConquerDeployEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_DeployEchelon; + } + } + + public IEnumerable ConquestEchelonDBs { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + } + + public class ConquestNormalizeEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_NormalizeEchelon; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + } + + public class ConquestNormalizeEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_NormalizeEchelon; + } + } + + public ConquestEchelonDB ConquestEchelonDB { get; set; } + } + + public class ConquestManageBaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ManageBase; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public int ManageCount { get; set; } + } + + public class ConquestManageBaseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ManageBase; + } + } + + public List> ClearParcels { get; set; } + public List> ConquerBonusParcels { get; set; } + public List BonusParcels { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestUpgradeBaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_UpgradeBase; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + } + + public class ConquestUpgradeBaseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_UpgradeBase; + } + } + + public List UpgradeRewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestTakeEventObjectRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_TakeEventObject; + } + } + + public long EventContentId { get; set; } + public long ConquestObjectDBId { get; set; } + } + + public class ConquestTakeEventObjectResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_TakeEventObject; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public TypedJsonWrapper ConquestEventObjectDBWrapper { get; set; } + } + + public class ConquestEventObjectBattleStartRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_EventObjectBattleStart; + } + } + + public long EventContentId { get; set; } + public long ConquestObjectDBId { get; set; } + public long EchelonNumber { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + } + + public class ConquestEventObjectBattleStartResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_EventObjectBattleStart; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestStageSaveDB ConquestStageSaveDB { get; set; } + } + + public class ConquestEventObjectBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_EventObjectBattleResult; + } + } + + public long EventContentId { get; set; } + public long ConquestObjectDBId { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ConquestEventObjectBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_EventObjectBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestReceiveRewardsRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public int Step { get; set; } + } + + public class ConquestReceiveRewardsResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public List ConquestTileDBs { get; set; } + } + + public class ConquestCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_Check; + } + } + + public long EventContentId { get; set; } + } + + public class ConquestCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_Check; + } + } + + public bool CanReceiveCalculateReward { get; set; } + public Nullable AlarmPhaseToShow { get; set; } + public long ParcelConsumeCumulatedAmount { get; set; } + public ConquestSummary ConquestSummary { get; set; } + } + + public class ConquestErosionBattleStartRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ErosionBattleStart; + } + } + + public long EventContentId { get; set; } + public long ConquestObjectDBId { get; set; } + public bool UseManageEchelon { get; set; } + public long EchelonNumber { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + } + + public class ConquestErosionBattleStartResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ErosionBattleStart; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestStageSaveDB ConquestStageSaveDB { get; set; } + } + + public class ConquestErosionBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ErosionBattleResult; + } + } + + public long EventContentId { get; set; } + public long ConquestObjectDBId { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ConquestErosionBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_ErosionBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public TypedJsonWrapper> ConquestEventObjectDBWrapper { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestMainStoryGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryGetInfo; + } + } + + public long EventContentId { get; set; } + } + + public class ConquestMainStoryGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryGetInfo; + } + } + + public ConquestInfoDB ConquestInfoDB { get; set; } + public List ConquestedTileDBs { get; set; } + public Dictionary DifficultyToStepDict { get; set; } + public bool IsFirstEnter { get; set; } + } + + public class ConquestMainStoryConquerRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquer; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public long TileRewardId { get; set; } + } + + public class ConquestMainStoryConquerResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquer; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public IEnumerable DisplayInfos { get; set; } + } + + public class ConquestMainStoryConquerWithBattleStartRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleStart; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public Nullable EchelonNumber { get; set; } + public ClanAssistUseInfo ClanAssistUseInfo { get; set; } + } + + public class ConquestMainStoryConquerWithBattleStartResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleStart; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestStageSaveDB ConquestStageSaveDB { get; set; } + } + + public class ConquestMainStoryConquerWithBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleResult; + } + } + + public long EventContentId { get; set; } + public StageDifficulty Difficulty { get; set; } + public long TileUniqueId { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ConquestMainStoryConquerWithBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryConquerWithBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConquestTileDB ConquestTileDB { get; set; } + public ConquestInfoDB ConquestInfoDB { get; set; } + public IEnumerable DisplayInfos { get; set; } + public int StepAfterBattle { get; set; } + public Dictionary> DisplayParcelByRewardTag { get; set; } + } + + public class ConquestMainStoryCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryCheck; + } + } + + public long EventContentId { get; set; } + } + + public class ConquestMainStoryCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Conquest_MainStoryCheck; + } + } + + public ConquestMainStorySummary ConquestMainStorySummary { get; set; } + } + + public class ContentLogUIOpenStatisticsRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentLog_UIOpenStatistics; + } + } + + public Dictionary OpenCountPerPrefab { get; set; } + } + + public class ContentLogUIOpenStatisticsResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentLog_UIOpenStatistics; + } + } + + } + + public class ContentSaveGetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Get; + } + } + + } + + public class ContentSaveGetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Get; + } + } + + public bool HasValidData { get; set; } + public ContentSaveDB ContentSaveDB { get; set; } + public EventContentChangeDB EventContentChangeDB { get; set; } + } + + public class ContentSaveDiscardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Discard; + } + } + + public ContentType ContentType { get; set; } + public long StageUniqueId { get; set; } + } + + public class ContentSaveDiscardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Discard; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ContentSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Get; + } + } + + public ContentType Content { get; set; } + public long StageId { get; set; } + public long EventContentId { get; set; } + public long Count { get; set; } + } + + public class ContentSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSave_Get; + } + } + + public List> ClearParcels { get; set; } + public List BonusParcels { get; set; } + public List> EventContentBonusParcels { get; set; } + public ParcelResultDB ParcelResult { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } + + public class ContentSweepMultiSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_MultiSweep; + } + } + + public IEnumerable MultiSweepParameters { get; set; } + } + + public class ContentSweepMultiSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_MultiSweep; + } + } + + public List> ClearParcels { get; set; } + public List BonusParcels { get; set; } + public List> EventContentBonusParcels { get; set; } + public ParcelResultDB ParcelResult { get; set; } + public List CampaignStageHistoryDBs { get; set; } + } + + public class ContentSweepMultiSweepPresetListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_MultiSweepPresetList; + } + } + + } + + public class ContentSweepMultiSweepPresetListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_MultiSweepPresetList; + } + } + + public IEnumerable MultiSweepPresetDBs { get; set; } + } + + public class ContentSweepSetMultiSweepPresetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPreset; + } + } + + public long PresetId { get; set; } + public string PresetName { get; set; } + public IEnumerable StageIds { get; set; } + public IEnumerable ParcelIds { get; set; } + } + + public class ContentSweepSetMultiSweepPresetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPreset; + } + } + + public IEnumerable MultiSweepPresetDBs { get; set; } + } + + public class ContentSweepSetMultiSweepPresetNameRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPresetName; + } + } + + public long PresetId { get; set; } + public string PresetName { get; set; } + } + + public class ContentSweepSetMultiSweepPresetNameResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ContentSweep_SetMultiSweepPresetName; + } + } + + public IEnumerable MultiSweepPresetDBs { get; set; } + } + + public class CraftInfoListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_List; + } + } + + } + + public class CraftInfoListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_List; + } + } + + public List CraftInfos { get; set; } + public List ShiftingCraftInfos { get; set; } + } + + public class CraftSelectNodeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_SelectNode; + } + } + + public long SlotId { get; set; } + public long LeafNodeIndex { get; set; } + } + + public class CraftSelectNodeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_SelectNode; + } + } + + public CraftNodeDB SelectedNodeDB { get; set; } + } + + public class CraftUpdateNodeLevelRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_UpdateNodeLevel; + } + } + + public ConsumeRequestDB ConsumeRequestDB { get; set; } + public long ConsumeGoldAmount { get; set; } + public long SlotId { get; set; } + public CraftNodeTier CraftNodeType { get; set; } + } + + public class CraftUpdateNodeLevelResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_UpdateNodeLevel; + } + } + + public CraftInfoDB CraftInfoDB { get; set; } + public CraftNodeDB CraftNodeDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class CraftBeginProcessRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_BeginProcess; + } + } + + public long SlotId { get; set; } + } + + public class CraftBeginProcessResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_BeginProcess; + } + } + + public CraftInfoDB CraftInfoDB { get; set; } + } + + public class CraftCompleteProcessRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_CompleteProcess; + } + } + + public long SlotId { get; set; } + } + + public class CraftCompleteProcessResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_CompleteProcess; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public CraftInfoDB CraftInfoDB { get; set; } + public ItemDB TicketItemDB { get; set; } + } + + public class CraftRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_Reward; + } + } + + public long SlotId { get; set; } + } + + public class CraftRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_Reward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List CraftInfos { get; set; } + } + + public class CraftShiftingBeginProcessRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingBeginProcess; + } + } + + public long SlotId { get; set; } + public long RecipeId { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class CraftShiftingBeginProcessResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingBeginProcess; + } + } + + public ShiftingCraftInfoDB CraftInfoDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CraftShiftingCompleteProcessRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcess; + } + } + + public long SlotId { get; set; } + } + + public class CraftShiftingCompleteProcessResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcess; + } + } + + public ShiftingCraftInfoDB CraftInfoDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CraftShiftingRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingReward; + } + } + + public long SlotId { get; set; } + } + + public class CraftShiftingRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List TargetCraftInfos { get; set; } + } + + public class CraftAutoBeginProcessRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_AutoBeginProcess; + } + } + + public CraftPresetSlotDB PresetSlotDB { get; set; } + public long Count { get; set; } + } + + public class CraftAutoBeginProcessResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_AutoBeginProcess; + } + } + + public List CraftInfoDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CraftCompleteProcessAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_CompleteProcessAll; + } + } + + } + + public class CraftCompleteProcessAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_CompleteProcessAll; + } + } + + public List CraftInfoDBs { get; set; } + public ItemDB TicketItemDB { get; set; } + } + + public class CraftRewardAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_RewardAll; + } + } + + } + + public class CraftRewardAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_RewardAll; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List CraftInfos { get; set; } + } + + public class CraftShiftingCompleteProcessAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcessAll; + } + } + + } + + public class CraftShiftingCompleteProcessAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingCompleteProcessAll; + } + } + + public List CraftInfoDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class CraftShiftingRewardAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingRewardAll; + } + } + + } + + public class CraftShiftingRewardAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Craft_ShiftingRewardAll; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List CraftInfoDBs { get; set; } + } + + public class EchelonListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_List; + } + } + + } + + public class EchelonListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_List; + } + } + + public List EchelonDBs { get; set; } + public EchelonDB ArenaEchelonDB { get; set; } + } + + public class EchelonSaveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_Save; + } + } + + public EchelonDB EchelonDB { get; set; } + public List AssistUseInfos { get; set; } + public bool IsPractice { get; set; } + } + + public class EchelonSaveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_Save; + } + } + + public EchelonDB EchelonDB { get; set; } + } + + public class EchelonPresetListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetList; + } + } + + public EchelonExtensionType EchelonExtensionType { get; set; } + } + + public class EchelonPresetListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetList; + } + } + + public EchelonPresetGroupDB[] PresetGroupDBs { get; set; } + } + + public class EchelonPresetSaveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetSave; + } + } + + public EchelonPresetDB PresetDB { get; set; } + } + + public class EchelonPresetSaveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetSave; + } + } + + public EchelonPresetDB PresetDB { get; set; } + } + + public class EchelonPresetGroupRenameRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetGroupRename; + } + } + + public int PresetGroupIndex { get; set; } + public EchelonExtensionType ExtensionType { get; set; } + public string PresetGroupLabel { get; set; } + } + + public class EchelonPresetGroupRenameResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Echelon_PresetGroupRename; + } + } + + public EchelonPresetGroupDB PresetGroupDB { get; set; } + } + + public class EliminateRaidLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Login; + } + } + + } + + public class EliminateRaidLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Login; + } + } + + public RaidSeasonType SeasonType { get; set; } + public bool CanReceiveRankingReward { get; set; } + public List ReceiveLimitedRewardIds { get; set; } + public Dictionary SweepPointByRaidUniqueId { get; set; } + public long LastSettledRanking { get; set; } + public Nullable LastSettledTier { get; set; } + } + + public class EliminateRaidLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Lobby; + } + } + + } + + public class EliminateRaidLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Lobby; + } + } + + public RaidSeasonType SeasonType { get; set; } + public RaidGiveUpDB RaidGiveUpDB { get; set; } + public EliminateRaidLobbyInfoDB RaidLobbyInfoDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EliminateRaidCreateBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_CreateBattle; + } + } + + public long RaidUniqueId { get; set; } + public bool IsPractice { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class EliminateRaidCreateBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_CreateBattle; + } + } + + public RaidDB RaidDB { get; set; } + public RaidBattleDB RaidBattleDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public AssistCharacterDB AssistCharacterDB { get; set; } + } + + public class EliminateRaidEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_EnterBattle; + } + } + + public long RaidServerId { get; set; } + public long RaidUniqueId { get; set; } + public bool IsPractice { get; set; } + public long EchelonId { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class EliminateRaidEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_EnterBattle; + } + } + + public RaidDB RaidDB { get; set; } + public RaidBattleDB RaidBattleDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public AssistCharacterDB AssistCharacterDB { get; set; } + } + + public class EliminateRaidEndBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_EndBattle; + } + } + + public int EchelonId { get; set; } + public long RaidServerId { get; set; } + public bool IsPractice { get; set; } + + [JsonIgnore] + public int LastBossIndex { get; } + + [JsonIgnore] + public IEnumerable RaidBossDamages { get; } + + [JsonIgnore] + public RaidBossResultCollection RaidBossResults { get; } + public BattleSummary Summary { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class EliminateRaidEndBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_EndBattle; + } + } + + public long RankingPoint { get; set; } + public long BestRankingPoint { get; set; } + public long ClearTimePoint { get; set; } + public long HPPercentScorePoint { get; set; } + public long DefaultClearPoint { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EliminateRaidGiveUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_GiveUp; + } + } + + public long RaidServerId { get; set; } + public bool IsPractice { get; set; } + } + + public class EliminateRaidGiveUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_GiveUp; + } + } + + public int Tier { get; set; } + public RaidGiveUpDB RaidGiveUpDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EliminateRaidRankingRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_RankingReward; + } + } + + } + + public class EliminateRaidRankingRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_RankingReward; + } + } + + public long ReceivedRankingRewardId { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EliminateRaidSeasonRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_SeasonReward; + } + } + + } + + public class EliminateRaidSeasonRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_SeasonReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List ReceiveRewardIds { get; set; } + } + + public class EliminateRaidLimitedRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_LimitedReward; + } + } + + } + + public class EliminateRaidLimitedRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_LimitedReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List ReceiveRewardIds { get; set; } + } + + public class EliminateRaidOpponentListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_OpponentList; + } + } + + public Nullable Rank { get; set; } + public Nullable Score { get; set; } + public Nullable BossGroupIndex { get; set; } + public bool IsUpper { get; set; } + public bool IsFirstRequest { get; set; } + public RankingSearchType SearchType { get; set; } + } + + public class EliminateRaidOpponentListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_OpponentList; + } + } + + public List OpponentUserDBs { get; set; } + } + + public class EliminateRaidGetBestTeamRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_GetBestTeam; + } + } + + public long SearchAccountId { get; set; } + } + + public class EliminateRaidGetBestTeamResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_GetBestTeam; + } + } + + public Dictionary> RaidTeamSettingDBsDict { get; set; } + } + + public class EliminateRaidSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Sweep; + } + } + + public long UniqueId { get; set; } + public int SweepCount { get; set; } + } + + public class EliminateRaidSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EliminateRaid_Sweep; + } + } + + public long TotalSeasonPoint { get; set; } + public List> Rewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EquipmentItemListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_List; + } + } + + } + + public class EquipmentItemListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_List; + } + } + + public List EquipmentDBs { get; set; } + } + + public class EquipmentItemSellRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Sell; + } + } + + public List TargetServerIds { get; set; } + } + + public class EquipmentItemSellResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Sell; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + } + + public class EquipmentItemEquipRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Equip; + } + } + + public long CharacterServerId { get; set; } + public List EquipmentServerIds { get; set; } + public long EquipmentServerId { get; set; } + public int SlotIndex { get; set; } + } + + public class EquipmentItemEquipResponse : ResponsePacket + { + public CharacterDB CharacterDB { get; set; } + public List EquipmentDBs { get; set; } + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Equip; + } + } + + } + + public class EquipmentItemLevelUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_LevelUp; + } + } + + public long TargetServerId { get; set; } + public List ConsumeServerIds { get; set; } + public ConsumeRequestDB ConsumeRequestDB { get; set; } + } + + public class EquipmentItemLevelUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_LevelUp; + } + } + + public EquipmentDB EquipmentDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class EquipmentItemLockRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Lock; + } + } + + public long TargetServerId { get; set; } + public bool IsLocked { get; set; } + } + + public class EquipmentItemLockResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_Lock; + } + } + + public EquipmentDB EquipmentDB { get; set; } + } + + public class EquipmentItemTierUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_TierUp; + } + } + + public long TargetEquipmentServerId { get; set; } + public List ReplaceInfos { get; set; } + } + + public class EquipmentItemTierUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_TierUp; + } + } + + public EquipmentDB EquipmentDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class EquipmentBatchGrowthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_BatchGrowth; + } + } + + public List EquipmentBatchGrowthRequestDBs { get; set; } + public GearTierUpRequestDB GearTierUpRequestDB { get; set; } + } + + public class EquipmentBatchGrowthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Equipment_BatchGrowth; + } + } + + public List EquipmentDBs { get; set; } + public GearDB GearDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + } + + public class EventContentAdventureListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_AdventureList; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentAdventureListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_AdventureList; + } + } + + public List StageHistoryDBs { get; set; } + public List StrategyObjecthistoryDBs { get; set; } + public List EventContentBonusRewardDBs { get; set; } + public List AlreadyReceiveRewardId { get; set; } + public long StagePoint { get; set; } + } + + public class EventContentSubEventLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SubEventLobby; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentSubEventLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SubEventLobby; + } + } + + public EventContentChangeDB EventContentChangeDB { get; set; } + public bool IsOnSubEvent { get; set; } + } + + public class EventContentEnterMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterMainStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentEnterMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterMainStage; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + public bool IsOnSubEvent { get; set; } + } + + public class EventContentConfirmMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ConfirmMainStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentConfirmMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ConfirmMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentMainStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentEnterTacticRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterTactic; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public long EchelonIndex { get; set; } + public long EnemyIndex { get; set; } + } + + public class EventContentEnterTacticResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterTactic; + } + } + + } + + public class EventContentTacticResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TacticResult; + } + } + + public long EventContentId { get; set; } + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + public SkillCardHand Hand { get; set; } + public TacticSkipSummary SkipSummary { get; set; } + } + + public class EventContentTacticResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TacticResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public List FirstClearReward { get; set; } + public Strategy StrategyObject { get; set; } + public Dictionary> StrategyObjectRewards { get; set; } + public List BonusReward { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentMainStageSaveDB SaveDataDB { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentEnterSubStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterSubStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public long LastEnterStageEchelonNumber { get; set; } + } + + public class EventContentEnterSubStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterSubStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentSubStageSaveDB SaveDataDB { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } + + public class EventContentSubStageResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SubStageResult; + } + } + + public long EventContentId { get; set; } + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class EventContentSubStageResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SubStageResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List FirstClearReward { get; set; } + public List BonusReward { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentDeployEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DeployEchelon; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public List DeployedEchelons { get; set; } + } + + public class EventContentDeployEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DeployEchelon; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentWithdrawEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_WithdrawEchelon; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public List WithdrawEchelonEntityId { get; set; } + } + + public class EventContentWithdrawEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_WithdrawEchelon; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + public List WithdrawEchelonDBs { get; set; } + } + + public class EventContentMapMoveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_MapMove; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + public HexLocation DestPosition { get; set; } + } + + public class EventContentMapMoveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_MapMove; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + public long EchelonEntityId { get; set; } + public Strategy StrategyObject { get; set; } + public List StrategyObjectParcelInfos { get; set; } + } + + public class EventContentEndTurnRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EndTurn; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentEndTurnResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EndTurn; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + } + + public class EventContentRetreatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_Retreat; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentRetreatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_Retreat; + } + } + + public List ReleasedEchelonNumbers { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentPortalRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_Portal; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + } + + public class EventContentPortalResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_Portal; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentPurchasePlayCountHardStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_PurchasePlayCountHardStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentPurchasePlayCountHardStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_PurchasePlayCountHardStage; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } + + public class EventContentShopListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopList; + } + } + + public long EventContentId { get; set; } + public List CategoryList { get; set; } + } + + public class EventContentShopListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopList; + } + } + + public List ShopInfos { get; set; } + public List ShopEligmaHistoryDBs { get; set; } + } + + public class EventContentShopRefreshRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopRefresh; + } + } + + public long EventContentId { get; set; } + public ShopCategoryType ShopCategoryType { get; set; } + } + + public class EventContentShopRefreshResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopRefresh; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ShopInfoDB ShopInfoDB { get; set; } + } + + public class EventContentReceiveStageTotalRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ReceiveStageTotalReward; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentReceiveStageTotalRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ReceiveStageTotalReward; + } + } + + public long EventContentId { get; set; } + public List AlreadyReceiveRewardId { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentEnterMainGroundStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterMainGroundStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + public long LastEnterStageEchelonNumber { get; set; } + } + + public class EventContentEnterMainGroundStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterMainGroundStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentMainGroundStageSaveDB SaveDataDB { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + } + + public class EventContentMainGroundStageResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_MainGroundStageResult; + } + } + + public long EventContentId { get; set; } + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class EventContentMainGroundStageResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_MainGroundStageResult; + } + } + + public long TacticRank { get; set; } + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + public List BonusReward { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentShopBuyMerchandiseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopBuyMerchandise; + } + } + + public long EventContentId { get; set; } + public bool IsRefreshMerchandise { get; set; } + public long ShopUniqueId { get; set; } + public long GoodsUniqueId { get; set; } + public long PurchaseCount { get; set; } + } + + public class EventContentShopBuyMerchandiseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopBuyMerchandise; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public MailDB MailDB { get; set; } + public ShopProductDB ShopProductDB { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentShopBuyRefreshMerchandiseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopBuyRefreshMerchandise; + } + } + + public long EventContentId { get; set; } + public List ShopUniqueIds { get; set; } + } + + public class EventContentShopBuyRefreshMerchandiseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ShopBuyRefreshMerchandise; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public MailDB MailDB { get; set; } + public List ShopProductDB { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentCardShopListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopList; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentCardShopListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopList; + } + } + + public List CardShopElementDBs { get; set; } + public Dictionary> RewardHistory { get; set; } + } + + public class EventContentCardShopShuffleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopShuffle; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentCardShopShuffleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopShuffle; + } + } + + public List CardShopElementDBs { get; set; } + } + + public class EventContentCardShopPurchaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopPurchase; + } + } + + public long EventContentId { get; set; } + public int SlotNumber { get; set; } + } + + public class EventContentCardShopPurchaseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopPurchase; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public CardShopElementDB CardShopElementDB { get; set; } + public List CardShopPurchaseHistoryDBs { get; set; } + } + + public class EventContentCardShopPurchaseAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopPurchaseAll; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentCardShopPurchaseAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CardShopPurchaseAll; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List CardShopElementDBs { get; set; } + public List CardShopPurchaseHistoryDBs { get; set; } + public Dictionary> RewardHistory { get; set; } + } + + public class EventContentSelectBuffRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SelectBuff; + } + } + + public long SelectedBuffId { get; set; } + } + + public class EventContentSelectBuffResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_SelectBuff; + } + } + + public EventContentMainStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentBoxGachaShopListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopList; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentBoxGachaShopListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopList; + } + } + + public EventContentBoxGachaDB BoxGachaDB { get; set; } + public Dictionary BoxGachaGroupIdByCount { get; set; } + } + + public class EventContentBoxGachaShopPurchaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopPurchase; + } + } + + public long EventContentId { get; set; } + public long PurchaseCount { get; set; } + public bool PurchaseAll { get; set; } + } + + public class EventContentBoxGachaShopPurchaseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopPurchase; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentBoxGachaDB BoxGachaDB { get; set; } + public Dictionary BoxGachaGroupIdByCount { get; set; } + public List BoxGachaElements { get; set; } + } + + public class EventContentBoxGachaShopRefreshRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopRefresh; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentBoxGachaShopRefreshResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_BoxGachaShopRefresh; + } + } + + public EventContentBoxGachaDB BoxGachaDB { get; set; } + public Dictionary BoxGachaGroupIdByCount { get; set; } + } + + public class EventContentCollectionListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CollectionList; + } + } + + public long EventContentId { get; set; } + public Nullable GroupId { get; set; } + } + + public class EventContentCollectionListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CollectionList; + } + } + + public List EventContentUnlockCGDBs { get; set; } + } + + public class EventContentCollectionForMissionRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CollectionForMission; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentCollectionForMissionResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_CollectionForMission; + } + } + + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentScenarioGroupHistoryUpdateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ScenarioGroupHistoryUpdate; + } + } + + public long ScenarioGroupUniqueId { get; set; } + public long ScenarioType { get; set; } + public long EventContentId { get; set; } + } + + public class EventContentScenarioGroupHistoryUpdateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_ScenarioGroupHistoryUpdate; + } + } + + public List ScenarioGroupHistoryDBs { get; set; } + public List EventContentCollectionDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentRestartMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_RestartMainStage; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentRestartMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_RestartMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentMainStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentLocationGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_LocationGetInfo; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentLocationGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_LocationGetInfo; + } + } + + public EventContentLocationDB EventContentLocationDB { get; set; } + } + + public class EventContentLocationAttendScheduleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_LocationAttendSchedule; + } + } + + public long EventContentId { get; set; } + public long ZoneId { get; set; } + public long Count { get; set; } + } + + public class EventContentLocationAttendScheduleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_LocationAttendSchedule; + } + } + + public EventContentLocationDB EventContentLocationDB { get; set; } + public IEnumerable EventContentCollectionDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List ExtraRewards { get; set; } + } + + public class EventContentFortuneGachaPurchaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_FortuneGachaPurchase; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentFortuneGachaPurchaseResponse : ResponsePacket + { + public long FortuneGachaShopUniqueId; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_FortuneGachaPurchase; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentEnterStoryStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterStoryStage; + } + } + + public long StageUniqueId { get; set; } + public long EventContentId { get; set; } + } + + public class EventContentEnterStoryStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_EnterStoryStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentStoryStageSaveDB SaveDataDB { get; set; } + } + + public class EventContentStoryStageResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_StoryStageResult; + } + } + + public long EventContentId { get; set; } + public long StageUniqueId { get; set; } + } + + public class EventContentStoryStageResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_StoryStageResult; + } + } + + public CampaignStageHistoryDB CampaignStageHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List FirstClearReward { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentDiceRaceLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceLobby; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentDiceRaceLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceLobby; + } + } + + public EventContentDiceRaceDB DiceRaceDB { get; set; } + } + + public class EventContentDiceRaceRollRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceRoll; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentDiceRaceRollResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceRoll; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentDiceRaceDB DiceRaceDB { get; set; } + public List DiceResults { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentDiceRaceLapRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceLapReward; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentDiceRaceLapRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceLapReward; + } + } + + public EventContentDiceRaceDB DiceRaceDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentDiceRaceUseItemRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceUseItem; + } + } + + public long EventContentId { get; set; } + public EventContentDiceRaceResultType DiceRaceResultType { get; set; } + } + + public class EventContentDiceRaceUseItemResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_DiceRaceUseItem; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public EventContentDiceRaceDB DiceRaceDB { get; set; } + public List DiceResults { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class EventContentPermanentListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_PermanentList; + } + } + + } + + public class EventContentPermanentListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_PermanentList; + } + } + + public List PermanentDBs { get; set; } + } + + public class EventContentTreasureLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureLobby; + } + } + + public long EventContentId { get; set; } + } + + public class EventContentTreasureLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureLobby; + } + } + + public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } + public EventContentTreasureCell HiddenImage { get; set; } + public long VariationId { get; set; } + } + + public class EventContentTreasureFlipRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureFlip; + } + } + + public long EventContentId { get; set; } + public int Round { get; set; } + public List Cells { get; set; } + } + + public class EventContentTreasureFlipResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureFlip; + } + } + + public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class EventContentTreasureNextRoundRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureNextRound; + } + } + + public long EventContentId { get; set; } + public int Round { get; set; } + } + + public class EventContentTreasureNextRoundResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.EventContent_TreasureNextRound; + } + } + + public EventContentTreasureHistoryDB BoardHistoryDB { get; set; } + public EventContentTreasureCell HiddenImage { get; set; } + } + + public class EventListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_GetList; + } + } + + } + + public class EventListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_GetList; + } + } + + public List EventInfoDBs { get; set; } + } + + public class EventImageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_GetImage; + } + } + + public long EventId { get; set; } + } + + public class EventImageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_GetImage; + } + } + + public byte[] ImageBytes { get; set; } + } + + public class UseCouponRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_UseCoupon; + } + } + + public string CouponSerial { get; set; } + } + + public class UseCouponResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_UseCoupon; + } + } + + public bool CouponCompleteRewardReceived { get; set; } + } + + public class EventRewardIncreaseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_RewardIncrease; + } + } + + } + + public class EventRewardIncreaseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Event_RewardIncrease; + } + } + + public List EventRewardIncreaseDBs { get; set; } + } + + public class FriendListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_List; + } + } + + } + + public class FriendListResponse : ResponsePacket + { + public FriendIdCardDB FriendIdCardDB; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_List; + } + } + + public IdCardBackgroundDB[] IdCardBackgroundDBs { get; set; } + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendRemoveRequest : RequestPacket + { + public long TargetAccountId; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Remove; + } + } + + } + + public class FriendRemoveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Remove; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendGetFriendDetailedInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_GetFriendDetailedInfo; + } + } + + public long FriendAccountId { get; set; } + } + + public class FriendGetFriendDetailedInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_GetFriendDetailedInfo; + } + } + + public string Nickname { get; set; } + public long Level { get; set; } + public string ClanName { get; set; } + public string Comment { get; set; } + public long FriendCount { get; set; } + public string FriendCode { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long RepresentCharacterCostumeId { get; set; } + public long CharacterCount { get; set; } + public Nullable LastNormalCampaignClearStageId { get; set; } + public Nullable LastHardCampaignClearStageId { get; set; } + public Nullable ArenaRanking { get; set; } + public Nullable RaidRanking { get; set; } + public Nullable RaidTier { get; set; } + public DetailedAccountInfoDB DetailedAccountInfoDB { get; set; } + public AccountAttachmentDB AttachmentDB { get; set; } + public AssistCharacterDB[] AssistCharacterDBs { get; set; } + } + + public class FriendGetIdCardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_GetIdCard; + } + } + + } + + public class FriendGetIdCardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_GetIdCard; + } + } + + public FriendIdCardDB FriendIdCardDB { get; set; } + } + + public class FriendSetIdCardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_SetIdCard; + } + } + + public string Comment { get; set; } + public long RepresentCharacterUniqueId { get; set; } + public long EmblemId { get; set; } + public bool SearchPermission { get; set; } + public bool AutoAcceptFriendRequest { get; set; } + public bool ShowAccountLevel { get; set; } + public bool ShowFriendCode { get; set; } + public bool ShowRaidRanking { get; set; } + public bool ShowArenaRanking { get; set; } + public bool ShowEliminateRaidRanking { get; set; } + public long BackgroundId { get; set; } + } + + public class FriendSetIdCardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_SetIdCard; + } + } + + } + + public class FriendSearchRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Search; + } + } + + public string FriendCode { get; set; } + public FriendSearchLevelOption LevelOption { get; set; } + } + + public class FriendSearchResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Search; + } + } + + public FriendDB[] SearchResult { get; set; } + } + + public class FriendSendFriendRequestRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_SetIdCard; + } + } + + public long TargetAccountId { get; set; } + } + + public class FriendSendFriendRequestResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_SetIdCard; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendAcceptFriendRequestRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_AcceptFriendRequest; + } + } + + public long TargetAccountId { get; set; } + } + + public class FriendAcceptFriendRequestResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_AcceptFriendRequest; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendDeclineFriendRequestRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_DeclineFriendRequest; + } + } + + public long TargetAccountId { get; set; } + } + + public class FriendDeclineFriendRequestResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_DeclineFriendRequest; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendCancelFriendRequestRequest : RequestPacket + { + public long TargetAccountId; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_CancelFriendRequest; + } + } + + } + + public class FriendCancelFriendRequestResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_CancelFriendRequest; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Check; + } + } + + } + + public class FriendCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Check; + } + } + + } + + public class FriendListByIdsRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_ListByIds; + } + } + + public long[] TargetAccountIds { get; set; } + } + + public class FriendListByIdsResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_ListByIds; + } + } + + public FriendDB[] ListResult { get; set; } + } + + public class FriendBlockRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Block; + } + } + + public long TargetAccountId { get; set; } + } + + public class FriendBlockResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Block; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class FriendUnblockRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Unblock; + } + } + + public long TargetAccountId { get; set; } + } + + public class FriendUnblockResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Friend_Unblock; + } + } + + public FriendDB[] FriendDBs { get; set; } + public FriendDB[] SentRequestFriendDBs { get; set; } + public FriendDB[] ReceivedRequestFriendDBs { get; set; } + public FriendDB[] BlockedUserDBs { get; set; } + } + + public class ItemListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_List; + } + } + + } + + public class ItemListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_List; + } + } + + public List ItemDBs { get; set; } + public List ExpiryItemDBs { get; set; } + } + + public class ItemSellRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Sell; + } + } + + public List TargetServerIds { get; set; } + } + + public class ItemSellResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Sell; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + } + + public class ItemConsumeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Consume; + } + } + + public long TargetItemServerId { get; set; } + public int ConsumeCount { get; set; } + } + + public class ItemConsumeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Consume; + } + } + + public ItemDB UsedItemDB { get; set; } + public ParcelResultDB NewParcelResultDB { get; set; } + } + + public class ItemLockRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Lock; + } + } + + public long TargetServerId { get; set; } + public bool IsLocked { get; set; } + } + + public class ItemLockResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_Lock; + } + } + + public ItemDB ItemDB { get; set; } + } + + public class ItemBulkConsumeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_BulkConsume; + } + } + + public long TargetItemServerId { get; set; } + public int ConsumeCount { get; set; } + } + + public class ItemBulkConsumeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_BulkConsume; + } + } + + public ItemDB UsedItemDB { get; set; } + public List ParcelInfosInMailBox { get; set; } + } + + public class ItemSelectTicketRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_SelectTicket; + } + } + + public long TicketItemServerId { get; set; } + public long SelectItemUniqueId { get; set; } + public int ConsumeCount { get; set; } + } + + public class ItemSelectTicketResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_SelectTicket; + } + } + + public ItemDB UsedItemDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ItemAutoSynthRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_AutoSynth; + } + } + + public List TargetParcels { get; set; } + } + + public class ItemAutoSynthResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Item_AutoSynth; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MailListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_List; + } + } + + public bool IsReadMail { get; set; } + public DateTime PivotTime { get; set; } + public long PivotIndex { get; set; } + public bool IsDescending { get; set; } + } + + public class MailListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_List; + } + } + + public List MailDBs { get; set; } + public long Count { get; set; } + } + + public class MailCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_Check; + } + } + + } + + public class MailCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_Check; + } + } + + public long Count { get; set; } + } + + public class MailReceiveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_Receive; + } + } + + public List MailServerIds { get; set; } + } + + public class MailReceiveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mail_Receive; + } + } + + public List MailServerIds { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MemoryLobbyListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_List; + } + } + + } + + public class MemoryLobbyListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_List; + } + } + + public List MemoryLobbyDBs { get; set; } + } + + public class MemoryLobbySetMainRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_SetMain; + } + } + + public long MemoryLobbyId { get; set; } + } + + public class MemoryLobbySetMainResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_SetMain; + } + } + + public AccountDB AccountDB { get; set; } + } + + public class MemoryLobbyUpdateLobbyModeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_UpdateLobbyMode; + } + } + + public bool IsMemoryLobbyMode { get; set; } + } + + public class MemoryLobbyUpdateLobbyModeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_UpdateLobbyMode; + } + } + + } + + public class MemoryLobbyInteractRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_Interact; + } + } + + } + + public class MemoryLobbyInteractResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MemoryLobby_Interact; + } + } + + } + + public class MiniGameStageListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_StageList; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameStageListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_StageList; + } + } + + public List MiniGameHistoryDBs { get; set; } + } + + public class MiniGameEnterStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_EnterStage; + } + } + + public long EventContentId { get; set; } + public long UniqueId { get; set; } + } + + public class MiniGameEnterStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_EnterStage; + } + } + + } + + public class MiniGameResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_Result; + } + } + + public long EventContentId { get; set; } + public long UniqueId { get; set; } + public MinigameRhythmSummary Summary { get; set; } + } + + public class MiniGameResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_Result; + } + } + + } + + public class MiniGameMissionListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionList; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameMissionListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionList; + } + } + + public List MissionHistoryUniqueIds { get; set; } + public List ProgressDBs { get; set; } + } + + public class MiniGameMissionRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionReward; + } + } + + public long MissionUniqueId { get; set; } + public long ProgressServerId { get; set; } + public long EventContentId { get; set; } + } + + public class MiniGameMissionRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionReward; + } + } + + public MissionHistoryDB AddedHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameMissionMultipleRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionMultipleReward; + } + } + + public MissionCategory MissionCategory { get; set; } + public long EventContentId { get; set; } + } + + public class MiniGameMissionMultipleRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_MissionMultipleReward; + } + } + + public List AddedHistoryDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameShootingLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingLobby; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameShootingLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingLobby; + } + } + + public List HistoryDBs { get; set; } + } + + public class MiniGameShootingBattleEnterRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingBattleEnter; + } + } + + public long EventContentId { get; set; } + public long UniqueId { get; set; } + } + + public class MiniGameShootingBattleEnterResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingBattleEnter; + } + } + + } + + public class MiniGameShootingBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingBattleResult; + } + } + + public MiniGameShootingSummary Summary { get; set; } + } + + public class MiniGameShootingBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameShootingSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingSweep; + } + } + + public long EventContentId { get; set; } + public long UniqueId { get; set; } + public long SweepCount { get; set; } + } + + public class MiniGameShootingSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_ShootingSweep; + } + } + + public List> Rewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameTableBoardSyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardSync; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameTableBoardSyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardSync; + } + } + + public TBGBoardSaveDB SaveDB { get; set; } + } + + public class MiniGameTableBoardMoveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardMove; + } + } + + public long EventContentId { get; set; } + public List Steps { get; set; } + } + + public class MiniGameTableBoardMoveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardMove; + } + } + + public TBGPlayerDB PlayerDB { get; set; } + public TBGBoardSaveDB SaveDB { get; set; } + public TBGEncounterDB EncounterDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameTableBoardEncounterInputRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardEncounterInput; + } + } + + public long EventContentId { get; set; } + public long ObjectServerId { get; set; } + public int EncounterStage { get; set; } + public int SelectedIndex { get; set; } + } + + public class MiniGameTableBoardEncounterInputResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardEncounterInput; + } + } + + public TBGBoardSaveDB SaveDB { get; set; } + public TBGEncounterDB EncounterDB { get; set; } + public List PlayerDiceResult { get; set; } + public Nullable PlayerAddDotEffectResult { get; set; } + public Nullable PlayerDicePlayResult { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class MiniGameTableBoardMoveThemaRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardMoveThema; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameTableBoardMoveThemaResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardMoveThema; + } + } + + public TBGBoardSaveDB SaveDB { get; set; } + } + + public class MiniGameTableBoardClearThemaRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardClearThema; + } + } + + public long EventContentId { get; set; } + public List PreserveItemEffectUniqueIds { get; set; } + } + + public class MiniGameTableBoardClearThemaResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardClearThema; + } + } + + public TBGBoardSaveDB SaveDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameTableBoardUseItemRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardUseItem; + } + } + + public long EventContentId { get; set; } + public int ItemSlotIndex { get; set; } + public long UsedItemId { get; set; } + public bool IsDiscard { get; set; } + } + + public class MiniGameTableBoardUseItemResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardUseItem; + } + } + + public TBGPlayerDB PlayerDB { get; set; } + } + + public class MiniGameTableBoardResurrectRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardResurrect; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameTableBoardResurrectResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardResurrect; + } + } + + public TBGPlayerDB PlayerDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameTableBoardSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardSweep; + } + } + + public long EventContentId { get; set; } + public List PreserveItemEffectUniqueIds { get; set; } + } + + public class MiniGameTableBoardSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_TableBoardSweep; + } + } + + public TBGBoardSaveDB SaveDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameDreamMakerGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerGetInfo; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameDreamMakerGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerGetInfo; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + public List EndingDBs { get; set; } + public List EventContentCollectionDBs { get; set; } + public long EventPointAmount { get; set; } + public List AlreadyReceivePointRewardIds { get; set; } + } + + public class MiniGameDreamMakerNewGameRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerNewGame; + } + } + + public long EventContentId { get; set; } + public long Multiplier { get; set; } + } + + public class MiniGameDreamMakerNewGameResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerNewGame; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + } + + public class MiniGameDreamMakerResetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerRestart; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameDreamMakerResetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerRestart; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + } + + public class MiniGameDreamMakerAttendScheduleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerAttendSchedule; + } + } + + public long EventContentId { get; set; } + public long ScheduleGroupId { get; set; } + } + + public class MiniGameDreamMakerAttendScheduleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerAttendSchedule; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public long ScheduleResultId { get; set; } + public List EventContentCollectionDBs { get; set; } + } + + public class MiniGameDreamMakerDailyClosingRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerDailyClosing; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameDreamMakerDailyClosingResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerDailyClosing; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public long EventPointAmount { get; set; } + public List AlreadyReceivePointRewardIds { get; set; } + } + + public class MiniGameDreamMakerEndingRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerEnding; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameDreamMakerEndingResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DreamMakerEnding; + } + } + + public MiniGameDreamMakerInfoDB InfoDB { get; set; } + public List ParameterDBs { get; set; } + public MiniGameDreamMakerEndingDB EndingDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MiniGameDefenseGetInfoRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseGetInfo; + } + } + + public long EventContentId { get; set; } + } + + public class MiniGameDefenseGetInfoResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseGetInfo; + } + } + + public long EventPointAmount { get; set; } + public List DefenseStageHistoryDBs { get; set; } + } + + public class MiniGameDefenseEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseEnterBattle; + } + } + + public long EventContentId { get; set; } + public long StageId { get; set; } + } + + public class MiniGameDefenseEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseEnterBattle; + } + } + + } + + public class MiniGameDefenseBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseBattleResult; + } + } + + public long EventContentId { get; set; } + public long StageId { get; set; } + public int Multiplier { get; set; } + public bool IsPlayerWin { get; set; } + public int BaseDamage { get; set; } + public int HeroCount { get; set; } + public int AliveCount { get; set; } + public int ClearSecond { get; set; } + public BattleSummary Summary { get; set; } + } + + public class MiniGameDefenseBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MiniGame_DefenseBattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public MiniGameDefenseStageHistoryDB StageHistoryDB { get; set; } + } + + public class MissionListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_List; + } + } + + public Nullable EventContentId { get; set; } + } + + public class MissionListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_List; + } + } + + public List MissionHistoryUniqueIds { get; set; } + public List ProgressDBs { get; set; } + public MissionInfo DailySuddenMissionInfo { get; set; } + public List ClearedOrignalMissionIds { get; set; } + } + + public class MissionRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_Reward; + } + } + + public long MissionUniqueId { get; set; } + public long ProgressServerId { get; set; } + public Nullable EventContentId { get; set; } + } + + public class MissionRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_Reward; + } + } + + public MissionHistoryDB AddedHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MissionMultipleRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_MultipleReward; + } + } + + public MissionCategory MissionCategory { get; set; } + public Nullable GuideMissionSeasonId { get; set; } + public Nullable EventContentId { get; set; } + } + + public class MissionMultipleRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_MultipleReward; + } + } + + public List AddedHistoryDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class GuideMissionSeasonListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_GuideMissionSeasonList; + } + } + + } + + public class GuideMissionSeasonListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_GuideMissionSeasonList; + } + } + + public List GuideMissionSeasonDBs { get; set; } + } + + public class MissionSyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_Sync; + } + } + + } + + public class MissionSyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Mission_Sync; + } + } + + } + + public class MomoTalkOutLineRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_OutLine; + } + } + + } + + public class MomoTalkOutLineResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_OutLine; + } + } + + public List MomoTalkOutLineDBs { get; set; } + public Dictionary> FavorScheduleRecords { get; set; } + } + + public class MomoTalkMessageListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_MessageList; + } + } + + public long CharacterDBId { get; set; } + } + + public class MomoTalkMessageListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_MessageList; + } + } + + public MomoTalkOutLineDB MomoTalkOutLineDB { get; set; } + public List MomoTalkChoiceDBs { get; set; } + } + + public class MomoTalkReadRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_Read; + } + } + + public long CharacterDBId { get; set; } + public long LastReadMessageGroupId { get; set; } + public Nullable ChosenMessageId { get; set; } + } + + public class MomoTalkReadResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_Read; + } + } + + public MomoTalkOutLineDB MomoTalkOutLineDB { get; set; } + public List MomoTalkChoiceDBs { get; set; } + } + + public class MomoTalkFavorScheduleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_FavorSchedule; + } + } + + public long ScheduleId { get; set; } + } + + public class MomoTalkFavorScheduleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MomoTalk_FavorSchedule; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public Dictionary> FavorScheduleRecords { get; set; } + } + + public class MultiFloorRaidSyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_Sync; + } + } + + public Nullable SeasonId { get; set; } + } + + public class MultiFloorRaidSyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_Sync; + } + } + + public List MultiFloorRaidDBs { get; set; } + } + + public class MultiFloorRaidEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_EnterBattle; + } + } + + public long SeasonId { get; set; } + public int Difficulty { get; set; } + public int EchelonId { get; set; } + public List AssistUseInfos { get; set; } + } + + public class MultiFloorRaidEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_EnterBattle; + } + } + + public List AssistCharacterDBs { get; set; } + } + + public class MultiFloorRaidEndBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_EndBattle; + } + } + + public long SeasonId { get; set; } + public int Difficulty { get; set; } + public BattleSummary Summary { get; set; } + public int EchelonId { get; set; } + public List AssistUseInfos { get; set; } + } + + public class MultiFloorRaidEndBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_EndBattle; + } + } + + public MultiFloorRaidDB MultiFloorRaidDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class MultiFloorRaidReceiveRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_ReceiveReward; + } + } + + public long SeasonId { get; set; } + public int RewardDifficulty { get; set; } + } + + public class MultiFloorRaidReceiveRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.MultiFloorRaid_ReceiveReward; + } + } + + public MultiFloorRaidDB MultiFloorRaidDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class NetworkTimeSyncRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.NetworkTime_Sync; + } + } + + } + + public class NetworkTimeSyncResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.NetworkTime_Sync; + } + } + + public long ReceiveTick { get; set; } + public long EchoSendTick { get; set; } + } + + public class NotificationLobbyCheckRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Notification_LobbyCheck; + } + } + + } + + public class NotificationLobbyCheckResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Notification_LobbyCheck; + } + } + + public long UnreadMailCount { get; set; } + public List EventRewardIncreaseDBs { get; set; } + } + + public class NotificationEventContentReddotRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Notification_EventContentReddotCheck; + } + } + + } + + public class NotificationEventContentReddotResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Notification_EventContentReddotCheck; + } + } + + public Dictionary> Reddots { get; set; } + public Dictionary> EventContentUnlockCGDBs { get; set; } + } + + public class OpenConditionListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_List; + } + } + + } + + public class OpenConditionListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_List; + } + } + + public List ConditionContents { get; set; } + } + + public class OpenConditionSetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_Set; + } + } + + public OpenConditionDB ConditionDB { get; set; } + } + + public class OpenConditionSetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_Set; + } + } + + public List ConditionDBs { get; set; } + } + + public class OpenConditionEventListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_EventList; + } + } + + public List ConquestEventIds { get; set; } + public Dictionary WorldRaidSeasonAndGroupIds { get; set; } + } + + public class OpenConditionEventListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.OpenCondition_EventList; + } + } + + public Dictionary> ConquestTiles { get; set; } + public Dictionary> WorldRaidLocalBossDBs { get; set; } + } + + public class ProofTokenRequestQuestionRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ProofToken_RequestQuestion; + } + } + + } + + public class ProofTokenRequestQuestionResponse : ResponsePacket + { + public long Hint { get; set; } + public string Question { get; set; } + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ProofToken_RequestQuestion; + } + } + + } + + public class ProofTokenSubmitRequest : RequestPacket + { + public long Answer; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ProofToken_Submit; + } + } + + } + + public class ProofTokenSubmitResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ProofToken_Submit; + } + } + + } + + public class ProtocolConverter + { + public static ProtocolConverter Instance; + } + + public class QueuingGetTicketRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Queuing_GetTicket; + } + } + + public long YostarUID { get; set; } + public string YostarToken { get; set; } + public bool MakeStandby { get; set; } + public bool PassCheck { get; set; } + public bool PassCheckYostar { get; set; } + public string WaitingTicket { get; set; } + public string ClientVersion { get; set; } + } + + public class QueuingGetTicketResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Queuing_GetTicket; + } + } + + public string WaitingTicket { get; set; } + public string EnterTicket { get; set; } + public long TicketSequence { get; set; } + public long AllowedSequence { get; set; } + public double RequiredSecondsPerUser { get; set; } + public string Birth { get; set; } + public string ServerSeed { get; set; } + } + + public enum RaidRoomSortOption + { + HPHigh = 0, + HPLow = 1, + RemainTimeHigh = 2, + RemainTimeLow = 3, + } + + public class RaidLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Login; + } + } + + } + + public class RaidLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Login; + } + } + + public RaidSeasonType SeasonType { get; set; } + public bool CanReceiveRankingReward { get; set; } + public long LastSettledRanking { get; set; } + public Nullable LastSettledTier { get; set; } + } + + public class RaidLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Lobby; + } + } + + } + + public class RaidLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Lobby; + } + } + + public RaidSeasonType SeasonType { get; set; } + public RaidGiveUpDB RaidGiveUpDB { get; set; } + public SingleRaidLobbyInfoDB RaidLobbyInfoDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_List; + } + } + + public string RaidBossGroup { get; set; } + public Difficulty RaidDifficulty { get; set; } + public RaidRoomSortOption RaidRoomSortOption { get; set; } + } + + public class RaidListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_List; + } + } + + public List CreateRaidDBs { get; set; } + public List EnterRaidDBs { get; set; } + public List ListRaidDBs { get; set; } + } + + public class RaidCompleteListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_CompleteList; + } + } + + } + + public class RaidCompleteListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_CompleteList; + } + } + + public List RaidDBs { get; set; } + public long StackedDamage { get; set; } + public List ReceiveRewardId { get; set; } + public long CurSeasonUniqueId { get; set; } + } + + public class RaidDetailRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Detail; + } + } + + public long RaidServerId { get; set; } + public long RaidUniqueId { get; set; } + } + + public class RaidDetailResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Detail; + } + } + + public RaidDetailDB RaidDetailDB { get; set; } + public List ParticipateCharacterServerIds { get; set; } + } + + public class RaidSearchRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Search; + } + } + + public string SecretCode { get; set; } + public List Tags { get; set; } + } + + public class RaidSearchResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Search; + } + } + + public List RaidDBs { get; set; } + } + + public class RaidCreateBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_CreateBattle; + } + } + + public long RaidUniqueId { get; set; } + public bool IsPractice { get; set; } + public List Tags { get; set; } + public bool IsPublic { get; set; } + public Difficulty Difficulty { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class RaidCreateBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_CreateBattle; + } + } + + public RaidDB RaidDB { get; set; } + public RaidBattleDB RaidBattleDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public AssistCharacterDB AssistCharacterDB { get; set; } + } + + public class RaidEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_EnterBattle; + } + } + + public long RaidServerId { get; set; } + public long RaidUniqueId { get; set; } + public bool IsPractice { get; set; } + public long EchelonId { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class RaidEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_EnterBattle; + } + } + + public RaidDB RaidDB { get; set; } + public RaidBattleDB RaidBattleDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public AssistCharacterDB AssistCharacterDB { get; set; } + } + + public class RaidBattleUpdateRequest : RequestPacket + { + private List playerDebuffs; + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_BattleUpdate; + } + } + + public long RaidServerId { get; set; } + public int RaidBossIndex { get; set; } + public long CumulativeDamage { get; set; } + public long CumulativeGroggyPoint { get; set; } + + [JsonIgnore] + public IEnumerable Debuffs { get; } + } + + public class RaidBattleUpdateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_BattleUpdate; + } + } + + public RaidBattleDB RaidBattleDB { get; set; } + } + + public class RaidEndBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_EndBattle; + } + } + + public int EchelonId { get; set; } + public long RaidServerId { get; set; } + public bool IsPractice { get; set; } + + [JsonIgnore] + public int LastBossIndex { get; } + + [JsonIgnore] + public IEnumerable RaidBossDamages { get; } + + [JsonIgnore] + public RaidBossResultCollection RaidBossResults { get; } + public BattleSummary Summary { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class RaidEndBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_EndBattle; + } + } + + public long RankingPoint { get; set; } + public long BestRankingPoint { get; set; } + public long ClearTimePoint { get; set; } + public long HPPercentScorePoint { get; set; } + public long DefaultClearPoint { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidGiveUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_GiveUp; + } + } + + public long RaidServerId { get; set; } + public bool IsPractice { get; set; } + } + + public class RaidGiveUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_GiveUp; + } + } + + public int Tier { get; set; } + public RaidGiveUpDB RaidGiveUpDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Reward; + } + } + + public long RaidServerId { get; set; } + public bool IsPractice { get; set; } + } + + public class RaidRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Reward; + } + } + + public long RankingPoint { get; set; } + public long BestRankingPoint { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidRewardAllRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_RewardAll; + } + } + + } + + public class RaidRewardAllResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_RewardAll; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidShareRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Share; + } + } + + public long RaidServerId { get; set; } + } + + public class RaidShareResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Share; + } + } + + public RaidDB RaidDB { get; set; } + } + + public class RaidRankingRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_RankingReward; + } + } + + } + + public class RaidRankingRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_RankingReward; + } + } + + public long ReceivedRankingRewardId { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RaidSeasonRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_SeasonReward; + } + } + + } + + public class RaidSeasonRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_SeasonReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public List ReceiveRewardIds { get; set; } + } + + public class RaidOpponentListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_OpponentList; + } + } + + public Nullable Rank { get; set; } + public Nullable Score { get; set; } + public bool IsUpper { get; set; } + public bool IsFirstRequest { get; set; } + public RankingSearchType SearchType { get; set; } + } + + public class RaidOpponentListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_OpponentList; + } + } + + public List OpponentUserDBs { get; set; } + } + + public class RaidGetBestTeamRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_GetBestTeam; + } + } + + public long SearchAccountId { get; set; } + } + + public class RaidGetBestTeamResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_GetBestTeam; + } + } + + public List RaidTeamSettingDBs { get; set; } + } + + public class RaidSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Sweep; + } + } + + public long UniqueId { get; set; } + public long SweepCount { get; set; } + } + + public class RaidSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Raid_Sweep; + } + } + + public long TotalSeasonPoint { get; set; } + public List> Rewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class RecipeCraftRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Recipe_Craft; + } + } + + public long RecipeCraftUniqueId { get; set; } + public long RecipeIngredientUniqueId { get; set; } + } + + public class RecipeCraftResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Recipe_Craft; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB EquipmentConsumeResultDB { get; set; } + public ConsumeResultDB ItemConsumeResultDB { get; set; } + } + + public class ResetableContentGetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ResetableContent_Get; + } + } + + } + + public class ResetableContentGetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.ResetableContent_Get; + } + } + + public List ResetableContentValueDBs { get; set; } + } + + public class ScenarioListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_List; + } + } + + } + + public class ScenarioListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_List; + } + } + + public List ScenarioHistoryDBs { get; set; } + public List ScenarioGroupHistoryDBs { get; set; } + public List ScenarioCollectionDBs { get; set; } + } + + public class ScenarioClearRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Clear; + } + } + + public long ScenarioId { get; set; } + public BattleSummary BattleSummary { get; set; } + } + + public class ScenarioClearResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Clear; + } + } + + public ScenarioHistoryDB ScenarioHistoryDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List ScenarioCollectionDBs { get; set; } + } + + public class ScenarioEnterRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Enter; + } + } + + public long ScenarioId { get; set; } + } + + public class ScenarioEnterResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Enter; + } + } + + } + + public class ScenarioGroupHistoryUpdateRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_GroupHistoryUpdate; + } + } + + public long ScenarioGroupUniqueId { get; set; } + public long ScenarioType { get; set; } + } + + public class ScenarioGroupHistoryUpdateResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_GroupHistoryUpdate; + } + } + + public ScenarioGroupHistoryDB ScenarioGroupHistoryDB { get; set; } + } + + public class ScenarioSkipRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Skip; + } + } + + public long ScriptGroupId { get; set; } + public int SkipPointScriptCount { get; set; } + } + + public class ScenarioSkipResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Skip; + } + } + + } + + public class ScenarioSelectRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Select; + } + } + + public long ScriptGroupId { get; set; } + public long ScriptSelectGroup { get; set; } + } + + public class ScenarioSelectResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Select; + } + } + + } + + public class ScenarioAccountStudentChangeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_AccountStudentChange; + } + } + + public long AccountStudent { get; set; } + public long AccountStudentBefore { get; set; } + } + + public class ScenarioAccountStudentChangeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_AccountStudentChange; + } + } + + } + + public class ScenarioLobbyStudentChangeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_LobbyStudentChange; + } + } + + public List LobbyStudents { get; set; } + public List LobbyStudentsBefore { get; set; } + } + + public class ScenarioLobbyStudentChangeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_LobbyStudentChange; + } + } + + } + + public class ScenarioSpecialLobbyChangeRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_SpecialLobbyChange; + } + } + + public long MemoryLobbyId { get; set; } + public long MemoryLobbyIdBefore { get; set; } + } + + public class ScenarioSpecialLobbyChangeResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_SpecialLobbyChange; + } + } + + } + + public class ScenarioEnterMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EnterMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioEnterMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EnterMainStage; + } + } + + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + } + + public class ScenarioConfirmMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_ConfirmMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioConfirmMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_ConfirmMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + public List ScenarioIds { get; set; } + } + + public class ScenarioDeployEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_DeployEchelon; + } + } + + public long StageUniqueId { get; set; } + public List DeployedEchelons { get; set; } + } + + public class ScenarioDeployEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_DeployEchelon; + } + } + + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + } + + public class ScenarioWithdrawEchelonRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_WithdrawEchelon; + } + } + + public long StageUniqueId { get; set; } + public List WithdrawEchelonEntityId { get; set; } + } + + public class ScenarioWithdrawEchelonResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_WithdrawEchelon; + } + } + + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + public List WithdrawEchelonDBs { get; set; } + } + + public class ScenarioMapMoveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_MapMove; + } + } + + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + public HexLocation DestPosition { get; set; } + } + + public class ScenarioMapMoveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_MapMove; + } + } + + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + public List ScenarioIds { get; set; } + public long EchelonEntityId { get; set; } + public Strategy StrategyObject { get; set; } + public List StrategyObjectParcelInfos { get; set; } + } + + public class ScenarioEndTurnRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EndTurn; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioEndTurnResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EndTurn; + } + } + + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public List ScenarioIds { get; set; } + } + + public class ScenarioEnterTacticRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EnterTactic; + } + } + + public long StageUniqueId { get; set; } + public long EchelonIndex { get; set; } + public long EnemyIndex { get; set; } + } + + public class ScenarioEnterTacticResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_EnterTactic; + } + } + + } + + public class ScenarioTacticResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_TacticResult; + } + } + + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + public SkillCardHand Hand { get; set; } + public TacticSkipSummary SkipSummary { get; set; } + } + + public class ScenarioTacticResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_TacticResult; + } + } + + public Strategy StrategyObject { get; set; } + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + public bool IsPlayerWin { get; set; } + public List ScenarioIds { get; set; } + } + + public class ScenarioRetreatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Retreat; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioRetreatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Retreat; + } + } + + public List ReleasedEchelonNumbers { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ScenarioPortalRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Portal; + } + } + + public long StageUniqueId { get; set; } + public long EchelonEntityId { get; set; } + } + + public class ScenarioPortalResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_Portal; + } + } + + public StoryStrategyStageSaveDB StoryStrategyStageSaveDB { get; set; } + public List ScenarioIds { get; set; } + } + + public class ScenarioRestartMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_RestartMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioRestartMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_RestartMainStage; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public StoryStrategyStageSaveDB SaveDataDB { get; set; } + } + + public class ScenarioSkipMainStageRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_SkipMainStage; + } + } + + public long StageUniqueId { get; set; } + } + + public class ScenarioSkipMainStageResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Scenario_SkipMainStage; + } + } + + } + + public class SchoolDungeonListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_List; + } + } + + } + + public class SchoolDungeonListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_List; + } + } + + public List SchoolDungeonStageHistoryDBList { get; set; } + } + + public class SchoolDungeonEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_EnterBattle; + } + } + + public long StageUniqueId { get; set; } + } + + public class SchoolDungeonEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_EnterBattle; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class SchoolDungeonBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_BattleResult; + } + } + + public long StageUniqueId { get; set; } + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class SchoolDungeonBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_BattleResult; + } + } + + public SchoolDungeonStageHistoryDB SchoolDungeonStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public List FirstClearReward { get; set; } + public List ThreeStarReward { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class SchoolDungeonRetreatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_Retreat; + } + } + + public long StageUniqueId { get; set; } + } + + public class SchoolDungeonRetreatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SchoolDungeon_Retreat; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ShopBuyMerchandiseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyMerchandise; + } + } + + public bool IsRefreshGoods { get; set; } + public long ShopUniqueId { get; set; } + public long GoodsId { get; set; } + public long PurchaseCount { get; set; } + } + + public class ShopBuyMerchandiseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyMerchandise; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public MailDB MailDB { get; set; } + public ShopProductDB ShopProductDB { get; set; } + } + + public class ShopBuyGachaRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha; + } + } + + public long GoodsId { get; set; } + public long ShopUniqueId { get; set; } + } + + public class ShopBuyGachaResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha; + } + } + + + [JsonIgnore] + public AccountCurrencyDB AccountCurrencyDB { get; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class ShopBuyGacha2Request : ShopBuyGachaRequest + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha2; + } + } + + } + + public class GachaResult + { + public long CharacterId { get; set; } + public CharacterDB Character { get; set; } + public ItemDB Stone { get; set; } + } + + public class ShopBuyGacha2Response : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha2; + } + } + + public DateTime UpdateTime { get; set; } + public long GemBonusRemain { get; set; } + public long GemPaidRemain { get; set; } + public List ConsumedItems { get; set; } + public List GachaResults { get; set; } + public List AcquiredItems { get; set; } + } + + public class ShopBuyGacha3Request : ShopBuyGacha2Request + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha3; + } + } + + public long FreeRecruitId { get; set; } + public ParcelCost Cost { get; set; } + } + + public class ShopBuyGacha3Response : ShopBuyGacha2Response + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyGacha3; + } + } + + public ShopFreeRecruitHistoryDB FreeRecruitHistoryDB { get; set; } + } + + public class ShopListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_List; + } + } + + public List CategoryList { get; set; } + } + + public class ShopListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_List; + } + } + + public List ShopInfos { get; set; } + public List ShopEligmaHistoryDBs { get; set; } + } + + public class ShopRefreshRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_Refresh; + } + } + + public ShopCategoryType ShopCategoryType { get; set; } + } + + public class ShopRefreshResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_Refresh; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ShopInfoDB ShopInfoDB { get; set; } + } + + public class ShopBuyEligmaResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyEligma; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ShopProductDB ShopProductDB { get; set; } + } + + public class ShopBuyEligmaRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyEligma; + } + } + + public long GoodsUniqueId { get; set; } + public long ShopUniqueId { get; set; } + public long CharacterUniqueId { get; set; } + public long PurchaseCount { get; set; } + } + + public class ShopGachaRecruitListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_GachaRecruitList; + } + } + + } + + public class ShopGachaRecruitListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_GachaRecruitList; + } + } + + public List ShopRecruits { get; set; } + public List ShopFreeRecruitHistoryDBs { get; set; } + } + + public class ShopBuyRefreshMerchandiseRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyRefreshMerchandise; + } + } + + public List ShopUniqueIds { get; set; } + } + + public class ShopBuyRefreshMerchandiseResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyRefreshMerchandise; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public List ShopProductDB { get; set; } + public MailDB MailDB { get; set; } + } + + public class ShopBuyAPRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyAP; + } + } + + public long ShopUniqueId { get; set; } + public long PurchaseCount { get; set; } + } + + public class ShopBuyAPResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BuyAP; + } + } + + public AccountCurrencyDB AccountCurrencyDB { get; set; } + public ConsumeResultDB ConsumeResultDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public MailDB MailDB { get; set; } + public ShopProductDB ShopProductDB { get; set; } + } + + public class ShopBeforehandGachaGetRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaGet; + } + } + + } + + public class ShopBeforehandGachaGetResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaGet; + } + } + + public bool AlreadyPicked { get; set; } + public BeforehandGachaSnapshotDB BeforehandGachaSnapshot { get; set; } + } + + public class ShopBeforehandGachaRunRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaRun; + } + } + + public long ShopUniqueId { get; set; } + public long GoodsId { get; set; } + } + + public class ShopBeforehandGachaRunResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaRun; + } + } + + public BeforehandGachaSnapshotDB SelectGachaSnapshot { get; set; } + } + + public class ShopBeforehandGachaSaveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaSave; + } + } + + public long TargetIndex { get; set; } + } + + public class ShopBeforehandGachaSaveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaSave; + } + } + + public BeforehandGachaSnapshotDB SelectGachaSnapshot { get; set; } + } + + public class ShopBeforehandGachaPickRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaPick; + } + } + + public long ShopUniqueId { get; set; } + public long GoodsId { get; set; } + public long TargetIndex { get; set; } + } + + public class ShopBeforehandGachaPickResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Shop_BeforehandGachaPick; + } + } + + public List GachaResults { get; set; } + public List AcquiredItems { get; set; } + } + + public class SkipHistoryListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SkipHistory_List; + } + } + + } + + public class SkipHistoryListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SkipHistory_List; + } + } + + public SkipHistoryDB SkipHistoryDB { get; set; } + } + + public class SkipHistorySaveRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SkipHistory_Save; + } + } + + public SkipHistoryDB SkipHistoryDB { get; set; } + } + + public class SkipHistorySaveResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.SkipHistory_Save; + } + } + + public SkipHistoryDB SkipHistoryDB { get; set; } + } + + public class StickerLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_Login; + } + } + + } + + public class StickerLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_Login; + } + } + + public StickerBookDB StickerBookDB { get; set; } + } + + public class StickerLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_Lobby; + } + } + + public IEnumerable AcquireStickerUniqueIds { get; set; } + } + + public class StickerLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_Lobby; + } + } + + public IEnumerable ReceivedStickerDBs { get; set; } + public StickerBookDB StickerBookDB { get; set; } + } + + public class StickerUseStickerRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_UseSticker; + } + } + + public long StickerUniqueId { get; set; } + } + + public class StickerUseStickerResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Sticker_UseSticker; + } + } + + public StickerBookDB StickerBookDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class SystemVersionRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.System_Version; + } + } + + } + + public class SystemVersionResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.System_Version; + } + } + + public long CurrentVersion { get; set; } + public long MinimumVersion { get; set; } + public bool IsDevelopment { get; set; } + } + + public class TimeAttackDungeonLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Lobby; + } + } + + } + + public class TimeAttackDungeonLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Lobby; + } + } + + public Dictionary RoomDBs { get; set; } + public TimeAttackDungeonRoomDB PreviousRoomDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public bool AchieveSeasonBestRecord { get; set; } + public long SeasonBestRecord { get; set; } + } + + public class TimeAttackDungeonCreateBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_CreateBattle; + } + } + + public bool IsPractice { get; set; } + } + + public class TimeAttackDungeonCreateBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_CreateBattle; + } + } + + public TimeAttackDungeonRoomDB RoomDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class TimeAttackDungeonEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_EnterBattle; + } + } + + public long RoomId { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class TimeAttackDungeonEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_EnterBattle; + } + } + + public AssistCharacterDB AssistCharacterDB { get; set; } + } + + public class TimeAttackDungeonEndBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_EndBattle; + } + } + + public int EchelonId { get; set; } + public long RoomId { get; set; } + public BattleSummary Summary { get; set; } + public ClanAssistUseInfo AssistUseInfo { get; set; } + } + + public class TimeAttackDungeonEndBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_EndBattle; + } + } + + public TimeAttackDungeonRoomDB RoomDB { get; set; } + public long TotalPoint { get; set; } + public long DefaultPoint { get; set; } + public long TimePoint { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class TimeAttackDungeonGiveUpRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_GiveUp; + } + } + + public long RoomId { get; set; } + } + + public class TimeAttackDungeonGiveUpResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_GiveUp; + } + } + + public TimeAttackDungeonRoomDB RoomDB { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public bool AchieveSeasonBestRecord { get; set; } + public long SeasonBestRecord { get; set; } + } + + public class TimeAttackDungeonSweepRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Sweep; + } + } + + public long SweepCount { get; set; } + } + + public class TimeAttackDungeonSweepResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Sweep; + } + } + + public List> Rewards { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + public TimeAttackDungeonRoomDB RoomDB { get; set; } + } + + public class TimeAttackDungeonLoginRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Login; + } + } + + } + + public class TimeAttackDungeonLoginResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TimeAttackDungeon_Login; + } + } + + public TimeAttackDungeonRoomDB PreviousRoomDB { get; set; } + } + + public class ToastListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Toast_List; + } + } + + } + + public class ToastListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.Toast_List; + } + } + + public List ToastDBs { get; set; } + } + + public class TTSGetFileRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TTS_GetFile; + } + } + + } + + public class TTSGetFileResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.TTS_GetFile; + } + } + + public bool IsFileReady { get; set; } + public string TTSFileS3Uri { get; set; } + } + + public enum WebAPIErrorCode + { + None = 0, + InvalidPacket = 1, + InvalidProtocol = 2, + InvalidSession = 3, + InvalidVersion = 4, + InternalServerError = 5, + DBError = 6, + InvalidToken = 7, + FailedToLockAccount = 8, + InvalidCheatError = 9, + AccountCurrencyCannotAffordCost = 10, + ExceedTranscendenceCountLimit = 11, + MailBoxFull = 12, + InventoryAlreadyFull = 13, + AccountNotFound = 14, + DataClassNotFound = 15, + DataEntityNotFound = 16, + AccountGemPaidCannotAffordCost = 17, + AccountGemBonusCannotAffordCost = 18, + AccountItemCannotAffordCost = 19, + APITimeoutError = 20, + FunctionTimeoutError = 21, + DBDistributeTransactionError = 22, + OccasionalJobError = 23, + FailedToConsumeParcel = 100, + InvalidString = 200, + InvalidStringLength = 201, + EmptyString = 202, + SpecialSymbolNotAllowed = 203, + InvalidDate = 300, + CoolTimeRemain = 301, + TimeElapseError = 302, + ClientSendBadRequest = 400, + ClientSendTooManyRequest = 401, + ClientSuspectedAsCheater = 402, + CombatVerificationFailedInDev = 403, + ServerFailedToHandleRequest = 500, + DocumentDBFailedToHandleRequest = 501, + ServerCacheFailedToHandleRequest = 502, + ReconnectBundleUpdateRequired = 800, + GatewayMakeStandbyNotSupport = 900, + GatewayPassCheckNotSupport = 901, + GatewayWaitingTicketTimeOut = 902, + ClientUpdateRequire = 903, + AccountCreateNoDevId = 1000, + AccountCreateDuplicatedDevId = 1001, + AccountAuthEmptyDevId = 1002, + AccountAuthNotCreated = 1003, + AccountAccessControlWithoutPermission = 1004, + AccountNicknameEmptyString = 1005, + AccountNicknameSameName = 1006, + AccountNicknameWithInvalidString = 1007, + AccountNicknameWithInvalidLength = 1008, + YostarServerNotSuccessStatusCode = 1009, + YostarNetworkException = 1010, + YostarException = 1011, + AccoountPassCheckNotSupportCheat = 1012, + AccountCreateFail = 1013, + AccountAddPubliserAccountFail = 1014, + AccountAddDevIdFail = 1015, + AccountCreateAlreadyPublisherAccoundId = 1016, + AccountUpdateStateFail = 1017, + YostarCheckFail = 1018, + EnterTicketInvalid = 1019, + EnterTicketTimeOut = 1020, + EnterTicketUsed = 1021, + AccountCommentLengthOverLimit = 1022, + AccountUpdateBirthdayFailed = 1023, + AccountLoginError = 1024, + AccountCurrencySyncError = 1025, + InvalidClientCookie = 1026, + InappositeNicknameRestricted = 1027, + InappositeCommentRestricted = 1028, + InappositeCallnameRestricted = 1029, + CharacterNotFound = 2000, + CharacterLocked = 2001, + CharacterAlreadyHas = 2002, + CharacterAssignedEchelon = 2003, + CharacterFavorDownException = 2004, + CharacterFavorMaxLevelExceed = 2005, + CannotLevelUpSkill = 2006, + CharacterLevelAlreadyMax = 2007, + InvalidCharacterExpGrowthRequest = 2008, + CharacterWeaponDataNotFound = 2009, + CharacterWeaponNotFound = 2010, + CharacterWeaponAlreadyUnlocked = 2011, + CharacterWeaponUnlockConditionFail = 2012, + CharacterWeaponExpGrowthNotValidItem = 2013, + InvalidCharacterWeaponExpGrowthRequest = 2014, + CharacterWeaponTranscendenceRecipeNotFound = 2015, + CharacterWeaponTranscendenceConditionFail = 2016, + CharacterWeaponUpdateFail = 2017, + CharacterGearNotFound = 2018, + CharacterGearAlreadyEquiped = 2019, + CharacterGearCannotTierUp = 2020, + CharacterGearCannotUnlock = 2021, + CharacterCostumeNotFound = 2022, + CharacterCostumeAlreadySet = 2023, + CharacterCannotEquipCostume = 2024, + InvalidCharacterSkillLevelUpdateRequest = 2025, + InvalidCharacterPotentialGrowthRequest = 2026, + CharacterPotentialGrowthDataNotFound = 2027, + EquipmentNotFound = 3000, + InvalidEquipmentExpGrowthRequest = 3001, + EquipmentNotMatchingSlotItemCategory = 3002, + EquipmentLocked = 3003, + EquipmentAlreadyEquiped = 3004, + EquipmentConsumeItemLimitCountOver = 3005, + EquipmentNotEquiped = 3006, + EquipmentCanNotEquip = 3007, + EquipmentIngredientEmtpy = 3008, + EquipmentCannotLevelUp = 3009, + EquipmentCannotTierUp = 3010, + EquipmentGearCannotUnlock = 3011, + EquipmentBatchGrowthNotValid = 3012, + ItemNotFound = 4000, + ItemLocked = 4001, + ItemCreateWithoutStackCount = 4002, + ItemCreateStackCountFull = 4003, + ItemNotUsingType = 4004, + ItemEnchantIngredientFail = 4005, + ItemInvalidConsumeRequest = 4006, + ItemInsufficientStackCount = 4007, + ItemOverExpirationDateTime = 4008, + ItemCannotAutoSynth = 4009, + EchelonEmptyLeader = 5000, + EchelonNotFound = 5001, + EchelonNotDeployed = 5002, + EchelonSlotOverMaxCount = 5003, + EchelonAssignCharacterOnOtherEchelon = 5004, + EchelonTypeNotAcceptable = 5005, + EchelonEmptyNotAcceptable = 5006, + EchelonPresetInvalidSave = 5007, + EchelonPresetLabelLengthInvalid = 5008, + CampaignStageNotOpen = 6000, + CampaignStagePlayLimit = 6001, + CampaignStageEnterFail = 6002, + CampaignStageInvalidSaveData = 6003, + CampaignStageNotPlayerTurn = 6004, + CampaignStageStageNotFound = 6005, + CampaignStageHistoryNotFound = 6006, + CampaignStageChapterNotFound = 6007, + CampaignStageEchelonNotFound = 6008, + CampaignStageWithdrawedCannotReUse = 6009, + CampaignStageChapterRewardInvalidReward = 6010, + CampaignStageChapterRewardAlreadyReceived = 6011, + CampaignStageTacticWinnerInvalid = 6012, + CampaignStageActionCountZero = 6013, + CampaignStageHealNotAcceptable = 6014, + CampaignStageHealLimit = 6015, + CampaignStageLocationCanNotEngage = 6016, + CampaignEncounterWaitingCannotEndTurn = 6017, + CampaignTacticResultEmpty = 6018, + CampaignPortalExitNotFound = 6019, + CampaignCannotReachDestination = 6020, + CampaignChapterRewardConditionNotSatisfied = 6021, + CampaignStageDataInvalid = 6022, + ContentSweepNotOpened = 6023, + CampaignTacticSkipFailed = 6024, + CampaignUnableToRemoveFixedEchelon = 6025, + CampaignCharacterIsNotWhitelist = 6026, + CampaignFailedToSkipStrategy = 6027, + InvalidSweepRequest = 6028, + MailReceiveRequestInvalid = 7000, + MissionCannotComplete = 8000, + MissionRewardInvalid = 8001, + AttendanceInvalid = 9000, + ShopExcelNotFound = 10000, + ShopAndGoodsNotMatched = 10001, + ShopGoodsNotFound = 10002, + ShopExceedPurchaseCountLimit = 10003, + ShopCannotRefresh = 10004, + ShopInfoNotFound = 10005, + ShopCannotPurchaseActionPointLimitOver = 10006, + ShopNotOpened = 10007, + ShopInvalidGoods = 10008, + ShopInvalidCostOrReward = 10009, + ShopEligmaOverPurchase = 10010, + ShopFreeRecruitInvalid = 10011, + ShopNewbieGachaInvalid = 10012, + ShopCannotNewGoodsRefresh = 10013, + GachaCostNotValid = 10014, + ShopRestrictBuyWhenInventoryFull = 10015, + BeforehandGachaMetadataNotFound = 10016, + BeforehandGachaCandidateNotFound = 10017, + BeforehandGachaInvalidLastIndex = 10018, + BeforehandGachaInvalidSaveIndex = 10019, + BeforehandGachaInvalidPickIndex = 10020, + BeforehandGachaDuplicatedResults = 10021, + RecipeCraftNoData = 11000, + RecipeCraftInsufficientIngredients = 11001, + RecipeCraftDataError = 11002, + MemoryLobbyNotFound = 12000, + LobbyModeChangeFailed = 12001, + CumulativeTimeRewardNotFound = 13000, + CumulativeTimeRewardAlreadyReceipt = 13001, + CumulativeTimeRewardInsufficientConnectionTime = 13002, + OpenConditionClosed = 14000, + OpenConditionSetNotSupport = 14001, + CafeNotFound = 15000, + CafeFurnitureNotFound = 15001, + CafeDeployFail = 15002, + CafeRelocateFail = 15003, + CafeInteractionNotFound = 15004, + CafeProductionEmpty = 15005, + CafeRankUpFail = 15006, + CafePresetNotFound = 15007, + CafeRenamePresetFail = 15008, + CafeClearPresetFail = 15009, + CafeUpdatePresetFurnitureFail = 15010, + CafeReservePresetActivationTimeFail = 15011, + CafePresetApplyFail = 15012, + CafePresetIsEmpty = 15013, + CafeAlreadyVisitCharacter = 15014, + CafeCannotSummonCharacter = 15015, + CafeCanRefreshVisitCharacter = 15016, + CafeAlreadyInteraction = 15017, + CafeTemplateNotFound = 15018, + CafeAlreadyOpened = 15019, + CafeNoPlaceToTravel = 15020, + CafeCannotTravelToOwnCafe = 15021, + ScenarioMode_Fail = 16000, + ScenarioMode_DuplicatedScenarioModeId = 16001, + ScenarioMode_LimitClearedScenario = 16002, + ScenarioMode_LimitAccountLevel = 16003, + ScenarioMode_LimitClearedStage = 16004, + ScenarioMode_LimitClubStudent = 16005, + ScenarioMode_FailInDBProcess = 16006, + ScenarioGroup_DuplicatedScenarioGroupId = 16007, + ScenarioGroup_FailInDBProcess = 16008, + ScenarioGroup_DataNotFound = 16009, + ScenarioGroup_MeetupConditionFail = 16010, + CraftInfoNotFound = 17000, + CraftCanNotCreateNode = 17001, + CraftCanNotUpdateNode = 17002, + CraftCanNotBeginProcess = 17003, + CraftNodeDepthError = 17004, + CraftAlreadyProcessing = 17005, + CraftCanNotCompleteProcess = 17006, + CraftProcessNotComplete = 17007, + CraftInvalidIngredient = 17008, + CraftError = 17009, + CraftInvalidData = 17010, + CraftNotAvailableToCafePresets = 17011, + CraftNotEnoughEmptySlotCount = 17012, + CraftInvalidPresetSlotDB = 17013, + RaidExcelDataNotFound = 18000, + RaidSeasonNotOpen = 18001, + RaidDBDataNotFound = 18002, + RaidBattleNotFound = 18003, + RaidBattleUpdateFail = 18004, + RaidCompleteListEmpty = 18005, + RaidRoomCanNotCreate = 18006, + RaidActionPointZero = 18007, + RaidTicketZero = 18008, + RaidRoomCanNotJoin = 18009, + RaidRoomMaxPlayer = 18010, + RaidRewardDataNotFound = 18011, + RaidSeasonRewardNotFound = 18012, + RaidSeasonAlreadyReceiveReward = 18013, + RaidSeasonAddRewardPointError = 18014, + RaidSeasonRewardNotUpdate = 18015, + RaidSeasonReceiveRewardFail = 18016, + RaidSearchNotFound = 18017, + RaidShareNotFound = 18018, + RaidEndRewardFlagError = 18019, + RaidCanNotFoundPlayer = 18020, + RaidAlreadyParticipateCharacters = 18021, + RaidClearHistoryNotSave = 18022, + RaidBattleAlreadyEnd = 18023, + RaidEchelonNotFound = 18024, + RaidSeasonOpen = 18025, + RaidRoomIsAlreadyClose = 18026, + RaidRankingNotFound = 18027, + WeekDungeonInfoNotFound = 19000, + WeekDungeonNotOpenToday = 19001, + WeekDungeonBattleWinnerInvalid = 19002, + WeekDungeonInvalidSaveData = 19003, + FindGiftRewardNotFound = 20000, + FindGiftRewardAlreadyAcquired = 20001, + FindGiftClearCountOverTotalCount = 20002, + ArenaInfoNotFound = 21000, + ArenaGroupNotFound = 21001, + ArenaRankHistoryNotFound = 21002, + ArenaRankInvalid = 21003, + ArenaBattleFail = 21004, + ArenaDailyRewardAlreadyBeenReceived = 21005, + ArenaNoSeasonAvailable = 21006, + ArenaAttackCoolTime = 21007, + ArenaOpponentAlreadyBeenAttacked = 21008, + ArenaOpponentRankInvalid = 21009, + ArenaNeedFormationSetting = 21010, + ArenaNoHistory = 21011, + ArenaInvalidRequest = 21012, + ArenaInvalidIndex = 21013, + ArenaNotFoundBattle = 21014, + ArenaBattleTimeOver = 21015, + ArenaRefreshTimeOver = 21016, + ArenaEchelonSettingTimeOver = 21017, + ArenaCannotReceiveReward = 21018, + ArenaRewardNotExist = 21019, + ArenaCannotSetMap = 21020, + ArenaDefenderRankChange = 21021, + AcademyNotFound = 22000, + AcademyScheduleTableNotFound = 22001, + AcademyScheduleOperationNotFound = 22002, + AcademyAlreadyAttendedSchedule = 22003, + AcademyAlreadyAttendedFavorSchedule = 22004, + AcademyRewardCharacterNotFound = 22005, + AcademyScheduleCanNotAttend = 22006, + AcademyTicketZero = 22007, + AcademyMessageCanNotSend = 22008, + ContentSaveDBNotFound = 26000, + ContentSaveDBEntranceFeeEmpty = 26001, + AccountBanned = 27000, + ServerNowLoadingProhibitedWord = 28000, + ServerIsUnderMaintenance = 28001, + ServerMaintenanceSoon = 28002, + AccountIsNotInWhiteList = 28003, + ServerContentsLockUpdating = 28004, + ServerContentsLock = 28005, + CouponIsEmpty = 29000, + CouponIsInvalid = 29001, + UseCouponUsedListReadFail = 29002, + UseCouponUsedCoupon = 29003, + UseCouponNotFoundSerials = 29004, + UseCouponDeleteSerials = 29005, + UseCouponUnapprovedSerials = 29006, + UseCouponExpiredSerials = 29007, + UseCouponMaximumSerials = 29008, + UseCouponNotFoundMeta = 29009, + UseCouponDuplicateUseCoupon = 29010, + UseCouponDuplicateUseSerial = 29011, + BillingStartShopCashIdNotFound = 30000, + BillingStartNotServiceTime = 30001, + BillingStartUseConditionCheckError = 30002, + BillingStartSmallLevel = 30003, + BillingStartMaxPurchaseCount = 30004, + BillingStartFailAddOrder = 30005, + BillingStartExistPurchase = 30006, + BillingEndFailGetOrder = 30007, + BillingEndShopCashIdNotFound = 30008, + BillingEndProductIdNotFound = 30009, + BillingEndMonthlyProductIdNotFound = 30010, + BillingEndInvalidState = 30011, + BillingEndFailUpdteState = 30012, + BillingEndFailSendMail = 30013, + BillingEndInvalidAccount = 30014, + BillingEndNotFoundPurchaseCount = 30015, + BillingEndFailUpdteMonthlyProduct = 30016, + BillingStartMailFull = 30017, + BillingStartInventoryAndMailFull = 30018, + BillingEndRecvedErrorMonthlyProduct = 30019, + MonthlyProductNotOutdated = 30020, + ClanNotFound = 31000, + ClanSearchFailed = 31001, + ClanEmptySearchString = 31002, + ClanAccountAlreadyJoinedClan = 31003, + ClanAccountAlreadyQuitClan = 31004, + ClanCreateFailed = 31005, + ClanMemberExceedCapacity = 31006, + ClanDoesNotHavePermission = 31007, + ClanTargetAccountIsNotApplicant = 31008, + ClanMemberNotFound = 31009, + ClanCanNotKick = 31010, + ClanCanNotDismiss = 31011, + ClanCanNotQuit = 31012, + ClanRejoinCoolOff = 31013, + ClanChangeMemberGradeFailed = 31014, + ClanHasBeenDisMissed = 31015, + ClanCannotChangeJoinOption = 31016, + ClanExceedConferCountLimit = 31017, + ClanBusy = 31018, + ClanNameEmptyString = 31019, + ClanNameWithInvalidLength = 31020, + ClanAssistCharacterAlreadyDeployed = 31021, + ClanAssistNotValidUse = 31022, + ClanAssistCharacterChanged = 31023, + ClanAssistCoolTime = 31024, + ClanAssistAlreadyUsedInRaidRoom = 31025, + ClanAssistAlreadyUsedInTimeAttackDungeonRoom = 31026, + ClanAssistEchelonHasAssistOnly = 31027, + PaymentInvalidSign = 32000, + PaymentInvalidSeed1 = 32001, + PaymentInvalidSeed2 = 32002, + PaymentInvalidInput = 32003, + PaymentNotFoundPurchase = 32004, + PaymentGetPurchaseOrderNotZero = 32005, + PaymentSetPurchaseOrderNotZero = 32006, + PaymentException = 32007, + PaymentInvalidState = 32008, + SessionNotFound = 33000, + SessionParseFail = 33001, + SessionInvalidInput = 33002, + SessionNotAuth = 33003, + SessionDuplicateLogin = 33004, + SessionTimeOver = 33005, + SessionInvalidVersion = 33006, + SessionChangeDate = 33007, + CallName_RenameCoolTime = 34000, + CallName_EmptyString = 34001, + CallName_InvalidString = 34002, + CallName_TTSServerIsNotAvailable = 34003, + CouchbaseInvalidCas = 35000, + CouchbaseOperationFailed = 35001, + CouchbaseRollBackFailed = 35002, + EventContentCannotSelectBuff = 36000, + EventContentNoBuffGroupAvailable = 36001, + EventContentBuffGroupIdDuplicated = 36002, + EventContentNotOpen = 36003, + EventContentNoTotalRewardAvailable = 36004, + EventContentBoxGachaPurchaseFailed = 36005, + EventContentBoxGachaCannotRefresh = 36006, + EventContentCardShopCannotShuffle = 36007, + EventContentElementDoesNotExist = 36008, + EventContentElementAlreadyPurchased = 36009, + EventContentLocationNotFound = 36010, + EventContentLocationScheduleCanNotAttend = 36011, + EventContentDiceRaceDataNotFound = 36012, + EventContentDiceRaceAlreadyReceiveLapRewardAll = 36013, + EventContentDiceRaceInvalidDiceRaceResultType = 36014, + EventContentTreasureDataNotFound = 36015, + EventContentTreasureNotComplete = 36016, + EventContentTreasureFlipFailed = 36017, + MiniGameStageIsNotOpen = 37000, + MiniGameStageInvalidResult = 37001, + MiniGameShootingStageInvlid = 37002, + MiniGameShootingCannotSweep = 37003, + MiniGameTableBoardSaveNotExist = 37004, + MiniGameTableBoardPlayerCannotMove = 37005, + MiniGameTableBoardNoActiveEncounter = 37006, + MiniGameTableBoardInvalidEncounterRequest = 37007, + MiniGameTableBoardProcessEncounterFailed = 37008, + MiniGameTableBoardItemNotExist = 37009, + MiniGameTableBoardInvalidItemUse = 37010, + MiniGameTableBoardInvalidClearThemaRequest = 37011, + MiniGameTableBoardInvalidSeason = 37012, + MiniGameTableBoardInvalidResurrectRequest = 37013, + MiniGameTableBoardSweepConditionFail = 37014, + MiniGameTableBoardInvalidData = 37015, + MiniGameDreamCannotStartNewGame = 37016, + MiniGameDreamCannotApplyMultiplier = 37017, + MiniGameDreamCannotReset = 37018, + MiniGameDreamNotEnoughActionCount = 37019, + MiniGameDreamSaveNotExist = 37020, + MiniGameDreamActionCountRemain = 37021, + MiniGameDreamRoundNotComplete = 37022, + MiniGameDreamRewardAlreadyReceived = 37023, + MiniGameDreamRoundCompleted = 37024, + MiniGameShouldReceiveEndingReward = 37025, + MiniGameDefenseCannotUseCharacter = 37026, + MiniGameDefenseNotOpenStage = 37027, + MiniGameDefenseCannotApplyMultiplier = 37028, + ProofTokenNotSubmitted = 38000, + SchoolDungeonInfoNotFound = 39000, + SchoolDungeonNotOpened = 39001, + SchoolDungeonInvalidSaveData = 39002, + SchoolDungeonBattleWinnerInvalid = 39003, + SchoolDungeonInvalidReward = 39004, + TimeAttackDungeonDataNotFound = 40000, + TimeAttackDungeonNotOpen = 40001, + TimeAttackDungeonRoomTimeOut = 40002, + TimeAttackDungeonRoomPlayCountOver = 40003, + TimeAttackDungeonRoomAlreadyExists = 40004, + TimeAttackDungeonRoomAlreadyClosed = 40005, + TimeAttackDungeonRoomNotExist = 40006, + TimeAttackDungeonInvalidRequest = 40007, + TimeAttackDungeonInvalidData = 40008, + WorldRaidDataNotFound = 41000, + WorldRaidSeasonNotOpen = 41001, + WorldRaidBossGroupNotOpen = 41002, + WorldRaidInvalidOpenCondition = 41003, + WorldRaidDifficultyNotOpen = 41004, + WorldRaidAssistCharacterLimitOver = 41005, + WorldRaidContainBlackListCharacter = 41006, + WorldRaidValidFixedEchelonSetting = 41007, + WorldRaidAlredayReceiveRewardAll = 41008, + WorldRaidCannotReceiveReward = 41009, + WorldRaidBossAlreadyDead = 41010, + WorldRaidNotAnotherBossKilled = 41011, + WorldRaidBattleResultUpdateFailed = 41012, + WorldRaidGemEnterCountLimitOver = 41013, + WorldRaidCannotGemEnter = 41014, + WorldRaidNeedClearScenarioBoss = 41015, + WorldRaidBossIsAlive = 41016, + ConquestDataNotFound = 42000, + ConquestAlreadyConquested = 42001, + ConquestNotFullyConquested = 42002, + ConquestStepNotOpened = 42003, + ConquestUnableToReach = 42004, + ConquestUnableToAttack = 42005, + ConquestEchelonChangedCountMax = 42006, + ConquestEchelonNotFound = 42007, + ConquestCharacterAlreadyDeployed = 42008, + ConquestMaxUpgrade = 42009, + ConquestUnitNotFound = 42010, + ConquestObjectNotFound = 42011, + ConquestCalculateRewardNotFound = 42012, + ConquestInvalidTileType = 42013, + ConquestInvalidObjectType = 42014, + ConquestInvalidSaveData = 42015, + ConquestMaxAssistCountReached = 42016, + ConquestErosionConditionNotSatisfied = 42017, + ConquestAdditionalContentNotInUse = 42018, + ConquestCannotUseManageEchelon = 42019, + FriendUserIsNotFriend = 43000, + FriendFailedToCreateFriendIdCard = 43001, + FriendRequestNotFound = 43002, + FriendInvalidFriendCode = 43003, + FriendAlreadyFriend = 43004, + FriendMaxSentRequestReached = 43005, + FriendMaxReceivedRequestReached = 43006, + FriendCannotRequestMaxFriendCountReached = 43007, + FriendCannotAcceptMaxFriendCountReached = 43008, + FriendOpponentMaxFriendCountReached = 43009, + FriendTargetIsBusy = 43010, + FriendRequestTargetIsYourself = 43011, + FriendSearchTargetIsYourself = 43012, + FriendInvalidBackgroundId = 43013, + FriendIdCardCommentLengthOverLimit = 43014, + FriendBackgroundNotOwned = 43015, + FriendBlockTargetIsYourself = 43016, + FriendBlockTargetIsAlreadyBlocked = 43017, + FriendBlockTargetIsExceedMaxCount = 43018, + FriendBlockUserCannotOpenProfile = 43019, + FriendBlockUserCannotSendRequest = 43020, + EliminateStageIsNotOpened = 44000, + MultiSweepPresetDocumentNotFound = 45000, + MultiSweepPresetNameEmpty = 45001, + MultiSweepPresetInvalidStageId = 45002, + MultiSweepPresetInvalidId = 45003, + MultiSweepPresetNameInvalidLength = 45004, + MultiSweepPresetTooManySelectStageId = 45005, + MultiSweepPresetInvalidSweepCount = 45006, + MultiSweepPresetTooManySelectParcelId = 45007, + EmblemDataNotFound = 46000, + EmblemAttachFailed = 46001, + EmblemCannotReceive = 46002, + EmblemPassCheckEmblemIsEmpty = 46003, + StickerDataNotFound = 47000, + StickerNotAcquired = 47001, + StickerDocumentNotFound = 47002, + StickerAlreadyUsed = 47003, + ClearDeckInvalidKey = 48000, + ClearDeckOutOfDate = 48001, + FieldDataNotFound = 60000, + FieldInteracionFailed = 60001, + FieldQuestClearFailed = 60002, + FieldInvalidSceneChangedRequest = 60003, + FieldInvalidEndDateRequest = 60004, + FieldCreateDailyQuestFailed = 60005, + FieldResetReplayFailed = 60006, + FieldIncreaseMasteryFailed = 60007, + FieldStageDataInvalid = 60008, + FieldStageEnterFail = 60009, + FieldContentIsClosed = 60010, + FieldEventStageNotCleared = 60011, + MultiFloorRaidSeasonNotOpened = 49000, + MultiFloorRaidDataNotFound = 49001, + MultiFloorRaidAssistCharacterLimitOver = 49002, + MultiFloorRaidStageOpenConditionFail = 49003, + MultiFloorRaidInvalidSummary = 49004, + MultiFloorRaidInvalidRewardRequest = 49005, + } + + public class WeekDungeonListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_List; + } + } + + } + + public class WeekDungeonListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_List; + } + } + + public List AdditionalStageIdList { get; set; } + public List WeekDungeonStageHistoryDBList { get; set; } + } + + public class WeekDungeonEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_EnterBattle; + } + } + + public long StageUniqueId { get; set; } + public long EchelonIndex { get; set; } + } + + public class WeekDungeonEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_EnterBattle; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + public int Seed { get; set; } + public int Sequence { get; set; } + } + + public class WeekDungeonBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_BattleResult; + } + } + + public long StageUniqueId { get; set; } + public bool PassCheckCharacter { get; set; } + public BattleSummary Summary { get; set; } + } + + public class WeekDungeonBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_BattleResult; + } + } + + public WeekDungeonStageHistoryDB WeekDungeonStageHistoryDB { get; set; } + public List LevelUpCharacterDBs { get; set; } + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class WeekDungeonRetreatRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_Retreat; + } + } + + public long StageUniqueId { get; set; } + } + + public class WeekDungeonRetreatResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WeekDungeon_Retreat; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class WorldRaidLobbyRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_Lobby; + } + } + + public long SeasonId { get; set; } + } + + public class WorldRaidLobbyResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_Lobby; + } + } + + public List ClearHistoryDBs { get; set; } + public List LocalBossDBs { get; set; } + public List BossGroups { get; set; } + } + + public class WorldRaidBossListRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_BossList; + } + } + + public long SeasonId { get; set; } + public bool RequestOnlyWorldBossData { get; set; } + } + + public class WorldRaidBossListResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_BossList; + } + } + + public List BossListInfoDBs { get; set; } + } + + public class WorldRaidEnterBattleRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_EnterBattle; + } + } + + public long SeasonId { get; set; } + public long GroupId { get; set; } + public long UniqueId { get; set; } + public long EchelonId { get; set; } + public bool IsPractice { get; set; } + public bool IsTicket { get; set; } + public List AssistUseInfos { get; set; } + } + + public class WorldRaidEnterBattleResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_EnterBattle; + } + } + + public RaidBattleDB RaidBattleDB { get; set; } + public List AssistCharacterDBs { get; set; } + } + + public class WorldRaidBattleResultRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_BattleResult; + } + } + + public long SeasonId { get; set; } + public long GroupId { get; set; } + public long UniqueId { get; set; } + public long EchelonId { get; set; } + public bool IsPractice { get; set; } + public bool IsTicket { get; set; } + public BattleSummary Summary { get; set; } + public List AssistUseInfos { get; set; } + } + + public class WorldRaidBattleResultResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_BattleResult; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } + + public class WorldRaidReceiveRewardRequest : RequestPacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; + } + } + + public long SeasonId { get; set; } + } + + public class WorldRaidReceiveRewardResponse : ResponsePacket + { + public override Protocol Protocol + { + get + { + return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; + } + } + + public ParcelResultDB ParcelResultDB { get; set; } + } - public class StickerLoginRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_Login; - } - } - } - - - public class TTSGetFileRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TTS_GetFile; - } - } - } - - - public class WorldRaidEnterBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_EnterBattle; - } - } - public long SeasonId { get; set; } - public long GroupId { get; set; } - public long UniqueId { get; set; } - public long EchelonId { get; set; } - public bool IsPractice { get; set; } - public bool IsTicket { get; set; } - public List AssistUseInfos { get; set; } - } - - - public class WeekDungeonBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_BattleResult; - } - } - public long StageUniqueId { get; set; } - public bool PassCheckCharacter { get; set; } - public BattleSummary Summary { get; set; } - } - - - public class ShopBeforehandGachaSaveResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaSave; - } - } - public BeforehandGachaSnapshotDB SelectGachaSnapshot { get; set; } - } - - - public class TimeAttackDungeonGiveUpResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_GiveUp; - } - } - public TimeAttackDungeonRoomDB RoomDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public bool AchieveSeasonBestRecord { get; set; } - public long SeasonBestRecord { get; set; } - } - - - public class StickerLoginResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_Login; - } - } - public StickerBookDB StickerBookDB { get; set; } - } - - - public class TimeAttackDungeonLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Lobby; - } - } - public Dictionary RoomDBs { get; set; } - public TimeAttackDungeonRoomDB PreviousRoomDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public bool AchieveSeasonBestRecord { get; set; } - public long SeasonBestRecord { get; set; } - } - - - public class TTSGetFileResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TTS_GetFile; - } - } - public bool IsFileReady { get; set; } - public string TTSFileS3Uri { get; set; } - } - - - public class WorldRaidEnterBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_EnterBattle; - } - } - public RaidBattleDB RaidBattleDB { get; set; } - public List AssistCharacterDBs { get; set; } - } - - - public class ShopBeforehandGachaPickRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaPick; - } - } - public long ShopUniqueId { get; set; } - public long GoodsId { get; set; } - public long TargetIndex { get; set; } - } - - - public class WeekDungeonBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_BattleResult; - } - } - public WeekDungeonStageHistoryDB WeekDungeonStageHistoryDB { get; set; } - public List LevelUpCharacterDBs { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class TimeAttackDungeonSweepRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Sweep; - } - } - public long SweepCount { get; set; } - } - - - public class TimeAttackDungeonCreateBattleRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_CreateBattle; - } - } - public bool IsPractice { get; set; } - } - - - public class StickerLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_Lobby; - } - } - public IEnumerable AcquireStickerUniqueIds { get; set; } - } - - - public class ShopBeforehandGachaPickResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Shop_BeforehandGachaPick; - } - } - public List GachaResults { get; set; } - public List AcquiredItems { get; set; } - } - - - public class WorldRaidBattleResultRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_BattleResult; - } - } - public long SeasonId { get; set; } - public long GroupId { get; set; } - public long UniqueId { get; set; } - public long EchelonId { get; set; } - public bool IsPractice { get; set; } - public bool IsTicket { get; set; } - public BattleSummary Summary { get; set; } - public List AssistUseInfos { get; set; } - } - - - public class WeekDungeonRetreatRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.None; - } - } - public long StageUniqueId { get; set; } - } - - - public class TimeAttackDungeonSweepResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_Sweep; - } - } - public List> Rewards { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - public TimeAttackDungeonRoomDB RoomDB { get; set; } - } - - - public class StickerLobbyResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.Sticker_Lobby; - } - } - public IEnumerable ReceivedStickerDBs { get; set; } - public StickerBookDB StickerBookDB { get; set; } - } - - - public class WeekDungeonRetreatResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_Retreat; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class WorldRaidBattleResultResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_BattleResult; - } - } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class TimeAttackDungeonCreateBattleResponse : ResponsePacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.TimeAttackDungeon_CreateBattle; - } - } - public TimeAttackDungeonRoomDB RoomDB { get; set; } - public ParcelResultDB ParcelResultDB { get; set; } - } - - - public class WeekDungeonListRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WeekDungeon_List; - } - } - } - - - public class WorldRaidReceiveRewardRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_ReceiveReward; - } - } - public long SeasonId { get; set; } - } - - - public class WorldRaidLobbyRequest : RequestPacket - { - public override Protocol Protocol - { - get - { - return NetworkProtocol.Protocol.WorldRaid_Lobby; - } - } - public long SeasonId { get; set; } - } } diff --git a/SCHALE.Common/Parcel/parcel.cs b/SCHALE.Common/Parcel/parcel.cs deleted file mode 100644 index 911cd5d..0000000 --- a/SCHALE.Common/Parcel/parcel.cs +++ /dev/null @@ -1,338 +0,0 @@ - -using Newtonsoft.Json; -using SCHALE.Common.Database; -using SCHALE.Common.FlatData; -using System.Net.NetworkInformation; - -namespace SCHALE.Common.Parcel -{ - - public class CurrencyValue - { - public Dictionary Values { get; set; } - public Dictionary Tickets { get; set; } - public Dictionary 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 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 Rewards { get; set; } - public bool IsEmpty { get; set; } - } - - - public class LocationExpTransaction - { - public ParcelType Type { get; set; } - public IEnumerable ParcelInfos { get; set; } - public long TargetLocationUniqueId { get; set; } - public long Amount { get; set; } - } - - - public abstract class ParcelBase - { - public abstract ParcelType Type { get; } - - [JsonIgnore] - public abstract IEnumerable ParcelInfos { get; } - } - - - public class ParcelCost - { - public List ParcelInfos { get; set; } - public CurrencyTransaction Currency { get; set; } - public List EquipmentDBs { get; set; } - public List ItemDBs { get; set; } - public List FurnitureDBs { get; set; } - public bool HasCurrency { get; set; } - public bool HasItem { get; set; } - public IEnumerable ConsumableItemBaseDBs { get; set; } - public ConsumeCondition ConsumeCondition { get; set; } - } - - - public class ParcelDetail - { - public ParcelInfo OriginParcel { get; set; } - public ParcelInfo MailSendParcel { get; set; } - public List ConvertedParcelInfos { get; set; } - public ParcelChangeType ParcelChangeType { get; set; } - } - - [Serializable] - public struct BasisPoint : IEquatable, IComparable - { - //[JsonIgnore] - //public long RawValue - //{ - // get - // { - // return this.rawValue; - // } - //} - - private static readonly long Multiplier; - - private static readonly double OneOver10_4 = 1.0 / 10000.0; - - public static readonly BasisPoint Zero; - - public static readonly BasisPoint One; - - public static readonly BasisPoint Epsilon; - - public static readonly double DoubleEpsilon; - - public long rawValue { get; set; } - - public BasisPoint(long rawValue) - { - this.rawValue = rawValue; - } - - public bool Equals(BasisPoint other) - { - return this.rawValue == other.rawValue; - } - - public int CompareTo(BasisPoint other) - { - return rawValue.CompareTo(other.rawValue); - } - - public static long operator *(long value, BasisPoint other) - { - return MultiplyLong(value, other); - } - - public static long MultiplyLong(long value, BasisPoint other) - { - double result = OneOver10_4 * ((double)other.rawValue * value); - - if (double.IsInfinity(result)) - return long.MaxValue; - - return (long)result; - } - } - - public class ParcelInfo : IEquatable - { - public long Amount { get; set; } - - public ParcelKeyPair Key { get; set; } - - public BasisPoint Multiplier { get; set; } - - [JsonIgnore] - public long MultipliedAmount - { - get - { - return Amount * Multiplier; - } - } - - public BasisPoint Probability { get; set; } - - public bool Equals(ParcelInfo? other) - { - return this.Key.Id.Equals(other.Key.Id); - } - } - - public class ParcelKeyPair : IEquatable, IComparable - { - public static readonly ParcelKeyPair Empty; - - public ParcelType Type { get; set; } - - public long Id { get; set; } - - public int CompareTo(ParcelKeyPair? other) - { - return Id.CompareTo(other.Id); - } - - public bool Equals(ParcelKeyPair? other) - { - return Id.Equals(other.Id); - } - } - - - public class ParcelResultDB - { - public AccountDB AccountDB { get; set; } - public List AcademyLocationDBs { get; set; } - public AccountCurrencyDB AccountCurrencyDB { get; set; } - public List CharacterDBs { get; set; } - public List WeaponDBs { get; set; } - public List CostumeDBs { get; set; } - public List TSSCharacterDBs { get; set; } - public Dictionary EquipmentDBs { get; set; } - public List RemovedEquipmentIds { get; set; } - public Dictionary ItemDBs { get; set; } - public List RemovedItemIds { get; set; } - public Dictionary FurnitureDBs { get; set; } - public List RemovedFurnitureIds { get; set; } - public Dictionary IdCardBackgroundDBs { get; set; } - public List EmblemDBs { get; set; } - public List StickerDBs { get; set; } - public List MemoryLobbyDBs { get; set; } - public List CharacterNewUniqueIds { get; set; } - public Dictionary SecretStoneCharacterIdAndCounts { get; set; } - public List DisplaySequence { get; set; } - public List ParcelForMission { get; set; } - public List ParcelResultStepInfoList { get; set; } - public long BaseAccountExp { get; set; } - public long AdditionalAccountExp { get; set; } - public List 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 StepParcelDetails { get; set; } - } - - public class AccountExpTransaction - { - public ParcelType Type { get; set; } - public IEnumerable ParcelInfos { get; set; } - public long Amount { get; set; } - } - - - public class CharacterExpTransaction - { - public ParcelType Type { get; set; } - public IEnumerable ParcelInfos { get; set; } - public long TargetCharacterUniqueId { get; set; } - public long Amount { get; set; } - } - - - public class CurrencySnapshot - { - public AccountCurrencyDB LastAccountCurrencyDB { get; set; } - public Dictionary 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 ParcelInfos { get; set; } - public IDictionary 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; } - } -} \ No newline at end of file diff --git a/SCHALE.Common/SCHALE.Common.csproj b/SCHALE.Common/SCHALE.Common.csproj index 9087f55..0e03d11 100644 --- a/SCHALE.Common/SCHALE.Common.csproj +++ b/SCHALE.Common/SCHALE.Common.csproj @@ -7,6 +7,12 @@ true + + + + + + @@ -18,6 +24,8 @@ + + diff --git a/SCHALE.GameClient/GameClient.cs b/SCHALE.GameClient/GameClient.cs deleted file mode 100644 index 5955f5c..0000000 --- a/SCHALE.GameClient/GameClient.cs +++ /dev/null @@ -1,166 +0,0 @@ -using Microsoft.AspNetCore.Http; -using Microsoft.IdentityModel.Tokens; -using MX.Core.Crypto; -using SCHALE.Common.NetworkProtocol; -using SCHALE.GameServer.Utils; -using Serilog; -using System.Text.Json; - -namespace SCHALE.GameServer.Services -{ - public class GameClient - { - private readonly HttpClient httpClient; - - public static readonly string PS_URL = "http://10.0.0.149/api/gateway"; - public static readonly string MITM_URL = "http://10.0.0.149:8080"; - public static readonly string OFFICIAL_API_URL = "https://prod-game.bluearchiveyostar.com:5000/api/gateway"; - - private long AccountServerId = -1; - private string MxToken = ""; - private long Hash = 0; - - public GameClient() - { - Log.Logger = new LoggerConfiguration() - .WriteTo.Console() - .WriteTo.File("logs/log.txt", rollingInterval: RollingInterval.Day) - .CreateLogger(); - - Log.Information("Application starting up..."); - - httpClient = new HttpClient(); - } - - public static async Task Main(string[] args) - { - GameClient gameClient = new GameClient(); - - if (args.Length < 2 && (gameClient.AccountServerId == -1 || gameClient.MxToken == "")) - { - Log.Information("Please input the nessary data."); - return; - } - - if (gameClient.AccountServerId == -1) - { - gameClient.AccountServerId = int.Parse(args[0]); - } - - if (gameClient.MxToken.IsNullOrEmpty()) - { - gameClient.MxToken = args[1]; - } - - await gameClient.SendPostRequestAsync(OFFICIAL_API_URL, new AccountLoginSyncRequest() - { - SyncProtocols = [Protocol.Item_List], - }); - - //var EliminateRaid_CreateBattlePcap = PcapUtils.GetPacketFromPcap(Protocol.EliminateRaid_CreateBattle, PacketType.Request); - //var EliminateRaid_EndBattlePcap = PcapUtils.GetPacketFromPcap(Protocol.EliminateRaid_EndBattle, PacketType.Request); - - //EliminateRaid_CreateBattlePcap.IsPractice = false; - //EliminateRaid_EndBattlePcap.IsPractice = false; - - //await gameClient.SendPostRequestAsync(OFFICIAL_API_URL, EliminateRaid_CreateBattlePcap); - //await gameClient.SendPostRequestAsync(OFFICIAL_API_URL, EliminateRaid_EndBattlePcap); - //EliminateRaid_EndBattlePcap.RaidServerId = 2; - - //await gameClient.SendPostRequestAsync(OFFICIAL_API_URL, new AcademyGetInfoRequest(){ }); - /* - await gameClient.SendPostRequestAsync(OFFICIAL_API_URL, new ShopBuyGacha3Request() - { - FreeRecruitId = 0, - Cost = new() - { - ParcelInfos = [ - new() - { - Key = new() - { - Type = ParcelType.Currency, - Id = 4, - }, - Amount = 120, - Multiplier = new(10000), - Probability = new(10000) - } - ], - - Currency = new() - { - currencyValue = new() - { - Values = new() - { - { CurrencyTypes.Gem, 120 } - }, - Tickets = new() { }, - Property = new() { }, - Gem = 120, - IsEmpty = false - }, - - Gold = 0, - Gem = 120, - - }, - EquipmentDBs = [], - ItemDBs = [], - FurnitureDBs = [], - ConsumeCondition = 0, - }, - GoodsId = 35840, - ShopUniqueId = 50668, - }); - */ - } - - public async Task SendPostRequestAsync(string url, T requestPacket) where T : RequestPacket - { - requestPacket.SessionKey = new() - { - MxToken = this.MxToken, - AccountServerId = this.AccountServerId, - }; - - requestPacket.Hash = this.Hash; - requestPacket.Resendable = true; - requestPacket.ClientUpTime = 0; - requestPacket.IsTest = false; - - string packetJsonStr = JsonSerializer.Serialize((T)requestPacket); - //packetJsonStr = "{{\"Protocol\":45006,\"EchelonId\":1,\"RaidServerId\":0,\"IsPractice\":true,\"Summary\":{\"IsAbort\":false,\"IsDefeatBattle\":false,\"HashKey\":0,\"IsBossBattle\":true,\"BattleType\":16384,\"StageId\":2032301,\"GroundId\":6022301,\"Winner\":\"Group01\",\"EndType\":4,\"EndFrame\":4983,\"Group01Summary\":{\"TeamId\":1,\"LeaderEntityId\":{\"uniqueId\":16777217},\"Heroes\":[{\"ServerId\":278143883,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777217},\"CharacterId\":10036,\"CostumeId\":0,\"Grade\":5,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":3,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":3,\"FavorRank\":7,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":21369,\"End\":21369},{\"Stat\":2,\"Start\":2354,\"End\":2354},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":4641,\"End\":4641},{\"Stat\":5,\"Start\":101,\"End\":101},{\"Stat\":7,\"Start\":1086,\"End\":1086},{\"Stat\":9,\"Start\":282,\"End\":282},{\"Stat\":12,\"Start\":20000,\"End\":24624},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9922,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":14,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":3505,\"AverageCriticalRate\":2307,\"AverageStabilityRate\":8517,\"AverageAccuracyRate\":8188,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":99250,\"AppliedSum\":40481,\"Count\":18,\"CriticalMultiplierMax\":19624,\"CriticalCount\":4,\"CalculatedMin\":4010,\"CalculatedMax\":8400,\"AppliedMin\":378,\"AppliedMax\":8448},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":5,\"CalculatedSum\":49467,\"AppliedSum\":0,\"Count\":38,\"CriticalMultiplierMax\":19624,\"CriticalCount\":9,\"CalculatedMin\":955,\"CalculatedMax\":2006,\"AppliedMin\":0,\"AppliedMax\":0},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":229367,\"AppliedSum\":12546,\"Count\":16,\"CriticalMultiplierMax\":19624,\"CriticalCount\":6,\"CalculatedMin\":9808,\"CalculatedMax\":20496,\"AppliedMin\":0,\"AppliedMax\":3711},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":450638,\"AppliedSum\":67764,\"Count\":32,\"CriticalMultiplierMax\":19624,\"CriticalCount\":5,\"CalculatedMin\":9926,\"CalculatedMax\":20251,\"AppliedMin\":825,\"AppliedMax\":3711}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":264,\"AppliedSum\":167,\"Count\":6,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":22,\"CalculatedMax\":86,\"AppliedMin\":13,\"AppliedMax\":81}],\"Equipments\":[{\"ServerId\":1592147985,\"UniqueId\":1001,\"Level\":20,\"Tier\":2},{\"ServerId\":1592251648,\"UniqueId\":6001,\"Level\":20,\"Tier\":2},{\"ServerId\":1694587612,\"UniqueId\":8000,\"Level\":10,\"Tier\":1}],\"CharacterWeapon\":{\"UniqueId\":10036,\"StarGrade\":1,\"Level\":1},\"SkillCount\":{\"PublicSkill01\":7,\"ExSkill01\":4},\"KillLog\":{\"16777224\":311,\"16777226\":537,\"16777227\":602,\"16777231\":682,\"16777236\":1051,\"16777237\":1051,\"16777239\":1041,\"16777240\":1187,\"16777243\":1058,\"16777245\":1066,\"16777247\":1041,\"16777248\":1041,\"16777249\":1066,\"16777250\":1066,\"16777256\":1599,\"16777259\":1970,\"16777260\":1970,\"16777262\":1970,\"16777264\":1970,\"16777268\":1834,\"16777271\":2550,\"16777275\":2365,\"16777279\":2430,\"16777290\":3127,\"16777291\":3152,\"16777292\":3137,\"16777293\":3152,\"16777296\":3127,\"16777297\":3039,\"16777298\":3152,\"16777299\":3127,\"16777300\":3152,\"16777307\":3398,\"16777310\":3718,\"16777312\":3924,\"16777314\":4191,\"16777317\":4071,\"16777319\":3846,\"16777322\":4479,\"16777324\":4485,\"16777325\":4494,\"16777326\":4499,\"16777328\":4469,\"16777329\":4469,\"16777330\":4870,\"16777331\":4740,\"16777332\":4631}},{\"ServerId\":1697599534,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777218},\"CharacterId\":10014,\"CostumeId\":0,\"Grade\":3,\"Level\":51,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":1,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":24420,\"End\":24420},{\"Stat\":2,\"Start\":1740,\"End\":1740},{\"Stat\":3,\"Start\":110,\"End\":110},{\"Stat\":4,\"Start\":3751,\"End\":3751},{\"Stat\":5,\"Start\":108,\"End\":108},{\"Stat\":7,\"Start\":1066,\"End\":1066},{\"Stat\":9,\"Start\":246,\"End\":246},{\"Stat\":12,\"Start\":20000,\"End\":24624},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9796,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":42,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":2091,\"AverageCriticalRate\":2727,\"AverageStabilityRate\":8897,\"AverageAccuracyRate\":8000,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":319804,\"AppliedSum\":57548,\"Count\":97,\"CriticalMultiplierMax\":19624,\"CriticalCount\":27,\"CalculatedMin\":2736,\"CalculatedMax\":4168,\"AppliedMin\":0,\"AppliedMax\":2177},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":46190,\"AppliedSum\":6189,\"Count\":3,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":13976,\"CalculatedMax\":17912,\"AppliedMin\":1166,\"AppliedMax\":3711}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":933,\"AppliedSum\":500,\"Count\":29,\"CriticalMultiplierMax\":15000,\"CriticalCount\":3,\"CalculatedMin\":22,\"CalculatedMax\":86,\"AppliedMin\":7,\"AppliedMax\":80}],\"SkillCount\":{\"PublicSkill01\":6,\"ExSkill01\":2},\"KillLog\":{\"16777221\":419,\"16777222\":323,\"16777232\":737,\"16777235\":836,\"16777242\":995,\"16777244\":1092,\"16777246\":1140,\"16777261\":1750,\"16777266\":1953,\"16777273\":2324,\"16777274\":2362,\"16777277\":2400,\"16777309\":3616,\"16777313\":3973,\"16777316\":4074,\"16777318\":3829,\"16777327\":4443}},{\"ServerId\":1715188081,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777219},\"CharacterId\":10040,\"CostumeId\":0,\"Grade\":3,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":6,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":31409,\"End\":35806},{\"Stat\":2,\"Start\":1449,\"End\":1449},{\"Stat\":3,\"Start\":127,\"End\":127},{\"Stat\":4,\"Start\":4160,\"End\":4160},{\"Stat\":5,\"Start\":109,\"End\":109},{\"Stat\":7,\"Start\":1307,\"End\":1307},{\"Stat\":9,\"Start\":218,\"End\":218},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9476,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":319,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":1449,\"AverageCriticalRate\":2542,\"AverageStabilityRate\":8862,\"AverageAccuracyRate\":7814,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":240420,\"AppliedSum\":42986,\"Count\":117,\"CriticalMultiplierMax\":16824,\"CriticalCount\":30,\"CalculatedMin\":1758,\"CalculatedMax\":2313,\"AppliedMin\":0,\"AppliedMax\":946},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":7916,\"AppliedSum\":1312,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":7916,\"CalculatedMax\":7916,\"AppliedMin\":1312,\"AppliedMax\":1312}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":6488,\"AppliedSum\":1879,\"Count\":163,\"CriticalMultiplierMax\":15000,\"CriticalCount\":11,\"CalculatedMin\":22,\"CalculatedMax\":261,\"AppliedMin\":7,\"AppliedMax\":30}],\"Equipments\":[{\"ServerId\":1726081170,\"UniqueId\":3000,\"Level\":1,\"Tier\":1},{\"ServerId\":1726081290,\"UniqueId\":5000,\"Level\":1,\"Tier\":1},{\"ServerId\":1726081335,\"UniqueId\":7000,\"Level\":1,\"Tier\":1}],\"SkillCount\":{\"PublicSkill01\":5},\"KillLog\":{\"16777228\":655,\"16777229\":542,\"16777258\":1917,\"16777263\":1859,\"16777265\":1795,\"16777321\":4088}},{\"ServerId\":1177637528,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777220},\"CharacterId\":10052,\"CostumeId\":0,\"Grade\":4,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":7,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":20832,\"End\":23748},{\"Stat\":2,\"Start\":1365,\"End\":1365},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":4198,\"End\":4198},{\"Stat\":5,\"Start\":100,\"End\":100},{\"Stat\":7,\"Start\":1090,\"End\":1090},{\"Stat\":9,\"Start\":201,\"End\":201},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9886,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":5,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":1365,\"AverageCriticalRate\":2686,\"AverageStabilityRate\":8480,\"AverageAccuracyRate\":7976,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":70436,\"AppliedSum\":41004,\"Count\":31,\"CriticalMultiplierMax\":16824,\"CriticalCount\":5,\"CalculatedMin\":1912,\"CalculatedMax\":2712,\"AppliedMin\":0,\"AppliedMax\":2568},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":338036,\"AppliedSum\":5294,\"Count\":36,\"CriticalMultiplierMax\":16824,\"CriticalCount\":13,\"CalculatedMin\":7756,\"CalculatedMax\":10850,\"AppliedMin\":0,\"AppliedMax\":1627}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":282,\"AppliedSum\":272,\"Count\":7,\"CriticalMultiplierMax\":15000,\"CriticalCount\":1,\"CalculatedMin\":22,\"CalculatedMax\":86,\"AppliedMin\":20,\"AppliedMax\":81}],\"Equipments\":[{\"ServerId\":1594910537,\"UniqueId\":3000,\"Level\":1,\"Tier\":1},{\"ServerId\":1592474928,\"UniqueId\":6000,\"Level\":1,\"Tier\":1},{\"ServerId\":1694588019,\"UniqueId\":7000,\"Level\":1,\"Tier\":1}],\"SkillCount\":{\"ExSkill01\":3,\"PublicSkill01\":5},\"KillLog\":{\"16777223\":361,\"16777225\":301,\"16777230\":507,\"16777233\":736,\"16777234\":797,\"16777257\":1636,\"16777267\":1913,\"16777269\":2070,\"16777272\":2226,\"16777276\":2284,\"16777280\":2345,\"16777284\":2404,\"16777303\":3435,\"16777306\":3495,\"16777311\":4098,\"16777320\":4158}}],\"Supporters\":[{\"ServerId\":2388633606,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":1073741825},\"CharacterId\":20036,\"CostumeId\":0,\"Grade\":5,\"Level\":53,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":1,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":11218,\"End\":11218},{\"Stat\":2,\"Start\":2779,\"End\":3168},{\"Stat\":3,\"Start\":227,\"End\":227},{\"Stat\":4,\"Start\":5035,\"End\":5035},{\"Stat\":5,\"Start\":686,\"End\":686},{\"Stat\":7,\"Start\":755,\"End\":755},{\"Stat\":9,\"Start\":263,\"End\":263},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":0,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":3168,\"AverageCriticalRate\":3333,\"AverageStabilityRate\":8822,\"AverageAccuracyRate\":10000,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":95888,\"AppliedSum\":21788,\"Count\":17,\"CriticalMultiplierMax\":16824,\"CriticalCount\":7,\"CalculatedMin\":5180,\"CalculatedMax\":6216,\"AppliedMin\":160,\"AppliedMax\":3266},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":679362,\"AppliedSum\":96652,\"Count\":19,\"CriticalMultiplierMax\":16824,\"CriticalCount\":5,\"CalculatedMin\":32738,\"CalculatedMax\":40224,\"AppliedMin\":1312,\"AppliedMax\":36874}],\"SkillCount\":{\"PublicSkill01\":4,\"ExSkill01\":4},\"KillLog\":{\"16777238\":1123,\"16777251\":1210,\"16777252\":1210,\"16777253\":1210,\"16777254\":1210,\"16777255\":1210,\"16777270\":2267,\"16777278\":2267,\"16777281\":2422,\"16777282\":2422,\"16777283\":2422,\"16777285\":2422,\"16777286\":2422,\"16777287\":2422,\"16777288\":2422,\"16777289\":4982,\"16777294\":3231,\"16777295\":3231,\"16777301\":3511,\"16777302\":3511,\"16777304\":3511,\"16777305\":3511,\"16777308\":3511,\"16777315\":4281}},{\"ServerId\":1177644207,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":1073741826},\"CharacterId\":20020,\"CostumeId\":0,\"Grade\":5,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":2,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":8,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":20508,\"End\":20508},{\"Stat\":2,\"Start\":2143,\"End\":2439},{\"Stat\":3,\"Start\":390,\"End\":390},{\"Stat\":4,\"Start\":4682,\"End\":4682},{\"Stat\":5,\"Start\":714,\"End\":714},{\"Stat\":7,\"Start\":1151,\"End\":1151},{\"Stat\":9,\"Start\":318,\"End\":318},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":0,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":2439,\"AverageCriticalRate\":6000,\"AverageStabilityRate\":8482,\"AverageAccuracyRate\":10000,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":19227,\"AppliedSum\":6650,\"Count\":5,\"CriticalMultiplierMax\":16824,\"CriticalCount\":3,\"CalculatedMin\":3464,\"CalculatedMax\":4334,\"AppliedMin\":0,\"AppliedMax\":3711}],\"Equipments\":[{\"ServerId\":1594909878,\"UniqueId\":3001,\"Level\":20,\"Tier\":2},{\"ServerId\":1594909884,\"UniqueId\":6001,\"Level\":20,\"Tier\":2},{\"ServerId\":1623780758,\"UniqueId\":8000,\"Level\":10,\"Tier\":1}],\"CharacterWeapon\":{\"UniqueId\":20020,\"StarGrade\":1,\"Level\":1},\"SkillCount\":{\"PublicSkill01\":5,\"ExSkill01\":3},\"KillLog\":{\"16777241\":959,\"16777323\":4559}}],\"UseAutoSkill\":false,\"TSSInteractionServerId\":0,\"TSSInteractionUniqueId\":0,\"AssistRelations\":{},\"SkillCostSummary\":{\"InitialCost\":0,\"CostPerFrameSnapshots\":[{\"Frame\":61,\"Regen\":0.0154999988}],\"CostAddSnapshots\":[],\"CostUseSnapshots\":[{\"Frame\":595,\"Used\":3,\"CharId\":10052,\"Level\":1},{\"Frame\":975,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":1152,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":1373,\"Used\":3,\"CharId\":10014,\"Level\":1},{\"Frame\":1640,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":1903,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":2366,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":2699,\"Used\":3,\"CharId\":10014,\"Level\":1},{\"Frame\":2925,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":3061,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":3447,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":3829,\"Used\":3,\"CharId\":10052,\"Level\":1},{\"Frame\":3888,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":4404,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":4916,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":4966,\"Used\":3,\"CharId\":10052,\"Level\":1}]}},\"Group02Summary\":{\"TeamId\":2,\"LeaderEntityId\":{\"uniqueId\":0},\"Heroes\":[{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777221},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":419,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777222},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":323,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777223},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":361,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777224},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":311,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777225},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":301,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777226},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":537,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777227},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":602,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777228},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":655,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777229},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":542,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777230},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":507,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777231},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":682,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777232},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":737,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777233},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":736,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777234},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":797,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777235},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":836,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777236},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1051,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777237},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1051,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777238},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1123,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777239},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1041,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777240},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1187,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777241},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":959,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777242},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":995,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777243},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1058,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777244},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1092,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777245},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1066,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777246},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1140,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777247},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1041,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777248},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1041,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777249},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1066,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777250},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1066,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777251},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1210,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777252},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1210,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777253},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1210,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777254},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1210,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777255},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1210,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777256},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":1599,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":37282,\"AppliedSum\":1909,\"Count\":3,\"CriticalMultiplierMax\":19624,\"CriticalCount\":1,\"CalculatedMin\":11380,\"CalculatedMax\":13012,\"AppliedMin\":0,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777257},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":1636,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":2138,\"AppliedSum\":1909,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":2138,\"CalculatedMax\":2138,\"AppliedMin\":1909,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777258},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1917,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777259},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1970,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777260},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1970,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777261},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1750,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777262},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1970,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777263},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1859,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777264},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1970,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777265},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1795,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777266},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1953,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777267},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1913,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777268},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1834,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777269},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2070,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777270},\"CharacterId\":602230110,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":1,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":660,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2267,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":3,\"CalculatedSum\":16488,\"AppliedSum\":8738,\"Count\":3,\"CriticalMultiplierMax\":16824,\"CriticalCount\":3,\"CalculatedMin\":5384,\"CalculatedMax\":5700,\"AppliedMin\":2658,\"AppliedMax\":3266}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777271},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":1,\"CrowdControlDuration\":92,\"EvadeCount\":2,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2550,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":26018,\"AppliedSum\":1909,\"Count\":2,\"CriticalMultiplierMax\":19624,\"CriticalCount\":1,\"CalculatedMin\":12547,\"CalculatedMax\":13471,\"AppliedMin\":0,\"AppliedMax\":1909},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":12102,\"AppliedSum\":0,\"Count\":4,\"CriticalMultiplierMax\":19624,\"CriticalCount\":3,\"CalculatedMin\":2670,\"CalculatedMax\":3332,\"AppliedMin\":0,\"AppliedMax\":0}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777272},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2226,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":10910,\"AppliedSum\":1909,\"Count\":5,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":2059,\"CalculatedMax\":2274,\"AppliedMin\":0,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777273},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2324,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777274},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2362,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777275},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2365,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777276},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2284,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777277},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2400,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777278},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2267,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777279},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2430,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777280},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2345,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777281},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777282},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777283},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777284},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2404,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777285},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777286},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777287},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777288},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2422,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777289},\"CharacterId\":602230101,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":80000,\"End\":80000},{\"Stat\":2,\"Start\":10,\"End\":10},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":1,\"End\":1},{\"Stat\":5,\"Start\":100,\"End\":100},{\"Stat\":7,\"Start\":200,\"End\":200},{\"Stat\":9,\"Start\":250,\"End\":250},{\"Stat\":12,\"Start\":20000,\"End\":20000},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":0,\"End\":0},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":13,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":2,\"MaxAttackPower\":10,\"AverageCriticalRate\":689,\"AverageStabilityRate\":9906,\"AverageAccuracyRate\":10000,\"DeadFrame\":4982,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":16,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":2715,\"AppliedSum\":1164,\"Count\":58,\"CriticalMultiplierMax\":15000,\"CriticalCount\":4,\"CalculatedMin\":22,\"CalculatedMax\":261,\"AppliedMin\":7,\"AppliedMax\":81}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":178868,\"AppliedSum\":3379,\"Count\":17,\"CriticalMultiplierMax\":19624,\"CriticalCount\":5,\"CalculatedMin\":8144,\"CalculatedMax\":20496,\"AppliedMin\":76,\"AppliedMax\":1216},{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":3,\"CalculatedSum\":42055,\"AppliedSum\":2389,\"Count\":8,\"CriticalMultiplierMax\":16824,\"CriticalCount\":3,\"CalculatedMin\":3530,\"CalculatedMax\":6216,\"AppliedMin\":160,\"AppliedMax\":636},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":71654,\"AppliedSum\":8522,\"Count\":5,\"CriticalMultiplierMax\":19624,\"CriticalCount\":1,\"CalculatedMin\":11400,\"CalculatedMax\":19432,\"AppliedMin\":1075,\"AppliedMax\":3597},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":188693,\"AppliedSum\":25666,\"Count\":70,\"CriticalMultiplierMax\":19624,\"CriticalCount\":20,\"CalculatedMin\":1763,\"CalculatedMax\":5592,\"AppliedMin\":0,\"AppliedMax\":8448},{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":2,\"CalculatedSum\":66616,\"AppliedSum\":40039,\"Count\":2,\"CriticalMultiplierMax\":16824,\"CriticalCount\":1,\"CalculatedMin\":33066,\"CalculatedMax\":33550,\"AppliedMin\":3165,\"AppliedMax\":36874}],\"SkillCount\":{\"ExSkill01\":5}}],\"UseAutoSkill\":false,\"TSSInteractionServerId\":0,\"TSSInteractionUniqueId\":0,\"AssistRelations\":{},\"SkillCostSummary\":{\"InitialCost\":0,\"CostPerFrameSnapshots\":[],\"CostAddSnapshots\":[],\"CostUseSnapshots\":[]}},\"RaidSummary\":{\"RaidSeasonId\":19,\"RaidBossResults\":[{\"RaidDamage\":{\"Index\":0,\"GivenDamage\":80000,\"GivenGroggyPoint\":1000000000},\"EndHpRateRawValue\":0,\"GroggyRateRawValue\":0,\"GroggyCount\":1,\"SubPartsHPs\":null,\"AIPhase\":1}]},\"ElapsedRealtime\":144.95076},\"AssistUseInfo\":null,\"ClientUpTime\":158,\"Resendable\":true,\"Hash\":154623117623421,\"IsTest\":false,\"SessionKey\":{\"AccountServerId\":50868960,\"MxToken\":\"+w+2H3TTud1L5ml4caWAzAw0V/fYOwF/Vm3u7CO7Ky0=\"},\"AccountId\":50868960}}"; - //packetJsonStr = "{\"Protocol\":45006,\"EchelonId\":1,\"RaidServerId\":2,\"IsPractice\":true,\"Summary\":{\"IsAbort\":false,\"IsDefeatBattle\":false,\"HashKey\":0,\"IsBossBattle\":true,\"BattleType\":16384,\"StageId\":2032301,\"GroundId\":6022301,\"Winner\":\"Group01\",\"EndType\":4,\"EndFrame\":5325,\"Group01Summary\":{\"TeamId\":1,\"LeaderEntityId\":{\"uniqueId\":16777217},\"Heroes\":[{\"ServerId\":278143883,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777217},\"CharacterId\":10036,\"CostumeId\":0,\"Grade\":5,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":3,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":3,\"FavorRank\":7,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":21369,\"End\":21369},{\"Stat\":2,\"Start\":2354,\"End\":2354},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":4641,\"End\":4641},{\"Stat\":5,\"Start\":101,\"End\":101},{\"Stat\":7,\"Start\":1086,\"End\":1086},{\"Stat\":9,\"Start\":282,\"End\":282},{\"Stat\":12,\"Start\":20000,\"End\":24624},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9858,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":14,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":3505,\"AverageCriticalRate\":3097,\"AverageStabilityRate\":8602,\"AverageAccuracyRate\":7902,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":109804,\"AppliedSum\":36801,\"Count\":20,\"CriticalMultiplierMax\":19624,\"CriticalCount\":4,\"CalculatedMin\":3936,\"CalculatedMax\":8083,\"AppliedMin\":0,\"AppliedMax\":5109},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":5,\"CalculatedSum\":58493,\"AppliedSum\":0,\"Count\":45,\"CriticalMultiplierMax\":19624,\"CriticalCount\":13,\"CalculatedMin\":960,\"CalculatedMax\":2018,\"AppliedMin\":0,\"AppliedMax\":0},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":229937,\"AppliedSum\":18046,\"Count\":16,\"CriticalMultiplierMax\":19624,\"CriticalCount\":6,\"CalculatedMin\":10149,\"CalculatedMax\":19756,\"AppliedMin\":0,\"AppliedMax\":3711},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":387477,\"AppliedSum\":72120,\"Count\":32,\"CriticalMultiplierMax\":19624,\"CriticalCount\":12,\"CalculatedMin\":10252,\"CalculatedMax\":14162,\"AppliedMin\":929,\"AppliedMax\":3711}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":544,\"AppliedSum\":305,\"Count\":13,\"CriticalMultiplierMax\":15000,\"CriticalCount\":5,\"CalculatedMin\":33,\"CalculatedMax\":87,\"AppliedMin\":7,\"AppliedMax\":123}],\"Equipments\":[{\"ServerId\":1592147985,\"UniqueId\":1001,\"Level\":20,\"Tier\":2},{\"ServerId\":1592251648,\"UniqueId\":6001,\"Level\":20,\"Tier\":2},{\"ServerId\":1694587612,\"UniqueId\":8000,\"Level\":10,\"Tier\":1}],\"CharacterWeapon\":{\"UniqueId\":10036,\"StarGrade\":1,\"Level\":1},\"SkillCount\":{\"PublicSkill01\":8,\"ExSkill01\":4},\"KillLog\":{\"16777222\":311,\"16777224\":246,\"16777226\":540,\"16777231\":605,\"16777232\":686,\"16777239\":949,\"16777246\":938,\"16777247\":938,\"16777248\":949,\"16777249\":964,\"16777250\":964,\"16777256\":1914,\"16777259\":1924,\"16777260\":1832,\"16777262\":1924,\"16777263\":1939,\"16777264\":1914,\"16777265\":1939,\"16777268\":2079,\"16777271\":2353,\"16777274\":2763,\"16777275\":2416,\"16777277\":2494,\"16777279\":2660,\"16777290\":3475,\"16777291\":3449,\"16777294\":3475,\"16777298\":3460,\"16777299\":3460,\"16777301\":3475,\"16777303\":3460,\"16777304\":3449,\"16777308\":3911,\"16777309\":3846,\"16777313\":4023,\"16777316\":4387,\"16777318\":4406,\"16777319\":4406,\"16777320\":4406,\"16777321\":4376,\"16777322\":4387,\"16777323\":4376,\"16777327\":4810,\"16777329\":4745,\"16777331\":5115,\"16777333\":4983,\"16777335\":5196}},{\"ServerId\":1697599534,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777218},\"CharacterId\":10014,\"CostumeId\":0,\"Grade\":3,\"Level\":51,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":1,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":24420,\"End\":24420},{\"Stat\":2,\"Start\":1740,\"End\":2091},{\"Stat\":3,\"Start\":110,\"End\":110},{\"Stat\":4,\"Start\":3751,\"End\":3751},{\"Stat\":5,\"Start\":108,\"End\":108},{\"Stat\":7,\"Start\":1066,\"End\":1066},{\"Stat\":9,\"Start\":246,\"End\":246},{\"Stat\":12,\"Start\":20000,\"End\":24624},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":12744},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9788,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":91,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":2091,\"AverageCriticalRate\":2018,\"AverageStabilityRate\":8962,\"AverageAccuracyRate\":8384,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":354526,\"AppliedSum\":59369,\"Count\":103,\"CriticalMultiplierMax\":19624,\"CriticalCount\":21,\"CalculatedMin\":2742,\"CalculatedMax\":4146,\"AppliedMin\":0,\"AppliedMax\":2541},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":85700,\"AppliedSum\":12465,\"Count\":6,\"CriticalMultiplierMax\":19624,\"CriticalCount\":1,\"CalculatedMin\":12378,\"CalculatedMax\":17676,\"AppliedMin\":1182,\"AppliedMax\":3711}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":1494,\"AppliedSum\":520,\"Count\":40,\"CriticalMultiplierMax\":15000,\"CriticalCount\":5,\"CalculatedMin\":22,\"CalculatedMax\":85,\"AppliedMin\":7,\"AppliedMax\":118}],\"SkillCount\":{\"PublicSkill01\":6,\"ExSkill01\":3},\"KillLog\":{\"16777221\":371,\"16777227\":517,\"16777228\":566,\"16777240\":1239,\"16777241\":1102,\"16777244\":995,\"16777278\":2508,\"16777280\":2417,\"16777281\":2949,\"16777284\":2543,\"16777285\":2582,\"16777286\":2676,\"16777287\":2900,\"16777296\":3432,\"16777297\":3700,\"16777300\":3700,\"16777302\":3600,\"16777317\":4332,\"16777330\":4830}},{\"ServerId\":1715188081,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777219},\"CharacterId\":10040,\"CostumeId\":0,\"Grade\":3,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":6,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":31409,\"End\":35806},{\"Stat\":2,\"Start\":1449,\"End\":1449},{\"Stat\":3,\"Start\":127,\"End\":127},{\"Stat\":4,\"Start\":4160,\"End\":4160},{\"Stat\":5,\"Start\":109,\"End\":109},{\"Stat\":7,\"Start\":1307,\"End\":1307},{\"Stat\":9,\"Start\":218,\"End\":218},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9450,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":269,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":1449,\"AverageCriticalRate\":2809,\"AverageStabilityRate\":8766,\"AverageAccuracyRate\":7562,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":241560,\"AppliedSum\":40067,\"Count\":119,\"CriticalMultiplierMax\":16824,\"CriticalCount\":34,\"CalculatedMin\":1766,\"CalculatedMax\":2305,\"AppliedMin\":0,\"AppliedMax\":928},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":17596,\"AppliedSum\":2859,\"Count\":2,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":8156,\"CalculatedMax\":9440,\"AppliedMin\":1256,\"AppliedMax\":1603}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":5298,\"AppliedSum\":1971,\"Count\":149,\"CriticalMultiplierMax\":15000,\"CriticalCount\":5,\"CalculatedMin\":22,\"CalculatedMax\":87,\"AppliedMin\":7,\"AppliedMax\":80}],\"Equipments\":[{\"ServerId\":1726081170,\"UniqueId\":3000,\"Level\":1,\"Tier\":1},{\"ServerId\":1726081290,\"UniqueId\":5000,\"Level\":1,\"Tier\":1},{\"ServerId\":1726081335,\"UniqueId\":7000,\"Level\":1,\"Tier\":1}],\"SkillCount\":{\"PublicSkill01\":5},\"KillLog\":{\"16777223\":393,\"16777229\":538,\"16777234\":676,\"16777235\":736,\"16777243\":946,\"16777252\":1185,\"16777261\":1911,\"16777273\":2449,\"16777282\":2813,\"16777283\":2591,\"16777289\":5324,\"16777293\":3429,\"16777314\":4229,\"16777315\":4167,\"16777326\":4581,\"16777332\":4776,\"16777336\":5209}},{\"ServerId\":1177637528,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":16777220},\"CharacterId\":10052,\"CostumeId\":0,\"Grade\":4,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":7,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":20832,\"End\":23748},{\"Stat\":2,\"Start\":1365,\"End\":1365},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":4198,\"End\":4198},{\"Stat\":5,\"Start\":100,\"End\":100},{\"Stat\":7,\"Start\":1090,\"End\":1090},{\"Stat\":9,\"Start\":201,\"End\":201},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":9901,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":28,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":1365,\"AverageCriticalRate\":2083,\"AverageStabilityRate\":8420,\"AverageAccuracyRate\":8181,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":67716,\"AppliedSum\":41087,\"Count\":29,\"CriticalMultiplierMax\":16824,\"CriticalCount\":6,\"CalculatedMin\":1924,\"CalculatedMax\":2718,\"AppliedMin\":0,\"AppliedMax\":3711},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":390394,\"AppliedSum\":1231,\"Count\":43,\"CriticalMultiplierMax\":16824,\"CriticalCount\":9,\"CalculatedMin\":7610,\"CalculatedMax\":10608,\"AppliedMin\":0,\"AppliedMax\":360}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":430,\"AppliedSum\":237,\"Count\":13,\"CriticalMultiplierMax\":15000,\"CriticalCount\":1,\"CalculatedMin\":22,\"CalculatedMax\":86,\"AppliedMin\":7,\"AppliedMax\":81}],\"Equipments\":[{\"ServerId\":1594910537,\"UniqueId\":3000,\"Level\":1,\"Tier\":1},{\"ServerId\":1592474928,\"UniqueId\":6000,\"Level\":1,\"Tier\":1},{\"ServerId\":1694588019,\"UniqueId\":7000,\"Level\":1,\"Tier\":1}],\"SkillCount\":{\"PublicSkill01\":5,\"ExSkill01\":3},\"KillLog\":{\"16777225\":301,\"16777230\":507,\"16777233\":649,\"16777236\":1396,\"16777237\":1336,\"16777245\":876,\"16777257\":1887,\"16777266\":2095,\"16777267\":2155,\"16777272\":2331,\"16777276\":2389,\"16777292\":3462,\"16777295\":3401,\"16777328\":4983,\"16777334\":4863}}],\"Supporters\":[{\"ServerId\":2388633606,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":1073741825},\"CharacterId\":20036,\"CostumeId\":0,\"Grade\":5,\"Level\":53,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":1,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":11218,\"End\":11218},{\"Stat\":2,\"Start\":2779,\"End\":3168},{\"Stat\":3,\"Start\":227,\"End\":227},{\"Stat\":4,\"Start\":5035,\"End\":5035},{\"Stat\":5,\"Start\":686,\"End\":686},{\"Stat\":7,\"Start\":755,\"End\":755},{\"Stat\":9,\"Start\":263,\"End\":263},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":0,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":3168,\"AverageCriticalRate\":1851,\"AverageStabilityRate\":9080,\"AverageAccuracyRate\":10000,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":514066,\"AppliedSum\":88733,\"Count\":14,\"CriticalMultiplierMax\":16824,\"CriticalCount\":2,\"CalculatedMin\":32452,\"CalculatedMax\":40200,\"AppliedMin\":1312,\"AppliedMax\":37924},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":75656,\"AppliedSum\":11548,\"Count\":13,\"CriticalMultiplierMax\":16824,\"CriticalCount\":3,\"CalculatedMin\":5278,\"CalculatedMax\":6424,\"AppliedMin\":136,\"AppliedMax\":1992}],\"SkillCount\":{\"PublicSkill01\":4,\"ExSkill01\":4},\"KillLog\":{\"16777238\":1116,\"16777251\":1116,\"16777253\":1116,\"16777254\":1116,\"16777255\":1116,\"16777269\":2181,\"16777270\":2360,\"16777305\":3833,\"16777306\":3833,\"16777307\":3833,\"16777310\":3833,\"16777311\":3833,\"16777312\":3833,\"16777324\":4445,\"16777325\":4470}},{\"ServerId\":1177644207,\"OwnerAccountId\":50868960,\"BattleEntityId\":{\"uniqueId\":1073741826},\"CharacterId\":20020,\"CostumeId\":0,\"Grade\":5,\"Level\":52,\"PotentialStatLevel\":{\"MaxHP\":0,\"AttackPower\":0,\"HealPower\":0},\"ExSkillLevel\":1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":2,\"ExtraPassiveSkillLevel\":1,\"FavorRank\":8,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":20508,\"End\":20508},{\"Stat\":2,\"Start\":2143,\"End\":2439},{\"Stat\":3,\"Start\":390,\"End\":390},{\"Stat\":4,\"Start\":4682,\"End\":4682},{\"Stat\":5,\"Start\":714,\"End\":714},{\"Stat\":7,\"Start\":1151,\"End\":1151},{\"Stat\":9,\"Start\":318,\"End\":318},{\"Stat\":12,\"Start\":20000,\"End\":21824},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":700,\"End\":775},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":0,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":2439,\"AverageCriticalRate\":2000,\"AverageStabilityRate\":9080,\"AverageAccuracyRate\":10000,\"DeadFrame\":-1,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":1,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":20582,\"AppliedSum\":6295,\"Count\":5,\"CriticalMultiplierMax\":16824,\"CriticalCount\":1,\"CalculatedMin\":3593,\"CalculatedMax\":4513,\"AppliedMin\":405,\"AppliedMax\":3711}],\"Equipments\":[{\"ServerId\":1594909878,\"UniqueId\":3001,\"Level\":20,\"Tier\":2},{\"ServerId\":1594909884,\"UniqueId\":6001,\"Level\":20,\"Tier\":2},{\"ServerId\":1623780758,\"UniqueId\":8000,\"Level\":10,\"Tier\":1}],\"CharacterWeapon\":{\"UniqueId\":20020,\"StarGrade\":1,\"Level\":1},\"SkillCount\":{\"ExSkill01\":3,\"PublicSkill01\":5},\"KillLog\":{\"16777242\":932,\"16777258\":1832,\"16777288\":2732}}],\"UseAutoSkill\":false,\"TSSInteractionServerId\":0,\"TSSInteractionUniqueId\":0,\"AssistRelations\":{},\"SkillCostSummary\":{\"InitialCost\":0,\"CostPerFrameSnapshots\":[{\"Frame\":61,\"Regen\":0.0154999988}],\"CostAddSnapshots\":[],\"CostUseSnapshots\":[{\"Frame\":319,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":872,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":1056,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":1664,\"Used\":3,\"CharId\":10014,\"Level\":1},{\"Frame\":1756,\"Used\":3,\"CharId\":10052,\"Level\":1},{\"Frame\":1849,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":2301,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":2449,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":2585,\"Used\":3,\"CharId\":10052,\"Level\":1},{\"Frame\":3381,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":3699,\"Used\":3,\"CharId\":10014,\"Level\":1},{\"Frame\":3782,\"Used\":6,\"CharId\":20036,\"Level\":1},{\"Frame\":3934,\"Used\":3,\"CharId\":20020,\"Level\":1},{\"Frame\":4311,\"Used\":6,\"CharId\":10036,\"Level\":1},{\"Frame\":4722,\"Used\":3,\"CharId\":10052,\"Level\":1},{\"Frame\":5006,\"Used\":3,\"CharId\":10014,\"Level\":1},{\"Frame\":5249,\"Used\":6,\"CharId\":20036,\"Level\":1}]}},\"Group02Summary\":{\"TeamId\":2,\"LeaderEntityId\":{\"uniqueId\":0},\"Heroes\":[{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777221},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":371,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777222},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":311,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777223},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":393,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777224},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":246,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777225},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":301,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777226},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":540,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777227},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":517,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777228},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":566,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777229},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":538,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777230},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":507,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777231},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":605,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777232},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":686,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777233},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":649,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777234},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":676,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777235},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":736,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777236},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1396,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777237},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1336,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777238},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1116,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777239},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":949,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777240},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1239,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777241},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1102,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777242},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":932,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777243},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":946,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777244},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":995,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777245},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":876,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777246},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":938,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777247},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":938,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777248},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":949,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777249},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":964,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777250},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":964,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777251},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1116,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777252},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1185,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777253},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1116,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777254},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1116,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777255},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1116,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777256},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":9898,\"AverageAccuracyRate\":5000,\"DeadFrame\":1914,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":86,\"AppliedSum\":81,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":86,\"CalculatedMax\":86,\"AppliedMin\":81,\"AppliedMax\":81}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":12302,\"AppliedSum\":1909,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":12302,\"CalculatedMax\":12302,\"AppliedMin\":1909,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777257},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":2,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":9946,\"AverageAccuracyRate\":5000,\"DeadFrame\":1887,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":86,\"AppliedSum\":81,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":86,\"CalculatedMax\":86,\"AppliedMin\":81,\"AppliedMax\":81}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":6242,\"AppliedSum\":1549,\"Count\":3,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":1769,\"CalculatedMax\":2265,\"AppliedMin\":439,\"AppliedMax\":562},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":86186,\"AppliedSum\":360,\"Count\":9,\"CriticalMultiplierMax\":16824,\"CriticalCount\":5,\"CalculatedMin\":7610,\"CalculatedMax\":10608,\"AppliedMin\":0,\"AppliedMax\":360}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777258},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1832,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777259},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1924,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777260},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1832,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777261},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1911,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777262},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1924,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777263},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":1939,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777264},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":1914,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777265},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":1939,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777266},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2095,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777267},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2155,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777268},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2079,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777269},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2181,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777270},\"CharacterId\":602230110,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":1,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":660,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2360,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":2,\"CalculatedSum\":33542,\"AppliedSum\":8738,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":33542,\"CalculatedMax\":33542,\"AppliedMin\":8738,\"AppliedMax\":8738}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777271},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2353,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":5544,\"AppliedSum\":1909,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":5544,\"CalculatedMax\":5544,\"AppliedMin\":1909,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777272},\"CharacterId\":602230108,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":-1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":-1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":0,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":219,\"AverageCriticalRate\":0,\"AverageStabilityRate\":0,\"AverageAccuracyRate\":0,\"DeadFrame\":2331,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":4,\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":2104,\"AppliedSum\":1909,\"Count\":1,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":2104,\"CalculatedMax\":2104,\"AppliedMin\":1909,\"AppliedMax\":1909}]},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777273},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2449,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777274},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":2763,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777275},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":2416,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777276},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2389,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777277},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":2494,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777278},\"CharacterId\":602230104,\"CostumeId\":0,\"DeadFrame\":2508,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777279},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":2660,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777280},\"CharacterId\":602230106,\"CostumeId\":0,\"DeadFrame\":2417,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777281},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2949,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777282},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2813,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777283},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2591,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777284},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2543,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777285},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2582,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777286},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2676,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777287},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2900,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777288},\"CharacterId\":602230102,\"CostumeId\":0,\"DeadFrame\":2732,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":2},{\"ServerId\":0,\"OwnerAccountId\":0,\"BattleEntityId\":{\"uniqueId\":16777289},\"CharacterId\":602230101,\"CostumeId\":0,\"Grade\":1,\"Level\":17,\"ExSkillLevel\":1,\"PublicSkillLevel\":-1,\"PassiveSkillLevel\":1,\"ExtraPassiveSkillLevel\":-1,\"FavorRank\":0,\"StatSnapshotCollection\":[{\"Stat\":1,\"Start\":80000,\"End\":80000},{\"Stat\":2,\"Start\":10,\"End\":10},{\"Stat\":3,\"Start\":100,\"End\":100},{\"Stat\":4,\"Start\":1,\"End\":1},{\"Stat\":5,\"Start\":100,\"End\":100},{\"Stat\":7,\"Start\":200,\"End\":200},{\"Stat\":9,\"Start\":250,\"End\":250},{\"Stat\":12,\"Start\":20000,\"End\":20000},{\"Stat\":30,\"Start\":10000,\"End\":10000},{\"Stat\":34,\"Start\":10000,\"End\":10000},{\"Stat\":42,\"Start\":0,\"End\":0},{\"Stat\":44,\"Start\":0,\"End\":0}],\"HPRateBefore\":10000,\"HPRateAfter\":0,\"CrowdControlCount\":0,\"CrowdControlDuration\":0,\"EvadeCount\":7,\"DamageImmuneCount\":0,\"CrowdControlImmuneCount\":0,\"MaxAttackPower\":10,\"AverageCriticalRate\":1250,\"AverageStabilityRate\":9893,\"AverageAccuracyRate\":10000,\"DeadFrame\":5324,\"DamageGivenAbsorbedSum\":0,\"TacticEntityType\":16,\"GivenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":1846,\"AppliedSum\":1065,\"Count\":56,\"CriticalMultiplierMax\":15000,\"CriticalCount\":7,\"CalculatedMin\":22,\"CalculatedMax\":87,\"AppliedMin\":7,\"AppliedMax\":123}],\"TakenNumericLogs\":[{\"EntityType\":\"Character\",\"Category\":1,\"Source\":3,\"CalculatedSum\":131050,\"AppliedSum\":3985,\"Count\":13,\"CriticalMultiplierMax\":19624,\"CriticalCount\":1,\"CalculatedMin\":7932,\"CalculatedMax\":13116,\"AppliedMin\":74,\"AppliedMax\":1237},{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":3,\"CalculatedSum\":43334,\"AppliedSum\":2145,\"Count\":8,\"CriticalMultiplierMax\":16824,\"CriticalCount\":2,\"CalculatedMin\":4297,\"CalculatedMax\":6414,\"AppliedMin\":149,\"AppliedMax\":425},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":2,\"CalculatedSum\":59520,\"AppliedSum\":8971,\"Count\":5,\"CriticalMultiplierMax\":19624,\"CriticalCount\":3,\"CalculatedMin\":10754,\"CalculatedMax\":13116,\"AppliedMin\":1014,\"AppliedMax\":2428},{\"EntityType\":\"Character\",\"Category\":1,\"Source\":1,\"CalculatedSum\":169622,\"AppliedSum\":23321,\"Count\":52,\"CriticalMultiplierMax\":19624,\"CriticalCount\":13,\"CalculatedMin\":1766,\"CalculatedMax\":5416,\"AppliedMin\":43,\"AppliedMax\":5109},{\"EntityType\":\"Supporter\",\"Category\":1,\"Source\":2,\"CalculatedSum\":78886,\"AppliedSum\":41573,\"Count\":2,\"CriticalMultiplierMax\":10000,\"CriticalCount\":0,\"CalculatedMin\":38686,\"CalculatedMax\":40200,\"AppliedMin\":3649,\"AppliedMax\":37924}],\"SkillCount\":{\"ExSkill01\":5}}],\"UseAutoSkill\":false,\"TSSInteractionServerId\":0,\"TSSInteractionUniqueId\":0,\"AssistRelations\":{},\"SkillCostSummary\":{\"InitialCost\":0,\"CostPerFrameSnapshots\":[],\"CostAddSnapshots\":[],\"CostUseSnapshots\":[]}},\"RaidSummary\":{\"RaidSeasonId\":19,\"RaidBossResults\":[{\"RaidDamage\":{\"Index\":0,\"GivenDamage\":80000,\"GivenGroggyPoint\":1000000000},\"EndHpRateRawValue\":0,\"GroggyRateRawValue\":0,\"GroggyCount\":1,\"SubPartsHPs\":null,\"AIPhase\":1}]},\"ElapsedRealtime\":142.024963},\"AssistUseInfo\":null,\"ClientUpTime\":151,\"Resendable\":true,\"Hash\":107387067302034,\"IsTest\":false,\"SessionKey\":{\"AccountServerId\":50868960,\"MxToken\":\"+w+2H3TTud1L5ml4caWAzAw0V/fYOwF/Vm3u7CO7Ky0=\"},\"AccountId\":50868960}"; - - Log.Information("Sending Post Request to " + url); - Log.Information($"Payload: {packetJsonStr}"); - - byte[] payload = PacketCryptManager.Instance.RequestToBinary(requestPacket.Protocol, packetJsonStr); - - //File.WriteAllBytes("./mx.dat", payload); - Log.Information("Written All Bytes"); - - var request = new HttpRequestMessage(HttpMethod.Post, url); - request.Headers.Add("mx", "1"); - request.Headers.Add("Bundle-Version", "li3pmyogha"); - - var content = new MultipartFormDataContent(); - content.Add(new StreamContent(new MemoryStream(payload)), "mx", "mx.dat"); - request.Content = content; - - Log.Information("Sending POST Request!"); - var response = await httpClient.SendAsync(request); - - // Response - Log.Information("Response Details:"); - Log.Information($"Status Code: {response.StatusCode}"); - string responseBody = await response.Content.ReadAsStringAsync(); - Log.Information("Response Body:"); - Log.Information(responseBody); - - return responseBody; - } - } -} diff --git a/SCHALE.GameClient/SCHALE.GameClient.csproj b/SCHALE.GameClient/SCHALE.GameClient.csproj deleted file mode 100644 index f329f28..0000000 --- a/SCHALE.GameClient/SCHALE.GameClient.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net8.0 - enable - enable - - - - - - - - diff --git a/SCHALE.GameServer.sln b/SCHALE.GameServer.sln index e9fde27..ee9bd08 100644 --- a/SCHALE.GameServer.sln +++ b/SCHALE.GameServer.sln @@ -7,8 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SCHALE.GameServer", "SCHALE EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SCHALE.Common", "SCHALE.Common\SCHALE.Common.csproj", "{D8ED8CB5-EA39-46BE-9236-7FC1F46FE15B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SCHALE.GameClient", "SCHALE.GameClient\SCHALE.GameClient.csproj", "{27F99AC7-2101-48F3-AF4E-8AC1AA78FB32}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -23,10 +21,6 @@ Global {D8ED8CB5-EA39-46BE-9236-7FC1F46FE15B}.Debug|Any CPU.Build.0 = Debug|Any CPU {D8ED8CB5-EA39-46BE-9236-7FC1F46FE15B}.Release|Any CPU.ActiveCfg = Release|Any CPU {D8ED8CB5-EA39-46BE-9236-7FC1F46FE15B}.Release|Any CPU.Build.0 = Release|Any CPU - {27F99AC7-2101-48F3-AF4E-8AC1AA78FB32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {27F99AC7-2101-48F3-AF4E-8AC1AA78FB32}.Debug|Any CPU.Build.0 = Debug|Any CPU - {27F99AC7-2101-48F3-AF4E-8AC1AA78FB32}.Release|Any CPU.ActiveCfg = Release|Any CPU - {27F99AC7-2101-48F3-AF4E-8AC1AA78FB32}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/SCHALE.GameServer/Commands/CafeCommand.cs b/SCHALE.GameServer/Commands/CafeCommand.cs index c2d7c10..7e5df05 100644 --- a/SCHALE.GameServer/Commands/CafeCommand.cs +++ b/SCHALE.GameServer/Commands/CafeCommand.cs @@ -77,7 +77,7 @@ namespace SCHALE.GameServer.Commands { IsPlayable: true, IsPlayableCharacter: true, - IsNpc: false, + IsNPC: false, ProductionStep: ProductionStep.Release, } ).Select(x => x.Id).ToList(); diff --git a/SCHALE.GameServer/Commands/CurrencyCommand.cs b/SCHALE.GameServer/Commands/CurrencyCommand.cs new file mode 100644 index 0000000..f19b451 --- /dev/null +++ b/SCHALE.GameServer/Commands/CurrencyCommand.cs @@ -0,0 +1,39 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; +using SCHALE.Common.Utils; +using SCHALE.GameServer.Services; +using SCHALE.GameServer.Services.Irc; + +namespace SCHALE.GameServer.Commands +{ + [CommandHandler("currency", "Command to manage currency (gem, ticket)", "/currency [currencyId] [amount]")] + internal class CurrencyCommand : Command + { + public CurrencyCommand(IrcConnection connection, string[] args, bool validate = true) : base(connection, args, validate) { } + + [Argument(0, @"", "The id of currency you want to change its amount", ArgumentFlags.IgnoreCase)] + public string id { get; set; } = string.Empty; + + [Argument(1, @"", "amount", ArgumentFlags.IgnoreCase)] + public string amountStr { get; set; } = string.Empty; + + public override void Execute() + { + var currencyType = CurrencyTypes.Invalid; + long amount = 0; + if(Enum.TryParse(id, true, out currencyType) && currencyType != CurrencyTypes.Invalid && Int64.TryParse(amountStr, out amount)) + { + var currencies = connection.Account.Currencies.First(); + currencies.CurrencyDict[currencyType] = amount; + currencies.UpdateTimeDict[currencyType] = DateTime.Now; + connection.Context.Entry(currencies).State = Microsoft.EntityFrameworkCore.EntityState.Modified; + connection.Context.SaveChanges(); + + connection.SendChatMessage($"Set amount of {currencyType.ToString()} to {amount}!"); + } else + { + throw new ArgumentException("Invalid Target / Amount!"); + } + } + } +} diff --git a/SCHALE.GameServer/Commands/InventoryCommand.cs b/SCHALE.GameServer/Commands/InventoryCommand.cs index 410e429..c52a02a 100644 --- a/SCHALE.GameServer/Commands/InventoryCommand.cs +++ b/SCHALE.GameServer/Commands/InventoryCommand.cs @@ -6,12 +6,12 @@ using SCHALE.GameServer.Services.Irc; namespace SCHALE.GameServer.Commands { - [CommandHandler("inventory", "Command to manage inventory (chars, weapons, equipment, items)", "/inventory ")] + [CommandHandler("inventory", "Command to manage inventory (chars, weapons, equipment, items)", "/inventory ")] internal class InventoryCommand : Command { public InventoryCommand(IrcConnection connection, string[] args, bool validate = true) : base(connection, args, validate) { } - [Argument(0, @"^addall$|^removeall$", "The operation selected (addall, removeall)", ArgumentFlags.IgnoreCase)] + [Argument(0, @"^addall|^addallmax$|^removeall$", "The operation selected (addall, addallmax, removeall)", ArgumentFlags.IgnoreCase)] public string Op { get; set; } = string.Empty; public override void Execute() @@ -21,6 +21,18 @@ namespace SCHALE.GameServer.Commands switch (Op.ToLower()) { case "addall": + InventoryUtils.AddAllCharacters(connection, false); + InventoryUtils.AddAllWeapons(connection, false); + InventoryUtils.AddAllEquipment(connection); + InventoryUtils.AddAllItems(connection); + InventoryUtils.AddAllGears(connection, false); + InventoryUtils.AddAllMemoryLobbies(connection); + InventoryUtils.AddAllScenarios(connection); + + connection.SendChatMessage("Added Everything!"); + break; + + case "addallmax": InventoryUtils.AddAllCharacters(connection); InventoryUtils.AddAllWeapons(connection); InventoryUtils.AddAllEquipment(connection); @@ -28,7 +40,6 @@ namespace SCHALE.GameServer.Commands InventoryUtils.AddAllGears(connection); InventoryUtils.AddAllMemoryLobbies(connection); InventoryUtils.AddAllScenarios(connection); - InventoryUtils.AddAllFurnitures(connection); connection.SendChatMessage("Added Everything!"); break; diff --git a/SCHALE.GameServer/Commands/SetAccountCommand.cs b/SCHALE.GameServer/Commands/SetAccountCommand.cs index 105d257..9c97e6d 100644 --- a/SCHALE.GameServer/Commands/SetAccountCommand.cs +++ b/SCHALE.GameServer/Commands/SetAccountCommand.cs @@ -41,28 +41,6 @@ namespace SCHALE.GameServer.Commands } } } - - else if (Property.Equals("raidseasonid", StringComparison.CurrentCultureIgnoreCase)) // temp raid stuff - { - if (long.TryParse(Value, out long seasonId)) - { - connection.Account.RaidInfo = new RaidInfo() - { - SeasonId = seasonId, - BestRankingPoint = 0, - TotalRankingPoint = 0, - }; - - connection.SendChatMessage($"Set Raid SeasonId to: {seasonId}"); - connection.Context.SaveChanges(); - } - - else - { - throw new ArgumentException("Invalid Value"); - } - } - else { throw new ArgumentException("Invalid Player Property!"); diff --git a/SCHALE.GameServer/Commands/SetSeasonCommand.cs b/SCHALE.GameServer/Commands/SetSeasonCommand.cs new file mode 100644 index 0000000..a7744ec --- /dev/null +++ b/SCHALE.GameServer/Commands/SetSeasonCommand.cs @@ -0,0 +1,51 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; +using SCHALE.Common.Utils; +using SCHALE.GameServer.Services; +using SCHALE.GameServer.Services.Irc; + +namespace SCHALE.GameServer.Commands +{ + [CommandHandler("setseason", "Set season of content (raid, arena)", "/setseason [target content] [target season id]")] + internal class SetSeason : Command + { + public SetSeason(IrcConnection connection, string[] args, bool validate = true) : base(connection, args, validate) { } + + [Argument(0, @"", "Target content name (raid, arena)", ArgumentFlags.IgnoreCase)] + public string target { get; set; } = string.Empty; + + [Argument(1, @"^[0-9]", "Target season id", ArgumentFlags.IgnoreCase)] + public string value { get; set; } = string.Empty; + + public override void Execute() + { + var account = connection.Account; + + long seasonId = 0; + switch (target) + { + case "raid": + if (long.TryParse(value, out seasonId)) + { + connection.Account.RaidInfo = new RaidInfo() + { + SeasonId = seasonId, + BestRankingPoint = 0, + TotalRankingPoint = 0, + }; + + connection.SendChatMessage($"Set Raid SeasonId to: {seasonId}"); + connection.Context.SaveChanges(); + } + else + { + throw new ArgumentException("Invalid Value"); + } + break; + + default: + throw new ArgumentException("Invalid target!"); + } + } + } +} diff --git a/SCHALE.GameServer/Commands/UnlockAllCommand.cs b/SCHALE.GameServer/Commands/UnlockAllCommand.cs new file mode 100644 index 0000000..a67286c --- /dev/null +++ b/SCHALE.GameServer/Commands/UnlockAllCommand.cs @@ -0,0 +1,111 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; +using SCHALE.Common.Utils; +using SCHALE.GameServer.Services; +using SCHALE.GameServer.Services.Irc; +using Serilog; + +namespace SCHALE.GameServer.Commands +{ + [CommandHandler("unlockall", "Command to unlock all of its contents (campaign, weekdungeon, schooldungeon)", "/unlockall [target content]")] + internal class UnlockAllCommand : Command + { + public UnlockAllCommand(IrcConnection connection, string[] args, bool validate = true) : base(connection, args, validate) { } + + [Argument(0, @"", "Target content name (campaign, weekdungeon, schooldungeon)", ArgumentFlags.IgnoreCase)] + public string target { get; set; } = string.Empty; + + public override void Execute() + { + var account = connection.Account; + + switch (target) + { + case "campaign": + var campaignChapterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + + foreach (var excel in campaignChapterExcel) + { + foreach (var stageId in excel.NormalCampaignStageId.Concat(excel.HardCampaignStageId).Concat(excel.NormalExtraStageId).Concat(excel.VeryHardCampaignStageId)) + { + account.CampaignStageHistories.Add(new() + { + AccountServerId = account.ServerId, + StageUniqueId = stageId, + ChapterUniqueId = excel.Id, + ClearTurnRecord = 1, + Star1Flag = true, + Star2Flag = true, + Star3Flag = true, + LastPlay = DateTime.Now, + TodayPlayCount = 1, + FirstClearRewardReceive = DateTime.Now, + StarRewardReceive = DateTime.Now, + }); + } + } + + connection.Context.SaveChanges(); + connection.SendChatMessage("Unlocked all of stages of campaign!"); + break; + + case "weekdungeon": + var weekdungeonExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + + foreach (var excel in weekdungeonExcel) + { + var starGoalRecord = new Dictionary(); + + if(excel.StarGoal[0] == StarGoalType.GetBoxes) + { + starGoalRecord.Add(StarGoalType.GetBoxes, excel.StarGoalAmount.Last()); + } else { + foreach(var goalType in excel.StarGoal) + { + starGoalRecord.Add(goalType, 1); + } + } + + Log.Information($"WeekDungeon StageUniqueId: {excel.StageId} added"); + + account.WeekDungeonStageHistories.Add(new() { + AccountServerId = account.ServerId, + StageUniqueId = excel.StageId, + StarGoalRecord = starGoalRecord + }); + } + + connection.Context.SaveChanges(); + connection.SendChatMessage("Unlocked all of stages of week dungeon!"); + break; + + case "schooldungeon": + var schoolDungeonExcel = connection.ExcelTableService.GetExcelList("SchoolDungeonStageDBSchema").Select(excel => excel.UnPack()).ToList(); + + foreach (var excel in schoolDungeonExcel) + { + var starFlags = new bool[excel.StarGoal.Count]; + for(int i = 0; i < excel.StarGoal.Count; i++) + { + starFlags[i] = true; + } + + Log.Information($"SchoolDungeon StageUniqueId: {excel.StageId} added"); + + account.SchoolDungeonStageHistories.Add(new() { + AccountServerId = account.ServerId, + StageUniqueId = excel.StageId, + StarFlags = starFlags + }); + } + + connection.Context.SaveChanges(); + connection.SendChatMessage("Unlocked all of stages of school dungeon!"); + break; + + default: + throw new ArgumentException("Invalid target!"); + } + } + } +} diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Account.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Account.cs index f15d06d..8a7ff48 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Account.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Account.cs @@ -28,7 +28,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers excelTableService = _excelTableService; } - [ProtocolHandler(Protocol.Account_CheckYostar)] + [ProtocolHandler(Protocol.Account_CheckYostar)] public ResponsePacket CheckYostarHandler(AccountCheckYostarRequest req) { string[] uidToken = req.EnterTicket.Split(':'); @@ -69,6 +69,8 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { CurrentVersion = req.Version, AccountDB = account, + BattleValidation = true, + IssueAlertInfos = [], StaticOpenConditions = new() { { OpenConditionContent.Shop, OpenConditionLockReason.None }, @@ -186,6 +188,42 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers } ); + // Default currencies + var defaultCurrencies = excelTableService + .GetTable() + .UnPack() + .DataList + .Where(x => x.ParcelType == ParcelType.Currency) + .ToList(); + + AccountCurrencyDB accountCurrency = new() + { + AccountServerId = account.ServerId, + AccountLevel = 1, + AcademyLocationRankSum = 1, + CurrencyDict = new() + }; + + foreach (var currencyType in Enum.GetValues(typeof(CurrencyTypes)).Cast()) + { + if (currencyType == CurrencyTypes.Invalid) + continue; + + var amount = defaultCurrencies.Any(x => (CurrencyTypes)x.ParcelId == currencyType) ? defaultCurrencies.Where(x => (CurrencyTypes)x.ParcelId == currencyType).First().ParcelAmount : 0; + accountCurrency.CurrencyDict.Add(currencyType, amount); + } + + accountCurrency.UpdateTimeDict = new(); + foreach (var currencyType in Enum.GetValues(typeof(CurrencyTypes)).Cast()) + { + if (currencyType == CurrencyTypes.Invalid) + continue; + + accountCurrency.UpdateTimeDict.Add(currencyType, DateTime.Now); + } + + context.Currencies.Add(accountCurrency); + // Default chars var defaultCharacters = excelTableService .GetTable() @@ -212,8 +250,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers PassiveSkillLevel = x.PassiveSkillLevel, ExtraPassiveSkillLevel = x.ExtraPassiveSkillLevel, LeaderSkillLevel = x.LeaderSkillLevel, - IsNew = true, - IsLocked = true, EquipmentServerIds = characterExcel is not null ? characterExcel.EquipmentSlot.Select(x => (long)0).ToList() : [0, 0, 0], @@ -303,7 +339,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers return new AccountLoginSyncResponse() { - + /* CampaignListResponse = new CampaignListResponse() { CampaignChapterClearRewardHistoryDBs = [ @@ -1608,120 +1644,21 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers } ], }, - + */ + /* CafeGetInfoResponse = new CafeGetInfoResponse() { CafeDBs = [.. account.Cafes], FurnitureDBs = [.. account.Furnitures] }, + + */ + AccountCurrencySyncResponse = new AccountCurrencySyncResponse() { - AccountCurrencyDB = new AccountCurrencyDB - { - AccountLevel = 90, - AcademyLocationRankSum = 1, - CurrencyDict = new Dictionary - { - { CurrencyTypes.Gem, long.MaxValue }, // gacha currency 600 - { CurrencyTypes.GemPaid, 0 }, - { CurrencyTypes.GemBonus, long.MaxValue }, // default blue gem? - { CurrencyTypes.Gold, 962_350_000 }, // credit 10,000 - { CurrencyTypes.ActionPoint, long.MaxValue }, // energy 24 - { CurrencyTypes.AcademyTicket, 3 }, - { CurrencyTypes.ArenaTicket, 5 }, - { CurrencyTypes.RaidTicket, 3 }, - { CurrencyTypes.WeekDungeonChaserATicket, 0 }, - { CurrencyTypes.WeekDungeonChaserBTicket, 0 }, - { CurrencyTypes.WeekDungeonChaserCTicket, 0 }, - { CurrencyTypes.SchoolDungeonATicket, 0 }, - { CurrencyTypes.SchoolDungeonBTicket, 0 }, - { CurrencyTypes.SchoolDungeonCTicket, 0 }, - { CurrencyTypes.TimeAttackDungeonTicket, 3 }, - { CurrencyTypes.MasterCoin, 0 }, - { CurrencyTypes.WorldRaidTicketA, 40 }, - { CurrencyTypes.WorldRaidTicketB, 40 }, - { CurrencyTypes.WorldRaidTicketC, 40 }, - { CurrencyTypes.ChaserTotalTicket, 6 }, - { CurrencyTypes.SchoolDungeonTotalTicket, 6 }, - { CurrencyTypes.EliminateTicketA, 1 }, - { CurrencyTypes.EliminateTicketB, 1 }, - { CurrencyTypes.EliminateTicketC, 1 }, - { CurrencyTypes.EliminateTicketD, 1 } - }, - UpdateTimeDict = new Dictionary - { - { CurrencyTypes.ActionPoint, DateTime.Parse("2024-04-26T19:29:12") }, - { CurrencyTypes.AcademyTicket, DateTime.Parse("2024-04-26T19:29:12") }, - { CurrencyTypes.ArenaTicket, DateTime.Parse("2024-04-26T19:29:12") }, - { CurrencyTypes.RaidTicket, DateTime.Parse("2024-04-26T19:29:12") }, - { - CurrencyTypes.WeekDungeonChaserATicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.WeekDungeonChaserBTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.WeekDungeonChaserCTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.SchoolDungeonATicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.SchoolDungeonBTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.SchoolDungeonCTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.TimeAttackDungeonTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { CurrencyTypes.MasterCoin, DateTime.Parse("2024-04-26T19:29:12") }, - { - CurrencyTypes.WorldRaidTicketA, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.WorldRaidTicketB, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.WorldRaidTicketC, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.ChaserTotalTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.SchoolDungeonTotalTicket, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.EliminateTicketA, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.EliminateTicketB, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.EliminateTicketC, - DateTime.Parse("2024-04-26T19:29:12") - }, - { - CurrencyTypes.EliminateTicketD, - DateTime.Parse("2024-04-26T19:29:12") - } - } - } + AccountCurrencyDB = account.Currencies.FirstOrDefault() }, + CharacterListResponse = new CharacterListResponse() { CharacterDBs = [.. account.Characters], @@ -1740,7 +1677,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { MemoryLobbyDBs = [.. account.MemoryLobbies] }, - + /* EventContentPermanentListResponse = new EventContentPermanentListResponse() { PermanentDBs = @@ -1761,6 +1698,8 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers ], }, + */ + EquipmentItemListResponse = new EquipmentItemListResponse() { EquipmentDBs = [.. account.Equipment] @@ -1778,7 +1717,8 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers ScenarioListResponse = new ScenarioListResponse() { - //ScenarioHistoryDBs = [.. account.Scenarios] + ScenarioHistoryDBs = [.. account.Scenarios], + ScenarioGroupHistoryDBs = [.. account.ScenarioGroups] }, EliminateRaidLoginResponse = new EliminateRaidLoginResponse() @@ -1884,7 +1824,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { IsPlayable: true, IsPlayableCharacter: true, - IsNpc: false, + IsNPC: false, ProductionStep: ProductionStep.Release, }).Select(x => x.Id).ToList(); @@ -1979,18 +1919,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers return new BillingPurchaseListByYostarResponse(); } - [ProtocolHandler(Protocol.WeekDungeon_List)] - public ResponsePacket WeekDungeon_ListHandler(WeekDungeonListRequest req) - { - return new WeekDungeonListResponse(); - } - - [ProtocolHandler(Protocol.SchoolDungeon_List)] - public ResponsePacket SchoolDungeon_ListHandler(SchoolDungeonListRequest req) - { - return new SchoolDungeonListResponse(); - } - [ProtocolHandler(Protocol.MiniGame_MissionList)] public ResponsePacket MiniGame_MissionListHandler(MiniGameMissionListRequest req) { @@ -2014,5 +1942,22 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { return new FriendGetIdCardResponse(); } + + [ProtocolHandler(Protocol.Account_CallName)] + public ResponsePacket CallNameHandler(AccountCallNameRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + + account.CallName = req.CallName; + context.SaveChanges(); + + return new AccountCallNameResponse() { AccountDB = account }; + } + + [ProtocolHandler(Protocol.Account_InvalidateToken)] + public ResponsePacket InvalidateTokenHandler(AccountInvalidateTokenRequest req) + { + return new AccountInvalidateTokenResponse(); + } } } diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Cafe.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Cafe.cs index bacb455..7b9bcd3 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Cafe.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Cafe.cs @@ -33,7 +33,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers FurnitureDBs = [.. account.Furnitures] }; } - + [ProtocolHandler(Protocol.Cafe_Ack)] public ResponsePacket AckHandler(CafeAckRequest req) { @@ -72,7 +72,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers // TODO: if exist, find the existing id furniture and stack++ - foreach (var furniture in furnituresToRemove) + foreach (var furniture in furnituresToRemove) { furniture.Location = FurnitureLocation.Inventory; furniture.PositionX = -1; @@ -133,7 +133,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers var targetCafe = account.Cafes.Where(x => x.CafeDBId == req.CafeDBId).SingleOrDefault(); var targetFurniture = targetCafe.FurnitureDBs.Where(x => x.CafeDBId == req.CafeDBId && x.ServerId == req.FurnitureDB.ServerId).SingleOrDefault(); - + if (targetFurniture == null) { Log.Error("Target Furniture with Id: " + req.FurnitureDB.ServerId + " was not found."); @@ -152,5 +152,62 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers RelocatedFurnitureDB = targetFurniture, }; } + + [ProtocolHandler(Protocol.Cafe_ListPreset)] + public ResponsePacket ListPresetHandler(CafeListPresetRequest req) + { + return new CafeListPresetResponse() + { + CafePresetDBs = [ + new CafePresetDB() + { + ServerId = 0, + SlotId = 0, + PresetName = "seggs", + IsEmpty = true + }, + ] + }; + } + + [ProtocolHandler(Protocol.Cafe_ApplyTemplate)] + public ResponsePacket ApplyTemplateHandler(CafeApplyTemplateRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCafe = account.Cafes.Where(x => x.CafeDBId == req.CafeDBId).SingleOrDefault(); + + var furnitureTempExcel = excelTableService.GetTable().UnPack().DataList; + + var templateFurnitureData = furnitureTempExcel.Where(x => x.FurnitureTemplateId == req.TemplateId) + .Select(x => + { + return new FurnitureDB() + { + CafeDBId = req.CafeDBId, + UniqueId = x.FurnitureId, + Location = x.Location, + PositionX = x.PositionX, + PositionY = x.PositionY, + Rotation = x.Rotation, + StackCount = 1 + }; + }).ToList(); + + account.AddFurnitures(context, [.. templateFurnitureData]); + context.SaveChanges(); + + foreach (var furniture in templateFurnitureData) + { + var changedFurniture = account.Furnitures.FirstOrDefault(x => x.UniqueId == furniture.UniqueId); + changedFurniture.ItemDeploySequence = changedFurniture.ServerId; + } + context.SaveChanges(); + + return new CafeApplyTemplateResponse() + { + CafeDBs = account.Cafes.ToList(), + FurnitureDBs = [.. targetCafe.FurnitureDBs] + }; + } } } diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Campaign.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Campaign.cs index d7704a5..4bb86ac 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Campaign.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Campaign.cs @@ -1,4 +1,5 @@ using Microsoft.AspNetCore.Routing; +using Microsoft.EntityFrameworkCore; using SCHALE.Common.Database; using SCHALE.Common.FlatData; using SCHALE.Common.NetworkProtocol; @@ -10,1423 +11,255 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { private ISessionKeyService sessionKeyService; private SCHALEContext context; + private ExcelTableService excelTableService; - public Campaign(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService _sessionKeyService, SCHALEContext _context) : base(protocolHandlerFactory) + public Campaign(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService _sessionKeyService, SCHALEContext _context, ExcelTableService _excelTableService) : base(protocolHandlerFactory) { sessionKeyService = _sessionKeyService; context = _context; + excelTableService = _excelTableService; } [ProtocolHandler(Protocol.Campaign_List)] public ResponsePacket ListHandler(CampaignListRequest req) { + var account = sessionKeyService.GetAccount(req.SessionKey); return new CampaignListResponse() { - CampaignChapterClearRewardHistoryDBs = [ - new() { - - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - RewardType = StageDifficulty.Normal - - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - RewardType = StageDifficulty.Normal - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - RewardType = StageDifficulty.Hard - }, - new() - { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - RewardType = StageDifficulty.Hard - } - ], - - StageHistoryDBs = [ - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011101, - TacticClearCountWithRankSRecord = 2, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-02-04T05:15:16"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2023-02-01T05:39:08"), - StarRewardReceive = DateTime.Parse("2023-02-01T05:39:08") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011102, - TacticClearCountWithRankSRecord = 2, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-19T23:53:04"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-19T23:53:04"), - StarRewardReceive = DateTime.Parse("2024-04-19T23:53:04") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011103, - TacticClearCountWithRankSRecord = 2, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-19T23:59:05"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-19T23:59:05"), - StarRewardReceive = DateTime.Parse("2024-04-19T23:59:05") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011104, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:04:38"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:04:38"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:04:38") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011105, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:08:16"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:08:16"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:08:16") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011301, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-19T23:48:56"), - FirstClearRewardReceive = DateTime.Parse("2024-04-19T23:48:56") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011302, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-19T23:56:38"), - FirstClearRewardReceive = DateTime.Parse("2024-04-19T23:56:38") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1011303, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-20T00:01:14"), - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:01:14") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1012101, - TacticClearCountWithRankSRecord = 2, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-25T11:10:18"), - TodayPlayCount = 3, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:10:45"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:10:45") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1012102, - TacticClearCountWithRankSRecord = 2, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-21T23:21:32"), - TodayPlayCount = 3, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:13:12"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:13:12") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 101, - StageUniqueId = 1012103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-25T11:10:12"), - TodayPlayCount = 3, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:16:26"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:16:26") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-03T14:04:23"), - TodayPlayCount = 2, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:18:54"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:23:08") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:27:50"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:27:50"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:27:50") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:43:42"), - TodayPlayCount = 6, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:31:18"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:31:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021104, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:38:21"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:38:21"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:38:21") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021105, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:44:22"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:44:22"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:44:22") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1021304, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-20T00:24:41"), - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:24:41") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1022101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-22T20:38:27"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:38:27"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:38:27") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1022102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-22T20:41:18"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:41:18"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:41:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 102, - StageUniqueId = 1022103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-22T20:43:58"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:43:58"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:43:58") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:50:21"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:50:21"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:50:21") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T00:55:15"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:55:15"), - StarRewardReceive = DateTime.Parse("2024-04-20T00:55:15") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T01:06:15"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T01:06:15"), - StarRewardReceive = DateTime.Parse("2024-04-20T01:06:15") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031104, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T01:11:56"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T01:11:56"), - StarRewardReceive = DateTime.Parse("2024-04-20T01:11:56") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031105, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T01:36:54"), - TodayPlayCount = 2, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T01:17:29"), - StarRewardReceive = DateTime.Parse("2024-04-20T01:36:54") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031305, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-20T00:45:52"), - FirstClearRewardReceive = DateTime.Parse("2024-04-20T00:45:52") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1031306, - ClearTurnRecord = 1, - LastPlay = DateTime.Parse("2024-04-20T01:07:54"), - FirstClearRewardReceive = DateTime.Parse("2024-04-20T01:07:54") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1032101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-22T20:46:40"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:46:40"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:46:40") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1032102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-25T11:10:05"), - TodayPlayCount = 3, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:49:18"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:49:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 103, - StageUniqueId = 1032103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 5, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-25T11:09:59"), - TodayPlayCount = 3, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:52:12"), - StarRewardReceive = DateTime.Parse("2024-04-22T20:52:12") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1041101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T14:32:33"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T14:32:33"), - StarRewardReceive = DateTime.Parse("2024-04-20T14:32:33") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1041102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:42:39"), - TodayPlayCount = 11, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T14:37:22"), - StarRewardReceive = DateTime.Parse("2024-04-20T14:37:22") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1041103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T14:44:32"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T14:44:32"), - StarRewardReceive = DateTime.Parse("2024-04-20T14:44:32") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1041104, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T14:49:44"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T14:49:44"), - StarRewardReceive = DateTime.Parse("2024-04-20T14:49:44") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1041105, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:14:30"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:14:30"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:14:30") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1042101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:15:06"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:15:06"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:15:06") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1042102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:16:35"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:16:35"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:16:35") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 104, - StageUniqueId = 1042103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:18:48"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:18:48"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:18:48") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1051101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:42:11"), - TodayPlayCount = 4, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:20:30"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:20:30") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1051102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:27:10"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:27:10"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:27:10") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1051103, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:31:25"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:31:25"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:31:25") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1051104, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:35:54"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:35:54"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:35:54") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1051105, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T15:41:16"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T15:41:16"), - StarRewardReceive = DateTime.Parse("2024-04-20T15:41:16") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1052101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:20:22"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:20:22"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:20:22") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1052102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:21:59"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:21:59"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:21:59") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 105, - StageUniqueId = 1052103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:23:42"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:23:42"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:23:42") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1061101, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:12:22"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T17:12:22"), - StarRewardReceive = DateTime.Parse("2024-04-20T17:12:22") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1061102, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:20:59"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T17:20:59"), - StarRewardReceive = DateTime.Parse("2024-04-20T17:20:59") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1061103, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:39:32"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T17:39:32"), - StarRewardReceive = DateTime.Parse("2024-04-20T17:39:32") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1061104, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T17:53:49"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T17:53:49"), - StarRewardReceive = DateTime.Parse("2024-04-20T17:53:49") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1061105, - TacticClearCountWithRankSRecord = 5, - ClearTurnRecord = 4, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T18:02:24"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T18:02:24"), - StarRewardReceive = DateTime.Parse("2024-04-20T18:02:24") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1062101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:25:11"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:25:11"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:25:11") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1062102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:27:13"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:27:13"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:27:13") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 106, - StageUniqueId = 1062103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:28:49"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:28:49"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:28:49") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1071101, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-22T16:57:05"), - TodayPlayCount = 10, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T22:00:20"), - StarRewardReceive = DateTime.Parse("2024-04-20T22:00:20") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1071102, - TacticClearCountWithRankSRecord = 3, - ClearTurnRecord = 2, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-20T22:07:18"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-20T22:07:18"), - StarRewardReceive = DateTime.Parse("2024-04-20T22:07:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1071103, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 3, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-21T13:29:22"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-21T13:29:22"), - StarRewardReceive = DateTime.Parse("2024-04-21T13:29:22") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1071104, - TacticClearCountWithRankSRecord = 4, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:58:22"), - TodayPlayCount = 8, - FirstClearRewardReceive = DateTime.Parse("2024-04-22T20:36:19"), - StarRewardReceive = DateTime.Parse("2024-04-25T11:27:54") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1071105, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:17:08"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-25T11:23:03"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:17:08") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1072101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:30:35"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:30:35"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:30:35") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1072102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:32:53"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:32:53"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:32:53") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 107, - StageUniqueId = 1072103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:44:59"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:44:59"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:44:59") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1081101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:20:03"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-25T14:59:00"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:20:03") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1081102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:21:36"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-25T15:02:41"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:21:36") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1081103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:23:07"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-25T15:07:07"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:23:07") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1081104, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:35:53"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-29T20:35:53"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:35:53") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1081105, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-29T20:39:05"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-29T20:39:05"), - StarRewardReceive = DateTime.Parse("2024-04-29T20:39:05") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1082101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:47:26"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:47:26"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:47:26") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1082102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-02T16:49:11"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-02T16:49:11"), - StarRewardReceive = DateTime.Parse("2024-05-02T16:49:11") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 108, - StageUniqueId = 1082103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:42:57"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:42:57"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:42:57") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1091101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:38:44"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:38:44"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:38:44") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1091102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:40:23"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:40:23"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:40:23") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1091103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:46:10"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:46:10"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:46:10") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1091104, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:47:49"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:47:49"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:47:49") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1091105, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:49:44"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:49:44"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:49:44") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1092101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:45:36"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:45:36"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:45:36") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1092102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:47:18"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:47:18"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:47:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 109, - StageUniqueId = 1092103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:48:50"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:48:50"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:48:50") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1101101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:51:57"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:51:57"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:51:57") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1101102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:53:41"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:53:41"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:53:41") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1101103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:55:36"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:55:36"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:55:36") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1101104, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T20:57:18"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T20:57:18"), - StarRewardReceive = DateTime.Parse("2024-04-30T20:57:18") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1101105, - ClearTurnRecord = 1, - Star1Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T21:00:57"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T21:00:57") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1102101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:50:39"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:50:39"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:50:39") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1102102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:52:14"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:52:14"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:52:14") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 110, - StageUniqueId = 1102103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-04T20:55:25"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-04T20:55:25"), - StarRewardReceive = DateTime.Parse("2024-05-04T20:55:25") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 111, - StageUniqueId = 1111101, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-04-30T21:03:25"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T21:03:25"), - StarRewardReceive = DateTime.Parse("2024-04-30T21:03:25") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 111, - StageUniqueId = 1111102, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-05T20:38:30"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-04-30T21:05:23"), - StarRewardReceive = DateTime.Parse("2024-05-05T20:38:30") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 111, - StageUniqueId = 1111103, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-05T20:39:56"), - TodayPlayCount = 2, - FirstClearRewardReceive = DateTime.Parse("2024-05-05T20:36:49"), - StarRewardReceive = DateTime.Parse("2024-05-05T20:39:56") - }, - new() { - AccountServerId = req.AccountId, - ChapterUniqueId = 111, - StageUniqueId = 1111104, - ClearTurnRecord = 1, - Star1Flag = true, - Star2Flag = true, - Star3Flag = true, - LastPlay = DateTime.Parse("2024-05-05T20:41:39"), - TodayPlayCount = 1, - FirstClearRewardReceive = DateTime.Parse("2024-05-05T20:41:39"), - StarRewardReceive = DateTime.Parse("2024-05-05T20:41:39") - } - ], - + CampaignChapterClearRewardHistoryDBs = new(), + StageHistoryDBs = account.CampaignStageHistories.ToList(), + StrategyObjecthistoryDBs = new(), + DailyResetCountDB = new() }; - } [ProtocolHandler(Protocol.Campaign_EnterMainStage)] public ResponsePacket EnterMainStageHandler(CampaignEnterMainStageRequest req) { + // TODO: Implement return new CampaignEnterMainStageResponse() { SaveDataDB = new CampaignMainStageSaveDB() + }; + } + + [ProtocolHandler(Protocol.Campaign_EnterSubStage)] + public ResponsePacket EnterSubStageHandler(CampaignEnterSubStageRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var parcelResultDb = ConsumeOrReturnCurrencies(account, req.StageUniqueId); + + return new CampaignEnterSubStageResponse() + { + ParcelResultDB = parcelResultDb, + SaveDataDB = new(), + }; + } + + [ProtocolHandler(Protocol.Campaign_SubStageResult)] + public ResponsePacket SubStageResultHandler(CampaignSubStageResultRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var currencies = account.Currencies.First(); + CampaignStageHistoryDB historyDb = new(); + ParcelResultDB parcelResultDb = new() + { + AccountCurrencyDB = currencies, + DisplaySequence = new() + }; + + if (CheckIfCleared(req.Summary)) + { + historyDb = CampaignService.CreateStageHistoryDB(req.AccountId, new() { UniqueId = req.Summary.StageId, ChapterUniqueId = GetChapterIdFromStageId(req.Summary.StageId) }); + CampaignService.CalcStrategySkipStarGoals(historyDb, req.Summary); + + if (account.CampaignStageHistories.Any(x => x.StageUniqueId == req.Summary.StageId)) { - LastEnemyEntityId = 10010, + var existHistory = account.CampaignStageHistories.Where(x => x.StageUniqueId == req.Summary.StageId).First(); + MergeExistHistoryWithNew(ref existHistory, historyDb); - EnemyInfos = new() + historyDb = existHistory; + } else + { + account.CampaignStageHistories.Add(historyDb); + } + } else + { + // Return currencies + parcelResultDb = ConsumeOrReturnCurrencies(account, req.Summary.StageId, true); + } + + context.SaveChanges(); + + return new CampaignSubStageResultResponse() + { + TacticRank = 0, + CampaignStageHistoryDB = historyDb, + LevelUpCharacterDBs = new(), + ParcelResultDB = parcelResultDb, + FirstClearReward = new(), + ThreeStarReward = new() + }; + } + + [ProtocolHandler(Protocol.Campaign_EnterTutorialStage)] + public ResponsePacket EnterTutorialStageHandler(CampaignEnterTutorialStageRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var parcelResultDb = ConsumeOrReturnCurrencies(account, req.StageUniqueId); + + return new CampaignEnterTutorialStageResponse() + { + ParcelResultDB = parcelResultDb, + SaveDataDB = new() + }; + } + + [ProtocolHandler(Protocol.Campaign_TutorialStageResult)] + public ResponsePacket TutorialStageResultHandler(CampaignTutorialStageResultRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + CampaignStageHistoryDB historyDb = new(); + + if (CheckIfCleared(req.Summary)) + { + historyDb = CampaignService.CreateStageHistoryDB(req.AccountId, new() { UniqueId = req.Summary.StageId, ChapterUniqueId = GetChapterIdFromStageId(req.Summary.StageId) }); + historyDb.ClearTurnRecord = 1; + + if (!account.CampaignStageHistories.Any(x => x.StageUniqueId == req.Summary.StageId)) + { + account.CampaignStageHistories.Add(historyDb); + } + } + + context.SaveChanges(); + + return new CampaignTutorialStageResultResponse() + { + CampaignStageHistoryDB = historyDb, + ParcelResultDB = new(), + ClearReward = new(), + FirstClearReward = new(), + }; + } + + [ProtocolHandler(Protocol.Campaign_EnterMainStageStrategySkip)] + public ResponsePacket EnterMainStageStrategySkipHandler(CampaignEnterMainStageStrategySkipRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var parcelResultDb = ConsumeOrReturnCurrencies(account, req.StageUniqueId); + + return new CampaignEnterMainStageStrategySkipResponse() + { + ParcelResultDB = parcelResultDb + }; + } + + [ProtocolHandler(Protocol.Campaign_MainStageStrategySkipResult)] + public ResponsePacket MainStageStrategySkipResultHandler(CampaignMainStageStrategySkipResultRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var currencies = account.Currencies.First(); + + CampaignStageHistoryDB historyDb = new(); + ParcelResultDB parcelResultDb = new() + { + AccountCurrencyDB = currencies, + DisplaySequence = new() + }; + + if (CheckIfCleared(req.Summary)) + { + historyDb = CampaignService.CreateStageHistoryDB(req.AccountId, new() { UniqueId = req.Summary.StageId, ChapterUniqueId = GetChapterIdFromStageId(req.Summary.StageId) }); + CampaignService.CalcStrategySkipStarGoals(historyDb, req.Summary); + + if (account.CampaignStageHistories.Any(x => x.StageUniqueId == req.Summary.StageId)) + { + var existHistory = account.CampaignStageHistories.Where(x => x.StageUniqueId == req.Summary.StageId).First(); + MergeExistHistoryWithNew(ref existHistory, historyDb); + + historyDb = existHistory; + } else + { + account.CampaignStageHistories.Add(historyDb); + } + } else + { + // Return currencies + parcelResultDb = ConsumeOrReturnCurrencies(account, req.Summary.StageId, true); + } + + context.SaveChanges(); + + return new CampaignMainStageStrategySkipResultResponse() + { + TacticRank = 0, + CampaignStageHistoryDB = historyDb, + LevelUpCharacterDBs = new(), + ParcelResultDB = parcelResultDb, + FirstClearReward = new(), + ThreeStarReward = new() + }; + } + + public ParcelResultDB ConsumeOrReturnCurrencies(AccountDB account, long stageId, bool doReturn = false) + { + var currencies = account.Currencies.First(); + + var campaignExcel = excelTableService.GetTable().UnPack().DataList.Where(x => x.Id == stageId).First(); + + var costId = campaignExcel.StageEnterCostId; + var costAmount = campaignExcel.StageEnterCostAmount; + currencies.CurrencyDict[(CurrencyTypes)costId] -= costAmount * (doReturn ? -1 : 1); + currencies.UpdateTimeDict[(CurrencyTypes)costId] = DateTime.Now; + + context.Entry(currencies).State = EntityState.Modified; + context.SaveChanges(); + + return new() + { + AccountCurrencyDB = currencies, + DisplaySequence = new() + { + new() { - { 10008, new() { EntityId = 10008, Id = 101110101, Rotate = new() { x = 0, y = 240, z = 0 }, Location = new() { x = -1, y = 1 } } }, - { 10009, new() { EntityId = 10009, Id = 101110102, Rotate = new() { x = 0, y = 240, z = 0 } } }, - }, - - StrategyObjects = new() - { - { 10010, new() { EntityId = 10010, Id = 101101, Location = new() { x = -2, y = 2 } } }, - }, - - TileMapStates = new() - { - { 0, new() { } }, - { 1, new() { Id = 1 } }, - { 2, new() { Id = 2 } }, - }, - - StageEntranceFee = [ - new() + Amount = costAmount, + Key = new() { - Key = new() { Type = ParcelType.Currency, Id = 5 }, - Amount = 10, - Multiplier = new(10000), - Probability = new(10000), + Type = ParcelType.Currency, + Id = costId } - ], - - - - AccountServerId = req.AccountId, - ContentType = ContentType.CampaignMainStage, - ActivatedHexaEventsAndConditions = new() { { 0, [0] } }, - HexaEventDelayedExecutions = [], - CreateTime = DateTime.UtcNow, - StageUniqueId = req.StageUniqueId, - - EnemyKillCountByUniqueId = [] + } } }; } - /* - * SaveDataDB = new CampaignMainStageSaveDB() - { - EnemyInfos = new() - { - { 10006, new() { EntityId = 10006, Id = 102110101, Rotate = new() { x = 0, y = 240, z = 0 }, Location = new() { x = -1, z = 1 } } }, - { 10007, new() { EntityId = 10007, Id = 102110102, Rotate = new() { x = 0, y = 240, z = 0 }, Location = new() { x = -1, y = 1 } } }, - { 10008, new() { EntityId = 10008, Id = 102110103, Rotate = new() { x = 0, y = 240, z = 0 }, Location = new() { x = 1, y = -1 } } }, - }, + public void MergeExistHistoryWithNew(ref CampaignStageHistoryDB existHistoryDb, CampaignStageHistoryDB newHistoryDb) + { + existHistoryDb.Star1Flag = existHistoryDb.Star1Flag ? true : newHistoryDb.Star1Flag; + existHistoryDb.Star2Flag = existHistoryDb.Star2Flag ? true : newHistoryDb.Star2Flag; + existHistoryDb.Star3Flag = existHistoryDb.Star3Flag ? true : newHistoryDb.Star3Flag; - StrategyObjects = new() - { - { 10012, new() { EntityId = 10012, Id = 101101, Location = new() { x = -1, y = 2, z = -1 } } }, - { 10013, new() { EntityId = 10013, Id = 107101 } }, - }, + existHistoryDb.TodayPlayCount += 1; + existHistoryDb.LastPlay = DateTime.Now; - TileMapStates = new() - { - { 0, new() { } }, - { 1, new() { Id = 1 } }, - { 2, new() { Id = 2 } }, - { 3, new() { Id = 3 } }, - { 4, new() { Id = 4 } }, - }, + context.Entry(existHistoryDb).State = EntityState.Modified; + context.SaveChanges(); + } - StageEntranceFee = [ - new() - { - Key = new() { Type = ParcelType.Currency, Id = 5 }, - Amount = 10, - Multiplier = new(10000), - Probability = new(10000), - } - ], + public bool CheckIfCleared(BattleSummary summary) + { + return !summary.IsAbort && summary.EndType == BattleEndType.Clear; + } - LastEnemyEntityId = 10013, - AccountServerId = req.AccountId, + public long GetChapterIdFromStageId(long stageId) + { + var campaignChapterExcel = excelTableService.GetTable().UnPack().DataList + .Where(x => x.NormalCampaignStageId.Contains(stageId) || x.HardCampaignStageId.Contains(stageId) || x.NormalExtraStageId.Contains(stageId) || + x.VeryHardCampaignStageId.Contains(stageId)).ToList().First(); - - ContentType = ContentType.CampaignMainStage, - ActivatedHexaEventsAndConditions = new() { { 0, [0] } }, - HexaEventDelayedExecutions = [], - CreateTime = DateTime.UtcNow, - StageUniqueId = req.StageUniqueId, - - EnemyKillCountByUniqueId = [] - } - */ + return campaignChapterExcel.Id; + } } -} +} \ No newline at end of file diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Character.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Character.cs index c57c23a..3dac06b 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Character.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Character.cs @@ -1,5 +1,7 @@ -using SCHALE.Common.Database; +using Microsoft.EntityFrameworkCore; +using SCHALE.Common.Database; using SCHALE.Common.Database.ModelExtensions; +using SCHALE.Common.FlatData; using SCHALE.Common.NetworkProtocol; using SCHALE.GameServer.Services; @@ -24,6 +26,67 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers return new CharacterSetFavoritesResponse(); } + [ProtocolHandler(Protocol.Character_UpdateSkillLevel)] + public ResponsePacket CharacterSkillLevelUpdateHandler(CharacterSkillLevelUpdateRequest req) + { + //TODO: implement decrease item response & better skillslot implementation + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterDBId); + + if (req.SkillSlot.ToString().StartsWith("ExSkill", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.ExSkillLevel = req.Level; + } else if (req.SkillSlot.ToString().StartsWith("PublicSkill", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.PublicSkillLevel = req.Level; + } else if (req.SkillSlot.ToString().StartsWith("Passive", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.PassiveSkillLevel = req.Level; + } else if (req.SkillSlot.ToString().StartsWith("ExtraPassive", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.ExtraPassiveSkillLevel = req.Level; + } + context.SaveChanges(); + + return new CharacterSkillLevelUpdateResponse() + { + CharacterDB = targetCharacter, + // ParcelResultDB = new() { } + }; + } + + [ProtocolHandler(Protocol.Character_BatchSkillLevelUpdate)] + public ResponsePacket UpdateBatchSkillLevelHandler(CharacterBatchSkillLevelUpdateRequest req) + { + //TODO: implement decrease item response & better skillslot implementation + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterDBId); + + foreach (var skillReq in req.SkillLevelUpdateRequestDBs) + { + if (skillReq.SkillSlot.ToString().StartsWith("ExSkill", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.ExSkillLevel = skillReq.Level; + } else if (skillReq.SkillSlot.ToString().StartsWith("PublicSkill", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.PublicSkillLevel = skillReq.Level; + } else if (skillReq.SkillSlot.ToString().StartsWith("Passive", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.PassiveSkillLevel = skillReq.Level; + } else if (skillReq.SkillSlot.ToString().StartsWith("ExtraPassive", StringComparison.OrdinalIgnoreCase)) + { + targetCharacter.ExtraPassiveSkillLevel = skillReq.Level; + } + } + context.SaveChanges(); + + return new CharacterBatchSkillLevelUpdateResponse() + { + CharacterDB = targetCharacter, + // ParcelResultDB = new() { } + }; + } + [ProtocolHandler(Protocol.Character_UnlockWeapon)] public ResponsePacket UnlockWeaponHandler(CharacterUnlockWeaponRequest req) { @@ -32,7 +95,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { UniqueId = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterServerId).UniqueId, BoundCharacterServerId = req.TargetCharacterServerId, - IsLocked = false, StarGrade = 1, Level = 1 }; @@ -64,5 +126,238 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers CharacterDB = targetCharacter }; } + + [ProtocolHandler(Protocol.Character_ExpGrowth)] + public ResponsePacket ExpGrowthHandler(CharacterExpGrowthRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterServerId); + var dataList = excelTableService.GetTable().UnPack().DataList; + + long addExp = 0; + long previousExp = 0; + long exp = targetCharacter.Exp; + var consumeResult = new ConsumeResultDB + { + UsedItemServerIdAndRemainingCounts = [], + }; + var accountCurrency = account.Currencies.First(); + + var itemData = new Dictionary + { + { 10, (350, 50) }, + { 11, (3500, 500) }, + { 12, (14000, 2000) }, + { 13, (70000, 10000) } + }; + + for (int i = 0; i < req.ConsumeRequestDB.ConsumeItemServerIdAndCounts.Count; i++) + { + var item = account.Items.FirstOrDefault(x => x.ServerId == req.ConsumeRequestDB.ConsumeItemServerIdAndCounts.ElementAt(i).Key); + if (itemData.TryGetValue(item.UniqueId, out var data)) + { + addExp += req.ConsumeRequestDB.ConsumeItemServerIdAndCounts.ElementAt(i).Value * data.exp; + accountCurrency.CurrencyDict[CurrencyTypes.Gold] -= req.ConsumeRequestDB.ConsumeItemServerIdAndCounts.ElementAt(i).Value * data.gold; + accountCurrency.UpdateTimeDict[CurrencyTypes.Gold] = DateTime.Now; + item.StackCount -= req.ConsumeRequestDB.ConsumeItemServerIdAndCounts.ElementAt(i).Value; + consumeResult.UsedItemServerIdAndRemainingCounts.Add(item.ServerId, item.StackCount); + } + } + + if (targetCharacter.Level == 1) previousExp = exp + addExp; + else previousExp = dataList[targetCharacter.Level - 2].TotalExp + exp + addExp; + + foreach (var data in dataList) + { + if (previousExp > data.TotalExp && targetCharacter.Level < dataList.Count) targetCharacter.Level++; + else if (previousExp == data.TotalExp) + { + targetCharacter.Level = data.Level; + break; + } else if (previousExp < data.TotalExp) + { + targetCharacter.Level = data.Level; + targetCharacter.Exp = previousExp - data.TotalExp + data.Exp; + break; + } + } + context.Entry(accountCurrency).State = EntityState.Modified; + context.SaveChanges(); + + return new CharacterExpGrowthResponse() + { + CharacterDB = targetCharacter, + ConsumeResultDB = consumeResult, + AccountCurrencyDB = accountCurrency + }; + } + + [ProtocolHandler(Protocol.Character_Transcendence)] + public ResponsePacket TranscendenceHandler(CharacterTranscendenceRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterServerId); + var item = account.Items.FirstOrDefault(x => x.AccountServerId == req.SessionKey.AccountServerId && x.UniqueId == targetCharacter.UniqueId); + var currency = account.Currencies.First(); + + var itemNeeded = targetCharacter.StarGrade switch + { + 1 => 30, + 2 => 80, + 3 => 100, + 4 => 120, + _ => 0 + }; + + var currencyNeeded = targetCharacter.StarGrade switch + { + 1 => 10000, + 2 => 40000, + 3 => 200000, + 4 => 1000000, + _ => 0 + }; + + targetCharacter.StarGrade++; + item.StackCount -= itemNeeded; + currency.CurrencyDict[CurrencyTypes.Gold] -= currencyNeeded; + currency.UpdateTimeDict[CurrencyTypes.Gold] = DateTime.Now; + context.Entry(currency).State = EntityState.Modified; + context.SaveChanges(); + + return new CharacterTranscendenceResponse() + { + CharacterDB = targetCharacter, + ParcelResultDB = new() + { + AccountCurrencyDB = currency, + ItemDBs = new Dictionary { { item.UniqueId, item } } + } + }; + } + + [ProtocolHandler(Protocol.Character_WeaponExpGrowth)] + public ResponsePacket WeaponExpGrowthHandler(CharacterWeaponExpGrowthRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterServerId); + var weapon = account.Weapons.FirstOrDefault(x => x.AccountServerId == req.SessionKey.AccountServerId && x.UniqueId == targetCharacter.UniqueId); + var levelTable = excelTableService.GetTable().UnPack().DataList; + var characterTable = excelTableService.GetTable().UnPack().DataList; + + long addExp = 0; + long previousExp = 0; + long exp = weapon.Exp; + var charWeaponType = characterTable.Find(x => x.Id == targetCharacter.UniqueId).WeaponType; + var accountCurrency = account.Currencies.First(); + Dictionary equipmentData = []; + + var eqData = new Dictionary + { + { 10, (2700, 10, 15, [WeaponType.SMG, WeaponType.SG, WeaponType.HG, WeaponType.FT]) }, + { 20, (2700, 10, 15, [WeaponType.AR, WeaponType.GL, WeaponType.RL]) }, + { 30, (2700, 10, 15, [WeaponType.MG, WeaponType.SR, WeaponType.RG, WeaponType.MT]) }, + { 40, (2700, 10, 15, [WeaponType.None]) }, + + { 11, (13500, 50, 75, [WeaponType.SMG, WeaponType.SG, WeaponType.HG, WeaponType.FT]) }, + { 21, (13500, 50, 75, [WeaponType.AR, WeaponType.GL, WeaponType.RL]) }, + { 31, (13500, 50, 75, [WeaponType.MG, WeaponType.SR, WeaponType.RG, WeaponType.MT]) }, + { 41, (13500, 50, 75, [WeaponType.None]) }, + + { 12, (36000, 200, 300, [WeaponType.SMG, WeaponType.SG, WeaponType.HG, WeaponType.FT]) }, + { 22, (36000, 200, 300, [WeaponType.AR, WeaponType.GL, WeaponType.RL]) }, + { 32, (36000, 200, 300, [WeaponType.MG, WeaponType.SR, WeaponType.RG, WeaponType.MT]) }, + { 42, (36000, 200, 300, [WeaponType.None]) }, + + { 13, (270000, 1000, 1500, [WeaponType.SMG, WeaponType.SG, WeaponType.HG, WeaponType.FT]) }, + { 23, (270000, 1000, 1500, [WeaponType.AR, WeaponType.GL, WeaponType.RL]) }, + { 33, (270000, 1000, 1500, [WeaponType.MG, WeaponType.SR, WeaponType.RG, WeaponType.MT]) }, + { 43, (270000, 1000, 1500, [WeaponType.None]) } + }; + + for (int i = 0; i < req.ConsumeUniqueIdAndCounts.Count; i++) + { + var eq = account.Equipment.FirstOrDefault(x => x.UniqueId == req.ConsumeUniqueIdAndCounts.ElementAt(i).Key); + if (eqData.TryGetValue(eq.UniqueId, out var data)) + { + if (data.weaponType.Contains(charWeaponType) || data.weaponType.Contains(WeaponType.None)) addExp += req.ConsumeUniqueIdAndCounts.ElementAt(i).Value * data.expBonus; + else addExp += req.ConsumeUniqueIdAndCounts.ElementAt(i).Value * data.exp; + accountCurrency.CurrencyDict[CurrencyTypes.Gold] -= req.ConsumeUniqueIdAndCounts.ElementAt(i).Value * data.gold; + accountCurrency.UpdateTimeDict[CurrencyTypes.Gold] = DateTime.Now; + eq.StackCount -= req.ConsumeUniqueIdAndCounts.ElementAt(i).Value; + equipmentData.Add(eq.UniqueId, eq); + } + } + + if (weapon.Level == 1) previousExp = exp + addExp; + else previousExp = levelTable[weapon.Level - 2].TotalExp + exp + addExp; + + foreach (var data in levelTable) + { + if (previousExp > data.TotalExp && weapon.Level < 50) weapon.Level++; + else if (previousExp == data.TotalExp) + { + weapon.Level = data.Level; + break; + } else if (previousExp < data.TotalExp) + { + weapon.Level = data.Level; + weapon.Exp = previousExp - data.TotalExp + data.Exp; + break; + } + } + context.Entry(accountCurrency).State = EntityState.Modified; + context.SaveChanges(); + + return new CharacterWeaponExpGrowthResponse() + { + ParcelResultDB = new() + { + AccountCurrencyDB = accountCurrency, + WeaponDBs = new List { weapon }, + EquipmentDBs = equipmentData + } + }; + } + + [ProtocolHandler(Protocol.Character_WeaponTranscendence)] + public ResponsePacket WeaponTranscendenceHandler(CharacterWeaponTranscendenceRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.TargetCharacterServerId); + var weapon = account.Weapons.FirstOrDefault(x => x.AccountServerId == req.SessionKey.AccountServerId && x.UniqueId == targetCharacter.UniqueId); + var item = account.Items.FirstOrDefault(x => x.AccountServerId == req.SessionKey.AccountServerId && x.UniqueId == targetCharacter.UniqueId); + var currency = account.Currencies.First(); + + var itemNeeded = weapon.StarGrade switch + { + 1 => 120, + 2 => 180, + _ => 0 + }; + + var currencyNeeded = weapon.StarGrade switch + { + 1 => 1000000, + 2 => 1500000, + _ => 0 + }; + + weapon.StarGrade++; + item.StackCount -= itemNeeded; + currency.CurrencyDict[CurrencyTypes.Gold] -= currencyNeeded; + currency.UpdateTimeDict[CurrencyTypes.Gold] = DateTime.Now; + context.Entry(currency).State = EntityState.Modified; + context.SaveChanges(); + + return new CharacterWeaponTranscendenceResponse() + { + ParcelResultDB = new() + { + WeaponDBs = new List { weapon }, + ItemDBs = new Dictionary { { item.UniqueId, item } } + } + }; + } } } diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/CharacterGear.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/CharacterGear.cs index 4ceef8e..bf9066e 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/CharacterGear.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/CharacterGear.cs @@ -3,6 +3,7 @@ using SCHALE.Common.Database.ModelExtensions; using SCHALE.Common.FlatData; using SCHALE.Common.NetworkProtocol; using SCHALE.GameServer.Services; +using Serilog; namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { @@ -24,9 +25,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { var account = sessionKeyService.GetAccount(req.SessionKey); - var gearExcelTable = excelTableService.GetTable().UnPack().DataList; - var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.CharacterServerId); + var gearExcelTable = excelTableService.GetExcelList("CharacterGearDBSchema"); + var targetCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.CharacterServerId); var gearId = gearExcelTable.FirstOrDefault(x => x.CharacterId == targetCharacter.UniqueId).Id; var newGear = new GearDB() diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Echelon.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Echelon.cs index cbdbe6e..2db9fb2 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Echelon.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Echelon.cs @@ -25,7 +25,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers { var account = sessionKeyService.GetAccount(req.SessionKey); - return new EchelonListResponse() { EchelonDBs = [.. account.Echelons] }; + return new EchelonListResponse() { EchelonDBs = [.. account.Echelons], ArenaEchelonDB = new() }; } [ProtocolHandler(Protocol.Echelon_Save)] diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Equipment.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Equipment.cs index 45abae3..3a6938c 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Equipment.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Equipment.cs @@ -30,6 +30,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers Level = originalStack.Level, StackCount = 1, BoundCharacterServerId = req.CharacterServerId, + }; var equippedCharacter = account.Characters.FirstOrDefault(x => x.ServerId == req.CharacterServerId); @@ -84,7 +85,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers targetEquipment.Tier = (int)batchGrowthDB.AfterTier; targetEquipment.Level = (int)batchGrowthDB.AfterLevel; targetEquipment.UniqueId = targetEquipment.UniqueId + batchGrowthDB.AfterTier - 1; // should prob use excel, im lazyzz... - targetEquipment.IsNew = true; targetEquipment.StackCount = 1; context.SaveChanges(); diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Mission.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Mission.cs index 3578485..2b11b23 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Mission.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Mission.cs @@ -19,7 +19,12 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers [ProtocolHandler(Protocol.Mission_Sync)] public ResponsePacket SyncHandler(MissionSyncRequest req) { - return new MissionSyncResponse(); + var account = sessionKeyService.GetAccount(req.SessionKey); + + return new MissionSyncResponse() + { + MissionProgressDBs = [.. account.MissionProgresses] + }; } [ProtocolHandler(Protocol.Mission_List)] diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/MultiFloorRaid.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/MultiFloorRaid.cs index 52b6837..b01a3d8 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/MultiFloorRaid.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/MultiFloorRaid.cs @@ -20,27 +20,64 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers [ProtocolHandler(Protocol.MultiFloorRaid_Sync)] public ResponsePacket SyncHandler(MultiFloorRaidSyncRequest req) { + var raidList = sessionKeyService.GetAccount(req.SessionKey).MultiFloorRaids.ToList(); return new MultiFloorRaidSyncResponse() { - MultiFloorRaidDBs = [ - new() { - SeasonId = 2, - ClearBattleFrame = -1 - } - ] + MultiFloorRaidDBs = raidList.Count == 0 ? new List() { new() { SeasonId = (long)req.SeasonId } } : raidList, }; } [ProtocolHandler(Protocol.MultiFloorRaid_EnterBattle)] public ResponsePacket EnterBattleHandler(MultiFloorRaidEnterBattleRequest req) { - return new MultiFloorRaidEnterBattleResponse(); + return new MultiFloorRaidEnterBattleResponse() + { + AssistCharacterDBs = new() + }; } [ProtocolHandler(Protocol.MultiFloorRaid_EndBattle)] public ResponsePacket EndBattleHandler(MultiFloorRaidEndBattleRequest req) { - return new MultiFloorRaidEndBattleResponse(); + var account = sessionKeyService.GetAccount(req.SessionKey); + MultiFloorRaidDB db = new() { SeasonId = req.SeasonId }; + + if (!req.Summary.IsAbort && req.Summary.EndType == BattleEndType.Clear) + { + if (account.MultiFloorRaids.Any(x => x.AccountServerId == req.AccountId)) + { + db = account.MultiFloorRaids.Where(x => x.AccountServerId == req.AccountId).First(); + } else + { + account.MultiFloorRaids.Add(db); + } + + db.SeasonId = req.SeasonId; + db.ClearedDifficulty = req.Difficulty; + db.LastClearDate = DateTime.Now; + db.RewardDifficulty = req.Difficulty; + db.LastRewardDate = DateTime.Now; + db.ClearBattleFrame = req.Summary.EndFrame; + + context.SaveChanges(); + } + + return new MultiFloorRaidEndBattleResponse() + { + MultiFloorRaidDB = db, + ParcelResultDB = new() + }; + } + + [ProtocolHandler(Protocol.MultiFloorRaid_ReceiveReward)] + public ResponsePacket RecieveRewardHandler(MultiFloorRaidEndBattleRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + return new MultiFloorRaidEndBattleResponse() + { + MultiFloorRaidDB = sessionKeyService.GetAccount(req.SessionKey).MultiFloorRaids.LastOrDefault() ?? new(), + ParcelResultDB = new() + }; } } diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Raid.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Raid.cs index de12e75..31e4648 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Raid.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Raid.cs @@ -196,7 +196,7 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers AccountId = 2, RepresentCharacterUniqueId = 19009113, Level = 1, - Nickname = "夏萝莉是小楠梁", + Nickname = "seggs", Tier = 0, Rank = 1, BestRankingPoint = int.MaxValue, diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Scenario.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Scenario.cs index 7797b41..1ab7f31 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Scenario.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Scenario.cs @@ -34,9 +34,26 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers [ProtocolHandler(Protocol.Scenario_GroupHistoryUpdate)] public ResponsePacket GroupHistoryUpdateHandler(ScenarioGroupHistoryUpdateRequest req) { - return new ScenarioGroupHistoryUpdateResponse(); + var account = sessionKeyService.GetAccount(req.SessionKey); + if (!account.ScenarioGroups.Any(x => x.ScenarioGroupUqniueId == req.ScenarioGroupUniqueId)) + { + account.ScenarioGroups.Add(new() + { + AccountServerId = req.AccountId, + ScenarioGroupUqniueId = req.ScenarioGroupUniqueId, + ScenarioType = req.ScenarioType, + ClearDateTime = DateTime.Now + }); + + context.SaveChanges(); + } + + return new ScenarioGroupHistoryUpdateResponse() + { + ScenarioGroupHistoryDB = account.ScenarioGroups.First(x => x.ScenarioGroupUqniueId == req.ScenarioGroupUniqueId), + }; } - + [ProtocolHandler(Protocol.Scenario_LobbyStudentChange)] public ResponsePacket LobbyStudentChangeHandler(ScenarioLobbyStudentChangeRequest req) { diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/SchoolDungeon.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/SchoolDungeon.cs new file mode 100644 index 0000000..dba1d32 --- /dev/null +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/SchoolDungeon.cs @@ -0,0 +1,152 @@ +using SCHALE.Common.Database; +using SCHALE.Common.Database.ModelExtensions; +using SCHALE.Common.FlatData; +using SCHALE.Common.Migrations.SqlServerMigrations; +using SCHALE.Common.NetworkProtocol; +using SCHALE.GameServer.Managers; +using SCHALE.GameServer.Services; +using Microsoft.EntityFrameworkCore; +using Serilog; +using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database; + +namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers +{ + public class SchoolDungeon : ProtocolHandlerBase + { + private readonly ISessionKeyService sessionKeyService; + private readonly SCHALEContext context; + private readonly ExcelTableService excelTableService; + + public SchoolDungeon(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService _sessionKeyService, SCHALEContext _context, ExcelTableService _excelTableService) : base(protocolHandlerFactory) + { + sessionKeyService = _sessionKeyService; + context = _context; + excelTableService = _excelTableService; + } + + [ProtocolHandler(Protocol.SchoolDungeon_List)] + public ResponsePacket ListHandler(SchoolDungeonListRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + + return new SchoolDungeonListResponse() + { + SchoolDungeonStageHistoryDBList = [.. account.SchoolDungeonStageHistories], + }; + } + + [ProtocolHandler(Protocol.SchoolDungeon_EnterBattle)] + public ResponsePacket EnterBattleHandler(SchoolDungeonEnterBattleRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + + // Consume currencies + var schoolDungeonExcel = excelTableService.GetExcelList("SchoolDungeonStageDBSchema").Where(x => x.StageId == req.StageUniqueId).ToList().FirstOrDefault().UnPack(); + + if (schoolDungeonExcel == null) + { + Log.Information($"could not find {req.StageUniqueId} in SchoolDungeonStageDBSchema"); + + return null; + } + + var currencyDict = account.Currencies.First(); + + List costIdList = schoolDungeonExcel.StageEnterCostId; + List costAmountList = schoolDungeonExcel.StageEnterCostAmount; + for (int i = 0; i < costIdList.Count; i++) + { + var targetCurrencyType = (CurrencyTypes)costIdList[i]; + currencyDict.CurrencyDict[targetCurrencyType] -= costAmountList[i]; + currencyDict.UpdateTimeDict[targetCurrencyType] = DateTime.Now; + } + + context.Entry(currencyDict).State = EntityState.Modified; + context.SaveChanges(); + + return new SchoolDungeonEnterBattleResponse() + { + ParcelResultDB = new() + { + AccountCurrencyDB = currencyDict, + } + }; + } + + [ProtocolHandler(Protocol.SchoolDungeon_BattleResult)] + public ResponsePacket BattleResultHandler(SchoolDungeonBattleResultRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var currencies = account.Currencies.First(); + var schoolDungeonExcel = excelTableService.GetExcelList("SchoolDungeonStageDBSchema").Select(excel => excel.UnPack()).ToList().Where(x => x.StageId == req.StageUniqueId).ToList().FirstOrDefault(); ; + + if (schoolDungeonExcel == null) + { + Log.Information($"The school dungeon with StageUniqueId: {req.StageUniqueId} was not found."); + return null; + } + + SchoolDungeonStageHistoryDB historyDb = new(); + ParcelResultDB parcelResultDb = new() + { + AccountCurrencyDB = currencies, + DisplaySequence = new() + }; + + if (!req.Summary.IsAbort && req.Summary.EndType == BattleEndType.Clear) + { + historyDb = SchoolDungeonService.CreateSchoolDungeonStageHistoryDB(req.AccountId, schoolDungeonExcel); + SchoolDungeonService.CalcStarGoals(schoolDungeonExcel, historyDb, req.Summary); + + if (account.SchoolDungeonStageHistories.Any(x => x.StageUniqueId == req.StageUniqueId)) + { + var existStageHistory = account.SchoolDungeonStageHistories.Where(x => x.StageUniqueId == req.StageUniqueId).First(); + for(var i = 0; i < existStageHistory.StarFlags.Length; i++) + { + existStageHistory.StarFlags[i] = existStageHistory.StarFlags[i] ? true : historyDb.StarFlags[i]; + } + + context.Entry(account.WeekDungeonStageHistories.First()).State = EntityState.Modified; + } + else + { + account.SchoolDungeonStageHistories.Add(historyDb); + } + } + else + { + // Return currencies + List costIdList = schoolDungeonExcel.StageEnterCostId; + List costAmountList = schoolDungeonExcel.StageEnterCostAmount; + + for (int i = 0; i < costIdList.Count; i++) + { + var targetCurrencyType = (CurrencyTypes)costIdList[i]; + currencies.CurrencyDict[targetCurrencyType] += costAmountList[i]; + currencies.UpdateTimeDict[targetCurrencyType] = DateTime.Now; + + parcelResultDb.DisplaySequence.Add(new() + { + Amount = costAmountList[i], + Key = new() + { + Type = ParcelType.Currency, + Id = costIdList[i] + } + }); + } + + context.Entry(currencies).State = EntityState.Modified; + } + + context.SaveChanges(); + + return new SchoolDungeonBattleResultResponse() + { + SchoolDungeonStageHistoryDB = historyDb, + LevelUpCharacterDBs = new(), + ParcelResultDB = parcelResultDb + }; + } + } +} diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs index 60936c5..83fe017 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs @@ -15,16 +15,18 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers private readonly SCHALEContext _context; private readonly SharedDataCacheService _sharedData; private readonly ILogger _logger; + private readonly ExcelTableService _excelTableService; // TODO: temp storage until gacha management public List SavedGachaResults { get; set; } = []; - public Shop(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService sessionKeyService, SCHALEContext context, SharedDataCacheService sharedData, ILogger logger) : base(protocolHandlerFactory) + public Shop(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService sessionKeyService, SCHALEContext context, SharedDataCacheService sharedData, ILogger logger, ExcelTableService excelTableService) : base(protocolHandlerFactory) { _sessionKeyService = sessionKeyService; _context = context; _sharedData = sharedData; _logger = logger; + _excelTableService = excelTableService; } [ProtocolHandler(Protocol.Shop_BeforehandGachaGet)] @@ -71,8 +73,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers foreach (var charId in SavedGachaResults) { - GachaResults.Add(new GachaResult(charId) // hardcode until table + GachaResults.Add(new GachaResult() // hardcode until table { + CharacterId = charId, Character = new() { ServerId = account.ServerId, @@ -85,8 +88,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers PassiveSkillLevel = 1, ExtraPassiveSkillLevel = 1, LeaderSkillLevel = 1, - IsNew = true, - IsLocked = true } }); } @@ -146,8 +147,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers // always 3 star shouldDoGuaranteedSR = false; var isNew = accountChSet.Add(rateUpChId); - gachaList.Add(new(rateUpChId) + gachaList.Add(new() { + CharacterId = rateUpChId, Character = !isNew ? null : new() { AccountServerId = account.ServerId, @@ -178,8 +180,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers var chId = normalSSRList[randomPoolIdx].Id; var isNew = accountChSet.Add(chId); - gachaList.Add(new(chId) + gachaList.Add(new() { + CharacterId = chId, Character = !isNew ? null : new() { AccountServerId = account.ServerId, @@ -206,8 +209,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers var chId = normalSRList[randomPoolIdx].Id; var isNew = accountChSet.Add(chId); - gachaList.Add(new(chId) + gachaList.Add(new() { + CharacterId = chId, Character = !isNew ? null : new() { AccountServerId = account.ServerId, @@ -233,8 +237,9 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers var chId = normalRList[randomPoolIdx].Id; var isNew = accountChSet.Add(chId); - gachaList.Add(new(chId) + gachaList.Add(new() { + CharacterId = chId, Character = !isNew ? null : new() { AccountServerId = account.ServerId, @@ -261,7 +266,6 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers acquiredItems = itemDict.Keys.Select(x => new ItemDB() { - IsNew = true, UniqueId = x, StackCount = itemDict[x], }).ToList(); diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/WeekDungeon.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/WeekDungeon.cs new file mode 100644 index 0000000..59f9726 --- /dev/null +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/WeekDungeon.cs @@ -0,0 +1,151 @@ +using SCHALE.Common.Database; +using SCHALE.Common.Database.ModelExtensions; +using SCHALE.Common.FlatData; +using SCHALE.Common.Migrations.SqlServerMigrations; +using SCHALE.Common.NetworkProtocol; +using SCHALE.GameServer.Managers; +using SCHALE.GameServer.Services; +using Microsoft.EntityFrameworkCore; +using Serilog; + +namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers +{ + public class WeekDungeon : ProtocolHandlerBase + { + private readonly ISessionKeyService sessionKeyService; + private readonly SCHALEContext context; + private readonly ExcelTableService excelTableService; + + public WeekDungeon(IProtocolHandlerFactory protocolHandlerFactory, ISessionKeyService _sessionKeyService, SCHALEContext _context, ExcelTableService _excelTableService) : base(protocolHandlerFactory) + { + sessionKeyService = _sessionKeyService; + context = _context; + excelTableService = _excelTableService; + } + + [ProtocolHandler(Protocol.WeekDungeon_List)] + public ResponsePacket ListHandler(WeekDungeonListRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + + Log.Information("account.WeekDungeonStageHistories count: " + account.WeekDungeonStageHistories.Count); + + return new WeekDungeonListResponse() + { + AdditionalStageIdList = new(), + WeekDungeonStageHistoryDBList = [.. account.WeekDungeonStageHistories] + }; + } + + [ProtocolHandler(Protocol.WeekDungeon_EnterBattle)] + public ResponsePacket EnterBattleHandler(WeekDungeonEnterBattleRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + + // Consume currencies + var weekDungeonExcel = excelTableService.GetTable().UnPack().DataList.Where(x => x.StageId == req.StageUniqueId).ToList().First(); + var currencyDict = account.Currencies.First(); + + List costIdList = weekDungeonExcel.StageEnterCostId; + List costAmountList = weekDungeonExcel.StageEnterCostAmount; + for (int i = 0; i < costIdList.Count; i++) + { + var targetCurrencyType = (CurrencyTypes)costIdList[i]; + currencyDict.CurrencyDict[targetCurrencyType] -= costAmountList[i]; + currencyDict.UpdateTimeDict[targetCurrencyType] = DateTime.Now; + } + + context.Entry(account.Currencies.First()).State = EntityState.Modified; + context.SaveChanges(); + + return new WeekDungeonEnterBattleResponse() + { + ParcelResultDB = new() + { + AccountCurrencyDB = account.Currencies.First(), + } + }; + } + + [ProtocolHandler(Protocol.WeekDungeon_BattleResult)] + public ResponsePacket BattleResultHandler(WeekDungeonBattleResultRequest req) + { + var account = sessionKeyService.GetAccount(req.SessionKey); + var currencies = account.Currencies.First(); + var weekDungeonExcel = excelTableService.GetTable().UnPack().DataList.Where(x => x.StageId == req.StageUniqueId).ToList().First(); + WeekDungeonStageHistoryDB historyDb = new(); + ParcelResultDB parcelResultDb = new() + { + AccountCurrencyDB = currencies, + DisplaySequence = new() + }; + + if (!req.Summary.IsAbort && req.Summary.EndType == BattleEndType.Clear) + { + historyDb = WeekDungeonService.CreateWeekDungeonStageHistoryDB(req.AccountId, weekDungeonExcel); + WeekDungeonService.CalcStarGoals(weekDungeonExcel, historyDb, req.Summary, req.Summary.EndType == BattleEndType.Clear); + + if (account.WeekDungeonStageHistories.Any(x => x.StageUniqueId == req.StageUniqueId)) + { + var existStarGoalRecord = account.WeekDungeonStageHistories.Where(x => x.StageUniqueId == req.StageUniqueId).First().StarGoalRecord; + foreach (var goalPair in historyDb.StarGoalRecord) + { + if (existStarGoalRecord.ContainsKey(goalPair.Key)) + { + if(goalPair.Value > existStarGoalRecord[goalPair.Key]) + { + existStarGoalRecord[goalPair.Key] = goalPair.Value; + } + } + else + { + existStarGoalRecord.Add(goalPair.Key, goalPair.Value); + } + } + + context.Entry(account.WeekDungeonStageHistories.First()).State = EntityState.Modified; + + historyDb.StarGoalRecord = existStarGoalRecord; + } + else + { + account.WeekDungeonStageHistories.Add(historyDb); + } + } + else + { + // Return currencies + List costIdList = weekDungeonExcel.StageEnterCostId; + List costAmountList = weekDungeonExcel.StageEnterCostAmount; + + for (int i = 0; i < costIdList.Count; i++) + { + var targetCurrencyType = (CurrencyTypes)costIdList[i]; + currencies.CurrencyDict[targetCurrencyType] += costAmountList[i]; + currencies.UpdateTimeDict[targetCurrencyType] = DateTime.Now; + + parcelResultDb.DisplaySequence.Add(new() + { + Amount = costAmountList[i], + Key = new() + { + Type = ParcelType.Currency, + Id = costIdList[i] + } + }); + } + + context.Entry(currencies).State = EntityState.Modified; + } + + context.SaveChanges(); + + return new WeekDungeonBattleResultResponse() + { + WeekDungeonStageHistoryDB = historyDb, + LevelUpCharacterDBs = new(), + ParcelResultDB = parcelResultDb, + }; + } + } +} diff --git a/SCHALE.GameServer/GameServer.cs b/SCHALE.GameServer/GameServer.cs index 3ccebe7..b28333c 100644 --- a/SCHALE.GameServer/GameServer.cs +++ b/SCHALE.GameServer/GameServer.cs @@ -68,7 +68,7 @@ namespace SCHALE.GameServer Config.Load(); // Load Excels - await ExcelTableService.LoadExcels(); + await ExcelTableService.LoadResources(); // Load Commands CommandFactory.LoadCommands(); diff --git a/SCHALE.GameServer/Managers/RaidManager.cs b/SCHALE.GameServer/Managers/RaidManager.cs index 93711cf..9951d73 100644 --- a/SCHALE.GameServer/Managers/RaidManager.cs +++ b/SCHALE.GameServer/Managers/RaidManager.cs @@ -59,7 +59,7 @@ namespace SCHALE.GameServer.Managers SeasonId = raidInfo.SeasonId, RaidState = RaidStatus.Playing, IsPractice = isPractice, - BossDifficulty = raidInfo.CurrentDifficulty, + //BossDifficulty = raidInfo.CurrentDifficulty, RaidBossDBs = [ new() { ContentType = ContentType.Raid, @@ -71,7 +71,7 @@ namespace SCHALE.GameServer.Managers else { - RaidDB.BossDifficulty = raidInfo.CurrentDifficulty; + //RaidDB.BossDifficulty = raidInfo.CurrentDifficulty; RaidDB.UniqueId = raidId; RaidDB.IsPractice = isPractice; } diff --git a/SCHALE.GameServer/SCHALE.GameServer.csproj b/SCHALE.GameServer/SCHALE.GameServer.csproj index d9be2df..251a389 100644 --- a/SCHALE.GameServer/SCHALE.GameServer.csproj +++ b/SCHALE.GameServer/SCHALE.GameServer.csproj @@ -14,6 +14,7 @@ + diff --git a/SCHALE.GameServer/Services/CampaignService.cs b/SCHALE.GameServer/Services/CampaignService.cs new file mode 100644 index 0000000..74203ae --- /dev/null +++ b/SCHALE.GameServer/Services/CampaignService.cs @@ -0,0 +1,57 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; +using SCHALE.GameServer.Services; + +public class CampaignService +{ + public static CampaignStageHistoryDB CreateStageHistoryDB(long accountServerId, CampaignStageInfo stageInfo) + { + return new CampaignStageHistoryDB() { + AccountServerId = accountServerId, + StageUniqueId = stageInfo.UniqueId, + ChapterUniqueId = stageInfo.ChapterUniqueId, + TacticClearCountWithRankSRecord = 0, + ClearTurnRecord = 0, + Star1Flag = false, + Star2Flag = false, + Star3Flag = false, + LastPlay = DateTime.Now, + TodayPlayCount = 1, + FirstClearRewardReceive = DateTime.Now, + StarRewardReceive = DateTime.Now, + }; + } + + // Original Implementation + public static void CalcStrategySkipStarGoals(CampaignStageHistoryDB historyDB, BattleSummary summary) + { + // All enemies are defeated + var alivedEnemy = 0; + foreach (var enemy in summary.Group02Summary.Heroes) + { + if (enemy.DeadFrame == -1) + { + alivedEnemy++; + } + } + + historyDB.Star1Flag = alivedEnemy == 0; + + // All enemies are defeated in 120 seconds + historyDB.Star2Flag = summary.Group02Summary.Heroes.Last().DeadFrame <= 120 * 30; + + // No one is defeated + var deadHero = 0; + foreach (var hero in summary.Group01Summary.Heroes) + { + if (hero.DeadFrame != -1) + { + deadHero++; + } + } + + historyDB.Star3Flag = deadHero == 0; + + historyDB.ClearTurnRecord = 1; // The game uses this value to determine if the stage has been cleared + } +} \ No newline at end of file diff --git a/SCHALE.GameServer/Services/ExcelTableService.cs b/SCHALE.GameServer/Services/ExcelTableService.cs index a403700..bb52932 100644 --- a/SCHALE.GameServer/Services/ExcelTableService.cs +++ b/SCHALE.GameServer/Services/ExcelTableService.cs @@ -1,4 +1,5 @@ -using System.IO; +using System.Data.SQLite; +using System.IO; using System.Net.Http; using System.Reflection; using System.Text; @@ -6,6 +7,7 @@ using System.Threading.Tasks; using Google.FlatBuffers; using Ionic.Zip; using SCHALE.Common.Crypto; +using SCHALE.Common.Database; using SCHALE.GameServer.Utils; using Serilog; @@ -16,40 +18,71 @@ namespace SCHALE.GameServer.Services { private readonly ILogger logger = _logger; private readonly Dictionary caches = []; + public static string resourceDir = Path.Join(Path.GetDirectoryName(AppContext.BaseDirectory), "Resources"); - public static async Task LoadExcels(string excelDirectory = "") + public static async Task LoadResources() { - var excelZipUrl = $"https://prod-clientpatch.bluearchiveyostar.com/{Config.Instance.VersionId}/TableBundles/Excel.zip"; - - var excelDir = string.IsNullOrWhiteSpace(excelDirectory) - ? Path.Join(Path.GetDirectoryName(AppContext.BaseDirectory), "Resources/excel") - : excelDirectory; - var excelZipPath = Path.Combine(excelDir, "Excel.zip"); + var versionTxtPath = Path.Combine(resourceDir, "version.txt"); - if (Directory.Exists(excelDir)) + if (Directory.Exists(resourceDir)) { - Log.Information("Excels already downloaded, skipping..."); - return; + if(File.Exists(versionTxtPath) && File.ReadAllText(versionTxtPath) == Config.Instance.VersionId) + { + Log.Information("Resources already downloaded, skipping..."); + return; + } else { + Directory.Delete(resourceDir, true); + Log.Information("The version of the resource is different from that of the server and the resource will be downloaded again"); + } } - - Log.Information("Downloading Excels..."); - Directory.CreateDirectory(excelDir); + + Log.Information("Downloading resources, this may take a while..."); + + Directory.CreateDirectory(resourceDir); + + var baseUrl = $"https://prod-clientpatch.bluearchiveyostar.com/{Config.Instance.VersionId}/TableBundles/"; + var tableCatalogName = "TableCatalog.bytes"; + var tableCatalogUrl = baseUrl + tableCatalogName; + var tableCatalogPath = Path.Combine(resourceDir, tableCatalogName); using var client = new HttpClient(); - var zipBytes = await client.GetByteArrayAsync(excelZipUrl); + var downloadList = new List() { "ExcelDB.db", "Excel.zip" }; - File.WriteAllBytes(excelZipPath, zipBytes); - - using (var zip = ZipFile.Read(excelZipPath)) { - zip.Password = Convert.ToBase64String(TableService.CreatePassword(Path.GetFileName(excelZipPath))); - - //Log.Information("password: " + Convert.ToBase64String(TableService.CreatePassword(Path.GetFileName(excelZipPath)))); - - zip.ExtractAll(excelDir, ExtractExistingFileAction.OverwriteSilently); + var downloadedFolderName = "downloaded"; + var downloadedFolderPath = Path.Combine(resourceDir, downloadedFolderName); + if (!Directory.Exists(downloadedFolderPath)) + { + Directory.CreateDirectory(downloadedFolderPath); } - File.Delete(excelZipPath); - Log.Information($"Excel Version {Config.Instance.VersionId} downloaded! Notice that versions higher than r67 currently does not work"); + foreach (var bundle in downloadList) + { + var downloadFileName = bundle; + var downloadUrl = baseUrl + downloadFileName; + var downloadFilePath = Path.Combine(downloadedFolderPath, downloadFileName); + Log.Information($"Downloading {downloadFileName}..."); + File.WriteAllBytes(downloadFilePath, await client.GetByteArrayAsync(downloadUrl)); + + if(Path.GetExtension(downloadFilePath) == ".zip") + { + Log.Information($"Extracting {downloadFileName}..."); + using (var zip = ZipFile.Read(downloadFilePath)) + { + zip.Password = Convert.ToBase64String(TableService.CreatePassword(Path.GetFileName(downloadFilePath))); + zip.ExtractAll(Path.Combine(resourceDir, Path.GetFileNameWithoutExtension(downloadFilePath)), ExtractExistingFileAction.OverwriteSilently); + } + } else + { + File.Move(downloadFilePath, Path.Combine(resourceDir, downloadFileName)); + } + } + + Log.Information($"Deleting {downloadedFolderName} folder..."); + Directory.Delete(downloadedFolderPath, true); + + File.WriteAllText(versionTxtPath, Config.Instance.VersionId); + + Log.Information($"Resource Version {Config.Instance.VersionId} downloaded!"); } /// @@ -58,16 +91,14 @@ namespace SCHALE.GameServer.Services /// /// /// - public T GetTable(bool bypassCache = false, string excelDirectory = "") where T : IFlatbufferObject + public T GetTable(bool bypassCache = false) where T : IFlatbufferObject { var type = typeof(T); if (!bypassCache && caches.TryGetValue(type, out var cache)) return (T)cache; - var excelDir = string.IsNullOrWhiteSpace(excelDirectory) - ? Path.Join(Path.GetDirectoryName(AppContext.BaseDirectory), "Resources/excel") - : excelDirectory; + var excelDir = Path.Combine(resourceDir, "Excel"); var bytesFilePath = Path.Join(excelDir, $"{type.Name.ToLower()}.bytes"); if (!File.Exists(bytesFilePath)) { @@ -83,6 +114,28 @@ namespace SCHALE.GameServer.Services return (T)inst!; } + + public List GetExcelList(string schema) + { + var excelList = new List(); + var type = typeof(T); + using (var dbConnection = new SQLiteConnection($"Data Source = {Path.Join(resourceDir, "ExcelDB.db")}")) + { + dbConnection.Open(); + var command = dbConnection.CreateCommand(); + command.CommandText = $"SELECT Bytes FROM {schema}"; + using (var reader = command.ExecuteReader()) + { + while (reader.Read()) + { + excelList.Add( (T)type.GetMethod( $"GetRootAs{type.Name}", BindingFlags.Static | BindingFlags.Public, [typeof(ByteBuffer)] )! + .Invoke( null, [ new ByteBuffer( (byte[])reader[0] ) ] )); + } + } + } + + return excelList; + } } internal static class ExcelTableServiceExtensions diff --git a/SCHALE.GameServer/Services/SchoolDungeonService.cs b/SCHALE.GameServer/Services/SchoolDungeonService.cs new file mode 100644 index 0000000..eb0a67a --- /dev/null +++ b/SCHALE.GameServer/Services/SchoolDungeonService.cs @@ -0,0 +1,57 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; +using SCHALE.GameServer.Services; + +public class SchoolDungeonService +{ + public static SchoolDungeonStageHistoryDB CreateSchoolDungeonStageHistoryDB(long accountId, SchoolDungeonStageExcelT excel) + { + return new SchoolDungeonStageHistoryDB() { AccountServerId = accountId, StageUniqueId = excel.StageId }; + } + + public static void CalcStarGoals(SchoolDungeonStageExcelT excel, SchoolDungeonStageHistoryDB historyDB, BattleSummary battleSummary) + { + historyDB.StarFlags = new bool[excel.StarGoal.Count]; + + var starGoalTypes = excel.StarGoal; + var starGoalAmounts = excel.StarGoalAmount; + + for (int i = 0; i < starGoalTypes.Count; i++) + { + var targetGoalType = starGoalTypes[i]; + var targetGoalAmount = starGoalAmounts[i]; + + historyDB.StarFlags[i] = IsStarGoalCleared(targetGoalType, targetGoalAmount, battleSummary); + } + } + + private static bool IsStarGoalCleared(StarGoalType goalType, int goalAmount, BattleSummary battleSummary) + { + var result = false; + + switch (goalType) + { + case StarGoalType.Clear: + result = battleSummary.EndType == BattleEndType.Clear; + break; + + case StarGoalType.AllAlive: + foreach (var hero in battleSummary.Group01Summary.Heroes) + { + if (hero.DeadFrame != -1) + { + return false; + } + } + + result = true; + break; + + case StarGoalType.ClearTimeInSec: + result = battleSummary.EndFrame <= goalAmount * 30; + break; + } + + return result; + } +} \ No newline at end of file diff --git a/SCHALE.GameServer/Services/SharedDataCacheService.cs b/SCHALE.GameServer/Services/SharedDataCacheService.cs index a27da61..6d03aab 100644 --- a/SCHALE.GameServer/Services/SharedDataCacheService.cs +++ b/SCHALE.GameServer/Services/SharedDataCacheService.cs @@ -41,7 +41,7 @@ namespace SCHALE.GameServer.Services IsPlayable: true, IsPlayableCharacter: true, IsDummy: false, - IsNpc: false, + IsNPC: false, ProductionStep: ProductionStep.Release, }) .ToList(); diff --git a/SCHALE.GameServer/Services/WeekDungeonService.cs b/SCHALE.GameServer/Services/WeekDungeonService.cs new file mode 100644 index 0000000..74a3fb3 --- /dev/null +++ b/SCHALE.GameServer/Services/WeekDungeonService.cs @@ -0,0 +1,67 @@ +using SCHALE.Common.Database; +using SCHALE.Common.FlatData; + +public class WeekDungeonService +{ + public static WeekDungeonStageHistoryDB CreateWeekDungeonStageHistoryDB(long accountServerId, WeekDungeonExcelT excel) { + return new WeekDungeonStageHistoryDB() { AccountServerId = accountServerId, StageUniqueId = excel.StageId, StarGoalRecord = new() }; + } + + public static void CalcStarGoals(WeekDungeonExcelT excel, WeekDungeonStageHistoryDB stageHistory, BattleSummary battleSummary, bool clearStage) + { + for (int i = 0; i < excel.StarGoal.Count; i++) + { + stageHistory.StarGoalRecord.Add(excel.StarGoal[i], WeekDungeonService.CalcStarGoal(excel.WeekDungeonType, + excel.StarGoal[i], excel.StarGoalAmount[i], battleSummary, clearStage)); + } + } + + public static long CalcStarGoal(WeekDungeonType dungeonType, StarGoalType goalType, long goalSeconds, BattleSummary battleSummary, bool clearStage) { + long result = 0; + + switch (goalType) + { + case StarGoalType.Clear: + if (clearStage) + { + result = 1; + } + break; + + case StarGoalType.AllAlive: + result = CalcAllAlive(battleSummary); + break; + + case StarGoalType.GetBoxes: + result = CalcGetBoxes(dungeonType, battleSummary); + break; + + case StarGoalType.ClearTimeInSec: + if (battleSummary.EndFrame <= goalSeconds * 30) + { + result = 1; + } + break; + } + + return result; + } + + public static long CalcAllAlive(BattleSummary battleSummary) { + var allAlive = 1; + foreach(var hero in battleSummary.Group01Summary.Heroes) + { + if(hero.DeadFrame != -1) + { + allAlive = 0; + break; + } + } + + return allAlive; + } + + public static long CalcGetBoxes(WeekDungeonType dungeonType, BattleSummary battleSummary) { + return battleSummary.WeekDungeonSummary.FindGifts.First().ClearCount; + } +} \ No newline at end of file diff --git a/SCHALE.GameServer/Utils/Config.cs b/SCHALE.GameServer/Utils/Config.cs index 86703fe..1087e17 100644 --- a/SCHALE.GameServer/Utils/Config.cs +++ b/SCHALE.GameServer/Utils/Config.cs @@ -14,7 +14,7 @@ namespace SCHALE.GameServer.Utils public string IRCAddress { get; set; } = "127.0.0.1"; public int IRCPort { get; set; } = 6667; - public string VersionId { get; set; } = "r73_6chhs5tfm4odqqb24x75"; + public string VersionId { get; set; } = "r75_49ajrpwcziy395uuk0jq_2"; public static void Load() { diff --git a/SCHALE.GameServer/Utils/InventoryUtils.cs b/SCHALE.GameServer/Utils/InventoryUtils.cs index 1b688ec..584a626 100644 --- a/SCHALE.GameServer/Utils/InventoryUtils.cs +++ b/SCHALE.GameServer/Utils/InventoryUtils.cs @@ -11,21 +11,60 @@ namespace SCHALE.Common.Utils { public static class InventoryUtils { - public static void AddAllCharacters(IrcConnection connection) + public static void AddAllCharacters(IrcConnection connection, bool maxed = true) { var account = connection.Account; var context = connection.Context; var characterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var defaultCharacterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var characterLevelExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + //var favorLevelExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + // was moved to db, fix later hardcode now + var allCharacters = characterExcel.Where(x => x is { IsPlayable: true, IsPlayableCharacter: true, - IsNpc: false, + IsNPC: false, ProductionStep: ProductionStep.Release, } - ).Select(x => CreateMaxCharacterFromId(x.Id)).ToList(); + ) + .Where(x => !account.Characters.Any(y => y.UniqueId == x.Id)) + .Select(x => { + return new CharacterDB() + { + UniqueId = x.Id, + StarGrade = maxed ? x.MaxStarGrade : x.DefaultStarGrade, + Level = maxed ? characterLevelExcel.Count : 1, + Exp = 0, + PublicSkillLevel = maxed ? 10 : 1, + ExSkillLevel = maxed ? 5 : 1, + PassiveSkillLevel = maxed ? 10 : 1, + ExtraPassiveSkillLevel = maxed ? 10 : 1, + LeaderSkillLevel = 1, + FavorRank = maxed ? 200 : 1, + PotentialStats = { { 1, 0 }, { 2, 0 }, { 3, 0 } }, + EquipmentServerIds = [0, 0, 0] + }; + }).ToList(); + + foreach (var character in account.Characters.Where(x => characterExcel.Any(y => y.Id == x.UniqueId))) + { + var updateCharacter = character; + updateCharacter.StarGrade = maxed ? characterExcel.FirstOrDefault(y => y.Id == character.UniqueId).MaxStarGrade : characterExcel.FirstOrDefault(y => y.Id == character.UniqueId).DefaultStarGrade; + updateCharacter.PublicSkillLevel = maxed ? 10 : 1; + updateCharacter.ExSkillLevel = maxed ? 5 : 1; + updateCharacter.PassiveSkillLevel = maxed ? 10 : 1; + updateCharacter.ExtraPassiveSkillLevel = maxed ? 10 : 1; + updateCharacter.Level = maxed ? characterLevelExcel.Count : 1; + updateCharacter.Exp = 0; + updateCharacter.FavorRank = maxed ? 200 : 1; + updateCharacter.PotentialStats = new Dictionary { { 1, 0 }, { 2, 0 }, { 3, 0 } }; + updateCharacter.EquipmentServerIds = [0, 0, 0]; + connection.Context.Characters.Update(updateCharacter); + } account.AddCharacters(context, [.. allCharacters]); context.SaveChanges(); @@ -33,22 +72,48 @@ namespace SCHALE.Common.Utils connection.SendChatMessage("Added all characters!"); } - public static void AddAllEquipment(IrcConnection connection) + public static void AddAllEquipment(IrcConnection connection, bool maxed = true) { var equipmentExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var allEquipment = equipmentExcel.Select(x => { return new EquipmentDB() { UniqueId = x.Id, - Level = 1, - StackCount = 77777, // ~ 90,000 cap, auto converted if over + Level = 1, // don't use stackable max for now, ItemAutoSync still causing problems for those upgrade things + StackCount = 7777, // ~ 90,000 cap, auto converted if over }; }).ToList(); connection.Account.AddEquipment(connection.Context, [.. allEquipment]); connection.Context.SaveChanges(); + // current character equipment implementation doesn't work + /*var characterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var allCharacterEquipment = characterExcel.FindAll(x => connection.Account.Characters.Any(y => y.UniqueId == x.Id)).ToList(); + foreach (var characterEquipmentData in allCharacterEquipment) + { + var characterEquipment = characterEquipmentData.EquipmentSlot.Select(x => + { + var equipmentData = equipmentExcel.FirstOrDefault(y => y.EquipmentCategory == x && y.MaxLevel == 65 && y.RecipeId == 0 && y.TierInit == 9); + return new EquipmentDB() + { + UniqueId = equipmentData.Id, + Level = maxed ? equipmentData.MaxLevel : 0, + Tier = maxed ? (int)equipmentData.TierInit : 1, + StackCount = 1, + BoundCharacterServerId = connection.Account.Characters.FirstOrDefault(y => y.UniqueId == characterEquipmentData.Id).ServerId + }; + }); + connection.Account.AddEquipment(connection.Context, [.. characterEquipment]); + connection.Context.SaveChanges(); + connection.Account.Characters.FirstOrDefault(x => x.UniqueId == characterEquipmentData.Id).EquipmentServerIds.Clear(); + connection.Account.Characters.FirstOrDefault(x => x.UniqueId == characterEquipmentData.Id).EquipmentServerIds.AddRange(characterEquipment.Select(x => x.ServerId)); + } + connection.Context.SaveChanges(); + */ + connection.SendChatMessage("Added all equipment!"); } @@ -59,9 +124,8 @@ namespace SCHALE.Common.Utils { return new ItemDB() { - IsNew = true, UniqueId = x.Id, - StackCount = 1000, + StackCount = 1000 }; }).ToList(); @@ -71,11 +135,12 @@ namespace SCHALE.Common.Utils connection.SendChatMessage("Added all items!"); } - public static void AddAllWeapons(IrcConnection connection) + public static void AddAllWeapons(IrcConnection connection, bool maxed = true) { var account = connection.Account; var context = connection.Context; + var weaponExcel = connection.ExcelTableService.GetTable().UnPack().DataList; // only for current characters var allWeapons = account.Characters.Select(x => { @@ -83,9 +148,8 @@ namespace SCHALE.Common.Utils { UniqueId = x.UniqueId, BoundCharacterServerId = x.ServerId, - IsLocked = false, - StarGrade = 3, - Level = 50 + StarGrade = maxed ? weaponExcel.FirstOrDefault(y => y.Id == x.UniqueId).Unlock.TakeWhile(y => y).Count() : 1, + Level = maxed ? 50 : 1 }; }); @@ -95,24 +159,27 @@ namespace SCHALE.Common.Utils connection.SendChatMessage("Added all weapons!"); } - public static void AddAllGears(IrcConnection connection) + public static void AddAllGears(IrcConnection connection, bool maxed = true) { var account = connection.Account; var context = connection.Context; - var gearExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + //var uniqueGearExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var uniqueGearExcel = connection.ExcelTableService.GetExcelList("CharacterGearDBSchema"); - var allGears = gearExcel.Where(x => x.Tier == 2 && context.Characters.Any(y => y.UniqueId == x.CharacterId)).Select(x => new GearDB() - { - UniqueId = x.Id, - Level = 1, - SlotIndex = 4, - BoundCharacterServerId = context.Characters.FirstOrDefault(z => z.UniqueId == x.CharacterId).ServerId, - Tier = 2, - Exp = 0, - }); + var uniqueGear = uniqueGearExcel.Where(x => x.Tier == 2 && context.Characters.Any(y => y.UniqueId == x.CharacterId)).Select(x => + new GearDB() + { + UniqueId = x.Id, + Level = 1, + SlotIndex = 4, + BoundCharacterServerId = context.Characters.FirstOrDefault(z => z.UniqueId == x.CharacterId).ServerId, + Tier = maxed ? 2 : 1, + Exp = 0, + } + ); - account.AddGears(context, [.. allGears]); + account.AddGears(context, [.. uniqueGear]); context.SaveChanges(); connection.SendChatMessage("Added all gears!"); @@ -123,24 +190,14 @@ namespace SCHALE.Common.Utils var account = connection.Account; var context = connection.Context; - var characterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; - var allCharacters = characterExcel.Where(x => - x is + var memoryLobbyExcel = connection.ExcelTableService.GetExcelList("MemoryLobbyDBSchema"); + var allMemoryLobbies = memoryLobbyExcel.Select(x => + { + return new MemoryLobbyDB() { - IsPlayable: true, - IsPlayableCharacter: true, - IsNpc: false, - ProductionStep: ProductionStep.Release, - } - ).Select(x => x.Id).ToList(); - - var allMemoryLobbies = allCharacters.Select(x => - { - return new MemoryLobbyDB() - { - MemoryLobbyUniqueId = x, - }; - }).ToList(); + MemoryLobbyUniqueId = x.Id, + }; + }).ToList(); account.AddMemoryLobbies(context, [.. allMemoryLobbies]); context.SaveChanges(); @@ -153,53 +210,50 @@ namespace SCHALE.Common.Utils var account = connection.Account; var context = connection.Context; - //var scenarioModeExcel = connection.ExcelTableService.GetTable().UnPack().DataList; - //var allScenarios = scenarioModeExcel.Select(x => - //{ - // return new ScenarioHistoryDB() - // { - // ScenarioUniqueId = x.ModeId, - // }; - //}).ToList(); + var scenarioModeExcel = connection.ExcelTableService.GetExcelList("ScenarioModeDBSchema"); + var allScenarios = scenarioModeExcel.Select(x => + { + return new ScenarioHistoryDB() + { + ScenarioUniqueId = x.ModeId, + }; + }).ToList(); - //account.AddScenarios(context, [.. allScenarios]); + account.AddScenarios(context, [.. allScenarios]); context.SaveChanges(); connection.SendChatMessage("Added all Scenarios!"); } - public static void AddAllFurnitures(IrcConnection connection) - { - var furnitureExcel = connection.ExcelTableService.GetTable().UnPack().DataList; - var allFurnitures = furnitureExcel.Select(x => - { - return new FurnitureDB() - { - UniqueId = x.Id, - StackCount = 7777, - Location = FurnitureLocation.Inventory - }; - }).ToList(); - - connection.Account.AddFurnitures(connection.Context, [.. allFurnitures]); - connection.Context.SaveChanges(); - - connection.SendChatMessage("Added all furnitures!"); - } - public static void RemoveAllCharacters(IrcConnection connection) // removing default characters breaks game { var characterDB = connection.Context.Characters; - var defaultCharacters = connection.ExcelTableService.GetTable().UnPack().DataList.Select(x => x.CharacterId).ToList(); + var characterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; + var defaultCharacterExcel = connection.ExcelTableService.GetTable().UnPack().DataList; - var removed = characterDB.Where(x => x.AccountServerId == connection.AccountServerId && !defaultCharacters.Contains(x.UniqueId)); + var removed = characterDB.Where(x => x.AccountServerId == connection.AccountServerId && !defaultCharacterExcel.Select(x => x.CharacterId).ToList().Contains(x.UniqueId)); characterDB.RemoveRange(removed); + foreach (var character in connection.Account.Characters.Where(x => defaultCharacterExcel.Any(y => y.CharacterId == x.UniqueId))) + { + var defaultChar = character; + defaultChar.StarGrade = characterExcel.FirstOrDefault(x => x.Id == character.UniqueId).DefaultStarGrade; + defaultChar.PublicSkillLevel = 1; + defaultChar.ExSkillLevel = 1; + defaultChar.PassiveSkillLevel = 1; + defaultChar.ExtraPassiveSkillLevel = 1; + defaultChar.Level = 1; + defaultChar.Exp = 0; + defaultChar.FavorRank = 1; + defaultChar.PotentialStats = new Dictionary { { 1, 0 }, { 2, 0 }, { 3, 0 } }; + defaultChar.EquipmentServerIds = [0, 0, 0]; + connection.Context.Characters.Update(defaultChar); + } connection.SendChatMessage("Removed all characters!"); } - public static CharacterDB CreateMaxCharacterFromId(long characterId) + public static CharacterDB CreateMaxCharacterFromId(uint characterId) { return new CharacterDB() { @@ -212,9 +266,7 @@ namespace SCHALE.Common.Utils PassiveSkillLevel = 10, ExtraPassiveSkillLevel = 10, LeaderSkillLevel = 1, - FavorRank = 20, - IsNew = true, - IsLocked = true, + FavorRank = 100, PotentialStats = { { 1, 0 }, { 2, 0 }, { 3, 0 } }, EquipmentServerIds = [0, 0, 0] };