r76 protos and flatdata

This commit is contained in:
raphaeIl 2025-01-20 03:55:58 -05:00
parent 2f8e80d86a
commit 89b7f493ff
34 changed files with 1761 additions and 1078 deletions

View File

@ -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<SCHALE.Common.FlatData.AccountLevelExcel> 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<SCHALE.Common.FlatData.AccountLevelExcel> EndAccountLevelExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AccountLevelExcel>(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);
}
}

View File

@ -87,6 +87,13 @@ public struct AttendanceExcel : IFlatbufferObject
public ArraySegment<byte>? GetDecorationImagePathBytes() { return __p.__vector_as_arraysegment(40); }
#endif
public byte[] GetDecorationImagePathArray() { return __p.__vector_as_array<byte>(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<byte> GetDecorationGarlandImagePathBytes() { return __p.__vector_as_span<byte>(42, 1); }
#else
public ArraySegment<byte>? GetDecorationGarlandImagePathBytes() { return __p.__vector_as_arraysegment(42); }
#endif
public byte[] GetDecorationGarlandImagePathArray() { return __p.__vector_as_array<byte>(42); }
public static Offset<SCHALE.Common.FlatData.AttendanceExcel> 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<SCHALE.Common.FlatData.AttendanceExcel> EndAttendanceExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.AttendanceExcel>(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<SCHALE.Common.FlatData.AttendanceExcel> Pack(FlatBufferBuilder builder, AttendanceExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.AttendanceExcel>);
@ -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);
}
}

View File

@ -0,0 +1,16 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace SCHALE.Common.FlatData
{
public enum CVUnlockScenarioType : int
{
Main = 0,
Event = 1,
SpecialOperation = 2,
};
}

View File

@ -0,0 +1,150 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<byte> GetDialogTypeBytes() { return __p.__vector_as_span<byte>(8, 1); }
#else
public ArraySegment<byte>? GetDialogTypeBytes() { return __p.__vector_as_arraysegment(8); }
#endif
public byte[] GetDialogTypeArray() { return __p.__vector_as_array<byte>(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<byte> GetLocalizeKRBytes() { return __p.__vector_as_span<byte>(14, 1); }
#else
public ArraySegment<byte>? GetLocalizeKRBytes() { return __p.__vector_as_arraysegment(14); }
#endif
public byte[] GetLocalizeKRArray() { return __p.__vector_as_array<byte>(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<byte> GetLocalizeJPBytes() { return __p.__vector_as_span<byte>(16, 1); }
#else
public ArraySegment<byte>? GetLocalizeJPBytes() { return __p.__vector_as_arraysegment(16); }
#endif
public byte[] GetLocalizeJPArray() { return __p.__vector_as_array<byte>(16); }
public static Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel> 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<SCHALE.Common.FlatData.CharacterDialogEmojiExcel> EndCharacterDialogEmojiExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>(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<SCHALE.Common.FlatData.CharacterDialogEmojiExcel> Pack(FlatBufferBuilder builder, CharacterDialogEmojiExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>);
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);
}
}
}

View File

@ -0,0 +1,88 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<SCHALE.Common.FlatData.CharacterDialogEmojiExcelTable> 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<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>[] 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<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>> 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<Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcelTable> EndCharacterDialogEmojiExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcelTable>(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<SCHALE.Common.FlatData.CharacterDialogEmojiExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcelTable> Pack(FlatBufferBuilder builder, CharacterDialogEmojiExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.CharacterDialogEmojiExcel>[_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<SCHALE.Common.FlatData.CharacterDialogEmojiExcelT> 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);
}
}
}

View File

@ -70,15 +70,16 @@ public struct CharacterDialogEventExcel : IFlatbufferObject
public uint[] GetVoiceIdArray() { return __p.__vector_as_array<uint>(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<byte> GetLocalizeCVGroupBytes() { return __p.__vector_as_span<byte>(46, 1); }
public Span<byte> GetLocalizeCVGroupBytes() { return __p.__vector_as_span<byte>(48, 1); }
#else
public ArraySegment<byte>? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(46); }
public ArraySegment<byte>? GetLocalizeCVGroupBytes() { return __p.__vector_as_arraysegment(48); }
#endif
public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array<byte>(46); }
public byte[] GetLocalizeCVGroupArray() { return __p.__vector_as_array<byte>(48); }
public static Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel> 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<SCHALE.Common.FlatData.CharacterDialogEventExcel> EndCharacterDialogEventExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.CharacterDialogEventExcel>(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<uint> 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);
}
}

File diff suppressed because it is too large Load Diff

View File

@ -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<SCHALE.Common.FlatData.ConstEventCommonExcel> 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<SCHALE.Common.FlatData.ConstEventCommonExcel> EndConstEventCommonExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ConstEventCommonExcel>(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<SCHALE.Common.FlatData.ConstEventCommonExcel> Pack(FlatBufferBuilder builder, ConstEventCommonExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConstEventCommonExcel>);
@ -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);
}
}

View File

@ -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<SCHALE.Common.FlatData.ConstFieldExcel> 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<SCHALE.Common.FlatData.ConstFieldExcel> EndConstFieldExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.ConstFieldExcel>(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<SCHALE.Common.FlatData.ConstFieldExcel> Pack(FlatBufferBuilder builder, ConstFieldExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.ConstFieldExcel>);
@ -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);
}
}

View File

@ -78,6 +78,7 @@ public enum DialogCategory : int
UIMultiFloorRaid = 68,
UIEventMiniGameDreamMaker = 69,
UIAttendanceEvent17 = 70,
UIAttendanceEvent18 = 71,
};

View File

@ -14,6 +14,7 @@ public enum Difficulty : int
Extreme = 4,
Insane = 5,
Torment = 6,
Lunatic = 7,
};

View File

@ -0,0 +1,102 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<SCHALE.Common.FlatData.EventContentMeetupInfoExcel> 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<SCHALE.Common.FlatData.EventContentMeetupInfoExcel> EndEventContentMeetupInfoExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>(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<SCHALE.Common.FlatData.EventContentMeetupInfoExcel> Pack(FlatBufferBuilder builder, EventContentMeetupInfoExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>);
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);
}
}
}

View File

@ -0,0 +1,88 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<SCHALE.Common.FlatData.EventContentMeetupInfoExcelTable> 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<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>[] 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<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>[] data) { builder.StartVector(4, data.Length, 4); builder.Add(data); return builder.EndVector(); }
public static VectorOffset CreateDataListVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>> 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<Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartDataListVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcelTable> EndEventContentMeetupInfoExcelTable(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcelTable>(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<SCHALE.Common.FlatData.EventContentMeetupInfoExcelT>();
for (var _j = 0; _j < this.DataListLength; ++_j) {_o.DataList.Add(this.DataList(_j).HasValue ? this.DataList(_j).Value.UnPack() : null);}
}
public static Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcelTable> Pack(FlatBufferBuilder builder, EventContentMeetupInfoExcelTableT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcelTable>);
var _DataList = default(VectorOffset);
if (_o.DataList != null) {
var __DataList = new Offset<SCHALE.Common.FlatData.EventContentMeetupInfoExcel>[_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<SCHALE.Common.FlatData.EventContentMeetupInfoExcelT> 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);
}
}
}

View File

@ -49,33 +49,30 @@ public struct EventContentScenarioExcel : IFlatbufferObject
#endif
public byte[] GetRecollectionResourceArray() { return __p.__vector_as_array<byte>(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<SCHALE.Common.FlatData.ParcelType> GetRewardParcelTypeBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(42, 4); }
public Span<SCHALE.Common.FlatData.ParcelType> GetRewardParcelTypeBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(36, 4); }
#else
public ArraySegment<byte>? GetRewardParcelTypeBytes() { return __p.__vector_as_arraysegment(42); }
public ArraySegment<byte>? 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<long> GetRewardIdBytes() { return __p.__vector_as_span<long>(44, 8); }
public Span<long> GetRewardIdBytes() { return __p.__vector_as_span<long>(38, 8); }
#else
public ArraySegment<byte>? GetRewardIdBytes() { return __p.__vector_as_arraysegment(44); }
public ArraySegment<byte>? GetRewardIdBytes() { return __p.__vector_as_arraysegment(38); }
#endif
public long[] GetRewardIdArray() { return __p.__vector_as_array<long>(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<long>(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<int> GetRewardAmountBytes() { return __p.__vector_as_span<int>(46, 4); }
public Span<int> GetRewardAmountBytes() { return __p.__vector_as_span<int>(40, 4); }
#else
public ArraySegment<byte>? GetRewardAmountBytes() { return __p.__vector_as_arraysegment(46); }
public ArraySegment<byte>? GetRewardAmountBytes() { return __p.__vector_as_arraysegment(40); }
#endif
public int[] GetRewardAmountArray() { return __p.__vector_as_array<int>(46); }
public int[] GetRewardAmountArray() { return __p.__vector_as_array<int>(40); }
public static Offset<SCHALE.Common.FlatData.EventContentScenarioExcel> 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<SCHALE.Common.FlatData.ParcelType> 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<SCHALE.Common.FlatData.ParcelType>(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<long> 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<long>(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<int> 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<SCHALE.Common.FlatData.ParcelType>();
for (var _j = 0; _j < this.RewardParcelTypeLength; ++_j) {_o.RewardParcelType.Add(TableEncryptionService.Convert(this.RewardParcelType(_j), key));}
_o.RewardId = new List<long>();
@ -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<SCHALE.Common.FlatData.ParcelType> RewardParcelType { get; set; }
public List<long> RewardId { get; set; }
public List<int> 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);
}
}

View File

@ -44,6 +44,8 @@ public enum EventContentType : int
SpecialMiniEvent = 34,
ScenarioCollection = 35,
ScenarioShortcut = 36,
SeasonalEvent = 37,
MiniShop = 38,
};

View File

@ -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<byte> GetNameBytes() { return __p.__vector_as_span<byte>(14, 1); }
public Span<byte> GetNameBytes() { return __p.__vector_as_span<byte>(16, 1); }
#else
public ArraySegment<byte>? GetNameBytes() { return __p.__vector_as_arraysegment(14); }
public ArraySegment<byte>? GetNameBytes() { return __p.__vector_as_arraysegment(16); }
#endif
public byte[] GetNameArray() { return __p.__vector_as_array<byte>(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<byte>(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<SCHALE.Common.FlatData.StarGoalType> GetStarGoalBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.StarGoalType>(42, 4); }
#else
public ArraySegment<byte>? 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<int> GetStarGoalAmountBytes() { return __p.__vector_as_span<int>(44, 4); }
#else
public ArraySegment<byte>? GetStarGoalAmountBytes() { return __p.__vector_as_arraysegment(44); }
#endif
public int[] GetStarGoalAmountArray() { return __p.__vector_as_array<int>(44); }
public static Offset<SCHALE.Common.FlatData.FieldContentStageExcel> 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<SCHALE.Common.FlatData.StarGoalType> 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<SCHALE.Common.FlatData.StarGoalType>(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<int> 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<int>(dataPtr, sizeInBytes); return builder.EndVector(); }
public static void StartStarGoalAmountVector(FlatBufferBuilder builder, int numElems) { builder.StartVector(4, numElems, 4); }
public static Offset<SCHALE.Common.FlatData.FieldContentStageExcel> EndFieldContentStageExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldContentStageExcel>(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<SCHALE.Common.FlatData.StarGoalType>();
for (var _j = 0; _j < this.StarGoalLength; ++_j) {_o.StarGoal.Add(TableEncryptionService.Convert(this.StarGoal(_j), key));}
_o.StarGoalAmount = new List<int>();
for (var _j = 0; _j < this.StarGoalAmountLength; ++_j) {_o.StarGoalAmount.Add(TableEncryptionService.Convert(this.StarGoalAmount(_j), key));}
}
public static Offset<SCHALE.Common.FlatData.FieldContentStageExcel> Pack(FlatBufferBuilder builder, FieldContentStageExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FieldContentStageExcel>);
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<SCHALE.Common.FlatData.StarGoalType> StarGoal { get; set; }
public List<int> 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);
}
}

View File

@ -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<byte> GetDateResultSpinePathBytes() { return __p.__vector_as_span<byte>(24, 1); }
public Span<byte> GetCharacterIconPathBytes() { return __p.__vector_as_span<byte>(28, 1); }
#else
public ArraySegment<byte>? GetDateResultSpinePathBytes() { return __p.__vector_as_arraysegment(24); }
public ArraySegment<byte>? GetCharacterIconPathBytes() { return __p.__vector_as_arraysegment(28); }
#endif
public byte[] GetDateResultSpinePathArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetDateResultBGPathBytes() { return __p.__vector_as_span<byte>(30, 1); }
#else
public ArraySegment<byte>? GetDateResultBGPathBytes() { return __p.__vector_as_arraysegment(30); }
#endif
public byte[] GetDateResultBGPathArray() { return __p.__vector_as_array<byte>(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<byte> GetDateResultSpinePathBytes() { return __p.__vector_as_span<byte>(32, 1); }
#else
public ArraySegment<byte>? GetDateResultSpinePathBytes() { return __p.__vector_as_arraysegment(32); }
#endif
public byte[] GetDateResultSpinePathArray() { return __p.__vector_as_array<byte>(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<SCHALE.Common.FlatData.FieldDateExcel> 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<SCHALE.Common.FlatData.FieldDateExcel> EndFieldDateExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldDateExcel>(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<SCHALE.Common.FlatData.FieldDateExcel> Pack(FlatBufferBuilder builder, FieldDateExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FieldDateExcel>);
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);
}
}

View File

@ -24,6 +24,8 @@ public enum FieldDialogType : int
Phone = 14,
Keyword = 15,
Evidence = 16,
Chat = 17,
Keyword_843 = 18,
};

View File

@ -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<byte> GetNameLocalizeKeyBytes() { return __p.__vector_as_span<byte>(6, 1); }
public Span<byte> GetNameLocalizeKeyBytes() { return __p.__vector_as_span<byte>(8, 1); }
#else
public ArraySegment<byte>? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(6); }
public ArraySegment<byte>? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); }
#endif
public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span<byte>(8, 1); }
public Span<byte> GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span<byte>(10, 1); }
#else
public ArraySegment<byte>? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); }
public ArraySegment<byte>? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); }
#endif
public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetDetailLocalizeKeyBytes() { return __p.__vector_as_span<byte>(10, 1); }
public Span<byte> GetDetailLocalizeKeyBytes() { return __p.__vector_as_span<byte>(12, 1); }
#else
public ArraySegment<byte>? GetDetailLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); }
public ArraySegment<byte>? GetDetailLocalizeKeyBytes() { return __p.__vector_as_arraysegment(12); }
#endif
public byte[] GetDetailLocalizeKeyArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetImagePathBytes() { return __p.__vector_as_span<byte>(12, 1); }
public Span<byte> GetImagePathBytes() { return __p.__vector_as_span<byte>(14, 1); }
#else
public ArraySegment<byte>? GetImagePathBytes() { return __p.__vector_as_arraysegment(12); }
public ArraySegment<byte>? GetImagePathBytes() { return __p.__vector_as_arraysegment(14); }
#endif
public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(12); }
public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(14); }
public static Offset<SCHALE.Common.FlatData.FieldEvidenceExcel> 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<SCHALE.Common.FlatData.FieldEvidenceExcel> EndFieldEvidenceExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldEvidenceExcel>(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);
}
}

View File

@ -18,6 +18,7 @@ public enum FieldInteractionType : int
Timeline = 8,
ActionTrigger = 9,
Interplay = 10,
UnderCoverStage = 11,
};

View File

@ -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<byte> GetNameLocalizeKeyBytes() { return __p.__vector_as_span<byte>(6, 1); }
public Span<byte> GetNameLocalizeKeyBytes() { return __p.__vector_as_span<byte>(8, 1); }
#else
public ArraySegment<byte>? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(6); }
public ArraySegment<byte>? GetNameLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); }
#endif
public byte[] GetNameLocalizeKeyArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span<byte>(8, 1); }
public Span<byte> GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_span<byte>(10, 1); }
#else
public ArraySegment<byte>? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(8); }
public ArraySegment<byte>? GetDescriptionLocalizeKeyBytes() { return __p.__vector_as_arraysegment(10); }
#endif
public byte[] GetDescriptionLocalizeKeyArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetImagePathBytes() { return __p.__vector_as_span<byte>(10, 1); }
public Span<byte> GetImagePathBytes() { return __p.__vector_as_span<byte>(12, 1); }
#else
public ArraySegment<byte>? GetImagePathBytes() { return __p.__vector_as_arraysegment(10); }
public ArraySegment<byte>? GetImagePathBytes() { return __p.__vector_as_arraysegment(12); }
#endif
public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(10); }
public byte[] GetImagePathArray() { return __p.__vector_as_array<byte>(12); }
public static Offset<SCHALE.Common.FlatData.FieldKeywordExcel> 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<SCHALE.Common.FlatData.FieldKeywordExcel> EndFieldKeywordExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldKeywordExcel>(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);
}
}

View File

@ -54,22 +54,38 @@ public struct FieldSceneExcel : IFlatbufferObject
public ArraySegment<byte>? GetBeginConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(18); }
#endif
public long[] GetBeginConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array<long>(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<long> GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_span<long>(20, 8); }
public Span<long> GetBeginConditionalBGMInteractionIdBytes() { return __p.__vector_as_span<long>(20, 8); }
#else
public ArraySegment<byte>? GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(20); }
public ArraySegment<byte>? GetBeginConditionalBGMInteractionIdBytes() { return __p.__vector_as_arraysegment(20); }
#endif
public long[] GetEndConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array<long>(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<long>(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<long> GetConditionalBGMIdBytes() { return __p.__vector_as_span<long>(22, 8); }
public Span<long> GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_span<long>(22, 8); }
#else
public ArraySegment<byte>? GetConditionalBGMIdBytes() { return __p.__vector_as_arraysegment(22); }
public ArraySegment<byte>? GetEndConditionalBGMScenarioGroupIdBytes() { return __p.__vector_as_arraysegment(22); }
#endif
public long[] GetConditionalBGMIdArray() { return __p.__vector_as_array<long>(22); }
public long[] GetEndConditionalBGMScenarioGroupIdArray() { return __p.__vector_as_array<long>(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<long> GetEndConditionalBGMInteractionIdBytes() { return __p.__vector_as_span<long>(24, 8); }
#else
public ArraySegment<byte>? GetEndConditionalBGMInteractionIdBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public long[] GetEndConditionalBGMInteractionIdArray() { return __p.__vector_as_array<long>(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<long> GetConditionalBGMIdBytes() { return __p.__vector_as_span<long>(26, 8); }
#else
public ArraySegment<byte>? GetConditionalBGMIdBytes() { return __p.__vector_as_arraysegment(26); }
#endif
public long[] GetConditionalBGMIdArray() { return __p.__vector_as_array<long>(26); }
public static Offset<SCHALE.Common.FlatData.FieldSceneExcel> 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<long> 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<long>(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<long> 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<long>(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<long> 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<long>(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<long> 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<long>(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<long> 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<long>();
for (var _j = 0; _j < this.BeginConditionalBGMScenarioGroupIdLength; ++_j) {_o.BeginConditionalBGMScenarioGroupId.Add(TableEncryptionService.Convert(this.BeginConditionalBGMScenarioGroupId(_j), key));}
_o.BeginConditionalBGMInteractionId = new List<long>();
for (var _j = 0; _j < this.BeginConditionalBGMInteractionIdLength; ++_j) {_o.BeginConditionalBGMInteractionId.Add(TableEncryptionService.Convert(this.BeginConditionalBGMInteractionId(_j), key));}
_o.EndConditionalBGMScenarioGroupId = new List<long>();
for (var _j = 0; _j < this.EndConditionalBGMScenarioGroupIdLength; ++_j) {_o.EndConditionalBGMScenarioGroupId.Add(TableEncryptionService.Convert(this.EndConditionalBGMScenarioGroupId(_j), key));}
_o.EndConditionalBGMInteractionId = new List<long>();
for (var _j = 0; _j < this.EndConditionalBGMInteractionIdLength; ++_j) {_o.EndConditionalBGMInteractionId.Add(TableEncryptionService.Convert(this.EndConditionalBGMInteractionId(_j), key));}
_o.ConditionalBGMId = new List<long>();
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<long> ConditionalBGMQuestId { get; set; }
public List<long> BeginConditionalBGMScenarioGroupId { get; set; }
public List<long> BeginConditionalBGMInteractionId { get; set; }
public List<long> EndConditionalBGMScenarioGroupId { get; set; }
public List<long> EndConditionalBGMInteractionId { get; set; }
public List<long> 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);
}
}

View File

@ -39,34 +39,29 @@ public struct FieldSeasonExcel : IFlatbufferObject
#endif
public byte[] GetEndDateArray() { return __p.__vector_as_array<byte>(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<byte> GetCharacterIconPathBytes() { return __p.__vector_as_span<byte>(18, 1); }
public Span<byte> GetMasteryImagePathBytes() { return __p.__vector_as_span<byte>(22, 1); }
#else
public ArraySegment<byte>? GetCharacterIconPathBytes() { return __p.__vector_as_arraysegment(18); }
public ArraySegment<byte>? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(22); }
#endif
public byte[] GetCharacterIconPathArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetMasteryImagePathBytes() { return __p.__vector_as_span<byte>(20, 1); }
public Span<byte> GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span<byte>(24, 1); }
#else
public ArraySegment<byte>? GetMasteryImagePathBytes() { return __p.__vector_as_arraysegment(20); }
public ArraySegment<byte>? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public byte[] GetMasteryImagePathArray() { return __p.__vector_as_array<byte>(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<byte>(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<byte> GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_span<byte>(22, 1); }
public Span<byte> GetKeywordLogoImagePathBytes() { return __p.__vector_as_span<byte>(26, 1); }
#else
public ArraySegment<byte>? GetFieldLobbyTitleImagePathBytes() { return __p.__vector_as_arraysegment(22); }
public ArraySegment<byte>? GetKeywordLogoImagePathBytes() { return __p.__vector_as_arraysegment(26); }
#endif
public byte[] GetFieldLobbyTitleImagePathArray() { return __p.__vector_as_array<byte>(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<byte> GetKeywordLogoImagePathBytes() { return __p.__vector_as_span<byte>(24, 1); }
#else
public ArraySegment<byte>? GetKeywordLogoImagePathBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public byte[] GetKeywordLogoImagePathArray() { return __p.__vector_as_array<byte>(24); }
public byte[] GetKeywordLogoImagePathArray() { return __p.__vector_as_array<byte>(26); }
public static Offset<SCHALE.Common.FlatData.FieldSeasonExcel> 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<SCHALE.Common.FlatData.FieldSeasonExcel> EndFieldSeasonExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldSeasonExcel>(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<SCHALE.Common.FlatData.FieldSeasonExcel>);
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);
}
}

View File

@ -0,0 +1,18 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace SCHALE.Common.FlatData
{
public enum FieldWorldMapButtonType : int
{
DefaultMode = 0,
Normal = 1,
Combat = 2,
Combat_VeryHard = 3,
UnderCover = 4,
};
}

View File

@ -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<SCHALE.Common.FlatData.FieldWorldMapZoneExcel> 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<SCHALE.Common.FlatData.FieldWorldMapZoneExcel> EndFieldWorldMapZoneExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.FieldWorldMapZoneExcel>(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<SCHALE.Common.FlatData.FieldWorldMapZoneExcel> Pack(FlatBufferBuilder builder, FieldWorldMapZoneExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.FieldWorldMapZoneExcel>);
@ -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);
}
}

View File

@ -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<SCHALE.Common.FlatData.ParcelType> GetParcelType_Bytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(20, 4); }
public Span<SCHALE.Common.FlatData.ParcelType> GetParcelType_Bytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(22, 4); }
#else
public ArraySegment<byte>? GetParcelType_Bytes() { return __p.__vector_as_arraysegment(20); }
public ArraySegment<byte>? 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<long> GetParcelIdBytes() { return __p.__vector_as_span<long>(22, 8); }
public Span<long> GetParcelIdBytes() { return __p.__vector_as_span<long>(24, 8); }
#else
public ArraySegment<byte>? GetParcelIdBytes() { return __p.__vector_as_arraysegment(22); }
public ArraySegment<byte>? GetParcelIdBytes() { return __p.__vector_as_arraysegment(24); }
#endif
public long[] GetParcelIdArray() { return __p.__vector_as_array<long>(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<long>(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<long> GetParcelAmountBytes() { return __p.__vector_as_span<long>(24, 8); }
public Span<long> GetParcelAmountBytes() { return __p.__vector_as_span<long>(26, 8); }
#else
public ArraySegment<byte>? GetParcelAmountBytes() { return __p.__vector_as_arraysegment(24); }
public ArraySegment<byte>? GetParcelAmountBytes() { return __p.__vector_as_arraysegment(26); }
#endif
public long[] GetParcelAmountArray() { return __p.__vector_as_array<long>(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<long>(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<SCHALE.Common.FlatData.ParcelType> GetDailyParcelTypeBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(28, 4); }
public Span<SCHALE.Common.FlatData.ParcelType> GetDailyParcelTypeBytes() { return __p.__vector_as_span<SCHALE.Common.FlatData.ParcelType>(30, 4); }
#else
public ArraySegment<byte>? GetDailyParcelTypeBytes() { return __p.__vector_as_arraysegment(28); }
public ArraySegment<byte>? 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<long> GetDailyParcelIdBytes() { return __p.__vector_as_span<long>(30, 8); }
public Span<long> GetDailyParcelIdBytes() { return __p.__vector_as_span<long>(32, 8); }
#else
public ArraySegment<byte>? GetDailyParcelIdBytes() { return __p.__vector_as_arraysegment(30); }
public ArraySegment<byte>? GetDailyParcelIdBytes() { return __p.__vector_as_arraysegment(32); }
#endif
public long[] GetDailyParcelIdArray() { return __p.__vector_as_array<long>(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<long>(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<long> GetDailyParcelAmountBytes() { return __p.__vector_as_span<long>(32, 8); }
public Span<long> GetDailyParcelAmountBytes() { return __p.__vector_as_span<long>(34, 8); }
#else
public ArraySegment<byte>? GetDailyParcelAmountBytes() { return __p.__vector_as_arraysegment(32); }
public ArraySegment<byte>? GetDailyParcelAmountBytes() { return __p.__vector_as_arraysegment(34); }
#endif
public long[] GetDailyParcelAmountArray() { return __p.__vector_as_array<long>(32); }
public long[] GetDailyParcelAmountArray() { return __p.__vector_as_array<long>(34); }
public static Offset<SCHALE.Common.FlatData.ProductMonthlyExcel> 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<SCHALE.Common.FlatData.ParcelType> 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<SCHALE.Common.FlatData.ParcelType>(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<long> 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<long>(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<long> 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<long>(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<SCHALE.Common.FlatData.ParcelType> 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<SCHALE.Common.FlatData.ParcelType>(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<long> 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<long>(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<long> 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<SCHALE.Common.FlatData.ParcelType>();
for (var _j = 0; _j < this.ParcelType_Length; ++_j) {_o.ParcelType_.Add(TableEncryptionService.Convert(this.ParcelType_(_j), key));}
_o.ParcelId = new List<long>();
@ -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<SCHALE.Common.FlatData.ParcelType> ParcelType_ { get; set; }
public List<long> ParcelId { get; set; }
public List<long> 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);
}
}

View File

@ -1,84 +0,0 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<SCHALE.Common.FlatData.StageFileRefreshSettingExcel> 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<SCHALE.Common.FlatData.StageFileRefreshSettingExcel> EndStageFileRefreshSettingExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.StageFileRefreshSettingExcel>(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<SCHALE.Common.FlatData.StageFileRefreshSettingExcel> Pack(FlatBufferBuilder builder, StageFileRefreshSettingExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.StageFileRefreshSettingExcel>);
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);
}
}
}

View File

@ -0,0 +1,17 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace SCHALE.Common.FlatData
{
public enum UnderCoverItemCategory : int
{
Consumable = 0,
Interaction = 1,
Skill = 2,
Collection = 3,
};
}

View File

@ -0,0 +1,145 @@
// <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
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<byte> GetStageNameFileBytes() { return __p.__vector_as_span<byte>(6, 1); }
#else
public ArraySegment<byte>? GetStageNameFileBytes() { return __p.__vector_as_arraysegment(6); }
#endif
public byte[] GetStageNameFileArray() { return __p.__vector_as_array<byte>(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<SCHALE.Common.FlatData.UnderCoverStageExcel> 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<SCHALE.Common.FlatData.UnderCoverStageExcel> EndUnderCoverStageExcel(FlatBufferBuilder builder) {
int o = builder.EndTable();
return new Offset<SCHALE.Common.FlatData.UnderCoverStageExcel>(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<SCHALE.Common.FlatData.UnderCoverStageExcel> Pack(FlatBufferBuilder builder, UnderCoverStageExcelT _o) {
if (_o == null) return default(Offset<SCHALE.Common.FlatData.UnderCoverStageExcel>);
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);
}
}
}

View File

@ -2270,6 +2270,7 @@ namespace SCHALE.Common.NetworkProtocol
}
public Nullable<long> TargetAccountId { get; set; }
public Nullable<long> 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<SelectTicketReplaceInfo> ReplaceInfos { get; set; }
}
@ -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,

View File

@ -139,125 +139,139 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers
// });
//}
List<long> rateUps = [10110, 10111];
Random random = new Random();
for (int i = 0; i < 10; ++i)
{
var randomNumber = Random.Shared.NextInt64(1000);
if (randomNumber < 7)
{
// always 3 star
shouldDoGuaranteedSR = false;
var isNew = accountChSet.Add(rateUpChId);
long gotId = rateUps[random.Next(rateUps.Count)];
gachaList.Add(new()
{
CharacterId = rateUpChId,
Character = !isNew ? null : new()
CharacterId = gotId,
Character = new()
{
AccountServerId = account.ServerId,
UniqueId = rateUpChId,
UniqueId = gotId,
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 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)]);

View File

@ -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")

View File

@ -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()
{