From 89b7f493ff2df11637b848a132a15c1dc8713dec Mon Sep 17 00:00:00 2001 From: raphaeIl Date: Mon, 20 Jan 2025 03:55:58 -0500 Subject: [PATCH] r76 protos and flatdata --- SCHALE.Common/FlatData/AccountLevelExcel.cs | 34 +- SCHALE.Common/FlatData/AttendanceExcel.cs | 24 +- .../FlatData/CVUnlockScenarioType.cs | 16 + .../FlatData/CharacterDialogEmojiExcel.cs | 150 +++ .../CharacterDialogEmojiExcelTable.cs | 88 ++ .../FlatData/CharacterDialogEventExcel.cs | 37 +- SCHALE.Common/FlatData/ConstCommonExcel.cs | 903 +++++++++--------- .../FlatData/ConstEventCommonExcel.cs | 17 +- SCHALE.Common/FlatData/ConstFieldExcel.cs | 134 +-- SCHALE.Common/FlatData/DialogCategory.cs | 1 + SCHALE.Common/FlatData/Difficulty.cs | 1 + .../FlatData/EventContentMeetupInfoExcel.cs | 102 ++ .../EventContentMeetupInfoExcelTable.cs | 88 ++ .../FlatData/EventContentScenarioExcel.cs | 73 +- SCHALE.Common/FlatData/EventContentType.cs | 2 + .../FlatData/FieldContentStageExcel.cs | 158 ++- SCHALE.Common/FlatData/FieldDateExcel.cs | 78 +- SCHALE.Common/FlatData/FieldDialogType.cs | 2 + SCHALE.Common/FlatData/FieldEvidenceExcel.cs | 61 +- .../FlatData/FieldInteractionType.cs | 1 + SCHALE.Common/FlatData/FieldKeywordExcel.cs | 49 +- SCHALE.Common/FlatData/FieldSceneExcel.cs | 86 +- SCHALE.Common/FlatData/FieldSeasonExcel.cs | 74 +- .../FlatData/FieldWorldMapButtonType.cs | 18 + .../FlatData/FieldWorldMapZoneExcel.cs | 32 +- SCHALE.Common/FlatData/ProductMonthlyExcel.cs | 103 +- .../FlatData/StageFileRefreshSettingExcel.cs | 84 -- .../FlatData/UnderCoverItemCategory.cs | 17 + .../FlatData/UnderCoverStageExcel.cs | 145 +++ SCHALE.Common/NetworkProtocol/protos.cs | 15 +- .../Controllers/Api/ProtocolHandlers/Shop.cs | 236 ++--- SCHALE.GameServer/GameServer.cs | 6 + SCHALE.GameServer/Utils/Config.cs | 2 +- SCHALE.GameServer/Utils/InventoryUtils.cs | 2 +- 34 files changed, 1761 insertions(+), 1078 deletions(-) create mode 100644 SCHALE.Common/FlatData/CVUnlockScenarioType.cs create mode 100644 SCHALE.Common/FlatData/CharacterDialogEmojiExcel.cs create mode 100644 SCHALE.Common/FlatData/CharacterDialogEmojiExcelTable.cs create mode 100644 SCHALE.Common/FlatData/EventContentMeetupInfoExcel.cs create mode 100644 SCHALE.Common/FlatData/EventContentMeetupInfoExcelTable.cs create mode 100644 SCHALE.Common/FlatData/FieldWorldMapButtonType.cs delete mode 100644 SCHALE.Common/FlatData/StageFileRefreshSettingExcel.cs create mode 100644 SCHALE.Common/FlatData/UnderCoverItemCategory.cs create mode 100644 SCHALE.Common/FlatData/UnderCoverStageExcel.cs diff --git a/SCHALE.Common/FlatData/AccountLevelExcel.cs b/SCHALE.Common/FlatData/AccountLevelExcel.cs index 1b9d02b..72beaca 100644 --- a/SCHALE.Common/FlatData/AccountLevelExcel.cs +++ b/SCHALE.Common/FlatData/AccountLevelExcel.cs @@ -23,30 +23,38 @@ public struct AccountLevelExcel : IFlatbufferObject public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Level { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long Exp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long APAutoChargeMax { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public bool NeedReportEvent { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public int NewbieExpRatio { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CloseInterval { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long APAutoChargeMax { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool NeedReportEvent { get { int o = __p.__offset(16); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public static Offset CreateAccountLevelExcel(FlatBufferBuilder builder, long Id = 0, long Level = 0, long Exp = 0, + int NewbieExpRatio = 0, + int CloseInterval = 0, long APAutoChargeMax = 0, bool NeedReportEvent = false) { - builder.StartTable(5); + builder.StartTable(7); AccountLevelExcel.AddAPAutoChargeMax(builder, APAutoChargeMax); AccountLevelExcel.AddExp(builder, Exp); AccountLevelExcel.AddLevel(builder, Level); AccountLevelExcel.AddId(builder, Id); + AccountLevelExcel.AddCloseInterval(builder, CloseInterval); + AccountLevelExcel.AddNewbieExpRatio(builder, NewbieExpRatio); AccountLevelExcel.AddNeedReportEvent(builder, NeedReportEvent); return AccountLevelExcel.EndAccountLevelExcel(builder); } - public static void StartAccountLevelExcel(FlatBufferBuilder builder) { builder.StartTable(5); } + public static void StartAccountLevelExcel(FlatBufferBuilder builder) { builder.StartTable(7); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddLevel(FlatBufferBuilder builder, long level) { builder.AddLong(1, level, 0); } public static void AddExp(FlatBufferBuilder builder, long exp) { builder.AddLong(2, exp, 0); } - public static void AddAPAutoChargeMax(FlatBufferBuilder builder, long aPAutoChargeMax) { builder.AddLong(3, aPAutoChargeMax, 0); } - public static void AddNeedReportEvent(FlatBufferBuilder builder, bool needReportEvent) { builder.AddBool(4, needReportEvent, false); } + public static void AddNewbieExpRatio(FlatBufferBuilder builder, int newbieExpRatio) { builder.AddInt(3, newbieExpRatio, 0); } + public static void AddCloseInterval(FlatBufferBuilder builder, int closeInterval) { builder.AddInt(4, closeInterval, 0); } + public static void AddAPAutoChargeMax(FlatBufferBuilder builder, long aPAutoChargeMax) { builder.AddLong(5, aPAutoChargeMax, 0); } + public static void AddNeedReportEvent(FlatBufferBuilder builder, bool needReportEvent) { builder.AddBool(6, needReportEvent, false); } public static Offset EndAccountLevelExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -61,6 +69,8 @@ public struct AccountLevelExcel : IFlatbufferObject _o.Id = TableEncryptionService.Convert(this.Id, key); _o.Level = TableEncryptionService.Convert(this.Level, key); _o.Exp = TableEncryptionService.Convert(this.Exp, key); + _o.NewbieExpRatio = TableEncryptionService.Convert(this.NewbieExpRatio, key); + _o.CloseInterval = TableEncryptionService.Convert(this.CloseInterval, key); _o.APAutoChargeMax = TableEncryptionService.Convert(this.APAutoChargeMax, key); _o.NeedReportEvent = TableEncryptionService.Convert(this.NeedReportEvent, key); } @@ -71,6 +81,8 @@ public struct AccountLevelExcel : IFlatbufferObject _o.Id, _o.Level, _o.Exp, + _o.NewbieExpRatio, + _o.CloseInterval, _o.APAutoChargeMax, _o.NeedReportEvent); } @@ -81,6 +93,8 @@ public class AccountLevelExcelT public long Id { get; set; } public long Level { get; set; } public long Exp { get; set; } + public int NewbieExpRatio { get; set; } + public int CloseInterval { get; set; } public long APAutoChargeMax { get; set; } public bool NeedReportEvent { get; set; } @@ -88,6 +102,8 @@ public class AccountLevelExcelT this.Id = 0; this.Level = 0; this.Exp = 0; + this.NewbieExpRatio = 0; + this.CloseInterval = 0; this.APAutoChargeMax = 0; this.NeedReportEvent = false; } @@ -102,8 +118,10 @@ static public class AccountLevelExcelVerify && verifier.VerifyField(tablePos, 4 /*Id*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 6 /*Level*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 8 /*Exp*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 10 /*APAutoChargeMax*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 12 /*NeedReportEvent*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 10 /*NewbieExpRatio*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 12 /*CloseInterval*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*APAutoChargeMax*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 16 /*NeedReportEvent*/, 1 /*bool*/, 1, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/AttendanceExcel.cs b/SCHALE.Common/FlatData/AttendanceExcel.cs index b3c79cf..ebcd766 100644 --- a/SCHALE.Common/FlatData/AttendanceExcel.cs +++ b/SCHALE.Common/FlatData/AttendanceExcel.cs @@ -87,6 +87,13 @@ public struct AttendanceExcel : IFlatbufferObject public ArraySegment? GetDecorationImagePathBytes() { return __p.__vector_as_arraysegment(40); } #endif public byte[] GetDecorationImagePathArray() { return __p.__vector_as_array(40); } + public string DecorationGarlandImagePath { get { int o = __p.__offset(42); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetDecorationGarlandImagePathBytes() { return __p.__vector_as_span(42, 1); } +#else + public ArraySegment? GetDecorationGarlandImagePathBytes() { return __p.__vector_as_arraysegment(42); } +#endif + public byte[] GetDecorationGarlandImagePathArray() { return __p.__vector_as_array(42); } public static Offset CreateAttendanceExcel(FlatBufferBuilder builder, long Id = 0, @@ -107,13 +114,15 @@ public struct AttendanceExcel : IFlatbufferObject 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); + StringOffset DecorationImagePathOffset = default(StringOffset), + StringOffset DecorationGarlandImagePathOffset = default(StringOffset)) { + builder.StartTable(20); AttendanceExcel.AddExpiryDate(builder, ExpiryDate); AttendanceExcel.AddBookSize(builder, BookSize); AttendanceExcel.AddAccountLevelLimit(builder, AccountLevelLimit); AttendanceExcel.AddDisplayOrder(builder, DisplayOrder); AttendanceExcel.AddId(builder, Id); + AttendanceExcel.AddDecorationGarlandImagePath(builder, DecorationGarlandImagePathOffset); AttendanceExcel.AddDecorationImagePath(builder, DecorationImagePathOffset); AttendanceExcel.AddTitleImagePath(builder, TitleImagePathOffset); AttendanceExcel.AddDialogCategory(builder, DialogCategory); @@ -131,7 +140,7 @@ public struct AttendanceExcel : IFlatbufferObject return AttendanceExcel.EndAttendanceExcel(builder); } - public static void StartAttendanceExcel(FlatBufferBuilder builder) { builder.StartTable(19); } + public static void StartAttendanceExcel(FlatBufferBuilder builder) { builder.StartTable(20); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddType(FlatBufferBuilder builder, SCHALE.Common.FlatData.AttendanceType type) { builder.AddInt(1, (int)type, 0); } public static void AddCountdownPrefab(FlatBufferBuilder builder, StringOffset countdownPrefabOffset) { builder.AddOffset(2, countdownPrefabOffset.Value, 0); } @@ -151,6 +160,7 @@ public struct AttendanceExcel : IFlatbufferObject 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 void AddDecorationGarlandImagePath(FlatBufferBuilder builder, StringOffset decorationGarlandImagePathOffset) { builder.AddOffset(19, decorationGarlandImagePathOffset.Value, 0); } public static Offset EndAttendanceExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -181,6 +191,7 @@ public struct AttendanceExcel : IFlatbufferObject _o.DialogCategory = TableEncryptionService.Convert(this.DialogCategory, key); _o.TitleImagePath = TableEncryptionService.Convert(this.TitleImagePath, key); _o.DecorationImagePath = TableEncryptionService.Convert(this.DecorationImagePath, key); + _o.DecorationGarlandImagePath = TableEncryptionService.Convert(this.DecorationGarlandImagePath, key); } public static Offset Pack(FlatBufferBuilder builder, AttendanceExcelT _o) { if (_o == null) return default(Offset); @@ -192,6 +203,7 @@ public struct AttendanceExcel : IFlatbufferObject var _EndDate = _o.EndDate == null ? default(StringOffset) : builder.CreateString(_o.EndDate); var _TitleImagePath = _o.TitleImagePath == null ? default(StringOffset) : builder.CreateString(_o.TitleImagePath); var _DecorationImagePath = _o.DecorationImagePath == null ? default(StringOffset) : builder.CreateString(_o.DecorationImagePath); + var _DecorationGarlandImagePath = _o.DecorationGarlandImagePath == null ? default(StringOffset) : builder.CreateString(_o.DecorationGarlandImagePath); return CreateAttendanceExcel( builder, _o.Id, @@ -212,7 +224,8 @@ public struct AttendanceExcel : IFlatbufferObject _o.MailType, _o.DialogCategory, _TitleImagePath, - _DecorationImagePath); + _DecorationImagePath, + _DecorationGarlandImagePath); } } @@ -237,6 +250,7 @@ public class AttendanceExcelT public SCHALE.Common.FlatData.DialogCategory DialogCategory { get; set; } public string TitleImagePath { get; set; } public string DecorationImagePath { get; set; } + public string DecorationGarlandImagePath { get; set; } public AttendanceExcelT() { this.Id = 0; @@ -258,6 +272,7 @@ public class AttendanceExcelT this.DialogCategory = SCHALE.Common.FlatData.DialogCategory.Cafe; this.TitleImagePath = null; this.DecorationImagePath = null; + this.DecorationGarlandImagePath = null; } } @@ -286,6 +301,7 @@ static public class AttendanceExcelVerify && 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.VerifyString(tablePos, 42 /*DecorationGarlandImagePath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/CVUnlockScenarioType.cs b/SCHALE.Common/FlatData/CVUnlockScenarioType.cs new file mode 100644 index 0000000..bee3cc1 --- /dev/null +++ b/SCHALE.Common/FlatData/CVUnlockScenarioType.cs @@ -0,0 +1,16 @@ +// +// automatically generated by the FlatBuffers compiler, do not modify +// + +namespace SCHALE.Common.FlatData +{ + +public enum CVUnlockScenarioType : int +{ + Main = 0, + Event = 1, + SpecialOperation = 2, +}; + + +} diff --git a/SCHALE.Common/FlatData/CharacterDialogEmojiExcel.cs b/SCHALE.Common/FlatData/CharacterDialogEmojiExcel.cs new file mode 100644 index 0000000..c2bd4ab --- /dev/null +++ b/SCHALE.Common/FlatData/CharacterDialogEmojiExcel.cs @@ -0,0 +1,150 @@ +// +// 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 CharacterDialogEmojiExcel : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static CharacterDialogEmojiExcel GetRootAsCharacterDialogEmojiExcel(ByteBuffer _bb) { return GetRootAsCharacterDialogEmojiExcel(_bb, new CharacterDialogEmojiExcel()); } + public static CharacterDialogEmojiExcel GetRootAsCharacterDialogEmojiExcel(ByteBuffer _bb, CharacterDialogEmojiExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public CharacterDialogEmojiExcel __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 int TargetIndex { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public string DialogType { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetDialogTypeBytes() { return __p.__vector_as_span(8, 1); } +#else + public ArraySegment? GetDialogTypeBytes() { return __p.__vector_as_arraysegment(8); } +#endif + public byte[] GetDialogTypeArray() { return __p.__vector_as_array(8); } + public long Duration { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool HideUI { get { int o = __p.__offset(12); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public string LocalizeKR { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetLocalizeKRBytes() { return __p.__vector_as_span(14, 1); } +#else + public ArraySegment? GetLocalizeKRBytes() { return __p.__vector_as_arraysegment(14); } +#endif + public byte[] GetLocalizeKRArray() { return __p.__vector_as_array(14); } + public string LocalizeJP { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetLocalizeJPBytes() { return __p.__vector_as_span(16, 1); } +#else + public ArraySegment? GetLocalizeJPBytes() { return __p.__vector_as_arraysegment(16); } +#endif + public byte[] GetLocalizeJPArray() { return __p.__vector_as_array(16); } + + public static Offset CreateCharacterDialogEmojiExcel(FlatBufferBuilder builder, + long GroupId = 0, + int TargetIndex = 0, + StringOffset DialogTypeOffset = default(StringOffset), + long Duration = 0, + bool HideUI = false, + StringOffset LocalizeKROffset = default(StringOffset), + StringOffset LocalizeJPOffset = default(StringOffset)) { + builder.StartTable(7); + CharacterDialogEmojiExcel.AddDuration(builder, Duration); + CharacterDialogEmojiExcel.AddGroupId(builder, GroupId); + CharacterDialogEmojiExcel.AddLocalizeJP(builder, LocalizeJPOffset); + CharacterDialogEmojiExcel.AddLocalizeKR(builder, LocalizeKROffset); + CharacterDialogEmojiExcel.AddDialogType(builder, DialogTypeOffset); + CharacterDialogEmojiExcel.AddTargetIndex(builder, TargetIndex); + CharacterDialogEmojiExcel.AddHideUI(builder, HideUI); + return CharacterDialogEmojiExcel.EndCharacterDialogEmojiExcel(builder); + } + + public static void StartCharacterDialogEmojiExcel(FlatBufferBuilder builder) { builder.StartTable(7); } + public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } + public static void AddTargetIndex(FlatBufferBuilder builder, int targetIndex) { builder.AddInt(1, targetIndex, 0); } + public static void AddDialogType(FlatBufferBuilder builder, StringOffset dialogTypeOffset) { builder.AddOffset(2, dialogTypeOffset.Value, 0); } + public static void AddDuration(FlatBufferBuilder builder, long duration) { builder.AddLong(3, duration, 0); } + public static void AddHideUI(FlatBufferBuilder builder, bool hideUI) { builder.AddBool(4, hideUI, false); } + public static void AddLocalizeKR(FlatBufferBuilder builder, StringOffset localizeKROffset) { builder.AddOffset(5, localizeKROffset.Value, 0); } + public static void AddLocalizeJP(FlatBufferBuilder builder, StringOffset localizeJPOffset) { builder.AddOffset(6, localizeJPOffset.Value, 0); } + public static Offset EndCharacterDialogEmojiExcel(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public CharacterDialogEmojiExcelT UnPack() { + var _o = new CharacterDialogEmojiExcelT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(CharacterDialogEmojiExcelT _o) { + byte[] key = TableEncryptionService.CreateKey("CharacterDialogEmoji"); + _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); + _o.TargetIndex = TableEncryptionService.Convert(this.TargetIndex, key); + _o.DialogType = TableEncryptionService.Convert(this.DialogType, key); + _o.Duration = TableEncryptionService.Convert(this.Duration, key); + _o.HideUI = TableEncryptionService.Convert(this.HideUI, key); + _o.LocalizeKR = TableEncryptionService.Convert(this.LocalizeKR, key); + _o.LocalizeJP = TableEncryptionService.Convert(this.LocalizeJP, key); + } + public static Offset Pack(FlatBufferBuilder builder, CharacterDialogEmojiExcelT _o) { + if (_o == null) return default(Offset); + var _DialogType = _o.DialogType == null ? default(StringOffset) : builder.CreateString(_o.DialogType); + var _LocalizeKR = _o.LocalizeKR == null ? default(StringOffset) : builder.CreateString(_o.LocalizeKR); + var _LocalizeJP = _o.LocalizeJP == null ? default(StringOffset) : builder.CreateString(_o.LocalizeJP); + return CreateCharacterDialogEmojiExcel( + builder, + _o.GroupId, + _o.TargetIndex, + _DialogType, + _o.Duration, + _o.HideUI, + _LocalizeKR, + _LocalizeJP); + } +} + +public class CharacterDialogEmojiExcelT +{ + public long GroupId { get; set; } + public int TargetIndex { get; set; } + public string DialogType { get; set; } + public long Duration { get; set; } + public bool HideUI { get; set; } + public string LocalizeKR { get; set; } + public string LocalizeJP { get; set; } + + public CharacterDialogEmojiExcelT() { + this.GroupId = 0; + this.TargetIndex = 0; + this.DialogType = null; + this.Duration = 0; + this.HideUI = false; + this.LocalizeKR = null; + this.LocalizeJP = null; + } +} + + +static public class CharacterDialogEmojiExcelVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*TargetIndex*/, 4 /*int*/, 4, false) + && verifier.VerifyString(tablePos, 8 /*DialogType*/, false) + && verifier.VerifyField(tablePos, 10 /*Duration*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 12 /*HideUI*/, 1 /*bool*/, 1, false) + && verifier.VerifyString(tablePos, 14 /*LocalizeKR*/, false) + && verifier.VerifyString(tablePos, 16 /*LocalizeJP*/, false) + && verifier.VerifyTableEnd(tablePos); + } +} + +} diff --git a/SCHALE.Common/FlatData/CharacterDialogEmojiExcelTable.cs b/SCHALE.Common/FlatData/CharacterDialogEmojiExcelTable.cs new file mode 100644 index 0000000..8e97a63 --- /dev/null +++ b/SCHALE.Common/FlatData/CharacterDialogEmojiExcelTable.cs @@ -0,0 +1,88 @@ +// +// 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 CharacterDialogEmojiExcelTable : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static CharacterDialogEmojiExcelTable GetRootAsCharacterDialogEmojiExcelTable(ByteBuffer _bb) { return GetRootAsCharacterDialogEmojiExcelTable(_bb, new CharacterDialogEmojiExcelTable()); } + public static CharacterDialogEmojiExcelTable GetRootAsCharacterDialogEmojiExcelTable(ByteBuffer _bb, CharacterDialogEmojiExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public CharacterDialogEmojiExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } + + public SCHALE.Common.FlatData.CharacterDialogEmojiExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.CharacterDialogEmojiExcel?)(new SCHALE.Common.FlatData.CharacterDialogEmojiExcel()).__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 CreateCharacterDialogEmojiExcelTable(FlatBufferBuilder builder, + VectorOffset DataListOffset = default(VectorOffset)) { + builder.StartTable(1); + CharacterDialogEmojiExcelTable.AddDataList(builder, DataListOffset); + return CharacterDialogEmojiExcelTable.EndCharacterDialogEmojiExcelTable(builder); + } + + public static void StartCharacterDialogEmojiExcelTable(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 EndCharacterDialogEmojiExcelTable(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public CharacterDialogEmojiExcelTableT UnPack() { + var _o = new CharacterDialogEmojiExcelTableT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(CharacterDialogEmojiExcelTableT _o) { + byte[] key = TableEncryptionService.CreateKey("CharacterDialogEmojiExcel"); + _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, CharacterDialogEmojiExcelTableT _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.CharacterDialogEmojiExcel.Pack(builder, _o.DataList[_j]); } + _DataList = CreateDataListVector(builder, __DataList); + } + return CreateCharacterDialogEmojiExcelTable( + builder, + _DataList); + } +} + +public class CharacterDialogEmojiExcelTableT +{ + public List DataList { get; set; } + + public CharacterDialogEmojiExcelTableT() { + this.DataList = null; + } +} + + +static public class CharacterDialogEmojiExcelTableVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.CharacterDialogEmojiExcelVerify.Verify, false) + && verifier.VerifyTableEnd(tablePos); + } +} + +} diff --git a/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs b/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs index 1ccd8a1..b56edee 100644 --- a/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs +++ b/SCHALE.Common/FlatData/CharacterDialogEventExcel.cs @@ -70,15 +70,16 @@ public struct CharacterDialogEventExcel : IFlatbufferObject 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 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; } } + public SCHALE.Common.FlatData.CVUnlockScenarioType CVUnlockScenarioType { get { int o = __p.__offset(42); return o != 0 ? (SCHALE.Common.FlatData.CVUnlockScenarioType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.CVUnlockScenarioType.Main; } } + public long UnlockEventSeason { get { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long ScenarioGroupId { get { int o = __p.__offset(46); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string LocalizeCVGroup { get { int o = __p.__offset(48); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetLocalizeCVGroupBytes() { return __p.__vector_as_span(46, 1); } + public Span GetLocalizeCVGroupBytes() { return __p.__vector_as_span(48, 1); } #else - public ArraySegment? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(46); } + public ArraySegment? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(48); } #endif - public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array(46); } + public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array(48); } public static Offset CreateCharacterDialogEventExcel(FlatBufferBuilder builder, long CostumeUniqueId = 0, @@ -100,10 +101,11 @@ public struct CharacterDialogEventExcel : IFlatbufferObject VectorOffset VoiceIdOffset = default(VectorOffset), bool CollectionVisible = false, SCHALE.Common.FlatData.CVCollectionType CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal, + SCHALE.Common.FlatData.CVUnlockScenarioType CVUnlockScenarioType = SCHALE.Common.FlatData.CVUnlockScenarioType.Main, long UnlockEventSeason = 0, long ScenarioGroupId = 0, StringOffset LocalizeCVGroupOffset = default(StringOffset)) { - builder.StartTable(22); + builder.StartTable(23); CharacterDialogEventExcel.AddScenarioGroupId(builder, ScenarioGroupId); CharacterDialogEventExcel.AddUnlockEventSeason(builder, UnlockEventSeason); CharacterDialogEventExcel.AddDuration(builder, Duration); @@ -114,6 +116,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject CharacterDialogEventExcel.AddOriginalCharacterId(builder, OriginalCharacterId); CharacterDialogEventExcel.AddCostumeUniqueId(builder, CostumeUniqueId); CharacterDialogEventExcel.AddLocalizeCVGroup(builder, LocalizeCVGroupOffset); + CharacterDialogEventExcel.AddCVUnlockScenarioType(builder, CVUnlockScenarioType); CharacterDialogEventExcel.AddCVCollectionType(builder, CVCollectionType); CharacterDialogEventExcel.AddVoiceId(builder, VoiceIdOffset); CharacterDialogEventExcel.AddLocalizeJP(builder, LocalizeJPOffset); @@ -129,7 +132,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject return CharacterDialogEventExcel.EndCharacterDialogEventExcel(builder); } - public static void StartCharacterDialogEventExcel(FlatBufferBuilder builder) { builder.StartTable(22); } + public static void StartCharacterDialogEventExcel(FlatBufferBuilder builder) { builder.StartTable(23); } public static void AddCostumeUniqueId(FlatBufferBuilder builder, long costumeUniqueId) { builder.AddLong(0, costumeUniqueId, 0); } 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); } @@ -154,9 +157,10 @@ public struct CharacterDialogEventExcel : IFlatbufferObject 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 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); } + public static void AddCVUnlockScenarioType(FlatBufferBuilder builder, SCHALE.Common.FlatData.CVUnlockScenarioType cVUnlockScenarioType) { builder.AddInt(19, (int)cVUnlockScenarioType, 0); } + public static void AddUnlockEventSeason(FlatBufferBuilder builder, long unlockEventSeason) { builder.AddLong(20, unlockEventSeason, 0); } + public static void AddScenarioGroupId(FlatBufferBuilder builder, long scenarioGroupId) { builder.AddLong(21, scenarioGroupId, 0); } + public static void AddLocalizeCVGroup(FlatBufferBuilder builder, StringOffset localizeCVGroupOffset) { builder.AddOffset(22, localizeCVGroupOffset.Value, 0); } public static Offset EndCharacterDialogEventExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -188,6 +192,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject 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.CVUnlockScenarioType = TableEncryptionService.Convert(this.CVUnlockScenarioType, key); _o.UnlockEventSeason = TableEncryptionService.Convert(this.UnlockEventSeason, key); _o.ScenarioGroupId = TableEncryptionService.Convert(this.ScenarioGroupId, key); _o.LocalizeCVGroup = TableEncryptionService.Convert(this.LocalizeCVGroup, key); @@ -225,6 +230,7 @@ public struct CharacterDialogEventExcel : IFlatbufferObject _VoiceId, _o.CollectionVisible, _o.CVCollectionType, + _o.CVUnlockScenarioType, _o.UnlockEventSeason, _o.ScenarioGroupId, _LocalizeCVGroup); @@ -252,6 +258,7 @@ public class CharacterDialogEventExcelT public List VoiceId { get; set; } public bool CollectionVisible { get; set; } public SCHALE.Common.FlatData.CVCollectionType CVCollectionType { get; set; } + public SCHALE.Common.FlatData.CVUnlockScenarioType CVUnlockScenarioType { get; set; } public long UnlockEventSeason { get; set; } public long ScenarioGroupId { get; set; } public string LocalizeCVGroup { get; set; } @@ -276,6 +283,7 @@ public class CharacterDialogEventExcelT this.VoiceId = null; this.CollectionVisible = false; this.CVCollectionType = SCHALE.Common.FlatData.CVCollectionType.CVNormal; + this.CVUnlockScenarioType = SCHALE.Common.FlatData.CVUnlockScenarioType.Main; this.UnlockEventSeason = 0; this.ScenarioGroupId = 0; this.LocalizeCVGroup = null; @@ -307,9 +315,10 @@ static public class CharacterDialogEventExcelVerify && 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, 42 /*UnlockEventSeason*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 44 /*ScenarioGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 46 /*LocalizeCVGroup*/, false) + && verifier.VerifyField(tablePos, 42 /*CVUnlockScenarioType*/, 4 /*SCHALE.Common.FlatData.CVUnlockScenarioType*/, 4, false) + && verifier.VerifyField(tablePos, 44 /*UnlockEventSeason*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 46 /*ScenarioGroupId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 48 /*LocalizeCVGroup*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ConstCommonExcel.cs b/SCHALE.Common/FlatData/ConstCommonExcel.cs index e673dc1..16052b7 100644 --- a/SCHALE.Common/FlatData/ConstCommonExcel.cs +++ b/SCHALE.Common/FlatData/ConstCommonExcel.cs @@ -43,200 +43,199 @@ 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 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetCraftDurationBytes() { return __p.__vector_as_span(70, 4); } + public Span GetCraftDurationBytes() { return __p.__vector_as_span(66, 4); } #else - public ArraySegment? GetCraftDurationBytes() { return __p.__vector_as_arraysegment(70); } + public ArraySegment? GetCraftDurationBytes() { return __p.__vector_as_arraysegment(66); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetShiftingCraftDurationBytes() { return __p.__vector_as_span(74, 4); } + public Span GetShiftingCraftDurationBytes() { return __p.__vector_as_span(70, 4); } #else - public ArraySegment? GetShiftingCraftDurationBytes() { return __p.__vector_as_arraysegment(74); } + public ArraySegment? GetShiftingCraftDurationBytes() { return __p.__vector_as_arraysegment(70); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_span(102, 4); } + public Span GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_span(98, 4); } #else - public ArraySegment? GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_arraysegment(102); } + public ArraySegment? GetEquipmentSlotOpenLevelBytes() { return __p.__vector_as_arraysegment(98); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_span(148, 8); } + public Span GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_span(144, 8); } #else - public ArraySegment? GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_arraysegment(148); } + public ArraySegment? GetCraftBaseGoldRequiredBytes() { return __p.__vector_as_arraysegment(144); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetUILabelCharacterWrapBytes() { return __p.__vector_as_span(156, 1); } + public Span GetUILabelCharacterWrapBytes() { return __p.__vector_as_span(152, 1); } #else - public ArraySegment? GetUILabelCharacterWrapBytes() { return __p.__vector_as_arraysegment(156); } + public ArraySegment? GetUILabelCharacterWrapBytes() { return __p.__vector_as_arraysegment(152); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_span(214, 1); } + public Span GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_span(210, 1); } #else - public ArraySegment? GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_arraysegment(214); } + public ArraySegment? GetTimeAttackDungeonScenarioIdBytes() { return __p.__vector_as_arraysegment(210); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetCommonFavorItemTagsBytes() { return __p.__vector_as_span(228, 4); } + public Span GetCommonFavorItemTagsBytes() { return __p.__vector_as_span(224, 4); } #else - public ArraySegment? GetCommonFavorItemTagsBytes() { return __p.__vector_as_arraysegment(228); } + public ArraySegment? GetCommonFavorItemTagsBytes() { return __p.__vector_as_arraysegment(224); } #endif - 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; } } + 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; } } #if ENABLE_SPAN_T - public Span GetBirthdayMailStartDateBytes() { return __p.__vector_as_span(292, 1); } + public Span GetBirthdayMailStartDateBytes() { return __p.__vector_as_span(288, 1); } #else - public ArraySegment? GetBirthdayMailStartDateBytes() { return __p.__vector_as_arraysegment(292); } + public ArraySegment? GetBirthdayMailStartDateBytes() { return __p.__vector_as_arraysegment(288); } #endif - 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 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 long CafeRandomVisitMinComfortBonus { get { int o = __p.__offset(320); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int CafeRandomVisitMinLastLogin { get { int o = __p.__offset(322); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int CafeTravelSyncIntervalByMillisec { get { int o = __p.__offset(324); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public static void StartConstCommonExcel(FlatBufferBuilder builder) { builder.StartTable(162); } + public static void StartConstCommonExcel(FlatBufferBuilder builder) { builder.StartTable(161); } 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); } @@ -260,170 +259,169 @@ 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 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 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 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(34, craftLimitTime, 0); } - public static void AddShiftingCraftDuration(FlatBufferBuilder builder, VectorOffset shiftingCraftDurationOffset) { builder.AddOffset(35, shiftingCraftDurationOffset.Value, 0); } + 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 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(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 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 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(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 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 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(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 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 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(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 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 AddCafeRandomVisitMinComfortBonus(FlatBufferBuilder builder, long cafeRandomVisitMinComfortBonus) { builder.AddLong(158, cafeRandomVisitMinComfortBonus, 0); } + public static void AddCafeRandomVisitMinLastLogin(FlatBufferBuilder builder, int cafeRandomVisitMinLastLogin) { builder.AddInt(159, cafeRandomVisitMinLastLogin, 0); } + public static void AddCafeTravelSyncIntervalByMillisec(FlatBufferBuilder builder, int cafeTravelSyncIntervalByMillisec) { builder.AddInt(160, cafeTravelSyncIntervalByMillisec, 0); } public static Offset EndConstCommonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -458,8 +456,6 @@ 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); @@ -602,6 +598,7 @@ public struct ConstCommonExcel : IFlatbufferObject _o.MaxBlockedUserCount = TableEncryptionService.Convert(this.MaxBlockedUserCount, key); _o.CafeRandomVisitMinComfortBonus = TableEncryptionService.Convert(this.CafeRandomVisitMinComfortBonus, key); _o.CafeRandomVisitMinLastLogin = TableEncryptionService.Convert(this.CafeRandomVisitMinLastLogin, key); + _o.CafeTravelSyncIntervalByMillisec = TableEncryptionService.Convert(this.CafeTravelSyncIntervalByMillisec, key); } public static Offset Pack(FlatBufferBuilder builder, ConstCommonExcelT _o) { if (_o == null) return default(Offset); @@ -657,8 +654,6 @@ 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); @@ -796,6 +791,7 @@ public struct ConstCommonExcel : IFlatbufferObject AddMaxBlockedUserCount(builder, _o.MaxBlockedUserCount); AddCafeRandomVisitMinComfortBonus(builder, _o.CafeRandomVisitMinComfortBonus); AddCafeRandomVisitMinLastLogin(builder, _o.CafeRandomVisitMinLastLogin); + AddCafeTravelSyncIntervalByMillisec(builder, _o.CafeTravelSyncIntervalByMillisec); return EndConstCommonExcel(builder); } } @@ -825,8 +821,6 @@ 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; } @@ -964,6 +958,7 @@ public class ConstCommonExcelT public int MaxBlockedUserCount { get; set; } public long CafeRandomVisitMinComfortBonus { get; set; } public int CafeRandomVisitMinLastLogin { get; set; } + public int CafeTravelSyncIntervalByMillisec { get; set; } public ConstCommonExcelT() { this.CampaignMainStageMaxRank = 0; @@ -989,8 +984,6 @@ 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; @@ -1128,6 +1121,7 @@ public class ConstCommonExcelT this.MaxBlockedUserCount = 0; this.CafeRandomVisitMinComfortBonus = 0; this.CafeRandomVisitMinLastLogin = 0; + this.CafeTravelSyncIntervalByMillisec = 0; } } @@ -1160,145 +1154,144 @@ 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 /*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.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, 320 /*CafeRandomVisitMinComfortBonus*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 322 /*CafeRandomVisitMinLastLogin*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 324 /*CafeTravelSyncIntervalByMillisec*/, 4 /*int*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ConstEventCommonExcel.cs b/SCHALE.Common/FlatData/ConstEventCommonExcel.cs index f465f65..6abc7c2 100644 --- a/SCHALE.Common/FlatData/ConstEventCommonExcel.cs +++ b/SCHALE.Common/FlatData/ConstEventCommonExcel.cs @@ -45,6 +45,7 @@ public struct ConstEventCommonExcel : IFlatbufferObject public int TreasureLoopVariationAmount { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int TreasureLimitVariationLoopCount { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int TreasureLimitVariationClearLoopCount { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public int EventStoryReplayHideEventContentId { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public static Offset CreateConstEventCommonExcel(FlatBufferBuilder builder, int EventContentHardStageCount = 0, @@ -59,12 +60,14 @@ public struct ConstEventCommonExcel : IFlatbufferObject int TreasureNormalVariationAmount = 0, int TreasureLoopVariationAmount = 0, int TreasureLimitVariationLoopCount = 0, - int TreasureLimitVariationClearLoopCount = 0) { - builder.StartTable(13); + int TreasureLimitVariationClearLoopCount = 0, + int EventStoryReplayHideEventContentId = 0) { + builder.StartTable(14); ConstEventCommonExcel.AddSpecialOperactionCollectionGroupId(builder, SpecialOperactionCollectionGroupId); ConstEventCommonExcel.AddCardShopProbWeightCount(builder, CardShopProbWeightCount); ConstEventCommonExcel.AddSubEventChangeLimitSeconds(builder, SubEventChangeLimitSeconds); ConstEventCommonExcel.AddEventStrategyPlayTimeLimitInSeconds(builder, EventStrategyPlayTimeLimitInSeconds); + ConstEventCommonExcel.AddEventStoryReplayHideEventContentId(builder, EventStoryReplayHideEventContentId); ConstEventCommonExcel.AddTreasureLimitVariationClearLoopCount(builder, TreasureLimitVariationClearLoopCount); ConstEventCommonExcel.AddTreasureLimitVariationLoopCount(builder, TreasureLimitVariationLoopCount); ConstEventCommonExcel.AddTreasureLoopVariationAmount(builder, TreasureLoopVariationAmount); @@ -77,7 +80,7 @@ public struct ConstEventCommonExcel : IFlatbufferObject return ConstEventCommonExcel.EndConstEventCommonExcel(builder); } - public static void StartConstEventCommonExcel(FlatBufferBuilder builder) { builder.StartTable(13); } + public static void StartConstEventCommonExcel(FlatBufferBuilder builder) { builder.StartTable(14); } public static void AddEventContentHardStageCount(FlatBufferBuilder builder, int eventContentHardStageCount) { builder.AddInt(0, eventContentHardStageCount, 0); } public static void AddEventStrategyPlayTimeLimitInSeconds(FlatBufferBuilder builder, long eventStrategyPlayTimeLimitInSeconds) { builder.AddLong(1, eventStrategyPlayTimeLimitInSeconds, 0); } public static void AddSubEventChangeLimitSeconds(FlatBufferBuilder builder, long subEventChangeLimitSeconds) { builder.AddLong(2, subEventChangeLimitSeconds, 0); } @@ -91,6 +94,7 @@ public struct ConstEventCommonExcel : IFlatbufferObject public static void AddTreasureLoopVariationAmount(FlatBufferBuilder builder, int treasureLoopVariationAmount) { builder.AddInt(10, treasureLoopVariationAmount, 0); } public static void AddTreasureLimitVariationLoopCount(FlatBufferBuilder builder, int treasureLimitVariationLoopCount) { builder.AddInt(11, treasureLimitVariationLoopCount, 0); } public static void AddTreasureLimitVariationClearLoopCount(FlatBufferBuilder builder, int treasureLimitVariationClearLoopCount) { builder.AddInt(12, treasureLimitVariationClearLoopCount, 0); } + public static void AddEventStoryReplayHideEventContentId(FlatBufferBuilder builder, int eventStoryReplayHideEventContentId) { builder.AddInt(13, eventStoryReplayHideEventContentId, 0); } public static Offset EndConstEventCommonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -115,6 +119,7 @@ public struct ConstEventCommonExcel : IFlatbufferObject _o.TreasureLoopVariationAmount = TableEncryptionService.Convert(this.TreasureLoopVariationAmount, key); _o.TreasureLimitVariationLoopCount = TableEncryptionService.Convert(this.TreasureLimitVariationLoopCount, key); _o.TreasureLimitVariationClearLoopCount = TableEncryptionService.Convert(this.TreasureLimitVariationClearLoopCount, key); + _o.EventStoryReplayHideEventContentId = TableEncryptionService.Convert(this.EventStoryReplayHideEventContentId, key); } public static Offset Pack(FlatBufferBuilder builder, ConstEventCommonExcelT _o) { if (_o == null) return default(Offset); @@ -134,7 +139,8 @@ public struct ConstEventCommonExcel : IFlatbufferObject _o.TreasureNormalVariationAmount, _o.TreasureLoopVariationAmount, _o.TreasureLimitVariationLoopCount, - _o.TreasureLimitVariationClearLoopCount); + _o.TreasureLimitVariationClearLoopCount, + _o.EventStoryReplayHideEventContentId); } } @@ -153,6 +159,7 @@ public class ConstEventCommonExcelT public int TreasureLoopVariationAmount { get; set; } public int TreasureLimitVariationLoopCount { get; set; } public int TreasureLimitVariationClearLoopCount { get; set; } + public int EventStoryReplayHideEventContentId { get; set; } public ConstEventCommonExcelT() { this.EventContentHardStageCount = 0; @@ -168,6 +175,7 @@ public class ConstEventCommonExcelT this.TreasureLoopVariationAmount = 0; this.TreasureLimitVariationLoopCount = 0; this.TreasureLimitVariationClearLoopCount = 0; + this.EventStoryReplayHideEventContentId = 0; } } @@ -190,6 +198,7 @@ static public class ConstEventCommonExcelVerify && verifier.VerifyField(tablePos, 24 /*TreasureLoopVariationAmount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 26 /*TreasureLimitVariationLoopCount*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 28 /*TreasureLimitVariationClearLoopCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 30 /*EventStoryReplayHideEventContentId*/, 4 /*int*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ConstFieldExcel.cs b/SCHALE.Common/FlatData/ConstFieldExcel.cs index 89b2d42..4ef4fec 100644 --- a/SCHALE.Common/FlatData/ConstFieldExcel.cs +++ b/SCHALE.Common/FlatData/ConstFieldExcel.cs @@ -25,56 +25,14 @@ public struct ConstFieldExcel : IFlatbufferObject public int ThinkDialogDurationDefault { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int IdleThinkDelayMin { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public int IdleThinkDelayMax { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int ExclaimDurationDefault { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int QuestionDurationDefault { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int UpsetDurationDefault { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int SurpriseDurationDefault { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int BulbDurationDefault { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int HeartDurationDefault { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int SweatDurationDefault { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int AngryDurationDefault { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MusicDurationDefault { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int DotDurationDefault { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int MomotalkDurationDefault { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int PhoneDurationDefault { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int KeywordDurationDefault { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public int EvidenceDurationDefault { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } public static Offset CreateConstFieldExcel(FlatBufferBuilder builder, int DialogSmoothTime = 0, int TalkDialogDurationDefault = 0, int ThinkDialogDurationDefault = 0, int IdleThinkDelayMin = 0, - int IdleThinkDelayMax = 0, - int ExclaimDurationDefault = 0, - int QuestionDurationDefault = 0, - int UpsetDurationDefault = 0, - int SurpriseDurationDefault = 0, - int BulbDurationDefault = 0, - int HeartDurationDefault = 0, - int SweatDurationDefault = 0, - int AngryDurationDefault = 0, - int MusicDurationDefault = 0, - int DotDurationDefault = 0, - int MomotalkDurationDefault = 0, - int PhoneDurationDefault = 0, - int KeywordDurationDefault = 0, - int EvidenceDurationDefault = 0) { - builder.StartTable(19); - ConstFieldExcel.AddEvidenceDurationDefault(builder, EvidenceDurationDefault); - ConstFieldExcel.AddKeywordDurationDefault(builder, KeywordDurationDefault); - ConstFieldExcel.AddPhoneDurationDefault(builder, PhoneDurationDefault); - ConstFieldExcel.AddMomotalkDurationDefault(builder, MomotalkDurationDefault); - ConstFieldExcel.AddDotDurationDefault(builder, DotDurationDefault); - ConstFieldExcel.AddMusicDurationDefault(builder, MusicDurationDefault); - ConstFieldExcel.AddAngryDurationDefault(builder, AngryDurationDefault); - ConstFieldExcel.AddSweatDurationDefault(builder, SweatDurationDefault); - ConstFieldExcel.AddHeartDurationDefault(builder, HeartDurationDefault); - ConstFieldExcel.AddBulbDurationDefault(builder, BulbDurationDefault); - ConstFieldExcel.AddSurpriseDurationDefault(builder, SurpriseDurationDefault); - ConstFieldExcel.AddUpsetDurationDefault(builder, UpsetDurationDefault); - ConstFieldExcel.AddQuestionDurationDefault(builder, QuestionDurationDefault); - ConstFieldExcel.AddExclaimDurationDefault(builder, ExclaimDurationDefault); + int IdleThinkDelayMax = 0) { + builder.StartTable(5); ConstFieldExcel.AddIdleThinkDelayMax(builder, IdleThinkDelayMax); ConstFieldExcel.AddIdleThinkDelayMin(builder, IdleThinkDelayMin); ConstFieldExcel.AddThinkDialogDurationDefault(builder, ThinkDialogDurationDefault); @@ -83,26 +41,12 @@ public struct ConstFieldExcel : IFlatbufferObject return ConstFieldExcel.EndConstFieldExcel(builder); } - public static void StartConstFieldExcel(FlatBufferBuilder builder) { builder.StartTable(19); } + public static void StartConstFieldExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddDialogSmoothTime(FlatBufferBuilder builder, int dialogSmoothTime) { builder.AddInt(0, dialogSmoothTime, 0); } public static void AddTalkDialogDurationDefault(FlatBufferBuilder builder, int talkDialogDurationDefault) { builder.AddInt(1, talkDialogDurationDefault, 0); } public static void AddThinkDialogDurationDefault(FlatBufferBuilder builder, int thinkDialogDurationDefault) { builder.AddInt(2, thinkDialogDurationDefault, 0); } public static void AddIdleThinkDelayMin(FlatBufferBuilder builder, int idleThinkDelayMin) { builder.AddInt(3, idleThinkDelayMin, 0); } public static void AddIdleThinkDelayMax(FlatBufferBuilder builder, int idleThinkDelayMax) { builder.AddInt(4, idleThinkDelayMax, 0); } - public static void AddExclaimDurationDefault(FlatBufferBuilder builder, int exclaimDurationDefault) { builder.AddInt(5, exclaimDurationDefault, 0); } - public static void AddQuestionDurationDefault(FlatBufferBuilder builder, int questionDurationDefault) { builder.AddInt(6, questionDurationDefault, 0); } - public static void AddUpsetDurationDefault(FlatBufferBuilder builder, int upsetDurationDefault) { builder.AddInt(7, upsetDurationDefault, 0); } - public static void AddSurpriseDurationDefault(FlatBufferBuilder builder, int surpriseDurationDefault) { builder.AddInt(8, surpriseDurationDefault, 0); } - public static void AddBulbDurationDefault(FlatBufferBuilder builder, int bulbDurationDefault) { builder.AddInt(9, bulbDurationDefault, 0); } - public static void AddHeartDurationDefault(FlatBufferBuilder builder, int heartDurationDefault) { builder.AddInt(10, heartDurationDefault, 0); } - public static void AddSweatDurationDefault(FlatBufferBuilder builder, int sweatDurationDefault) { builder.AddInt(11, sweatDurationDefault, 0); } - public static void AddAngryDurationDefault(FlatBufferBuilder builder, int angryDurationDefault) { builder.AddInt(12, angryDurationDefault, 0); } - public static void AddMusicDurationDefault(FlatBufferBuilder builder, int musicDurationDefault) { builder.AddInt(13, musicDurationDefault, 0); } - public static void AddDotDurationDefault(FlatBufferBuilder builder, int dotDurationDefault) { builder.AddInt(14, dotDurationDefault, 0); } - public static void AddMomotalkDurationDefault(FlatBufferBuilder builder, int momotalkDurationDefault) { builder.AddInt(15, momotalkDurationDefault, 0); } - public static void AddPhoneDurationDefault(FlatBufferBuilder builder, int phoneDurationDefault) { builder.AddInt(16, phoneDurationDefault, 0); } - public static void AddKeywordDurationDefault(FlatBufferBuilder builder, int keywordDurationDefault) { builder.AddInt(17, keywordDurationDefault, 0); } - public static void AddEvidenceDurationDefault(FlatBufferBuilder builder, int evidenceDurationDefault) { builder.AddInt(18, evidenceDurationDefault, 0); } public static Offset EndConstFieldExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -119,20 +63,6 @@ public struct ConstFieldExcel : IFlatbufferObject _o.ThinkDialogDurationDefault = TableEncryptionService.Convert(this.ThinkDialogDurationDefault, key); _o.IdleThinkDelayMin = TableEncryptionService.Convert(this.IdleThinkDelayMin, key); _o.IdleThinkDelayMax = TableEncryptionService.Convert(this.IdleThinkDelayMax, key); - _o.ExclaimDurationDefault = TableEncryptionService.Convert(this.ExclaimDurationDefault, key); - _o.QuestionDurationDefault = TableEncryptionService.Convert(this.QuestionDurationDefault, key); - _o.UpsetDurationDefault = TableEncryptionService.Convert(this.UpsetDurationDefault, key); - _o.SurpriseDurationDefault = TableEncryptionService.Convert(this.SurpriseDurationDefault, key); - _o.BulbDurationDefault = TableEncryptionService.Convert(this.BulbDurationDefault, key); - _o.HeartDurationDefault = TableEncryptionService.Convert(this.HeartDurationDefault, key); - _o.SweatDurationDefault = TableEncryptionService.Convert(this.SweatDurationDefault, key); - _o.AngryDurationDefault = TableEncryptionService.Convert(this.AngryDurationDefault, key); - _o.MusicDurationDefault = TableEncryptionService.Convert(this.MusicDurationDefault, key); - _o.DotDurationDefault = TableEncryptionService.Convert(this.DotDurationDefault, key); - _o.MomotalkDurationDefault = TableEncryptionService.Convert(this.MomotalkDurationDefault, key); - _o.PhoneDurationDefault = TableEncryptionService.Convert(this.PhoneDurationDefault, key); - _o.KeywordDurationDefault = TableEncryptionService.Convert(this.KeywordDurationDefault, key); - _o.EvidenceDurationDefault = TableEncryptionService.Convert(this.EvidenceDurationDefault, key); } public static Offset Pack(FlatBufferBuilder builder, ConstFieldExcelT _o) { if (_o == null) return default(Offset); @@ -142,21 +72,7 @@ public struct ConstFieldExcel : IFlatbufferObject _o.TalkDialogDurationDefault, _o.ThinkDialogDurationDefault, _o.IdleThinkDelayMin, - _o.IdleThinkDelayMax, - _o.ExclaimDurationDefault, - _o.QuestionDurationDefault, - _o.UpsetDurationDefault, - _o.SurpriseDurationDefault, - _o.BulbDurationDefault, - _o.HeartDurationDefault, - _o.SweatDurationDefault, - _o.AngryDurationDefault, - _o.MusicDurationDefault, - _o.DotDurationDefault, - _o.MomotalkDurationDefault, - _o.PhoneDurationDefault, - _o.KeywordDurationDefault, - _o.EvidenceDurationDefault); + _o.IdleThinkDelayMax); } } @@ -167,20 +83,6 @@ public class ConstFieldExcelT public int ThinkDialogDurationDefault { get; set; } public int IdleThinkDelayMin { get; set; } public int IdleThinkDelayMax { get; set; } - public int ExclaimDurationDefault { get; set; } - public int QuestionDurationDefault { get; set; } - public int UpsetDurationDefault { get; set; } - public int SurpriseDurationDefault { get; set; } - public int BulbDurationDefault { get; set; } - public int HeartDurationDefault { get; set; } - public int SweatDurationDefault { get; set; } - public int AngryDurationDefault { get; set; } - public int MusicDurationDefault { get; set; } - public int DotDurationDefault { get; set; } - public int MomotalkDurationDefault { get; set; } - public int PhoneDurationDefault { get; set; } - public int KeywordDurationDefault { get; set; } - public int EvidenceDurationDefault { get; set; } public ConstFieldExcelT() { this.DialogSmoothTime = 0; @@ -188,20 +90,6 @@ public class ConstFieldExcelT this.ThinkDialogDurationDefault = 0; this.IdleThinkDelayMin = 0; this.IdleThinkDelayMax = 0; - this.ExclaimDurationDefault = 0; - this.QuestionDurationDefault = 0; - this.UpsetDurationDefault = 0; - this.SurpriseDurationDefault = 0; - this.BulbDurationDefault = 0; - this.HeartDurationDefault = 0; - this.SweatDurationDefault = 0; - this.AngryDurationDefault = 0; - this.MusicDurationDefault = 0; - this.DotDurationDefault = 0; - this.MomotalkDurationDefault = 0; - this.PhoneDurationDefault = 0; - this.KeywordDurationDefault = 0; - this.EvidenceDurationDefault = 0; } } @@ -216,20 +104,6 @@ static public class ConstFieldExcelVerify && verifier.VerifyField(tablePos, 8 /*ThinkDialogDurationDefault*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 10 /*IdleThinkDelayMin*/, 4 /*int*/, 4, false) && verifier.VerifyField(tablePos, 12 /*IdleThinkDelayMax*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 14 /*ExclaimDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 16 /*QuestionDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 18 /*UpsetDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 20 /*SurpriseDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 22 /*BulbDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 24 /*HeartDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 26 /*SweatDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 28 /*AngryDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 30 /*MusicDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 32 /*DotDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 34 /*MomotalkDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 36 /*PhoneDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 38 /*KeywordDurationDefault*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 40 /*EvidenceDurationDefault*/, 4 /*int*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/DialogCategory.cs b/SCHALE.Common/FlatData/DialogCategory.cs index 8c881b5..201cd9b 100644 --- a/SCHALE.Common/FlatData/DialogCategory.cs +++ b/SCHALE.Common/FlatData/DialogCategory.cs @@ -78,6 +78,7 @@ public enum DialogCategory : int UIMultiFloorRaid = 68, UIEventMiniGameDreamMaker = 69, UIAttendanceEvent17 = 70, + UIAttendanceEvent18 = 71, }; diff --git a/SCHALE.Common/FlatData/Difficulty.cs b/SCHALE.Common/FlatData/Difficulty.cs index 227dc18..e236339 100644 --- a/SCHALE.Common/FlatData/Difficulty.cs +++ b/SCHALE.Common/FlatData/Difficulty.cs @@ -14,6 +14,7 @@ public enum Difficulty : int Extreme = 4, Insane = 5, Torment = 6, + Lunatic = 7, }; diff --git a/SCHALE.Common/FlatData/EventContentMeetupInfoExcel.cs b/SCHALE.Common/FlatData/EventContentMeetupInfoExcel.cs new file mode 100644 index 0000000..8cf84d1 --- /dev/null +++ b/SCHALE.Common/FlatData/EventContentMeetupInfoExcel.cs @@ -0,0 +1,102 @@ +// +// 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 EventContentMeetupInfoExcel : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static EventContentMeetupInfoExcel GetRootAsEventContentMeetupInfoExcel(ByteBuffer _bb) { return GetRootAsEventContentMeetupInfoExcel(_bb, new EventContentMeetupInfoExcel()); } + public static EventContentMeetupInfoExcel GetRootAsEventContentMeetupInfoExcel(ByteBuffer _bb, EventContentMeetupInfoExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public EventContentMeetupInfoExcel __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.ParcelType CostParcelType { 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 CostId { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int CostAmount { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + + public static Offset CreateEventContentMeetupInfoExcel(FlatBufferBuilder builder, + long EventContentId = 0, + SCHALE.Common.FlatData.ParcelType CostParcelType = SCHALE.Common.FlatData.ParcelType.None, + long CostId = 0, + int CostAmount = 0) { + builder.StartTable(4); + EventContentMeetupInfoExcel.AddCostId(builder, CostId); + EventContentMeetupInfoExcel.AddEventContentId(builder, EventContentId); + EventContentMeetupInfoExcel.AddCostAmount(builder, CostAmount); + EventContentMeetupInfoExcel.AddCostParcelType(builder, CostParcelType); + return EventContentMeetupInfoExcel.EndEventContentMeetupInfoExcel(builder); + } + + public static void StartEventContentMeetupInfoExcel(FlatBufferBuilder builder) { builder.StartTable(4); } + public static void AddEventContentId(FlatBufferBuilder builder, long eventContentId) { builder.AddLong(0, eventContentId, 0); } + public static void AddCostParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType costParcelType) { builder.AddInt(1, (int)costParcelType, 0); } + public static void AddCostId(FlatBufferBuilder builder, long costId) { builder.AddLong(2, costId, 0); } + public static void AddCostAmount(FlatBufferBuilder builder, int costAmount) { builder.AddInt(3, costAmount, 0); } + public static Offset EndEventContentMeetupInfoExcel(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public EventContentMeetupInfoExcelT UnPack() { + var _o = new EventContentMeetupInfoExcelT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(EventContentMeetupInfoExcelT _o) { + byte[] key = TableEncryptionService.CreateKey("EventContentMeetupInfo"); + _o.EventContentId = TableEncryptionService.Convert(this.EventContentId, key); + _o.CostParcelType = TableEncryptionService.Convert(this.CostParcelType, key); + _o.CostId = TableEncryptionService.Convert(this.CostId, key); + _o.CostAmount = TableEncryptionService.Convert(this.CostAmount, key); + } + public static Offset Pack(FlatBufferBuilder builder, EventContentMeetupInfoExcelT _o) { + if (_o == null) return default(Offset); + return CreateEventContentMeetupInfoExcel( + builder, + _o.EventContentId, + _o.CostParcelType, + _o.CostId, + _o.CostAmount); + } +} + +public class EventContentMeetupInfoExcelT +{ + public long EventContentId { get; set; } + public SCHALE.Common.FlatData.ParcelType CostParcelType { get; set; } + public long CostId { get; set; } + public int CostAmount { get; set; } + + public EventContentMeetupInfoExcelT() { + this.EventContentId = 0; + this.CostParcelType = SCHALE.Common.FlatData.ParcelType.None; + this.CostId = 0; + this.CostAmount = 0; + } +} + + +static public class EventContentMeetupInfoExcelVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyField(tablePos, 4 /*EventContentId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 6 /*CostParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 8 /*CostId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 10 /*CostAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyTableEnd(tablePos); + } +} + +} diff --git a/SCHALE.Common/FlatData/EventContentMeetupInfoExcelTable.cs b/SCHALE.Common/FlatData/EventContentMeetupInfoExcelTable.cs new file mode 100644 index 0000000..62ff504 --- /dev/null +++ b/SCHALE.Common/FlatData/EventContentMeetupInfoExcelTable.cs @@ -0,0 +1,88 @@ +// +// 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 EventContentMeetupInfoExcelTable : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static EventContentMeetupInfoExcelTable GetRootAsEventContentMeetupInfoExcelTable(ByteBuffer _bb) { return GetRootAsEventContentMeetupInfoExcelTable(_bb, new EventContentMeetupInfoExcelTable()); } + public static EventContentMeetupInfoExcelTable GetRootAsEventContentMeetupInfoExcelTable(ByteBuffer _bb, EventContentMeetupInfoExcelTable obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public EventContentMeetupInfoExcelTable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } + + public SCHALE.Common.FlatData.EventContentMeetupInfoExcel? DataList(int j) { int o = __p.__offset(4); return o != 0 ? (SCHALE.Common.FlatData.EventContentMeetupInfoExcel?)(new SCHALE.Common.FlatData.EventContentMeetupInfoExcel()).__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 CreateEventContentMeetupInfoExcelTable(FlatBufferBuilder builder, + VectorOffset DataListOffset = default(VectorOffset)) { + builder.StartTable(1); + EventContentMeetupInfoExcelTable.AddDataList(builder, DataListOffset); + return EventContentMeetupInfoExcelTable.EndEventContentMeetupInfoExcelTable(builder); + } + + public static void StartEventContentMeetupInfoExcelTable(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 EndEventContentMeetupInfoExcelTable(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public EventContentMeetupInfoExcelTableT UnPack() { + var _o = new EventContentMeetupInfoExcelTableT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(EventContentMeetupInfoExcelTableT _o) { + byte[] key = TableEncryptionService.CreateKey("EventContentMeetupInfoExcel"); + _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, EventContentMeetupInfoExcelTableT _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.EventContentMeetupInfoExcel.Pack(builder, _o.DataList[_j]); } + _DataList = CreateDataListVector(builder, __DataList); + } + return CreateEventContentMeetupInfoExcelTable( + builder, + _DataList); + } +} + +public class EventContentMeetupInfoExcelTableT +{ + public List DataList { get; set; } + + public EventContentMeetupInfoExcelTableT() { + this.DataList = null; + } +} + + +static public class EventContentMeetupInfoExcelTableVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyVectorOfTables(tablePos, 4 /*DataList*/, SCHALE.Common.FlatData.EventContentMeetupInfoExcelVerify.Verify, false) + && verifier.VerifyTableEnd(tablePos); + } +} + +} diff --git a/SCHALE.Common/FlatData/EventContentScenarioExcel.cs b/SCHALE.Common/FlatData/EventContentScenarioExcel.cs index 4f547b9..78723d4 100644 --- a/SCHALE.Common/FlatData/EventContentScenarioExcel.cs +++ b/SCHALE.Common/FlatData/EventContentScenarioExcel.cs @@ -49,33 +49,30 @@ public struct EventContentScenarioExcel : IFlatbufferObject #endif public byte[] GetRecollectionResourceArray() { return __p.__vector_as_array(32); } public bool IsRecollectionHorizon { get { int o = __p.__offset(34); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public SCHALE.Common.FlatData.ParcelType CostParcelType { 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 CostId { get { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public int CostAmount { get { int o = __p.__offset(40); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } - public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(42); 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(42); return o != 0 ? __p.__vector_len(o) : 0; } } + public SCHALE.Common.FlatData.ParcelType RewardParcelType(int j) { int o = __p.__offset(36); 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(36); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetRewardParcelTypeBytes() { return __p.__vector_as_span(42, 4); } + public Span GetRewardParcelTypeBytes() { return __p.__vector_as_span(36, 4); } #else - public ArraySegment? GetRewardParcelTypeBytes() { return __p.__vector_as_arraysegment(42); } + public ArraySegment? GetRewardParcelTypeBytes() { return __p.__vector_as_arraysegment(36); } #endif - public SCHALE.Common.FlatData.ParcelType[] GetRewardParcelTypeArray() { int o = __p.__offset(42); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } - public long RewardId(int j) { int o = __p.__offset(44); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int RewardIdLength { get { int o = __p.__offset(44); return o != 0 ? __p.__vector_len(o) : 0; } } + public SCHALE.Common.FlatData.ParcelType[] GetRewardParcelTypeArray() { int o = __p.__offset(36); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } + public long RewardId(int j) { int o = __p.__offset(38); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int RewardIdLength { get { int o = __p.__offset(38); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetRewardIdBytes() { return __p.__vector_as_span(44, 8); } + public Span GetRewardIdBytes() { return __p.__vector_as_span(38, 8); } #else - public ArraySegment? GetRewardIdBytes() { return __p.__vector_as_arraysegment(44); } + public ArraySegment? GetRewardIdBytes() { return __p.__vector_as_arraysegment(38); } #endif - public long[] GetRewardIdArray() { return __p.__vector_as_array(44); } - public int RewardAmount(int j) { int o = __p.__offset(46); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } - public int RewardAmountLength { get { int o = __p.__offset(46); return o != 0 ? __p.__vector_len(o) : 0; } } + public long[] GetRewardIdArray() { return __p.__vector_as_array(38); } + public int RewardAmount(int j) { int o = __p.__offset(40); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } + public int RewardAmountLength { get { int o = __p.__offset(40); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetRewardAmountBytes() { return __p.__vector_as_span(46, 4); } + public Span GetRewardAmountBytes() { return __p.__vector_as_span(40, 4); } #else - public ArraySegment? GetRewardAmountBytes() { return __p.__vector_as_arraysegment(46); } + public ArraySegment? GetRewardAmountBytes() { return __p.__vector_as_arraysegment(40); } #endif - public int[] GetRewardAmountArray() { return __p.__vector_as_array(46); } + public int[] GetRewardAmountArray() { return __p.__vector_as_array(40); } public static Offset CreateEventContentScenarioExcel(FlatBufferBuilder builder, long Id = 0, @@ -94,14 +91,10 @@ public struct EventContentScenarioExcel : IFlatbufferObject uint RecollectionSummaryLocalizeScenarioId = 0, StringOffset RecollectionResourceOffset = default(StringOffset), bool IsRecollectionHorizon = false, - SCHALE.Common.FlatData.ParcelType CostParcelType = SCHALE.Common.FlatData.ParcelType.None, - long CostId = 0, - int CostAmount = 0, VectorOffset RewardParcelTypeOffset = default(VectorOffset), VectorOffset RewardIdOffset = default(VectorOffset), VectorOffset RewardAmountOffset = default(VectorOffset)) { - builder.StartTable(22); - EventContentScenarioExcel.AddCostId(builder, CostId); + builder.StartTable(19); EventContentScenarioExcel.AddClearedScenarioGroupId(builder, ClearedScenarioGroupId); EventContentScenarioExcel.AddConditionEventContentId(builder, ConditionEventContentId); EventContentScenarioExcel.AddConditionAmount(builder, ConditionAmount); @@ -112,8 +105,6 @@ public struct EventContentScenarioExcel : IFlatbufferObject EventContentScenarioExcel.AddRewardAmount(builder, RewardAmountOffset); EventContentScenarioExcel.AddRewardId(builder, RewardIdOffset); EventContentScenarioExcel.AddRewardParcelType(builder, RewardParcelTypeOffset); - EventContentScenarioExcel.AddCostAmount(builder, CostAmount); - EventContentScenarioExcel.AddCostParcelType(builder, CostParcelType); EventContentScenarioExcel.AddRecollectionResource(builder, RecollectionResourceOffset); EventContentScenarioExcel.AddRecollectionSummaryLocalizeScenarioId(builder, RecollectionSummaryLocalizeScenarioId); EventContentScenarioExcel.AddScenarioConditionType(builder, ScenarioConditionType); @@ -126,7 +117,7 @@ public struct EventContentScenarioExcel : IFlatbufferObject return EventContentScenarioExcel.EndEventContentScenarioExcel(builder); } - public static void StartEventContentScenarioExcel(FlatBufferBuilder builder) { builder.StartTable(22); } + public static void StartEventContentScenarioExcel(FlatBufferBuilder builder) { builder.StartTable(19); } 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 AddReplayDisplayGroup(FlatBufferBuilder builder, int replayDisplayGroup) { builder.AddInt(2, replayDisplayGroup, 0); } @@ -148,22 +139,19 @@ public struct EventContentScenarioExcel : IFlatbufferObject public static void AddRecollectionSummaryLocalizeScenarioId(FlatBufferBuilder builder, uint recollectionSummaryLocalizeScenarioId) { builder.AddUint(13, recollectionSummaryLocalizeScenarioId, 0); } public static void AddRecollectionResource(FlatBufferBuilder builder, StringOffset recollectionResourceOffset) { builder.AddOffset(14, recollectionResourceOffset.Value, 0); } public static void AddIsRecollectionHorizon(FlatBufferBuilder builder, bool isRecollectionHorizon) { builder.AddBool(15, isRecollectionHorizon, false); } - public static void AddCostParcelType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType costParcelType) { builder.AddInt(16, (int)costParcelType, 0); } - public static void AddCostId(FlatBufferBuilder builder, long costId) { builder.AddLong(17, costId, 0); } - public static void AddCostAmount(FlatBufferBuilder builder, int costAmount) { builder.AddInt(18, costAmount, 0); } - public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(19, rewardParcelTypeOffset.Value, 0); } + public static void AddRewardParcelType(FlatBufferBuilder builder, VectorOffset rewardParcelTypeOffset) { builder.AddOffset(16, 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(); } public static VectorOffset CreateRewardParcelTypeVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateRewardParcelTypeVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartRewardParcelTypeVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddRewardId(FlatBufferBuilder builder, VectorOffset rewardIdOffset) { builder.AddOffset(20, rewardIdOffset.Value, 0); } + public static void AddRewardId(FlatBufferBuilder builder, VectorOffset rewardIdOffset) { builder.AddOffset(17, rewardIdOffset.Value, 0); } public static VectorOffset CreateRewardIdVector(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 CreateRewardIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateRewardIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateRewardIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartRewardIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddRewardAmount(FlatBufferBuilder builder, VectorOffset rewardAmountOffset) { builder.AddOffset(21, rewardAmountOffset.Value, 0); } + public static void AddRewardAmount(FlatBufferBuilder builder, VectorOffset rewardAmountOffset) { builder.AddOffset(18, rewardAmountOffset.Value, 0); } public static VectorOffset CreateRewardAmountVector(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 CreateRewardAmountVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateRewardAmountVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } @@ -197,9 +185,6 @@ public struct EventContentScenarioExcel : IFlatbufferObject _o.RecollectionSummaryLocalizeScenarioId = TableEncryptionService.Convert(this.RecollectionSummaryLocalizeScenarioId, key); _o.RecollectionResource = TableEncryptionService.Convert(this.RecollectionResource, key); _o.IsRecollectionHorizon = TableEncryptionService.Convert(this.IsRecollectionHorizon, key); - _o.CostParcelType = TableEncryptionService.Convert(this.CostParcelType, key); - _o.CostId = TableEncryptionService.Convert(this.CostId, key); - _o.CostAmount = TableEncryptionService.Convert(this.CostAmount, key); _o.RewardParcelType = new List(); for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));} _o.RewardId = new List(); @@ -248,9 +233,6 @@ public struct EventContentScenarioExcel : IFlatbufferObject _o.RecollectionSummaryLocalizeScenarioId, _RecollectionResource, _o.IsRecollectionHorizon, - _o.CostParcelType, - _o.CostId, - _o.CostAmount, _RewardParcelType, _RewardId, _RewardAmount); @@ -275,9 +257,6 @@ public class EventContentScenarioExcelT public uint RecollectionSummaryLocalizeScenarioId { get; set; } public string RecollectionResource { get; set; } public bool IsRecollectionHorizon { get; set; } - public SCHALE.Common.FlatData.ParcelType CostParcelType { get; set; } - public long CostId { get; set; } - public int CostAmount { get; set; } public List RewardParcelType { get; set; } public List RewardId { get; set; } public List RewardAmount { get; set; } @@ -299,9 +278,6 @@ public class EventContentScenarioExcelT this.RecollectionSummaryLocalizeScenarioId = 0; this.RecollectionResource = null; this.IsRecollectionHorizon = false; - this.CostParcelType = SCHALE.Common.FlatData.ParcelType.None; - this.CostId = 0; - this.CostAmount = 0; this.RewardParcelType = null; this.RewardId = null; this.RewardAmount = null; @@ -330,12 +306,9 @@ static public class EventContentScenarioExcelVerify && verifier.VerifyField(tablePos, 30 /*RecollectionSummaryLocalizeScenarioId*/, 4 /*uint*/, 4, false) && verifier.VerifyString(tablePos, 32 /*RecollectionResource*/, false) && verifier.VerifyField(tablePos, 34 /*IsRecollectionHorizon*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 36 /*CostParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) - && verifier.VerifyField(tablePos, 38 /*CostId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 40 /*CostAmount*/, 4 /*int*/, 4, false) - && verifier.VerifyVectorOfData(tablePos, 42 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) - && verifier.VerifyVectorOfData(tablePos, 44 /*RewardId*/, 8 /*long*/, false) - && verifier.VerifyVectorOfData(tablePos, 46 /*RewardAmount*/, 4 /*int*/, false) + && verifier.VerifyVectorOfData(tablePos, 36 /*RewardParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) + && verifier.VerifyVectorOfData(tablePos, 38 /*RewardId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 40 /*RewardAmount*/, 4 /*int*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/EventContentType.cs b/SCHALE.Common/FlatData/EventContentType.cs index 9e56149..9ea864e 100644 --- a/SCHALE.Common/FlatData/EventContentType.cs +++ b/SCHALE.Common/FlatData/EventContentType.cs @@ -44,6 +44,8 @@ public enum EventContentType : int SpecialMiniEvent = 34, ScenarioCollection = 35, ScenarioShortcut = 36, + SeasonalEvent = 37, + MiniShop = 38, }; diff --git a/SCHALE.Common/FlatData/FieldContentStageExcel.cs b/SCHALE.Common/FlatData/FieldContentStageExcel.cs index 17058a9..0d24f13 100644 --- a/SCHALE.Common/FlatData/FieldContentStageExcel.cs +++ b/SCHALE.Common/FlatData/FieldContentStageExcel.cs @@ -25,24 +25,42 @@ public struct FieldContentStageExcel : IFlatbufferObject 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 string Name { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long PrevStageId { get { int o = __p.__offset(14); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string Name { get { int o = __p.__offset(16); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetNameBytes() { return __p.__vector_as_span(14, 1); } + public Span GetNameBytes() { return __p.__vector_as_span(16, 1); } #else - public ArraySegment? GetNameBytes() { return __p.__vector_as_arraysegment(14); } + public ArraySegment? GetNameBytes() { return __p.__vector_as_arraysegment(16); } #endif - public byte[] GetNameArray() { return __p.__vector_as_array(14); } - public long BattleDuration { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - 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 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; } } - public bool InstantClear { get { int o = __p.__offset(32); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - public long FixedEchelonId { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public bool SkipFormationSettings { get { int o = __p.__offset(36); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public byte[] GetNameArray() { return __p.__vector_as_array(16); } + public long BattleDuration { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get { int o = __p.__offset(20); 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(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public int StageEnterCostAmount { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + 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 int RecommandLevel { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public long GroundID { get { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long BGMId { get { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool InstantClear { get { int o = __p.__offset(34); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public long FixedEchelonId { get { int o = __p.__offset(36); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public bool SkipFormationSettings { get { int o = __p.__offset(38); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public bool DailyLastPlay { get { int o = __p.__offset(40); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public SCHALE.Common.FlatData.StarGoalType StarGoal(int j) { int o = __p.__offset(42); 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(42); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetStarGoalBytes() { return __p.__vector_as_span(42, 4); } +#else + public ArraySegment? GetStarGoalBytes() { return __p.__vector_as_arraysegment(42); } +#endif + public SCHALE.Common.FlatData.StarGoalType[] GetStarGoalArray() { int o = __p.__offset(42); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.StarGoalType[] a = new SCHALE.Common.FlatData.StarGoalType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.StarGoalType)__p.bb.GetInt(p + i * 4); } return a; } + public int StarGoalAmount(int j) { int o = __p.__offset(44); return o != 0 ? __p.bb.GetInt(__p.__vector(o) + j * 4) : (int)0; } + public int StarGoalAmountLength { get { int o = __p.__offset(44); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetStarGoalAmountBytes() { return __p.__vector_as_span(44, 4); } +#else + public ArraySegment? GetStarGoalAmountBytes() { return __p.__vector_as_arraysegment(44); } +#endif + public int[] GetStarGoalAmountArray() { return __p.__vector_as_array(44); } public static Offset CreateFieldContentStageExcel(FlatBufferBuilder builder, long Id = 0, @@ -50,6 +68,7 @@ public struct FieldContentStageExcel : IFlatbufferObject long AreaId = 0, long GroupId = 0, SCHALE.Common.FlatData.StageDifficulty StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None, + long PrevStageId = 0, StringOffset NameOffset = default(StringOffset), long BattleDuration = 0, SCHALE.Common.FlatData.ParcelType StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None, @@ -61,46 +80,67 @@ public struct FieldContentStageExcel : IFlatbufferObject long BGMId = 0, bool InstantClear = false, long FixedEchelonId = 0, - bool SkipFormationSettings = false) { - builder.StartTable(17); + bool SkipFormationSettings = false, + bool DailyLastPlay = false, + VectorOffset StarGoalOffset = default(VectorOffset), + VectorOffset StarGoalAmountOffset = default(VectorOffset)) { + builder.StartTable(21); FieldContentStageExcel.AddFixedEchelonId(builder, FixedEchelonId); FieldContentStageExcel.AddBGMId(builder, BGMId); FieldContentStageExcel.AddGroundID(builder, GroundID); FieldContentStageExcel.AddStageEnterCostId(builder, StageEnterCostId); FieldContentStageExcel.AddBattleDuration(builder, BattleDuration); + FieldContentStageExcel.AddPrevStageId(builder, PrevStageId); FieldContentStageExcel.AddGroupId(builder, GroupId); FieldContentStageExcel.AddAreaId(builder, AreaId); FieldContentStageExcel.AddSeasonId(builder, SeasonId); FieldContentStageExcel.AddId(builder, Id); + FieldContentStageExcel.AddStarGoalAmount(builder, StarGoalAmountOffset); + FieldContentStageExcel.AddStarGoal(builder, StarGoalOffset); FieldContentStageExcel.AddRecommandLevel(builder, RecommandLevel); FieldContentStageExcel.AddStageTopography(builder, StageTopography); FieldContentStageExcel.AddStageEnterCostAmount(builder, StageEnterCostAmount); FieldContentStageExcel.AddStageEnterCostType(builder, StageEnterCostType); FieldContentStageExcel.AddName(builder, NameOffset); FieldContentStageExcel.AddStageDifficulty(builder, StageDifficulty); + FieldContentStageExcel.AddDailyLastPlay(builder, DailyLastPlay); FieldContentStageExcel.AddSkipFormationSettings(builder, SkipFormationSettings); FieldContentStageExcel.AddInstantClear(builder, InstantClear); return FieldContentStageExcel.EndFieldContentStageExcel(builder); } - public static void StartFieldContentStageExcel(FlatBufferBuilder builder) { builder.StartTable(17); } + public static void StartFieldContentStageExcel(FlatBufferBuilder builder) { builder.StartTable(21); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } 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 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 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); } - public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(14, instantClear, false); } - public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(15, fixedEchelonId, 0); } - public static void AddSkipFormationSettings(FlatBufferBuilder builder, bool skipFormationSettings) { builder.AddBool(16, skipFormationSettings, false); } + public static void AddPrevStageId(FlatBufferBuilder builder, long prevStageId) { builder.AddLong(5, prevStageId, 0); } + public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(6, nameOffset.Value, 0); } + public static void AddBattleDuration(FlatBufferBuilder builder, long battleDuration) { builder.AddLong(7, battleDuration, 0); } + public static void AddStageEnterCostType(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType stageEnterCostType) { builder.AddInt(8, (int)stageEnterCostType, 0); } + public static void AddStageEnterCostId(FlatBufferBuilder builder, long stageEnterCostId) { builder.AddLong(9, stageEnterCostId, 0); } + public static void AddStageEnterCostAmount(FlatBufferBuilder builder, int stageEnterCostAmount) { builder.AddInt(10, stageEnterCostAmount, 0); } + public static void AddStageTopography(FlatBufferBuilder builder, SCHALE.Common.FlatData.StageTopography stageTopography) { builder.AddInt(11, (int)stageTopography, 0); } + public static void AddRecommandLevel(FlatBufferBuilder builder, int recommandLevel) { builder.AddInt(12, recommandLevel, 0); } + public static void AddGroundID(FlatBufferBuilder builder, long groundID) { builder.AddLong(13, groundID, 0); } + public static void AddBGMId(FlatBufferBuilder builder, long bGMId) { builder.AddLong(14, bGMId, 0); } + public static void AddInstantClear(FlatBufferBuilder builder, bool instantClear) { builder.AddBool(15, instantClear, false); } + public static void AddFixedEchelonId(FlatBufferBuilder builder, long fixedEchelonId) { builder.AddLong(16, fixedEchelonId, 0); } + public static void AddSkipFormationSettings(FlatBufferBuilder builder, bool skipFormationSettings) { builder.AddBool(17, skipFormationSettings, false); } + public static void AddDailyLastPlay(FlatBufferBuilder builder, bool dailyLastPlay) { builder.AddBool(18, dailyLastPlay, false); } + public static void AddStarGoal(FlatBufferBuilder builder, VectorOffset starGoalOffset) { builder.AddOffset(19, 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(); } + public static VectorOffset CreateStarGoalVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateStarGoalVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartStarGoalVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } + public static void AddStarGoalAmount(FlatBufferBuilder builder, VectorOffset starGoalAmountOffset) { builder.AddOffset(20, starGoalAmountOffset.Value, 0); } + public static VectorOffset CreateStarGoalAmountVector(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 CreateStarGoalAmountVectorBlock(FlatBufferBuilder builder, int[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } + 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 Offset EndFieldContentStageExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -117,6 +157,7 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.AreaId = TableEncryptionService.Convert(this.AreaId, key); _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); _o.StageDifficulty = TableEncryptionService.Convert(this.StageDifficulty, key); + _o.PrevStageId = TableEncryptionService.Convert(this.PrevStageId, key); _o.Name = TableEncryptionService.Convert(this.Name, key); _o.BattleDuration = TableEncryptionService.Convert(this.BattleDuration, key); _o.StageEnterCostType = TableEncryptionService.Convert(this.StageEnterCostType, key); @@ -129,10 +170,25 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.InstantClear = TableEncryptionService.Convert(this.InstantClear, key); _o.FixedEchelonId = TableEncryptionService.Convert(this.FixedEchelonId, key); _o.SkipFormationSettings = TableEncryptionService.Convert(this.SkipFormationSettings, key); + _o.DailyLastPlay = TableEncryptionService.Convert(this.DailyLastPlay, 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(); + for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));} } public static Offset Pack(FlatBufferBuilder builder, FieldContentStageExcelT _o) { if (_o == null) return default(Offset); var _Name = _o.Name == null ? default(StringOffset) : builder.CreateString(_o.Name); + var _StarGoal = default(VectorOffset); + if (_o.StarGoal != null) { + var __StarGoal = _o.StarGoal.ToArray(); + _StarGoal = CreateStarGoalVector(builder, __StarGoal); + } + var _StarGoalAmount = default(VectorOffset); + if (_o.StarGoalAmount != null) { + var __StarGoalAmount = _o.StarGoalAmount.ToArray(); + _StarGoalAmount = CreateStarGoalAmountVector(builder, __StarGoalAmount); + } return CreateFieldContentStageExcel( builder, _o.Id, @@ -140,6 +196,7 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.AreaId, _o.GroupId, _o.StageDifficulty, + _o.PrevStageId, _Name, _o.BattleDuration, _o.StageEnterCostType, @@ -151,7 +208,10 @@ public struct FieldContentStageExcel : IFlatbufferObject _o.BGMId, _o.InstantClear, _o.FixedEchelonId, - _o.SkipFormationSettings); + _o.SkipFormationSettings, + _o.DailyLastPlay, + _StarGoal, + _StarGoalAmount); } } @@ -162,6 +222,7 @@ public class FieldContentStageExcelT public long AreaId { get; set; } public long GroupId { get; set; } public SCHALE.Common.FlatData.StageDifficulty StageDifficulty { get; set; } + public long PrevStageId { get; set; } public string Name { get; set; } public long BattleDuration { get; set; } public SCHALE.Common.FlatData.ParcelType StageEnterCostType { get; set; } @@ -174,6 +235,9 @@ public class FieldContentStageExcelT public bool InstantClear { get; set; } public long FixedEchelonId { get; set; } public bool SkipFormationSettings { get; set; } + public bool DailyLastPlay { get; set; } + public List StarGoal { get; set; } + public List StarGoalAmount { get; set; } public FieldContentStageExcelT() { this.Id = 0; @@ -181,6 +245,7 @@ public class FieldContentStageExcelT this.AreaId = 0; this.GroupId = 0; this.StageDifficulty = SCHALE.Common.FlatData.StageDifficulty.None; + this.PrevStageId = 0; this.Name = null; this.BattleDuration = 0; this.StageEnterCostType = SCHALE.Common.FlatData.ParcelType.None; @@ -193,6 +258,9 @@ public class FieldContentStageExcelT this.InstantClear = false; this.FixedEchelonId = 0; this.SkipFormationSettings = false; + this.DailyLastPlay = false; + this.StarGoal = null; + this.StarGoalAmount = null; } } @@ -207,18 +275,22 @@ static public class FieldContentStageExcelVerify && 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.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, 26 /*RecommandLevel*/, 4 /*int*/, 4, false) - && verifier.VerifyField(tablePos, 28 /*GroundID*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 30 /*BGMId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 32 /*InstantClear*/, 1 /*bool*/, 1, false) - && verifier.VerifyField(tablePos, 34 /*FixedEchelonId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 36 /*SkipFormationSettings*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 14 /*PrevStageId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 16 /*Name*/, false) + && verifier.VerifyField(tablePos, 18 /*BattleDuration*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 20 /*StageEnterCostType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*StageEnterCostId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 24 /*StageEnterCostAmount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*StageTopography*/, 4 /*SCHALE.Common.FlatData.StageTopography*/, 4, false) + && verifier.VerifyField(tablePos, 28 /*RecommandLevel*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 30 /*GroundID*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 32 /*BGMId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 34 /*InstantClear*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 36 /*FixedEchelonId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 38 /*SkipFormationSettings*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 40 /*DailyLastPlay*/, 1 /*bool*/, 1, false) + && verifier.VerifyVectorOfData(tablePos, 42 /*StarGoal*/, 4 /*SCHALE.Common.FlatData.StarGoalType*/, false) + && verifier.VerifyVectorOfData(tablePos, 44 /*StarGoalAmount*/, 4 /*int*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldDateExcel.cs b/SCHALE.Common/FlatData/FieldDateExcel.cs index 3c3858e..64d080e 100644 --- a/SCHALE.Common/FlatData/FieldDateExcel.cs +++ b/SCHALE.Common/FlatData/FieldDateExcel.cs @@ -35,15 +35,31 @@ public struct FieldDateExcel : IFlatbufferObject public long StartConditionId { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public SCHALE.Common.FlatData.FieldConditionType EndConditionType { get { int o = __p.__offset(18); return o != 0 ? (SCHALE.Common.FlatData.FieldConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FieldConditionType.Invalid; } } public long EndConditionId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public long OpenConditionStage { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string DateResultSpinePath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public SCHALE.Common.FlatData.FieldConditionType EndReadyConditionType { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.FieldConditionType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FieldConditionType.Invalid; } } + public long EndReadyConditionId { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public long OpenConditionStage { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string CharacterIconPath { get { int o = __p.__offset(28); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetDateResultSpinePathBytes() { return __p.__vector_as_span(24, 1); } + public Span GetCharacterIconPathBytes() { return __p.__vector_as_span(28, 1); } #else - public ArraySegment? GetDateResultSpinePathBytes() { return __p.__vector_as_arraysegment(24); } + public ArraySegment? GetCharacterIconPathBytes() { return __p.__vector_as_arraysegment(28); } #endif - public byte[] GetDateResultSpinePathArray() { return __p.__vector_as_array(24); } - public float DateResultSpineOffsetX { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } + public byte[] GetCharacterIconPathArray() { return __p.__vector_as_array(28); } + public string DateResultBGPath { get { int o = __p.__offset(30); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetDateResultBGPathBytes() { return __p.__vector_as_span(30, 1); } +#else + public ArraySegment? GetDateResultBGPathBytes() { return __p.__vector_as_arraysegment(30); } +#endif + public byte[] GetDateResultBGPathArray() { return __p.__vector_as_array(30); } + public string DateResultSpinePath { get { int o = __p.__offset(32); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetDateResultSpinePathBytes() { return __p.__vector_as_span(32, 1); } +#else + public ArraySegment? GetDateResultSpinePathBytes() { return __p.__vector_as_arraysegment(32); } +#endif + public byte[] GetDateResultSpinePathArray() { return __p.__vector_as_array(32); } + public float DateResultSpineOffsetX { get { int o = __p.__offset(34); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) : (float)0.0f; } } public static Offset CreateFieldDateExcel(FlatBufferBuilder builder, long SeasonId = 0, @@ -55,11 +71,16 @@ public struct FieldDateExcel : IFlatbufferObject long StartConditionId = 0, SCHALE.Common.FlatData.FieldConditionType EndConditionType = SCHALE.Common.FlatData.FieldConditionType.Invalid, long EndConditionId = 0, + SCHALE.Common.FlatData.FieldConditionType EndReadyConditionType = SCHALE.Common.FlatData.FieldConditionType.Invalid, + long EndReadyConditionId = 0, long OpenConditionStage = 0, + StringOffset CharacterIconPathOffset = default(StringOffset), + StringOffset DateResultBGPathOffset = default(StringOffset), StringOffset DateResultSpinePathOffset = default(StringOffset), float DateResultSpineOffsetX = 0.0f) { - builder.StartTable(12); + builder.StartTable(16); FieldDateExcel.AddOpenConditionStage(builder, OpenConditionStage); + FieldDateExcel.AddEndReadyConditionId(builder, EndReadyConditionId); FieldDateExcel.AddEndConditionId(builder, EndConditionId); FieldDateExcel.AddStartConditionId(builder, StartConditionId); FieldDateExcel.AddEntrySceneId(builder, EntrySceneId); @@ -68,13 +89,16 @@ public struct FieldDateExcel : IFlatbufferObject FieldDateExcel.AddSeasonId(builder, SeasonId); FieldDateExcel.AddDateResultSpineOffsetX(builder, DateResultSpineOffsetX); FieldDateExcel.AddDateResultSpinePath(builder, DateResultSpinePathOffset); + FieldDateExcel.AddDateResultBGPath(builder, DateResultBGPathOffset); + FieldDateExcel.AddCharacterIconPath(builder, CharacterIconPathOffset); + FieldDateExcel.AddEndReadyConditionType(builder, EndReadyConditionType); FieldDateExcel.AddEndConditionType(builder, EndConditionType); FieldDateExcel.AddStartConditionType(builder, StartConditionType); FieldDateExcel.AddDateLocalizeKey(builder, DateLocalizeKeyOffset); return FieldDateExcel.EndFieldDateExcel(builder); } - public static void StartFieldDateExcel(FlatBufferBuilder builder) { builder.StartTable(12); } + public static void StartFieldDateExcel(FlatBufferBuilder builder) { builder.StartTable(16); } 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); } @@ -84,9 +108,13 @@ public struct FieldDateExcel : IFlatbufferObject public static void AddStartConditionId(FlatBufferBuilder builder, long startConditionId) { builder.AddLong(6, startConditionId, 0); } public static void AddEndConditionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldConditionType endConditionType) { builder.AddInt(7, (int)endConditionType, 0); } public static void AddEndConditionId(FlatBufferBuilder builder, long endConditionId) { builder.AddLong(8, endConditionId, 0); } - public static void AddOpenConditionStage(FlatBufferBuilder builder, long openConditionStage) { builder.AddLong(9, openConditionStage, 0); } - public static void AddDateResultSpinePath(FlatBufferBuilder builder, StringOffset dateResultSpinePathOffset) { builder.AddOffset(10, dateResultSpinePathOffset.Value, 0); } - public static void AddDateResultSpineOffsetX(FlatBufferBuilder builder, float dateResultSpineOffsetX) { builder.AddFloat(11, dateResultSpineOffsetX, 0.0f); } + public static void AddEndReadyConditionType(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldConditionType endReadyConditionType) { builder.AddInt(9, (int)endReadyConditionType, 0); } + public static void AddEndReadyConditionId(FlatBufferBuilder builder, long endReadyConditionId) { builder.AddLong(10, endReadyConditionId, 0); } + public static void AddOpenConditionStage(FlatBufferBuilder builder, long openConditionStage) { builder.AddLong(11, openConditionStage, 0); } + public static void AddCharacterIconPath(FlatBufferBuilder builder, StringOffset characterIconPathOffset) { builder.AddOffset(12, characterIconPathOffset.Value, 0); } + public static void AddDateResultBGPath(FlatBufferBuilder builder, StringOffset dateResultBGPathOffset) { builder.AddOffset(13, dateResultBGPathOffset.Value, 0); } + public static void AddDateResultSpinePath(FlatBufferBuilder builder, StringOffset dateResultSpinePathOffset) { builder.AddOffset(14, dateResultSpinePathOffset.Value, 0); } + public static void AddDateResultSpineOffsetX(FlatBufferBuilder builder, float dateResultSpineOffsetX) { builder.AddFloat(15, dateResultSpineOffsetX, 0.0f); } public static Offset EndFieldDateExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -107,13 +135,19 @@ public struct FieldDateExcel : IFlatbufferObject _o.StartConditionId = TableEncryptionService.Convert(this.StartConditionId, key); _o.EndConditionType = TableEncryptionService.Convert(this.EndConditionType, key); _o.EndConditionId = TableEncryptionService.Convert(this.EndConditionId, key); + _o.EndReadyConditionType = TableEncryptionService.Convert(this.EndReadyConditionType, key); + _o.EndReadyConditionId = TableEncryptionService.Convert(this.EndReadyConditionId, key); _o.OpenConditionStage = TableEncryptionService.Convert(this.OpenConditionStage, key); + _o.CharacterIconPath = TableEncryptionService.Convert(this.CharacterIconPath, key); + _o.DateResultBGPath = TableEncryptionService.Convert(this.DateResultBGPath, key); _o.DateResultSpinePath = TableEncryptionService.Convert(this.DateResultSpinePath, key); _o.DateResultSpineOffsetX = TableEncryptionService.Convert(this.DateResultSpineOffsetX, key); } public static Offset Pack(FlatBufferBuilder builder, FieldDateExcelT _o) { if (_o == null) return default(Offset); var _DateLocalizeKey = _o.DateLocalizeKey == null ? default(StringOffset) : builder.CreateString(_o.DateLocalizeKey); + var _CharacterIconPath = _o.CharacterIconPath == null ? default(StringOffset) : builder.CreateString(_o.CharacterIconPath); + var _DateResultBGPath = _o.DateResultBGPath == null ? default(StringOffset) : builder.CreateString(_o.DateResultBGPath); var _DateResultSpinePath = _o.DateResultSpinePath == null ? default(StringOffset) : builder.CreateString(_o.DateResultSpinePath); return CreateFieldDateExcel( builder, @@ -126,7 +160,11 @@ public struct FieldDateExcel : IFlatbufferObject _o.StartConditionId, _o.EndConditionType, _o.EndConditionId, + _o.EndReadyConditionType, + _o.EndReadyConditionId, _o.OpenConditionStage, + _CharacterIconPath, + _DateResultBGPath, _DateResultSpinePath, _o.DateResultSpineOffsetX); } @@ -143,7 +181,11 @@ public class FieldDateExcelT public long StartConditionId { get; set; } public SCHALE.Common.FlatData.FieldConditionType EndConditionType { get; set; } public long EndConditionId { get; set; } + public SCHALE.Common.FlatData.FieldConditionType EndReadyConditionType { get; set; } + public long EndReadyConditionId { get; set; } public long OpenConditionStage { get; set; } + public string CharacterIconPath { get; set; } + public string DateResultBGPath { get; set; } public string DateResultSpinePath { get; set; } public float DateResultSpineOffsetX { get; set; } @@ -157,7 +199,11 @@ public class FieldDateExcelT this.StartConditionId = 0; this.EndConditionType = SCHALE.Common.FlatData.FieldConditionType.Invalid; this.EndConditionId = 0; + this.EndReadyConditionType = SCHALE.Common.FlatData.FieldConditionType.Invalid; + this.EndReadyConditionId = 0; this.OpenConditionStage = 0; + this.CharacterIconPath = null; + this.DateResultBGPath = null; this.DateResultSpinePath = null; this.DateResultSpineOffsetX = 0.0f; } @@ -178,9 +224,13 @@ static public class FieldDateExcelVerify && verifier.VerifyField(tablePos, 16 /*StartConditionId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*EndConditionType*/, 4 /*SCHALE.Common.FlatData.FieldConditionType*/, 4, false) && verifier.VerifyField(tablePos, 20 /*EndConditionId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 22 /*OpenConditionStage*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 24 /*DateResultSpinePath*/, false) - && verifier.VerifyField(tablePos, 26 /*DateResultSpineOffsetX*/, 4 /*float*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*EndReadyConditionType*/, 4 /*SCHALE.Common.FlatData.FieldConditionType*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*EndReadyConditionId*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 26 /*OpenConditionStage*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 28 /*CharacterIconPath*/, false) + && verifier.VerifyString(tablePos, 30 /*DateResultBGPath*/, false) + && verifier.VerifyString(tablePos, 32 /*DateResultSpinePath*/, false) + && verifier.VerifyField(tablePos, 34 /*DateResultSpineOffsetX*/, 4 /*float*/, 4, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldDialogType.cs b/SCHALE.Common/FlatData/FieldDialogType.cs index 11e87d1..7f45d99 100644 --- a/SCHALE.Common/FlatData/FieldDialogType.cs +++ b/SCHALE.Common/FlatData/FieldDialogType.cs @@ -24,6 +24,8 @@ public enum FieldDialogType : int Phone = 14, Keyword = 15, Evidence = 16, + Chat = 17, + Keyword_843 = 18, }; diff --git a/SCHALE.Common/FlatData/FieldEvidenceExcel.cs b/SCHALE.Common/FlatData/FieldEvidenceExcel.cs index fed41ca..be6901d 100644 --- a/SCHALE.Common/FlatData/FieldEvidenceExcel.cs +++ b/SCHALE.Common/FlatData/FieldEvidenceExcel.cs @@ -21,42 +21,45 @@ public struct FieldEvidenceExcel : IFlatbufferObject public FieldEvidenceExcel __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 string NameLocalizeKey { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string NameLocalizeKey { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetNameLocalizeKeyBytes() { return __p.__vector_as_span(6, 1); } + public Span GetNameLocalizeKeyBytes() { return __p.__vector_as_span(8, 1); } #else - public ArraySegment? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(6); } + public ArraySegment? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); } #endif - public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array(6); } - public string DescriptionLocalizeKey { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array(8); } + public string DescriptionLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span(8, 1); } + public Span GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span(10, 1); } #else - public ArraySegment? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); } + public ArraySegment? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); } #endif - public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array(8); } - public string DetailLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array(10); } + public string DetailLocalizeKey { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetDetailLocalizeKeyBytes() { return __p.__vector_as_span(10, 1); } + public Span GetDetailLocalizeKeyBytes() { return __p.__vector_as_span(12, 1); } #else - public ArraySegment? GetDetailLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); } + public ArraySegment? GetDetailLocalizeKeyBytes() { return __p.__vector_as_arraysegment(12); } #endif - public byte[] GetDetailLocalizeKeyArray() { return __p.__vector_as_array(10); } - public string ImagePath { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetDetailLocalizeKeyArray() { return __p.__vector_as_array(12); } + public string ImagePath { get { int o = __p.__offset(14); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetImagePathBytes() { return __p.__vector_as_span(12, 1); } + public Span GetImagePathBytes() { return __p.__vector_as_span(14, 1); } #else - public ArraySegment? GetImagePathBytes() { return __p.__vector_as_arraysegment(12); } + public ArraySegment? GetImagePathBytes() { return __p.__vector_as_arraysegment(14); } #endif - public byte[] GetImagePathArray() { return __p.__vector_as_array(12); } + public byte[] GetImagePathArray() { return __p.__vector_as_array(14); } public static Offset CreateFieldEvidenceExcel(FlatBufferBuilder builder, long UniqueId = 0, + long SeasonId = 0, StringOffset NameLocalizeKeyOffset = default(StringOffset), StringOffset DescriptionLocalizeKeyOffset = default(StringOffset), StringOffset DetailLocalizeKeyOffset = default(StringOffset), StringOffset ImagePathOffset = default(StringOffset)) { - builder.StartTable(5); + builder.StartTable(6); + FieldEvidenceExcel.AddSeasonId(builder, SeasonId); FieldEvidenceExcel.AddUniqueId(builder, UniqueId); FieldEvidenceExcel.AddImagePath(builder, ImagePathOffset); FieldEvidenceExcel.AddDetailLocalizeKey(builder, DetailLocalizeKeyOffset); @@ -65,12 +68,13 @@ public struct FieldEvidenceExcel : IFlatbufferObject return FieldEvidenceExcel.EndFieldEvidenceExcel(builder); } - public static void StartFieldEvidenceExcel(FlatBufferBuilder builder) { builder.StartTable(5); } + public static void StartFieldEvidenceExcel(FlatBufferBuilder builder) { builder.StartTable(6); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddNameLocalizeKey(FlatBufferBuilder builder, StringOffset nameLocalizeKeyOffset) { builder.AddOffset(1, nameLocalizeKeyOffset.Value, 0); } - public static void AddDescriptionLocalizeKey(FlatBufferBuilder builder, StringOffset descriptionLocalizeKeyOffset) { builder.AddOffset(2, descriptionLocalizeKeyOffset.Value, 0); } - public static void AddDetailLocalizeKey(FlatBufferBuilder builder, StringOffset detailLocalizeKeyOffset) { builder.AddOffset(3, detailLocalizeKeyOffset.Value, 0); } - public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(4, imagePathOffset.Value, 0); } + public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } + public static void AddNameLocalizeKey(FlatBufferBuilder builder, StringOffset nameLocalizeKeyOffset) { builder.AddOffset(2, nameLocalizeKeyOffset.Value, 0); } + public static void AddDescriptionLocalizeKey(FlatBufferBuilder builder, StringOffset descriptionLocalizeKeyOffset) { builder.AddOffset(3, descriptionLocalizeKeyOffset.Value, 0); } + public static void AddDetailLocalizeKey(FlatBufferBuilder builder, StringOffset detailLocalizeKeyOffset) { builder.AddOffset(4, detailLocalizeKeyOffset.Value, 0); } + public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(5, imagePathOffset.Value, 0); } public static Offset EndFieldEvidenceExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -83,6 +87,7 @@ public struct FieldEvidenceExcel : IFlatbufferObject public void UnPackTo(FieldEvidenceExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldEvidence"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); + _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.NameLocalizeKey = TableEncryptionService.Convert(this.NameLocalizeKey, key); _o.DescriptionLocalizeKey = TableEncryptionService.Convert(this.DescriptionLocalizeKey, key); _o.DetailLocalizeKey = TableEncryptionService.Convert(this.DetailLocalizeKey, key); @@ -97,6 +102,7 @@ public struct FieldEvidenceExcel : IFlatbufferObject return CreateFieldEvidenceExcel( builder, _o.UniqueId, + _o.SeasonId, _NameLocalizeKey, _DescriptionLocalizeKey, _DetailLocalizeKey, @@ -107,6 +113,7 @@ public struct FieldEvidenceExcel : IFlatbufferObject public class FieldEvidenceExcelT { public long UniqueId { get; set; } + public long SeasonId { get; set; } public string NameLocalizeKey { get; set; } public string DescriptionLocalizeKey { get; set; } public string DetailLocalizeKey { get; set; } @@ -114,6 +121,7 @@ public class FieldEvidenceExcelT public FieldEvidenceExcelT() { this.UniqueId = 0; + this.SeasonId = 0; this.NameLocalizeKey = null; this.DescriptionLocalizeKey = null; this.DetailLocalizeKey = null; @@ -128,10 +136,11 @@ static public class FieldEvidenceExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 6 /*NameLocalizeKey*/, false) - && verifier.VerifyString(tablePos, 8 /*DescriptionLocalizeKey*/, false) - && verifier.VerifyString(tablePos, 10 /*DetailLocalizeKey*/, false) - && verifier.VerifyString(tablePos, 12 /*ImagePath*/, false) + && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 8 /*NameLocalizeKey*/, false) + && verifier.VerifyString(tablePos, 10 /*DescriptionLocalizeKey*/, false) + && verifier.VerifyString(tablePos, 12 /*DetailLocalizeKey*/, false) + && verifier.VerifyString(tablePos, 14 /*ImagePath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldInteractionType.cs b/SCHALE.Common/FlatData/FieldInteractionType.cs index 29fa51f..fba4b06 100644 --- a/SCHALE.Common/FlatData/FieldInteractionType.cs +++ b/SCHALE.Common/FlatData/FieldInteractionType.cs @@ -18,6 +18,7 @@ public enum FieldInteractionType : int Timeline = 8, ActionTrigger = 9, Interplay = 10, + UnderCoverStage = 11, }; diff --git a/SCHALE.Common/FlatData/FieldKeywordExcel.cs b/SCHALE.Common/FlatData/FieldKeywordExcel.cs index 2d2ce9e..3c5045b 100644 --- a/SCHALE.Common/FlatData/FieldKeywordExcel.cs +++ b/SCHALE.Common/FlatData/FieldKeywordExcel.cs @@ -21,34 +21,37 @@ public struct FieldKeywordExcel : IFlatbufferObject public FieldKeywordExcel __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 string NameLocalizeKey { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long SeasonId { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public string NameLocalizeKey { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetNameLocalizeKeyBytes() { return __p.__vector_as_span(6, 1); } + public Span GetNameLocalizeKeyBytes() { return __p.__vector_as_span(8, 1); } #else - public ArraySegment? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(6); } + public ArraySegment? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); } #endif - public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array(6); } - public string DescriptionLocalizeKey { get { int o = __p.__offset(8); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array(8); } + public string DescriptionLocalizeKey { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span(8, 1); } + public Span GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span(10, 1); } #else - public ArraySegment? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); } + public ArraySegment? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); } #endif - public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array(8); } - public string ImagePath { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array(10); } + public string ImagePath { get { int o = __p.__offset(12); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetImagePathBytes() { return __p.__vector_as_span(10, 1); } + public Span GetImagePathBytes() { return __p.__vector_as_span(12, 1); } #else - public ArraySegment? GetImagePathBytes() { return __p.__vector_as_arraysegment(10); } + public ArraySegment? GetImagePathBytes() { return __p.__vector_as_arraysegment(12); } #endif - public byte[] GetImagePathArray() { return __p.__vector_as_array(10); } + public byte[] GetImagePathArray() { return __p.__vector_as_array(12); } public static Offset CreateFieldKeywordExcel(FlatBufferBuilder builder, long UniqueId = 0, + long SeasonId = 0, StringOffset NameLocalizeKeyOffset = default(StringOffset), StringOffset DescriptionLocalizeKeyOffset = default(StringOffset), StringOffset ImagePathOffset = default(StringOffset)) { - builder.StartTable(4); + builder.StartTable(5); + FieldKeywordExcel.AddSeasonId(builder, SeasonId); FieldKeywordExcel.AddUniqueId(builder, UniqueId); FieldKeywordExcel.AddImagePath(builder, ImagePathOffset); FieldKeywordExcel.AddDescriptionLocalizeKey(builder, DescriptionLocalizeKeyOffset); @@ -56,11 +59,12 @@ public struct FieldKeywordExcel : IFlatbufferObject return FieldKeywordExcel.EndFieldKeywordExcel(builder); } - public static void StartFieldKeywordExcel(FlatBufferBuilder builder) { builder.StartTable(4); } + public static void StartFieldKeywordExcel(FlatBufferBuilder builder) { builder.StartTable(5); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } - public static void AddNameLocalizeKey(FlatBufferBuilder builder, StringOffset nameLocalizeKeyOffset) { builder.AddOffset(1, nameLocalizeKeyOffset.Value, 0); } - public static void AddDescriptionLocalizeKey(FlatBufferBuilder builder, StringOffset descriptionLocalizeKeyOffset) { builder.AddOffset(2, descriptionLocalizeKeyOffset.Value, 0); } - public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(3, imagePathOffset.Value, 0); } + public static void AddSeasonId(FlatBufferBuilder builder, long seasonId) { builder.AddLong(1, seasonId, 0); } + public static void AddNameLocalizeKey(FlatBufferBuilder builder, StringOffset nameLocalizeKeyOffset) { builder.AddOffset(2, nameLocalizeKeyOffset.Value, 0); } + public static void AddDescriptionLocalizeKey(FlatBufferBuilder builder, StringOffset descriptionLocalizeKeyOffset) { builder.AddOffset(3, descriptionLocalizeKeyOffset.Value, 0); } + public static void AddImagePath(FlatBufferBuilder builder, StringOffset imagePathOffset) { builder.AddOffset(4, imagePathOffset.Value, 0); } public static Offset EndFieldKeywordExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -73,6 +77,7 @@ public struct FieldKeywordExcel : IFlatbufferObject public void UnPackTo(FieldKeywordExcelT _o) { byte[] key = TableEncryptionService.CreateKey("FieldKeyword"); _o.UniqueId = TableEncryptionService.Convert(this.UniqueId, key); + _o.SeasonId = TableEncryptionService.Convert(this.SeasonId, key); _o.NameLocalizeKey = TableEncryptionService.Convert(this.NameLocalizeKey, key); _o.DescriptionLocalizeKey = TableEncryptionService.Convert(this.DescriptionLocalizeKey, key); _o.ImagePath = TableEncryptionService.Convert(this.ImagePath, key); @@ -85,6 +90,7 @@ public struct FieldKeywordExcel : IFlatbufferObject return CreateFieldKeywordExcel( builder, _o.UniqueId, + _o.SeasonId, _NameLocalizeKey, _DescriptionLocalizeKey, _ImagePath); @@ -94,12 +100,14 @@ public struct FieldKeywordExcel : IFlatbufferObject public class FieldKeywordExcelT { public long UniqueId { get; set; } + public long SeasonId { get; set; } public string NameLocalizeKey { get; set; } public string DescriptionLocalizeKey { get; set; } public string ImagePath { get; set; } public FieldKeywordExcelT() { this.UniqueId = 0; + this.SeasonId = 0; this.NameLocalizeKey = null; this.DescriptionLocalizeKey = null; this.ImagePath = null; @@ -113,9 +121,10 @@ static public class FieldKeywordExcelVerify { return verifier.VerifyTableStart(tablePos) && verifier.VerifyField(tablePos, 4 /*UniqueId*/, 8 /*long*/, 8, false) - && verifier.VerifyString(tablePos, 6 /*NameLocalizeKey*/, false) - && verifier.VerifyString(tablePos, 8 /*DescriptionLocalizeKey*/, false) - && verifier.VerifyString(tablePos, 10 /*ImagePath*/, false) + && verifier.VerifyField(tablePos, 6 /*SeasonId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 8 /*NameLocalizeKey*/, false) + && verifier.VerifyString(tablePos, 10 /*DescriptionLocalizeKey*/, false) + && verifier.VerifyString(tablePos, 12 /*ImagePath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldSceneExcel.cs b/SCHALE.Common/FlatData/FieldSceneExcel.cs index 4cfbbf2..7a8b8b3 100644 --- a/SCHALE.Common/FlatData/FieldSceneExcel.cs +++ b/SCHALE.Common/FlatData/FieldSceneExcel.cs @@ -54,22 +54,38 @@ public struct FieldSceneExcel : IFlatbufferObject public ArraySegment? GetBeginConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(18); } #endif public long[] GetBeginConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array(18); } - public long EndConditionalBGMScenarioGroupId(int j) { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int EndConditionalBGMScenarioGroupIdLength { get { int o = __p.__offset(20); return o != 0 ? __p.__vector_len(o) : 0; } } + public long BeginConditionalBGMInteractionId(int j) { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int BeginConditionalBGMInteractionIdLength { get { int o = __p.__offset(20); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_span(20, 8); } + public Span GetBeginConditionalBGMInteractionIdBytes() { return __p.__vector_as_span(20, 8); } #else - public ArraySegment? GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(20); } + public ArraySegment? GetBeginConditionalBGMInteractionIdBytes() { return __p.__vector_as_arraysegment(20); } #endif - public long[] GetEndConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array(20); } - public long ConditionalBGMId(int j) { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int ConditionalBGMIdLength { get { int o = __p.__offset(22); return o != 0 ? __p.__vector_len(o) : 0; } } + public long[] GetBeginConditionalBGMInteractionIdArray() { return __p.__vector_as_array(20); } + public long EndConditionalBGMScenarioGroupId(int j) { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int EndConditionalBGMScenarioGroupIdLength { get { int o = __p.__offset(22); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetConditionalBGMIdBytes() { return __p.__vector_as_span(22, 8); } + public Span GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_span(22, 8); } #else - public ArraySegment? GetConditionalBGMIdBytes() { return __p.__vector_as_arraysegment(22); } + public ArraySegment? GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(22); } #endif - public long[] GetConditionalBGMIdArray() { return __p.__vector_as_array(22); } + public long[] GetEndConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array(22); } + public long EndConditionalBGMInteractionId(int j) { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int EndConditionalBGMInteractionIdLength { get { int o = __p.__offset(24); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetEndConditionalBGMInteractionIdBytes() { return __p.__vector_as_span(24, 8); } +#else + public ArraySegment? GetEndConditionalBGMInteractionIdBytes() { return __p.__vector_as_arraysegment(24); } +#endif + public long[] GetEndConditionalBGMInteractionIdArray() { return __p.__vector_as_array(24); } + public long ConditionalBGMId(int j) { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int ConditionalBGMIdLength { get { int o = __p.__offset(26); return o != 0 ? __p.__vector_len(o) : 0; } } +#if ENABLE_SPAN_T + public Span GetConditionalBGMIdBytes() { return __p.__vector_as_span(26, 8); } +#else + public ArraySegment? GetConditionalBGMIdBytes() { return __p.__vector_as_arraysegment(26); } +#endif + public long[] GetConditionalBGMIdArray() { return __p.__vector_as_array(26); } public static Offset CreateFieldSceneExcel(FlatBufferBuilder builder, long UniqueId = 0, @@ -80,15 +96,19 @@ public struct FieldSceneExcel : IFlatbufferObject long BGMId = 0, VectorOffset ConditionalBGMQuestIdOffset = default(VectorOffset), VectorOffset BeginConditionalBGMScenarioGroupIdOffset = default(VectorOffset), + VectorOffset BeginConditionalBGMInteractionIdOffset = default(VectorOffset), VectorOffset EndConditionalBGMScenarioGroupIdOffset = default(VectorOffset), + VectorOffset EndConditionalBGMInteractionIdOffset = default(VectorOffset), VectorOffset ConditionalBGMIdOffset = default(VectorOffset)) { - builder.StartTable(10); + builder.StartTable(12); FieldSceneExcel.AddBGMId(builder, BGMId); FieldSceneExcel.AddGroupId(builder, GroupId); FieldSceneExcel.AddDateId(builder, DateId); FieldSceneExcel.AddUniqueId(builder, UniqueId); FieldSceneExcel.AddConditionalBGMId(builder, ConditionalBGMIdOffset); + FieldSceneExcel.AddEndConditionalBGMInteractionId(builder, EndConditionalBGMInteractionIdOffset); FieldSceneExcel.AddEndConditionalBGMScenarioGroupId(builder, EndConditionalBGMScenarioGroupIdOffset); + FieldSceneExcel.AddBeginConditionalBGMInteractionId(builder, BeginConditionalBGMInteractionIdOffset); FieldSceneExcel.AddBeginConditionalBGMScenarioGroupId(builder, BeginConditionalBGMScenarioGroupIdOffset); FieldSceneExcel.AddConditionalBGMQuestId(builder, ConditionalBGMQuestIdOffset); FieldSceneExcel.AddDesignLevelPath(builder, DesignLevelPathOffset); @@ -96,7 +116,7 @@ public struct FieldSceneExcel : IFlatbufferObject return FieldSceneExcel.EndFieldSceneExcel(builder); } - public static void StartFieldSceneExcel(FlatBufferBuilder builder) { builder.StartTable(10); } + public static void StartFieldSceneExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddUniqueId(FlatBufferBuilder builder, long uniqueId) { builder.AddLong(0, uniqueId, 0); } public static void AddDateId(FlatBufferBuilder builder, long dateId) { builder.AddLong(1, dateId, 0); } public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(2, groupId, 0); } @@ -115,13 +135,25 @@ public struct FieldSceneExcel : IFlatbufferObject public static VectorOffset CreateBeginConditionalBGMScenarioGroupIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateBeginConditionalBGMScenarioGroupIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartBeginConditionalBGMScenarioGroupIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddEndConditionalBGMScenarioGroupId(FlatBufferBuilder builder, VectorOffset endConditionalBGMScenarioGroupIdOffset) { builder.AddOffset(8, endConditionalBGMScenarioGroupIdOffset.Value, 0); } + public static void AddBeginConditionalBGMInteractionId(FlatBufferBuilder builder, VectorOffset beginConditionalBGMInteractionIdOffset) { builder.AddOffset(8, beginConditionalBGMInteractionIdOffset.Value, 0); } + public static VectorOffset CreateBeginConditionalBGMInteractionIdVector(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 CreateBeginConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateBeginConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateBeginConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartBeginConditionalBGMInteractionIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } + public static void AddEndConditionalBGMScenarioGroupId(FlatBufferBuilder builder, VectorOffset endConditionalBGMScenarioGroupIdOffset) { builder.AddOffset(9, endConditionalBGMScenarioGroupIdOffset.Value, 0); } public static VectorOffset CreateEndConditionalBGMScenarioGroupIdVector(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 CreateEndConditionalBGMScenarioGroupIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateEndConditionalBGMScenarioGroupIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateEndConditionalBGMScenarioGroupIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartEndConditionalBGMScenarioGroupIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddConditionalBGMId(FlatBufferBuilder builder, VectorOffset conditionalBGMIdOffset) { builder.AddOffset(9, conditionalBGMIdOffset.Value, 0); } + public static void AddEndConditionalBGMInteractionId(FlatBufferBuilder builder, VectorOffset endConditionalBGMInteractionIdOffset) { builder.AddOffset(10, endConditionalBGMInteractionIdOffset.Value, 0); } + public static VectorOffset CreateEndConditionalBGMInteractionIdVector(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 CreateEndConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateEndConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } + public static VectorOffset CreateEndConditionalBGMInteractionIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } + public static void StartEndConditionalBGMInteractionIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } + public static void AddConditionalBGMId(FlatBufferBuilder builder, VectorOffset conditionalBGMIdOffset) { builder.AddOffset(11, conditionalBGMIdOffset.Value, 0); } public static VectorOffset CreateConditionalBGMIdVector(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 CreateConditionalBGMIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateConditionalBGMIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } @@ -148,8 +180,12 @@ public struct FieldSceneExcel : IFlatbufferObject for (var _j = 0; _j < this.ConditionalBGMQuestIdLength; ++_j) {_o.ConditionalBGMQuestId.Add(TableEncryptionService.Convert(this.ConditionalBGMQuestId(_j), key));} _o.BeginConditionalBGMScenarioGroupId = new List(); for (var _j = 0; _j < this.BeginConditionalBGMScenarioGroupIdLength; ++_j) {_o.BeginConditionalBGMScenarioGroupId.Add(TableEncryptionService.Convert(this.BeginConditionalBGMScenarioGroupId(_j), key));} + _o.BeginConditionalBGMInteractionId = new List(); + for (var _j = 0; _j < this.BeginConditionalBGMInteractionIdLength; ++_j) {_o.BeginConditionalBGMInteractionId.Add(TableEncryptionService.Convert(this.BeginConditionalBGMInteractionId(_j), key));} _o.EndConditionalBGMScenarioGroupId = new List(); for (var _j = 0; _j < this.EndConditionalBGMScenarioGroupIdLength; ++_j) {_o.EndConditionalBGMScenarioGroupId.Add(TableEncryptionService.Convert(this.EndConditionalBGMScenarioGroupId(_j), key));} + _o.EndConditionalBGMInteractionId = new List(); + for (var _j = 0; _j < this.EndConditionalBGMInteractionIdLength; ++_j) {_o.EndConditionalBGMInteractionId.Add(TableEncryptionService.Convert(this.EndConditionalBGMInteractionId(_j), key));} _o.ConditionalBGMId = new List(); for (var _j = 0; _j < this.ConditionalBGMIdLength; ++_j) {_o.ConditionalBGMId.Add(TableEncryptionService.Convert(this.ConditionalBGMId(_j), key));} } @@ -167,11 +203,21 @@ public struct FieldSceneExcel : IFlatbufferObject var __BeginConditionalBGMScenarioGroupId = _o.BeginConditionalBGMScenarioGroupId.ToArray(); _BeginConditionalBGMScenarioGroupId = CreateBeginConditionalBGMScenarioGroupIdVector(builder, __BeginConditionalBGMScenarioGroupId); } + var _BeginConditionalBGMInteractionId = default(VectorOffset); + if (_o.BeginConditionalBGMInteractionId != null) { + var __BeginConditionalBGMInteractionId = _o.BeginConditionalBGMInteractionId.ToArray(); + _BeginConditionalBGMInteractionId = CreateBeginConditionalBGMInteractionIdVector(builder, __BeginConditionalBGMInteractionId); + } var _EndConditionalBGMScenarioGroupId = default(VectorOffset); if (_o.EndConditionalBGMScenarioGroupId != null) { var __EndConditionalBGMScenarioGroupId = _o.EndConditionalBGMScenarioGroupId.ToArray(); _EndConditionalBGMScenarioGroupId = CreateEndConditionalBGMScenarioGroupIdVector(builder, __EndConditionalBGMScenarioGroupId); } + var _EndConditionalBGMInteractionId = default(VectorOffset); + if (_o.EndConditionalBGMInteractionId != null) { + var __EndConditionalBGMInteractionId = _o.EndConditionalBGMInteractionId.ToArray(); + _EndConditionalBGMInteractionId = CreateEndConditionalBGMInteractionIdVector(builder, __EndConditionalBGMInteractionId); + } var _ConditionalBGMId = default(VectorOffset); if (_o.ConditionalBGMId != null) { var __ConditionalBGMId = _o.ConditionalBGMId.ToArray(); @@ -187,7 +233,9 @@ public struct FieldSceneExcel : IFlatbufferObject _o.BGMId, _ConditionalBGMQuestId, _BeginConditionalBGMScenarioGroupId, + _BeginConditionalBGMInteractionId, _EndConditionalBGMScenarioGroupId, + _EndConditionalBGMInteractionId, _ConditionalBGMId); } } @@ -202,7 +250,9 @@ public class FieldSceneExcelT public long BGMId { get; set; } public List ConditionalBGMQuestId { get; set; } public List BeginConditionalBGMScenarioGroupId { get; set; } + public List BeginConditionalBGMInteractionId { get; set; } public List EndConditionalBGMScenarioGroupId { get; set; } + public List EndConditionalBGMInteractionId { get; set; } public List ConditionalBGMId { get; set; } public FieldSceneExcelT() { @@ -214,7 +264,9 @@ public class FieldSceneExcelT this.BGMId = 0; this.ConditionalBGMQuestId = null; this.BeginConditionalBGMScenarioGroupId = null; + this.BeginConditionalBGMInteractionId = null; this.EndConditionalBGMScenarioGroupId = null; + this.EndConditionalBGMInteractionId = null; this.ConditionalBGMId = null; } } @@ -233,8 +285,10 @@ static public class FieldSceneExcelVerify && verifier.VerifyField(tablePos, 14 /*BGMId*/, 8 /*long*/, 8, false) && verifier.VerifyVectorOfData(tablePos, 16 /*ConditionalBGMQuestId*/, 8 /*long*/, false) && verifier.VerifyVectorOfData(tablePos, 18 /*BeginConditionalBGMScenarioGroupId*/, 8 /*long*/, false) - && verifier.VerifyVectorOfData(tablePos, 20 /*EndConditionalBGMScenarioGroupId*/, 8 /*long*/, false) - && verifier.VerifyVectorOfData(tablePos, 22 /*ConditionalBGMId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 20 /*BeginConditionalBGMInteractionId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 22 /*EndConditionalBGMScenarioGroupId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 24 /*EndConditionalBGMInteractionId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 26 /*ConditionalBGMId*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldSeasonExcel.cs b/SCHALE.Common/FlatData/FieldSeasonExcel.cs index d304f14..2944df3 100644 --- a/SCHALE.Common/FlatData/FieldSeasonExcel.cs +++ b/SCHALE.Common/FlatData/FieldSeasonExcel.cs @@ -39,34 +39,29 @@ public struct FieldSeasonExcel : IFlatbufferObject #endif public byte[] GetEndDateArray() { return __p.__vector_as_array(14); } public long LobbyBGMChangeStageId { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public string CharacterIconPath { get { int o = __p.__offset(18); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public long FieldPrefabControlID { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.FieldDialogType FieldGetKeywordCallDialogEnum { get { int o = __p.__offset(20); return o != 0 ? (SCHALE.Common.FlatData.FieldDialogType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FieldDialogType.None; } } + public string MasteryImagePath { get { int o = __p.__offset(22); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetCharacterIconPathBytes() { return __p.__vector_as_span(18, 1); } + public Span GetMasteryImagePathBytes() { return __p.__vector_as_span(22, 1); } #else - public ArraySegment? GetCharacterIconPathBytes() { return __p.__vector_as_arraysegment(18); } + public ArraySegment? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(22); } #endif - public byte[] GetCharacterIconPathArray() { return __p.__vector_as_array(18); } - public string MasteryImagePath { get { int o = __p.__offset(20); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } + public byte[] GetMasteryImagePathArray() { return __p.__vector_as_array(22); } + public string FieldLobbyTitleImagePath { get { int o = __p.__offset(24); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetMasteryImagePathBytes() { return __p.__vector_as_span(20, 1); } + public Span GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span(24, 1); } #else - public ArraySegment? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(20); } + public ArraySegment? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(24); } #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; } } + public byte[] GetFieldLobbyTitleImagePathArray() { return __p.__vector_as_array(24); } + public string KeywordLogoImagePath { get { int o = __p.__offset(26); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } #if ENABLE_SPAN_T - public Span GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span(22, 1); } + public Span GetKeywordLogoImagePathBytes() { return __p.__vector_as_span(26, 1); } #else - public ArraySegment? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(22); } + public ArraySegment? GetKeywordLogoImagePathBytes() { return __p.__vector_as_arraysegment(26); } #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 byte[] GetKeywordLogoImagePathArray() { return __p.__vector_as_array(26); } public static Offset CreateFieldSeasonExcel(FlatBufferBuilder builder, long UniqueId = 0, @@ -76,11 +71,13 @@ public struct FieldSeasonExcel : IFlatbufferObject StringOffset StartDateOffset = default(StringOffset), StringOffset EndDateOffset = default(StringOffset), long LobbyBGMChangeStageId = 0, - StringOffset CharacterIconPathOffset = default(StringOffset), + long FieldPrefabControlID = 0, + SCHALE.Common.FlatData.FieldDialogType FieldGetKeywordCallDialogEnum = SCHALE.Common.FlatData.FieldDialogType.None, StringOffset MasteryImagePathOffset = default(StringOffset), StringOffset FieldLobbyTitleImagePathOffset = default(StringOffset), StringOffset KeywordLogoImagePathOffset = default(StringOffset)) { - builder.StartTable(11); + builder.StartTable(12); + FieldSeasonExcel.AddFieldPrefabControlID(builder, FieldPrefabControlID); FieldSeasonExcel.AddLobbyBGMChangeStageId(builder, LobbyBGMChangeStageId); FieldSeasonExcel.AddInstantEntryDateId(builder, InstantEntryDateId); FieldSeasonExcel.AddEntryDateId(builder, EntryDateId); @@ -89,13 +86,13 @@ public struct FieldSeasonExcel : IFlatbufferObject FieldSeasonExcel.AddKeywordLogoImagePath(builder, KeywordLogoImagePathOffset); FieldSeasonExcel.AddFieldLobbyTitleImagePath(builder, FieldLobbyTitleImagePathOffset); FieldSeasonExcel.AddMasteryImagePath(builder, MasteryImagePathOffset); - FieldSeasonExcel.AddCharacterIconPath(builder, CharacterIconPathOffset); + FieldSeasonExcel.AddFieldGetKeywordCallDialogEnum(builder, FieldGetKeywordCallDialogEnum); FieldSeasonExcel.AddEndDate(builder, EndDateOffset); FieldSeasonExcel.AddStartDate(builder, StartDateOffset); return FieldSeasonExcel.EndFieldSeasonExcel(builder); } - public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(11); } + public static void StartFieldSeasonExcel(FlatBufferBuilder builder) { builder.StartTable(12); } 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); } @@ -103,10 +100,11 @@ public struct FieldSeasonExcel : IFlatbufferObject public static void AddStartDate(FlatBufferBuilder builder, StringOffset startDateOffset) { builder.AddOffset(4, startDateOffset.Value, 0); } public static void AddEndDate(FlatBufferBuilder builder, StringOffset endDateOffset) { builder.AddOffset(5, endDateOffset.Value, 0); } 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 void AddFieldPrefabControlID(FlatBufferBuilder builder, long fieldPrefabControlID) { builder.AddLong(7, fieldPrefabControlID, 0); } + public static void AddFieldGetKeywordCallDialogEnum(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldDialogType fieldGetKeywordCallDialogEnum) { builder.AddInt(8, (int)fieldGetKeywordCallDialogEnum, 0); } + public static void AddMasteryImagePath(FlatBufferBuilder builder, StringOffset masteryImagePathOffset) { builder.AddOffset(9, masteryImagePathOffset.Value, 0); } + public static void AddFieldLobbyTitleImagePath(FlatBufferBuilder builder, StringOffset fieldLobbyTitleImagePathOffset) { builder.AddOffset(10, fieldLobbyTitleImagePathOffset.Value, 0); } + public static void AddKeywordLogoImagePath(FlatBufferBuilder builder, StringOffset keywordLogoImagePathOffset) { builder.AddOffset(11, keywordLogoImagePathOffset.Value, 0); } public static Offset EndFieldSeasonExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -125,7 +123,8 @@ public struct FieldSeasonExcel : IFlatbufferObject _o.StartDate = TableEncryptionService.Convert(this.StartDate, key); _o.EndDate = TableEncryptionService.Convert(this.EndDate, key); _o.LobbyBGMChangeStageId = TableEncryptionService.Convert(this.LobbyBGMChangeStageId, key); - _o.CharacterIconPath = TableEncryptionService.Convert(this.CharacterIconPath, key); + _o.FieldPrefabControlID = TableEncryptionService.Convert(this.FieldPrefabControlID, key); + _o.FieldGetKeywordCallDialogEnum = TableEncryptionService.Convert(this.FieldGetKeywordCallDialogEnum, key); _o.MasteryImagePath = TableEncryptionService.Convert(this.MasteryImagePath, key); _o.FieldLobbyTitleImagePath = TableEncryptionService.Convert(this.FieldLobbyTitleImagePath, key); _o.KeywordLogoImagePath = TableEncryptionService.Convert(this.KeywordLogoImagePath, key); @@ -134,7 +133,6 @@ public struct FieldSeasonExcel : IFlatbufferObject if (_o == null) return default(Offset); var _StartDate = _o.StartDate == null ? default(StringOffset) : builder.CreateString(_o.StartDate); 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); @@ -147,7 +145,8 @@ public struct FieldSeasonExcel : IFlatbufferObject _StartDate, _EndDate, _o.LobbyBGMChangeStageId, - _CharacterIconPath, + _o.FieldPrefabControlID, + _o.FieldGetKeywordCallDialogEnum, _MasteryImagePath, _FieldLobbyTitleImagePath, _KeywordLogoImagePath); @@ -163,7 +162,8 @@ public class FieldSeasonExcelT public string StartDate { get; set; } public string EndDate { get; set; } public long LobbyBGMChangeStageId { get; set; } - public string CharacterIconPath { get; set; } + public long FieldPrefabControlID { get; set; } + public SCHALE.Common.FlatData.FieldDialogType FieldGetKeywordCallDialogEnum { get; set; } public string MasteryImagePath { get; set; } public string FieldLobbyTitleImagePath { get; set; } public string KeywordLogoImagePath { get; set; } @@ -176,7 +176,8 @@ public class FieldSeasonExcelT this.StartDate = null; this.EndDate = null; this.LobbyBGMChangeStageId = 0; - this.CharacterIconPath = null; + this.FieldPrefabControlID = 0; + this.FieldGetKeywordCallDialogEnum = SCHALE.Common.FlatData.FieldDialogType.None; this.MasteryImagePath = null; this.FieldLobbyTitleImagePath = null; this.KeywordLogoImagePath = null; @@ -196,10 +197,11 @@ static public class FieldSeasonExcelVerify && verifier.VerifyString(tablePos, 12 /*StartDate*/, false) && verifier.VerifyString(tablePos, 14 /*EndDate*/, false) && 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.VerifyField(tablePos, 18 /*FieldPrefabControlID*/, 8 /*long*/, 8, false) + && verifier.VerifyField(tablePos, 20 /*FieldGetKeywordCallDialogEnum*/, 4 /*SCHALE.Common.FlatData.FieldDialogType*/, 4, false) + && verifier.VerifyString(tablePos, 22 /*MasteryImagePath*/, false) + && verifier.VerifyString(tablePos, 24 /*FieldLobbyTitleImagePath*/, false) + && verifier.VerifyString(tablePos, 26 /*KeywordLogoImagePath*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/FieldWorldMapButtonType.cs b/SCHALE.Common/FlatData/FieldWorldMapButtonType.cs new file mode 100644 index 0000000..c4734b3 --- /dev/null +++ b/SCHALE.Common/FlatData/FieldWorldMapButtonType.cs @@ -0,0 +1,18 @@ +// +// automatically generated by the FlatBuffers compiler, do not modify +// + +namespace SCHALE.Common.FlatData +{ + +public enum FieldWorldMapButtonType : int +{ + DefaultMode = 0, + Normal = 1, + Combat = 2, + Combat_VeryHard = 3, + UnderCover = 4, +}; + + +} diff --git a/SCHALE.Common/FlatData/FieldWorldMapZoneExcel.cs b/SCHALE.Common/FlatData/FieldWorldMapZoneExcel.cs index dc87c9b..b101b60 100644 --- a/SCHALE.Common/FlatData/FieldWorldMapZoneExcel.cs +++ b/SCHALE.Common/FlatData/FieldWorldMapZoneExcel.cs @@ -29,7 +29,9 @@ public struct FieldWorldMapZoneExcel : IFlatbufferObject public long CloseConditionId { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long ResultFieldScene { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } public long FieldStageInteractionId { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public uint LocalizeCode { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public SCHALE.Common.FlatData.FieldWorldMapButtonType WorldMapButtonType { get { int o = __p.__offset(22); return o != 0 ? (SCHALE.Common.FlatData.FieldWorldMapButtonType)__p.bb.GetInt(o + __p.bb_pos) : SCHALE.Common.FlatData.FieldWorldMapButtonType.DefaultMode; } } + public uint LocalizeCode { get { int o = __p.__offset(24); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public bool NewTagDisplay { get { int o = __p.__offset(26); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } public static Offset CreateFieldWorldMapZoneExcel(FlatBufferBuilder builder, long Id = 0, @@ -41,22 +43,26 @@ public struct FieldWorldMapZoneExcel : IFlatbufferObject long CloseConditionId = 0, long ResultFieldScene = 0, long FieldStageInteractionId = 0, - uint LocalizeCode = 0) { - builder.StartTable(10); + SCHALE.Common.FlatData.FieldWorldMapButtonType WorldMapButtonType = SCHALE.Common.FlatData.FieldWorldMapButtonType.DefaultMode, + uint LocalizeCode = 0, + bool NewTagDisplay = false) { + builder.StartTable(12); FieldWorldMapZoneExcel.AddFieldStageInteractionId(builder, FieldStageInteractionId); FieldWorldMapZoneExcel.AddResultFieldScene(builder, ResultFieldScene); FieldWorldMapZoneExcel.AddCloseConditionId(builder, CloseConditionId); FieldWorldMapZoneExcel.AddOpenConditionId(builder, OpenConditionId); FieldWorldMapZoneExcel.AddId(builder, Id); FieldWorldMapZoneExcel.AddLocalizeCode(builder, LocalizeCode); + FieldWorldMapZoneExcel.AddWorldMapButtonType(builder, WorldMapButtonType); FieldWorldMapZoneExcel.AddCloseConditionType(builder, CloseConditionType); FieldWorldMapZoneExcel.AddOpenConditionType(builder, OpenConditionType); FieldWorldMapZoneExcel.AddDate(builder, Date); FieldWorldMapZoneExcel.AddGroupId(builder, GroupId); + FieldWorldMapZoneExcel.AddNewTagDisplay(builder, NewTagDisplay); return FieldWorldMapZoneExcel.EndFieldWorldMapZoneExcel(builder); } - public static void StartFieldWorldMapZoneExcel(FlatBufferBuilder builder) { builder.StartTable(10); } + public static void StartFieldWorldMapZoneExcel(FlatBufferBuilder builder) { builder.StartTable(12); } public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); } public static void AddGroupId(FlatBufferBuilder builder, int groupId) { builder.AddInt(1, groupId, 0); } public static void AddDate(FlatBufferBuilder builder, int date) { builder.AddInt(2, date, 0); } @@ -66,7 +72,9 @@ public struct FieldWorldMapZoneExcel : IFlatbufferObject public static void AddCloseConditionId(FlatBufferBuilder builder, long closeConditionId) { builder.AddLong(6, closeConditionId, 0); } public static void AddResultFieldScene(FlatBufferBuilder builder, long resultFieldScene) { builder.AddLong(7, resultFieldScene, 0); } public static void AddFieldStageInteractionId(FlatBufferBuilder builder, long fieldStageInteractionId) { builder.AddLong(8, fieldStageInteractionId, 0); } - public static void AddLocalizeCode(FlatBufferBuilder builder, uint localizeCode) { builder.AddUint(9, localizeCode, 0); } + public static void AddWorldMapButtonType(FlatBufferBuilder builder, SCHALE.Common.FlatData.FieldWorldMapButtonType worldMapButtonType) { builder.AddInt(9, (int)worldMapButtonType, 0); } + public static void AddLocalizeCode(FlatBufferBuilder builder, uint localizeCode) { builder.AddUint(10, localizeCode, 0); } + public static void AddNewTagDisplay(FlatBufferBuilder builder, bool newTagDisplay) { builder.AddBool(11, newTagDisplay, false); } public static Offset EndFieldWorldMapZoneExcel(FlatBufferBuilder builder) { int o = builder.EndTable(); return new Offset(o); @@ -87,7 +95,9 @@ public struct FieldWorldMapZoneExcel : IFlatbufferObject _o.CloseConditionId = TableEncryptionService.Convert(this.CloseConditionId, key); _o.ResultFieldScene = TableEncryptionService.Convert(this.ResultFieldScene, key); _o.FieldStageInteractionId = TableEncryptionService.Convert(this.FieldStageInteractionId, key); + _o.WorldMapButtonType = TableEncryptionService.Convert(this.WorldMapButtonType, key); _o.LocalizeCode = TableEncryptionService.Convert(this.LocalizeCode, key); + _o.NewTagDisplay = TableEncryptionService.Convert(this.NewTagDisplay, key); } public static Offset Pack(FlatBufferBuilder builder, FieldWorldMapZoneExcelT _o) { if (_o == null) return default(Offset); @@ -102,7 +112,9 @@ public struct FieldWorldMapZoneExcel : IFlatbufferObject _o.CloseConditionId, _o.ResultFieldScene, _o.FieldStageInteractionId, - _o.LocalizeCode); + _o.WorldMapButtonType, + _o.LocalizeCode, + _o.NewTagDisplay); } } @@ -117,7 +129,9 @@ public class FieldWorldMapZoneExcelT public long CloseConditionId { get; set; } public long ResultFieldScene { get; set; } public long FieldStageInteractionId { get; set; } + public SCHALE.Common.FlatData.FieldWorldMapButtonType WorldMapButtonType { get; set; } public uint LocalizeCode { get; set; } + public bool NewTagDisplay { get; set; } public FieldWorldMapZoneExcelT() { this.Id = 0; @@ -129,7 +143,9 @@ public class FieldWorldMapZoneExcelT this.CloseConditionId = 0; this.ResultFieldScene = 0; this.FieldStageInteractionId = 0; + this.WorldMapButtonType = SCHALE.Common.FlatData.FieldWorldMapButtonType.DefaultMode; this.LocalizeCode = 0; + this.NewTagDisplay = false; } } @@ -148,7 +164,9 @@ static public class FieldWorldMapZoneExcelVerify && verifier.VerifyField(tablePos, 16 /*CloseConditionId*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 18 /*ResultFieldScene*/, 8 /*long*/, 8, false) && verifier.VerifyField(tablePos, 20 /*FieldStageInteractionId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 22 /*LocalizeCode*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 22 /*WorldMapButtonType*/, 4 /*SCHALE.Common.FlatData.FieldWorldMapButtonType*/, 4, false) + && verifier.VerifyField(tablePos, 24 /*LocalizeCode*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 26 /*NewTagDisplay*/, 1 /*bool*/, 1, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/ProductMonthlyExcel.cs b/SCHALE.Common/FlatData/ProductMonthlyExcel.cs index fad292f..f1d7b90 100644 --- a/SCHALE.Common/FlatData/ProductMonthlyExcel.cs +++ b/SCHALE.Common/FlatData/ProductMonthlyExcel.cs @@ -40,55 +40,56 @@ public struct ProductMonthlyExcel : IFlatbufferObject 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; } - public int ParcelType_Length { get { int o = __p.__offset(20); return o != 0 ? __p.__vector_len(o) : 0; } } + public long PurchaseCountLimit { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.ParcelType ParcelType_(int j) { int o = __p.__offset(22); 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(22); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetParcelType_Bytes() { return __p.__vector_as_span(20, 4); } + public Span GetParcelType_Bytes() { return __p.__vector_as_span(22, 4); } #else - public ArraySegment? GetParcelType_Bytes() { return __p.__vector_as_arraysegment(20); } + public ArraySegment? GetParcelType_Bytes() { return __p.__vector_as_arraysegment(22); } #endif - public SCHALE.Common.FlatData.ParcelType[] GetParcelType_Array() { int o = __p.__offset(20); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } - public long ParcelId(int j) { int o = __p.__offset(22); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int ParcelIdLength { get { int o = __p.__offset(22); return o != 0 ? __p.__vector_len(o) : 0; } } + public SCHALE.Common.FlatData.ParcelType[] GetParcelType_Array() { int o = __p.__offset(22); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } + public long ParcelId(int j) { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int ParcelIdLength { get { int o = __p.__offset(24); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetParcelIdBytes() { return __p.__vector_as_span(22, 8); } + public Span GetParcelIdBytes() { return __p.__vector_as_span(24, 8); } #else - public ArraySegment? GetParcelIdBytes() { return __p.__vector_as_arraysegment(22); } + public ArraySegment? GetParcelIdBytes() { return __p.__vector_as_arraysegment(24); } #endif - public long[] GetParcelIdArray() { return __p.__vector_as_array(22); } - public long ParcelAmount(int j) { int o = __p.__offset(24); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int ParcelAmountLength { get { int o = __p.__offset(24); return o != 0 ? __p.__vector_len(o) : 0; } } + public long[] GetParcelIdArray() { return __p.__vector_as_array(24); } + public long ParcelAmount(int j) { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int ParcelAmountLength { get { int o = __p.__offset(26); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetParcelAmountBytes() { return __p.__vector_as_span(24, 8); } + public Span GetParcelAmountBytes() { return __p.__vector_as_span(26, 8); } #else - public ArraySegment? GetParcelAmountBytes() { return __p.__vector_as_arraysegment(24); } + public ArraySegment? GetParcelAmountBytes() { return __p.__vector_as_arraysegment(26); } #endif - public long[] GetParcelAmountArray() { return __p.__vector_as_array(24); } - public long EnterCostReduceGroupId { get { int o = __p.__offset(26); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } - public SCHALE.Common.FlatData.ParcelType DailyParcelType(int j) { int o = __p.__offset(28); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } - public int DailyParcelTypeLength { get { int o = __p.__offset(28); return o != 0 ? __p.__vector_len(o) : 0; } } + public long[] GetParcelAmountArray() { return __p.__vector_as_array(26); } + public long EnterCostReduceGroupId { get { int o = __p.__offset(28); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } } + public SCHALE.Common.FlatData.ParcelType DailyParcelType(int j) { int o = __p.__offset(30); return o != 0 ? (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(__p.__vector(o) + j * 4) : (SCHALE.Common.FlatData.ParcelType)0; } + public int DailyParcelTypeLength { get { int o = __p.__offset(30); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetDailyParcelTypeBytes() { return __p.__vector_as_span(28, 4); } + public Span GetDailyParcelTypeBytes() { return __p.__vector_as_span(30, 4); } #else - public ArraySegment? GetDailyParcelTypeBytes() { return __p.__vector_as_arraysegment(28); } + public ArraySegment? GetDailyParcelTypeBytes() { return __p.__vector_as_arraysegment(30); } #endif - public SCHALE.Common.FlatData.ParcelType[] GetDailyParcelTypeArray() { int o = __p.__offset(28); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } - public long DailyParcelId(int j) { int o = __p.__offset(30); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int DailyParcelIdLength { get { int o = __p.__offset(30); return o != 0 ? __p.__vector_len(o) : 0; } } + public SCHALE.Common.FlatData.ParcelType[] GetDailyParcelTypeArray() { int o = __p.__offset(30); if (o == 0) return null; int p = __p.__vector(o); int l = __p.__vector_len(o); SCHALE.Common.FlatData.ParcelType[] a = new SCHALE.Common.FlatData.ParcelType[l]; for (int i = 0; i < l; i++) { a[i] = (SCHALE.Common.FlatData.ParcelType)__p.bb.GetInt(p + i * 4); } return a; } + public long DailyParcelId(int j) { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int DailyParcelIdLength { get { int o = __p.__offset(32); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetDailyParcelIdBytes() { return __p.__vector_as_span(30, 8); } + public Span GetDailyParcelIdBytes() { return __p.__vector_as_span(32, 8); } #else - public ArraySegment? GetDailyParcelIdBytes() { return __p.__vector_as_arraysegment(30); } + public ArraySegment? GetDailyParcelIdBytes() { return __p.__vector_as_arraysegment(32); } #endif - public long[] GetDailyParcelIdArray() { return __p.__vector_as_array(30); } - public long DailyParcelAmount(int j) { int o = __p.__offset(32); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } - public int DailyParcelAmountLength { get { int o = __p.__offset(32); return o != 0 ? __p.__vector_len(o) : 0; } } + public long[] GetDailyParcelIdArray() { return __p.__vector_as_array(32); } + public long DailyParcelAmount(int j) { int o = __p.__offset(34); return o != 0 ? __p.bb.GetLong(__p.__vector(o) + j * 8) : (long)0; } + public int DailyParcelAmountLength { get { int o = __p.__offset(34); return o != 0 ? __p.__vector_len(o) : 0; } } #if ENABLE_SPAN_T - public Span GetDailyParcelAmountBytes() { return __p.__vector_as_span(32, 8); } + public Span GetDailyParcelAmountBytes() { return __p.__vector_as_span(34, 8); } #else - public ArraySegment? GetDailyParcelAmountBytes() { return __p.__vector_as_arraysegment(32); } + public ArraySegment? GetDailyParcelAmountBytes() { return __p.__vector_as_arraysegment(34); } #endif - public long[] GetDailyParcelAmountArray() { return __p.__vector_as_array(32); } + public long[] GetDailyParcelAmountArray() { return __p.__vector_as_array(34); } public static Offset CreateProductMonthlyExcel(FlatBufferBuilder builder, long Id = 0, @@ -99,6 +100,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject SCHALE.Common.FlatData.ProductTagType ProductTagType = SCHALE.Common.FlatData.ProductTagType.Monthly, long MonthlyDays = 0, bool UseMonthlyProductCheck = false, + long PurchaseCountLimit = 0, VectorOffset ParcelType_Offset = default(VectorOffset), VectorOffset ParcelIdOffset = default(VectorOffset), VectorOffset ParcelAmountOffset = default(VectorOffset), @@ -106,8 +108,9 @@ public struct ProductMonthlyExcel : IFlatbufferObject VectorOffset DailyParcelTypeOffset = default(VectorOffset), VectorOffset DailyParcelIdOffset = default(VectorOffset), VectorOffset DailyParcelAmountOffset = default(VectorOffset)) { - builder.StartTable(15); + builder.StartTable(16); ProductMonthlyExcel.AddEnterCostReduceGroupId(builder, EnterCostReduceGroupId); + ProductMonthlyExcel.AddPurchaseCountLimit(builder, PurchaseCountLimit); ProductMonthlyExcel.AddMonthlyDays(builder, MonthlyDays); ProductMonthlyExcel.AddPrice(builder, Price); ProductMonthlyExcel.AddId(builder, Id); @@ -125,7 +128,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject return ProductMonthlyExcel.EndProductMonthlyExcel(builder); } - public static void StartProductMonthlyExcel(FlatBufferBuilder builder) { builder.StartTable(15); } + public static void StartProductMonthlyExcel(FlatBufferBuilder builder) { builder.StartTable(16); } 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); } @@ -134,38 +137,39 @@ public struct ProductMonthlyExcel : IFlatbufferObject 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); } + public static void AddPurchaseCountLimit(FlatBufferBuilder builder, long purchaseCountLimit) { builder.AddLong(8, purchaseCountLimit, 0); } + public static void AddParcelType_(FlatBufferBuilder builder, VectorOffset parcelType_Offset) { builder.AddOffset(9, 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(); } public static VectorOffset CreateParcelType_VectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelType_VectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelType_VectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartParcelType_Vector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddParcelId(FlatBufferBuilder builder, VectorOffset parcelIdOffset) { builder.AddOffset(9, parcelIdOffset.Value, 0); } + public static void AddParcelId(FlatBufferBuilder builder, VectorOffset parcelIdOffset) { builder.AddOffset(10, parcelIdOffset.Value, 0); } public static VectorOffset CreateParcelIdVector(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 CreateParcelIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartParcelIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddParcelAmount(FlatBufferBuilder builder, VectorOffset parcelAmountOffset) { builder.AddOffset(10, parcelAmountOffset.Value, 0); } + public static void AddParcelAmount(FlatBufferBuilder builder, VectorOffset parcelAmountOffset) { builder.AddOffset(11, parcelAmountOffset.Value, 0); } public static VectorOffset CreateParcelAmountVector(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 CreateParcelAmountVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelAmountVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateParcelAmountVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartParcelAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddEnterCostReduceGroupId(FlatBufferBuilder builder, long enterCostReduceGroupId) { builder.AddLong(11, enterCostReduceGroupId, 0); } - public static void AddDailyParcelType(FlatBufferBuilder builder, VectorOffset dailyParcelTypeOffset) { builder.AddOffset(12, dailyParcelTypeOffset.Value, 0); } + public static void AddEnterCostReduceGroupId(FlatBufferBuilder builder, long enterCostReduceGroupId) { builder.AddLong(12, enterCostReduceGroupId, 0); } + public static void AddDailyParcelType(FlatBufferBuilder builder, VectorOffset dailyParcelTypeOffset) { builder.AddOffset(13, dailyParcelTypeOffset.Value, 0); } public static VectorOffset CreateDailyParcelTypeVector(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 CreateDailyParcelTypeVectorBlock(FlatBufferBuilder builder, SCHALE.Common.FlatData.ParcelType[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateDailyParcelTypeVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(4, data.Count, 4); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateDailyParcelTypeVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartDailyParcelTypeVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); } - public static void AddDailyParcelId(FlatBufferBuilder builder, VectorOffset dailyParcelIdOffset) { builder.AddOffset(13, dailyParcelIdOffset.Value, 0); } + public static void AddDailyParcelId(FlatBufferBuilder builder, VectorOffset dailyParcelIdOffset) { builder.AddOffset(14, dailyParcelIdOffset.Value, 0); } public static VectorOffset CreateDailyParcelIdVector(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 CreateDailyParcelIdVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateDailyParcelIdVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateDailyParcelIdVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes) { builder.StartVector(1, sizeInBytes, 1); builder.Add(dataPtr, sizeInBytes); return builder.EndVector(); } public static void StartDailyParcelIdVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(8, numElems, 8); } - public static void AddDailyParcelAmount(FlatBufferBuilder builder, VectorOffset dailyParcelAmountOffset) { builder.AddOffset(14, dailyParcelAmountOffset.Value, 0); } + public static void AddDailyParcelAmount(FlatBufferBuilder builder, VectorOffset dailyParcelAmountOffset) { builder.AddOffset(15, dailyParcelAmountOffset.Value, 0); } public static VectorOffset CreateDailyParcelAmountVector(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 CreateDailyParcelAmountVectorBlock(FlatBufferBuilder builder, long[] data) { builder.StartVector(8, data.Length, 8); builder.Add(data); return builder.EndVector(); } public static VectorOffset CreateDailyParcelAmountVectorBlock(FlatBufferBuilder builder, ArraySegment data) { builder.StartVector(8, data.Count, 8); builder.Add(data); return builder.EndVector(); } @@ -190,6 +194,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject _o.ProductTagType = TableEncryptionService.Convert(this.ProductTagType, key); _o.MonthlyDays = TableEncryptionService.Convert(this.MonthlyDays, key); _o.UseMonthlyProductCheck = TableEncryptionService.Convert(this.UseMonthlyProductCheck, key); + _o.PurchaseCountLimit = TableEncryptionService.Convert(this.PurchaseCountLimit, key); _o.ParcelType_ = new List(); for (var _j = 0; _j < this.ParcelType_Length; ++_j) {_o.ParcelType_.Add(TableEncryptionService.Convert(this.ParcelType_(_j), key));} _o.ParcelId = new List(); @@ -248,6 +253,7 @@ public struct ProductMonthlyExcel : IFlatbufferObject _o.ProductTagType, _o.MonthlyDays, _o.UseMonthlyProductCheck, + _o.PurchaseCountLimit, _ParcelType_, _ParcelId, _ParcelAmount, @@ -268,6 +274,7 @@ public class ProductMonthlyExcelT public SCHALE.Common.FlatData.ProductTagType ProductTagType { get; set; } public long MonthlyDays { get; set; } public bool UseMonthlyProductCheck { get; set; } + public long PurchaseCountLimit { get; set; } public List ParcelType_ { get; set; } public List ParcelId { get; set; } public List ParcelAmount { get; set; } @@ -285,6 +292,7 @@ public class ProductMonthlyExcelT this.ProductTagType = SCHALE.Common.FlatData.ProductTagType.Monthly; this.MonthlyDays = 0; this.UseMonthlyProductCheck = false; + this.PurchaseCountLimit = 0; this.ParcelType_ = null; this.ParcelId = null; this.ParcelAmount = null; @@ -309,13 +317,14 @@ static public class ProductMonthlyExcelVerify && 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) - && verifier.VerifyVectorOfData(tablePos, 22 /*ParcelId*/, 8 /*long*/, false) - && verifier.VerifyVectorOfData(tablePos, 24 /*ParcelAmount*/, 8 /*long*/, false) - && verifier.VerifyField(tablePos, 26 /*EnterCostReduceGroupId*/, 8 /*long*/, 8, false) - && verifier.VerifyVectorOfData(tablePos, 28 /*DailyParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) - && verifier.VerifyVectorOfData(tablePos, 30 /*DailyParcelId*/, 8 /*long*/, false) - && verifier.VerifyVectorOfData(tablePos, 32 /*DailyParcelAmount*/, 8 /*long*/, false) + && verifier.VerifyField(tablePos, 20 /*PurchaseCountLimit*/, 8 /*long*/, 8, false) + && verifier.VerifyVectorOfData(tablePos, 22 /*ParcelType_*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) + && verifier.VerifyVectorOfData(tablePos, 24 /*ParcelId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 26 /*ParcelAmount*/, 8 /*long*/, false) + && verifier.VerifyField(tablePos, 28 /*EnterCostReduceGroupId*/, 8 /*long*/, 8, false) + && verifier.VerifyVectorOfData(tablePos, 30 /*DailyParcelType*/, 4 /*SCHALE.Common.FlatData.ParcelType*/, false) + && verifier.VerifyVectorOfData(tablePos, 32 /*DailyParcelId*/, 8 /*long*/, false) + && verifier.VerifyVectorOfData(tablePos, 34 /*DailyParcelAmount*/, 8 /*long*/, false) && verifier.VerifyTableEnd(tablePos); } } diff --git a/SCHALE.Common/FlatData/StageFileRefreshSettingExcel.cs b/SCHALE.Common/FlatData/StageFileRefreshSettingExcel.cs deleted file mode 100644 index 95573f1..0000000 --- a/SCHALE.Common/FlatData/StageFileRefreshSettingExcel.cs +++ /dev/null @@ -1,84 +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 StageFileRefreshSettingExcel : IFlatbufferObject -{ - private Table __p; - public ByteBuffer ByteBuffer { get { return __p.bb; } } - public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } - public static StageFileRefreshSettingExcel GetRootAsStageFileRefreshSettingExcel(ByteBuffer _bb) { return GetRootAsStageFileRefreshSettingExcel(_bb, new StageFileRefreshSettingExcel()); } - public static StageFileRefreshSettingExcel GetRootAsStageFileRefreshSettingExcel(ByteBuffer _bb, StageFileRefreshSettingExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } - public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } - public StageFileRefreshSettingExcel __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 bool ForceSave { get { int o = __p.__offset(6); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } - - public static Offset CreateStageFileRefreshSettingExcel(FlatBufferBuilder builder, - long GroundId = 0, - bool ForceSave = false) { - builder.StartTable(2); - StageFileRefreshSettingExcel.AddGroundId(builder, GroundId); - StageFileRefreshSettingExcel.AddForceSave(builder, ForceSave); - return StageFileRefreshSettingExcel.EndStageFileRefreshSettingExcel(builder); - } - - public static void StartStageFileRefreshSettingExcel(FlatBufferBuilder builder) { builder.StartTable(2); } - public static void AddGroundId(FlatBufferBuilder builder, long groundId) { builder.AddLong(0, groundId, 0); } - public static void AddForceSave(FlatBufferBuilder builder, bool forceSave) { builder.AddBool(1, forceSave, false); } - public static Offset EndStageFileRefreshSettingExcel(FlatBufferBuilder builder) { - int o = builder.EndTable(); - return new Offset(o); - } - public StageFileRefreshSettingExcelT UnPack() { - var _o = new StageFileRefreshSettingExcelT(); - this.UnPackTo(_o); - return _o; - } - public void UnPackTo(StageFileRefreshSettingExcelT _o) { - byte[] key = TableEncryptionService.CreateKey("StageFileRefreshSetting"); - _o.GroundId = TableEncryptionService.Convert(this.GroundId, key); - _o.ForceSave = TableEncryptionService.Convert(this.ForceSave, key); - } - public static Offset Pack(FlatBufferBuilder builder, StageFileRefreshSettingExcelT _o) { - if (_o == null) return default(Offset); - return CreateStageFileRefreshSettingExcel( - builder, - _o.GroundId, - _o.ForceSave); - } -} - -public class StageFileRefreshSettingExcelT -{ - public long GroundId { get; set; } - public bool ForceSave { get; set; } - - public StageFileRefreshSettingExcelT() { - this.GroundId = 0; - this.ForceSave = false; - } -} - - -static public class StageFileRefreshSettingExcelVerify -{ - static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) - { - return verifier.VerifyTableStart(tablePos) - && verifier.VerifyField(tablePos, 4 /*GroundId*/, 8 /*long*/, 8, false) - && verifier.VerifyField(tablePos, 6 /*ForceSave*/, 1 /*bool*/, 1, false) - && verifier.VerifyTableEnd(tablePos); - } -} - -} diff --git a/SCHALE.Common/FlatData/UnderCoverItemCategory.cs b/SCHALE.Common/FlatData/UnderCoverItemCategory.cs new file mode 100644 index 0000000..5cba5ff --- /dev/null +++ b/SCHALE.Common/FlatData/UnderCoverItemCategory.cs @@ -0,0 +1,17 @@ +// +// automatically generated by the FlatBuffers compiler, do not modify +// + +namespace SCHALE.Common.FlatData +{ + +public enum UnderCoverItemCategory : int +{ + Consumable = 0, + Interaction = 1, + Skill = 2, + Collection = 3, +}; + + +} diff --git a/SCHALE.Common/FlatData/UnderCoverStageExcel.cs b/SCHALE.Common/FlatData/UnderCoverStageExcel.cs new file mode 100644 index 0000000..a93b429 --- /dev/null +++ b/SCHALE.Common/FlatData/UnderCoverStageExcel.cs @@ -0,0 +1,145 @@ +// +// 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 UnderCoverStageExcel : IFlatbufferObject +{ + private Table __p; + public ByteBuffer ByteBuffer { get { return __p.bb; } } + public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); } + public static UnderCoverStageExcel GetRootAsUnderCoverStageExcel(ByteBuffer _bb) { return GetRootAsUnderCoverStageExcel(_bb, new UnderCoverStageExcel()); } + public static UnderCoverStageExcel GetRootAsUnderCoverStageExcel(ByteBuffer _bb, UnderCoverStageExcel obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } + public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } + public UnderCoverStageExcel __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 string StageNameFile { get { int o = __p.__offset(6); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } } +#if ENABLE_SPAN_T + public Span GetStageNameFileBytes() { return __p.__vector_as_span(6, 1); } +#else + public ArraySegment? GetStageNameFileBytes() { return __p.__vector_as_arraysegment(6); } +#endif + public byte[] GetStageNameFileArray() { return __p.__vector_as_array(6); } + public int StageTryCount { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public bool ApplySkip { get { int o = __p.__offset(10); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public int SkipCount { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } } + public bool ShowClearScene { get { int o = __p.__offset(14); return o != 0 ? 0!=__p.bb.Get(o + __p.bb_pos) : (bool)false; } } + public uint StageTips { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + public uint StageName { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetUint(o + __p.bb_pos) : (uint)0; } } + + public static Offset CreateUnderCoverStageExcel(FlatBufferBuilder builder, + long GroupId = 0, + StringOffset StageNameFileOffset = default(StringOffset), + int StageTryCount = 0, + bool ApplySkip = false, + int SkipCount = 0, + bool ShowClearScene = false, + uint StageTips = 0, + uint StageName = 0) { + builder.StartTable(8); + UnderCoverStageExcel.AddGroupId(builder, GroupId); + UnderCoverStageExcel.AddStageName(builder, StageName); + UnderCoverStageExcel.AddStageTips(builder, StageTips); + UnderCoverStageExcel.AddSkipCount(builder, SkipCount); + UnderCoverStageExcel.AddStageTryCount(builder, StageTryCount); + UnderCoverStageExcel.AddStageNameFile(builder, StageNameFileOffset); + UnderCoverStageExcel.AddShowClearScene(builder, ShowClearScene); + UnderCoverStageExcel.AddApplySkip(builder, ApplySkip); + return UnderCoverStageExcel.EndUnderCoverStageExcel(builder); + } + + public static void StartUnderCoverStageExcel(FlatBufferBuilder builder) { builder.StartTable(8); } + public static void AddGroupId(FlatBufferBuilder builder, long groupId) { builder.AddLong(0, groupId, 0); } + public static void AddStageNameFile(FlatBufferBuilder builder, StringOffset stageNameFileOffset) { builder.AddOffset(1, stageNameFileOffset.Value, 0); } + public static void AddStageTryCount(FlatBufferBuilder builder, int stageTryCount) { builder.AddInt(2, stageTryCount, 0); } + public static void AddApplySkip(FlatBufferBuilder builder, bool applySkip) { builder.AddBool(3, applySkip, false); } + public static void AddSkipCount(FlatBufferBuilder builder, int skipCount) { builder.AddInt(4, skipCount, 0); } + public static void AddShowClearScene(FlatBufferBuilder builder, bool showClearScene) { builder.AddBool(5, showClearScene, false); } + public static void AddStageTips(FlatBufferBuilder builder, uint stageTips) { builder.AddUint(6, stageTips, 0); } + public static void AddStageName(FlatBufferBuilder builder, uint stageName) { builder.AddUint(7, stageName, 0); } + public static Offset EndUnderCoverStageExcel(FlatBufferBuilder builder) { + int o = builder.EndTable(); + return new Offset(o); + } + public UnderCoverStageExcelT UnPack() { + var _o = new UnderCoverStageExcelT(); + this.UnPackTo(_o); + return _o; + } + public void UnPackTo(UnderCoverStageExcelT _o) { + byte[] key = TableEncryptionService.CreateKey("UnderCoverStage"); + _o.GroupId = TableEncryptionService.Convert(this.GroupId, key); + _o.StageNameFile = TableEncryptionService.Convert(this.StageNameFile, key); + _o.StageTryCount = TableEncryptionService.Convert(this.StageTryCount, key); + _o.ApplySkip = TableEncryptionService.Convert(this.ApplySkip, key); + _o.SkipCount = TableEncryptionService.Convert(this.SkipCount, key); + _o.ShowClearScene = TableEncryptionService.Convert(this.ShowClearScene, key); + _o.StageTips = TableEncryptionService.Convert(this.StageTips, key); + _o.StageName = TableEncryptionService.Convert(this.StageName, key); + } + public static Offset Pack(FlatBufferBuilder builder, UnderCoverStageExcelT _o) { + if (_o == null) return default(Offset); + var _StageNameFile = _o.StageNameFile == null ? default(StringOffset) : builder.CreateString(_o.StageNameFile); + return CreateUnderCoverStageExcel( + builder, + _o.GroupId, + _StageNameFile, + _o.StageTryCount, + _o.ApplySkip, + _o.SkipCount, + _o.ShowClearScene, + _o.StageTips, + _o.StageName); + } +} + +public class UnderCoverStageExcelT +{ + public long GroupId { get; set; } + public string StageNameFile { get; set; } + public int StageTryCount { get; set; } + public bool ApplySkip { get; set; } + public int SkipCount { get; set; } + public bool ShowClearScene { get; set; } + public uint StageTips { get; set; } + public uint StageName { get; set; } + + public UnderCoverStageExcelT() { + this.GroupId = 0; + this.StageNameFile = null; + this.StageTryCount = 0; + this.ApplySkip = false; + this.SkipCount = 0; + this.ShowClearScene = false; + this.StageTips = 0; + this.StageName = 0; + } +} + + +static public class UnderCoverStageExcelVerify +{ + static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) + { + return verifier.VerifyTableStart(tablePos) + && verifier.VerifyField(tablePos, 4 /*GroupId*/, 8 /*long*/, 8, false) + && verifier.VerifyString(tablePos, 6 /*StageNameFile*/, false) + && verifier.VerifyField(tablePos, 8 /*StageTryCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 10 /*ApplySkip*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 12 /*SkipCount*/, 4 /*int*/, 4, false) + && verifier.VerifyField(tablePos, 14 /*ShowClearScene*/, 1 /*bool*/, 1, false) + && verifier.VerifyField(tablePos, 16 /*StageTips*/, 4 /*uint*/, 4, false) + && verifier.VerifyField(tablePos, 18 /*StageName*/, 4 /*uint*/, 4, false) + && verifier.VerifyTableEnd(tablePos); + } +} + +} diff --git a/SCHALE.Common/NetworkProtocol/protos.cs b/SCHALE.Common/NetworkProtocol/protos.cs index 99ee520..7d10ece 100644 --- a/SCHALE.Common/NetworkProtocol/protos.cs +++ b/SCHALE.Common/NetworkProtocol/protos.cs @@ -109,7 +109,7 @@ namespace SCHALE.Common.NetworkProtocol public int DeviceSystemMemorySize { get; set; } } - public class AccountAuthResponse : ResponsePacket + public class AccountAuthResponse : ResponsePacket { public override Protocol Protocol { @@ -141,7 +141,7 @@ namespace SCHALE.Common.NetworkProtocol public IEnumerable IssueAlertInfos { get; set; } } - public class AccountAuth2Request : AccountAuthRequest + public class AccountAuth2Request : AccountAuthRequest { public override Protocol Protocol { @@ -2270,6 +2270,7 @@ namespace SCHALE.Common.NetworkProtocol } public Nullable TargetAccountId { get; set; } + public Nullable CurrentVisitingAccountId { get; set; } } public class CafeTravelResponse : ResponsePacket @@ -3139,9 +3140,7 @@ namespace SCHALE.Common.NetworkProtocol public long TargetCharacterDBId { get; set; } - [JsonConverter(typeof(JsonStringEnumConverter))] public SkillSlot SkillSlot { get; set; } - public int Level { get; set; } public List ReplaceInfos { get; set; } } @@ -5849,8 +5848,8 @@ namespace SCHALE.Common.NetworkProtocol public class EquipmentItemEquipResponse : ResponsePacket { public CharacterDB CharacterDB { get; set; } - public List EquipmentDBs { get; set; } - public override Protocol Protocol + public List EquipmentDBs { get; set; } + public override Protocol Protocol { get { @@ -9514,7 +9513,7 @@ namespace SCHALE.Common.NetworkProtocol public class ProofTokenRequestQuestionResponse : ResponsePacket { public long Hint { get; set; } - public string Question { get; set; } + public string Question { get; set; } public override Protocol Protocol { get @@ -11934,6 +11933,8 @@ namespace SCHALE.Common.NetworkProtocol CafeAlreadyOpened = 15019, CafeNoPlaceToTravel = 15020, CafeCannotTravelToOwnCafe = 15021, + CafeCannotTravel = 15022, + CafeCannotTravel_CafeLock = 15023, ScenarioMode_Fail = 16000, ScenarioMode_DuplicatedScenarioModeId = 16001, ScenarioMode_LimitClearedScenario = 16002, diff --git a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs index 83fe017..d4516d2 100644 --- a/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs +++ b/SCHALE.GameServer/Controllers/Api/ProtocolHandlers/Shop.cs @@ -139,125 +139,139 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers // }); //} + List rateUps = [10110, 10111]; + Random random = new Random(); + for (int i = 0; i < 10; ++i) { - var randomNumber = Random.Shared.NextInt64(1000); - if (randomNumber < 7) + long gotId = rateUps[random.Next(rateUps.Count)]; + gachaList.Add(new() { - // always 3 star - shouldDoGuaranteedSR = false; - var isNew = accountChSet.Add(rateUpChId); - gachaList.Add(new() + CharacterId = gotId, + Character = new() { - CharacterId = rateUpChId, - Character = !isNew ? null : new() - { - AccountServerId = account.ServerId, - UniqueId = rateUpChId, - StarGrade = 3, - }, - Stone = isNew ? null : new() - { - UniqueId = chUniStoneID, - StackCount = 50, - } - }); - if (!isNew) - { - itemDict[chUniStoneID] += 50; - itemDict[rateUpChId] += 100; - } - } - else if (randomNumber < 30) - { - shouldDoGuaranteedSR = false; - var normalSSRList = _sharedData.CharaListSSRNormal; - var poolSize = normalSSRList.Count; - if (rateUpIsNormalStudent) poolSize--; + AccountServerId = account.ServerId, + UniqueId = gotId, + StarGrade = 3, + }, + }); + //var randomNumber = Random.Shared.NextInt64(1000); + //if (randomNumber < 7) + //{ + // // always 3 star + // shouldDoGuaranteedSR = false; + // var isNew = accountChSet.Add(rateUpChId); + // gachaList.Add(new() + // { + // CharacterId = rateUpChId, + // Character = !isNew ? null : new() + // { + // AccountServerId = account.ServerId, + // UniqueId = rateUpChId, + // StarGrade = 3, + // }, + // Stone = isNew ? null : new() + // { + // UniqueId = chUniStoneID, + // StackCount = 50, + // } + // }); + // if (!isNew) + // { + // itemDict[chUniStoneID] += 50; + // itemDict[rateUpChId] += 100; + // } + //} + //else if (randomNumber < 30) + //{ + // shouldDoGuaranteedSR = false; + // var normalSSRList = _sharedData.CharaListSSRNormal; + // var poolSize = normalSSRList.Count; + // if (rateUpIsNormalStudent) poolSize--; - var randomPoolIdx = (int)Random.Shared.NextInt64(poolSize); - if (normalSSRList[randomPoolIdx].Id == rateUpChId) randomPoolIdx++; + // var randomPoolIdx = (int)Random.Shared.NextInt64(poolSize); + // if (normalSSRList[randomPoolIdx].Id == rateUpChId) randomPoolIdx++; - var chId = normalSSRList[randomPoolIdx].Id; - var isNew = accountChSet.Add(chId); - gachaList.Add(new() - { - CharacterId = chId, - Character = !isNew ? null : new() - { - AccountServerId = account.ServerId, - UniqueId = chId, - StarGrade = 3, - }, - Stone = isNew ? null : new() - { - UniqueId = chUniStoneID, - StackCount = 50, - } - }); - if (!isNew) - { - itemDict[chUniStoneID] += 50; - itemDict[chId] += 30; - } - } - else if (randomNumber < 215 || (i == 9 && shouldDoGuaranteedSR)) - { - shouldDoGuaranteedSR = false; - var normalSRList = _sharedData.CharaListSRNormal; - var randomPoolIdx = (int)Random.Shared.NextInt64(normalSRList.Count); - var chId = normalSRList[randomPoolIdx].Id; - var isNew = accountChSet.Add(chId); + // var chId = normalSSRList[randomPoolIdx].Id; + // var isNew = accountChSet.Add(chId); + // gachaList.Add(new() + // { + // CharacterId = chId, + // Character = !isNew ? null : new() + // { + // AccountServerId = account.ServerId, + // UniqueId = chId, + // StarGrade = 3, + // }, + // Stone = isNew ? null : new() + // { + // UniqueId = chUniStoneID, + // StackCount = 50, + // } + // }); + // if (!isNew) + // { + // itemDict[chUniStoneID] += 50; + // itemDict[chId] += 30; + // } + //} + //else if (randomNumber < 215 || (i == 9 && shouldDoGuaranteedSR)) + //{ + // shouldDoGuaranteedSR = false; + // var normalSRList = _sharedData.CharaListSRNormal; + // var randomPoolIdx = (int)Random.Shared.NextInt64(normalSRList.Count); + // var chId = normalSRList[randomPoolIdx].Id; + // var isNew = accountChSet.Add(chId); - gachaList.Add(new() - { - CharacterId = chId, - Character = !isNew ? null : new() - { - AccountServerId = account.ServerId, - UniqueId = chId, - StarGrade = 2, - }, - Stone = isNew ? null : new() - { - UniqueId = chUniStoneID, - StackCount = 10, - } - }); - if (!isNew) - { - itemDict[chUniStoneID] += 10; - itemDict[chId] += 5; - } - } - else - { - var normalRList = _sharedData.CharaListRNormal; - var randomPoolIdx = (int)Random.Shared.NextInt64(normalRList.Count); - var chId = normalRList[randomPoolIdx].Id; - var isNew = accountChSet.Add(chId); + // gachaList.Add(new() + // { + // CharacterId = chId, + // Character = !isNew ? null : new() + // { + // AccountServerId = account.ServerId, + // UniqueId = chId, + // StarGrade = 2, + // }, + // Stone = isNew ? null : new() + // { + // UniqueId = chUniStoneID, + // StackCount = 10, + // } + // }); + // if (!isNew) + // { + // itemDict[chUniStoneID] += 10; + // itemDict[chId] += 5; + // } + //} + //else + //{ + // var normalRList = _sharedData.CharaListRNormal; + // var randomPoolIdx = (int)Random.Shared.NextInt64(normalRList.Count); + // var chId = normalRList[randomPoolIdx].Id; + // var isNew = accountChSet.Add(chId); - gachaList.Add(new() - { - CharacterId = chId, - Character = !isNew ? null : new() - { - AccountServerId = account.ServerId, - UniqueId = chId, - StarGrade = 1, - }, - Stone = isNew ? null : new() - { - UniqueId = chUniStoneID, - StackCount = 1, - } - }); - if (!isNew) - { - itemDict[chUniStoneID] += 1; - itemDict[chId] += 1; - } - } + // gachaList.Add(new() + // { + // CharacterId = chId, + // Character = !isNew ? null : new() + // { + // AccountServerId = account.ServerId, + // UniqueId = chId, + // StarGrade = 1, + // }, + // Stone = isNew ? null : new() + // { + // UniqueId = chUniStoneID, + // StackCount = 1, + // } + // }); + // if (!isNew) + // { + // itemDict[chUniStoneID] += 1; + // itemDict[chId] += 1; + // } + //} } account.AddCharacters(_context, [.. gachaList.Where(x => x.Character != null).Select(x => x.Character)]); diff --git a/SCHALE.GameServer/GameServer.cs b/SCHALE.GameServer/GameServer.cs index b28333c..803f10a 100644 --- a/SCHALE.GameServer/GameServer.cs +++ b/SCHALE.GameServer/GameServer.cs @@ -2,10 +2,12 @@ using System.Collections; using System.Net.NetworkInformation; using System.Reflection; using System.Text; +using Google.FlatBuffers; using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.EntityFrameworkCore; using SCHALE.Common.Crypto; using SCHALE.Common.Database; +using SCHALE.Common.FlatData; using SCHALE.GameServer.Commands; using SCHALE.GameServer.Controllers; using SCHALE.GameServer.Controllers.Api.ProtocolHandlers; @@ -21,6 +23,10 @@ namespace SCHALE.GameServer { public static async Task Main(string[] args) { + //TableService.DumpExcels("E:\\documents\\Decompiling\\Extracted\\BlueArchiveJP\\SCHALE.GameServer.Custom\\SCHALE.GameServer\\SCHALE.GameServer\\bin\\Debug\\net8.0\\Resources\\excel", "E:\\documents\\Decompiling\\Extracted\\BlueArchiveJP\\SCHALE.GameServer.Custom\\SCHALE.GameServer\\SCHALE.GameServer\\bin\\Debug\\net8.0\\Resources\\dump"); + //TableService.DumpExcelDB("E:\\documents\\Decompiling\\Extracted\\BlueArchiveJP\\SCHALE.GameServer.Custom\\SCHALE.GameServer\\SCHALE.GameServer\\bin\\Debug\\net8.0\\Resources\\ExcelDB.db", "E:\\documents\\Decompiling\\Extracted\\BlueArchiveJP\\SCHALE.GameServer.Custom\\SCHALE.GameServer\\SCHALE.GameServer\\bin\\Debug\\net8.0\\Resources\\dump_db"); + //return; + var config = new ConfigurationBuilder() .SetBasePath(Path.GetDirectoryName(AppContext.BaseDirectory)!) .AddJsonFile("appsettings.json") diff --git a/SCHALE.GameServer/Utils/Config.cs b/SCHALE.GameServer/Utils/Config.cs index 1087e17..7627da3 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; } = "r75_49ajrpwcziy395uuk0jq_2"; + public string VersionId { get; set; } = "r76_53_odfuvebzfonktr6yf71a"; public static void Load() { diff --git a/SCHALE.GameServer/Utils/InventoryUtils.cs b/SCHALE.GameServer/Utils/InventoryUtils.cs index 584a626..1bd2989 100644 --- a/SCHALE.GameServer/Utils/InventoryUtils.cs +++ b/SCHALE.GameServer/Utils/InventoryUtils.cs @@ -21,7 +21,7 @@ namespace SCHALE.Common.Utils 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 {