diff --git a/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs b/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs deleted file mode 100644 index 84b867e..0000000 --- a/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Gallop -{ - public class CameraEventCallback : MonoBehaviour - { - private Camera _targetCamera; // 0x18 - public Action OnPreCullCallback; // 0x20 - public Action OnPreRenderCallback; // 0x28 - public Action OnPostRenderCallback; // 0x30 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs.meta b/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs.meta deleted file mode 100644 index 92ffdb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/CameraEventCallback.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e256de223a005bd4d86ba3c32ee917d1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs b/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs deleted file mode 100644 index eb30285..0000000 --- a/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs +++ /dev/null @@ -1,9 +0,0 @@ -using UnityEngine; - -namespace Gallop -{ - public class CharaTransformProcessData : ScriptableObject - { - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs.meta b/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs.meta deleted file mode 100644 index 0b9663b..0000000 --- a/Assets/Scripts/umamusume/Gallop/CharaTransformProcessData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ad24e221a99993948ae4740c38a0a377 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/Cutt.meta b/Assets/Scripts/umamusume/Gallop/Cutt.meta deleted file mode 100644 index bc9fed3..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cutt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: db92d939bae9b7a428f4312afd2069c2 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/Cutt/Util.meta b/Assets/Scripts/umamusume/Gallop/Cutt/Util.meta deleted file mode 100644 index d86d6d9..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cutt/Util.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e9b28411580b23c4892cd0526e51b70e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs b/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs deleted file mode 100644 index 7cdcd3f..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Gallop.Cutt.Util -{ - [System.Serializable] - public class TimelineCharaPartsData - { - [SerializeField] - private string _rendererName; - [SerializeField] - private int _rendererHash; - public bool IsVisible; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs.meta b/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs.meta deleted file mode 100644 index 54d54ac..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cutt/Util/TimelineCharaPartsData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 53fac0a0edbb582439eb08670f03a121 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs b/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs deleted file mode 100644 index 8874358..0000000 --- a/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Gallop -{ - [System.Serializable] - public class CySpringWindParam - { - [SerializeField] - private bool _isEnableVertical; - [SerializeField] - private bool _isEnableHorizontal; - [SerializeField] - private float _verticalCycle; - [SerializeField] - private float _horizontalCycle; - [SerializeField] - private float _verticalAngleWidth; - [SerializeField] - private float _horizontalAngleWidth; - [SerializeField] - private int _partsMask; - [SerializeField] - private float[] _powerScaleArray; - [SerializeField] - private Vector3 _direction; - [SerializeField] - private Vector3 _right; - [SerializeField] - private bool _isLocalDirection; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs.meta b/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs.meta deleted file mode 100644 index af37be7..0000000 --- a/Assets/Scripts/umamusume/Gallop/CySpringWindParam.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0b8bcd1bcd67764d93c854a0f61660b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs b/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs deleted file mode 100644 index a639898..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Gallop.Cyalume -{ - public class AudienceController - { - public enum AnimationSetting - { - Default = 0, - SyncCyalume = 1, - Direct = 2, - Max = 3 - } - - public enum AnimationBodyRegion - { - None = 0, - RightHand = 1, - LeftHand = 2, - BothHands = 3, - Max = 4 - } - - public enum AnimationCategory - { - None = 0, - Common = 1, - Unique = 2, - Max = 3 - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs.meta b/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs.meta deleted file mode 100644 index dabbb63..0000000 --- a/Assets/Scripts/umamusume/Gallop/Cyalume/AudienceController.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9346a645e5ff4ac41b024222b2c111f6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs b/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs deleted file mode 100644 index a59e362..0000000 --- a/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Gallop -{ - public class DepthBlurAndBloom - { - public enum DofFocalType - { - Transform = 0, - Position = 1, - Point = 2 - } - - public enum DofBlur - { - Horizon = 0, - Mixed = 1, - Disc = 2, - BallBlur = 3 - } - - public enum DofQuality - { - OnlyBackground = 1, - BackgroundAndForeground = 5 - } - - public enum DofTransformTarget - { - Character0 = 0, - Character1 = 1, - Character2 = 2, - Character3 = 3, - Character4 = 4, - Character5 = 5, - Character6 = 6, - Character7 = 7, - Character8 = 8, - Character9 = 9, - Character10 = 10, - Character11 = 11, - Character12 = 12, - Character13 = 13, - Character14 = 14, - Character15 = 15, - Character16 = 16, - Character17 = 17, - Character18 = 18 - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs.meta b/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs.meta deleted file mode 100644 index 81f0300..0000000 --- a/Assets/Scripts/umamusume/Gallop/DepthBlurAndBloom.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c1264df1ca77e714fb1029850560be16 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB.meta deleted file mode 100644 index 362b212..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6f1a2a3c0634d0947a0b1fd6a5ff4506 -folderAsset: yes -timeCreated: 1531897059 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs deleted file mode 100644 index 8fab0dc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using System.IO; -using System.Threading; -using DereTore.Exchange.Audio.HCA; -using DereTore.Exchange.Archive.ACB; - -public class DecodeACB -{ - public static class CgssCipher - { - /* ミリシタ - public static readonly uint Key1 = 0xBC731A85; - public static readonly uint Key2 = 0x0002B875; - */ - - //デレステ - public static readonly uint Key1 = 0xf27e3b22; - public static readonly uint Key2 = 0x00003657; - } - - public delegate void AsyncDecode(byte[] inData, string outstr); - - public static void Decode(string inputfilename, string outputfilename) - { - if (!File.Exists(inputfilename)) { return; } - if (File.Exists(outputfilename)) { return; } - - byte[] inData = File.ReadAllBytes(inputfilename); - - Decode(inData, outputfilename); - } - - public static void Decode(byte[] inputData, string outputfilename) - { - if (inputData != null) - { - AsyncDecode asyncDecode = DecodeProc; - asyncDecode.BeginInvoke(inputData, outputfilename, null, null); //非同期で実行 - } - } - - private static void DecodeProc(byte[] inputData, string outputfilename) - { - //復号Keyをセット - var decodeParams = DecodeParams.CreateDefault(); - decodeParams.Key1 = CgssCipher.Key1; - decodeParams.Key2 = CgssCipher.Key2; - - //HCAの出力設定 - var audioParams = AudioParams.CreateDefault(); - audioParams.InfiniteLoop = false; - audioParams.SimulatedLoopCount = 0; //ループ回数 - audioParams.OutputWaveHeader = true; - - //Streamの生成 - MemoryStream memoryStream = new MemoryStream(inputData); - - //acbファイルを展開 - using (AcbFile acb = AcbFile.FromStream(memoryStream,0,inputData.Length,"default",true)) - { - var fileNames = acb.GetFileNames(); - var s = fileNames[0]; - byte[] outdata = null; - - //hcaファイルを展開 - using (var source = acb.OpenDataStream(s)) - { - try - { - using (var hcaStream = new HcaAudioStream(source, decodeParams, audioParams)) - { - //出力 - outdata = new byte[hcaStream.Length]; - hcaStream.Read(outdata, 0, (int)hcaStream.Length); - } - } - catch (Exception e) - { - Console.WriteLine("HCA Decodeでエラーが発生しました。"); - Console.WriteLine("File : " + s); - Console.WriteLine(e); - return; - } - } - if (outdata != null) - { - string tmpfile = outputfilename + ".tmp"; - File.WriteAllBytes(tmpfile, outdata); - File.Move(tmpfile, outputfilename); - } - - Console.WriteLine(s); - } - } - -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs.meta deleted file mode 100644 index 7b11c0d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/DecodeACB.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: da7bf8ee0c95a8343a31634e5937040d -timeCreated: 1532218344 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive.meta deleted file mode 100644 index 0cf4bb3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 92850131af35f784f8f3e438824fb74a -folderAsset: yes -timeCreated: 1531897074 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs deleted file mode 100644 index 2ef636c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public sealed class AcbCueRecord { - - internal AcbCueRecord() { - } - - public uint CueId { get; set; } - public byte ReferenceType { get; set; } - public ushort ReferenceIndex { get; set; } - - public bool IsWaveformIdentified { get; set; } - public ushort WaveformIndex { get; set; } - public ushort WaveformId { get; set; } - public byte EncodeType { get; set; } - public bool IsStreaming { get; set; } - - public string CueName { get; set; } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs.meta deleted file mode 100644 index 8b20934..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbCueRecord.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 30a227313ddb56a4abfa993a99360d4c -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs deleted file mode 100644 index 8967fa3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB { - public class AcbException : ApplicationException { - - public AcbException() { - } - - public AcbException(string message) - : base(message) { - } - - public AcbException(string message, Exception innerException) - : base(message, innerException) { - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs.meta deleted file mode 100644 index a33511b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbException.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3d65846458ed4f6498c1841f755eae16 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs deleted file mode 100644 index 5f28c85..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB { - public class AcbFieldMissingException : AcbException { - - public AcbFieldMissingException(string fieldName) - : base("Missing" + fieldName + "field.") { - } - - public AcbFieldMissingException(string fieldName, Exception innerException) - : base("Missing" + fieldName + "field.", innerException) { - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs.meta deleted file mode 100644 index 7935c37..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFieldMissingException.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7e6aff4b2afdd3e4ca3ca7314d15b1db -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs deleted file mode 100644 index cc26aa8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs +++ /dev/null @@ -1,289 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB { - public partial class AcbFile { - - internal override void Initialize() { - base.Initialize(); - InitializeAcbTables(); - InitializeCueNameToWaveformTable(); - InitializeAwbArchives(); - } - - protected override void Dispose(bool disposing) { - - if(_internalAwb != null) { _internalAwb.Dispose(); } - if(_externalAwb != null) { _externalAwb.Dispose(); } - base.Dispose(disposing); - } - - private AcbFile(Stream stream, long offset, long size, string acbFileName, bool disposeStream) - : this(stream, offset, size, acbFileName, false, disposeStream) { - } - - private AcbFile(Stream stream, long offset, long size, string acbFileName, bool includeCueIdInFileName, bool disposeStream) - : base(stream, offset, size, acbFileName, disposeStream) { - _includeCueIdInFileName = includeCueIdInFileName; - Initialize(); - } - - private void InitializeAcbTables() { - var stream = Stream; - long refItemOffset = 0, refItemSize = 0, refCorrection = 0; - - var tables = new Dictionary(); - _tables = tables; - - var cueTable = GetTable("CueTable"); - var waveformTable = GetTable("WaveformTable"); - var synthTable = GetTable("SynthTable"); - var cues = new AcbCueRecord[cueTable.Rows.Length]; - _cues = cues; - - for (var i = 0; i < cues.Length; ++i) { - var cue = new AcbCueRecord(); - cue.IsWaveformIdentified = false; - cue.CueId = cueTable.GetFieldValueAsNumber(i, "CueId").Value; - cue.ReferenceType = cueTable.GetFieldValueAsNumber(i, "ReferenceType").Value; - cue.ReferenceIndex = cueTable.GetFieldValueAsNumber(i, "ReferenceIndex").Value; - cues[i] = cue; - - switch (cue.ReferenceType) { - case 2: - refItemOffset = synthTable.GetFieldOffset(cue.ReferenceIndex, "ReferenceItems").Value; - refItemSize = synthTable.GetFieldSize(cue.ReferenceIndex, "ReferenceItems").Value; - refCorrection = refItemSize + 2; - break; - case 3: - case 8: - if (i == 0) { - var refItemOffsetNullable = synthTable.GetFieldOffset(0, "ReferenceItems"); - if (refItemOffsetNullable == null) { - throw new AcbFieldMissingException("ReferenceItems"); - } - refItemOffset = refItemOffsetNullable.Value; - var refItemSizeNullable = synthTable.GetFieldSize(0, "ReferenceItems"); - if (refItemSizeNullable == null) { - throw new AcbFieldMissingException("ReferenceItems"); - } - refItemSize = refItemSizeNullable.Value; - refCorrection = refItemSize - 2; - } else { - refCorrection += 4; - } - break; - default: - throw new FormatException(string.Format("Unexpected ReferenceType '{0}' for CueIndex: '{1}.'", cues[i].ReferenceType, i)); - } - - if (refItemSize != 0) { - cue.WaveformIndex = stream.PeekUInt16BE(refItemOffset + refCorrection); - var isStreamingNullable = waveformTable.GetFieldValueAsNumber(cue.WaveformIndex, "Streaming"); - if (isStreamingNullable != null) { - cue.IsStreaming = isStreamingNullable.Value != 0; - - var waveformIdNullable = waveformTable.GetFieldValueAsNumber(cue.WaveformIndex, "Id"); - if (waveformIdNullable != null) { - cue.WaveformId = waveformIdNullable.Value; - } else if (cue.IsStreaming) { - waveformIdNullable = waveformTable.GetFieldValueAsNumber(cue.WaveformIndex, "StreamAwbId"); - if (waveformIdNullable == null) { - throw new AcbFieldMissingException("StreamAwbId"); - } - cue.WaveformId = waveformIdNullable.Value; - } else { - // MemoryAwbId is for ADX2LE encoder. - waveformIdNullable = waveformTable.GetFieldValueAsNumber(cue.WaveformIndex, "MemoryAwbId"); - if (waveformIdNullable == null) { - throw new AcbFieldMissingException("MemoryAwbId"); - } - cue.WaveformId = waveformIdNullable.Value; - } - - var encTypeNullable = waveformTable.GetFieldValueAsNumber(cue.WaveformIndex, "EncodeType"); - if (encTypeNullable == null) { - throw new AcbFieldMissingException("EncodeType"); - } - cue.EncodeType = encTypeNullable.Value; - - cue.IsWaveformIdentified = true; - } - } - } - } - - private void InitializeCueNameToWaveformTable() { - var cueNameTable = GetTable("CueNameTable"); - var cues = Cues; - var includeCueIdInFileName = _includeCueIdInFileName; - var cueNameToWaveform = new Dictionary(); - //_cueNameToWaveform = cueNameToWaveform; - - for (var i = 0; i < cueNameTable.Rows.Length; ++i) { - var cueIndexNullable = cueNameTable.GetFieldValueAsNumber(i, "CueIndex"); - if (cueIndexNullable == null) { - throw new AcbFieldMissingException("CueIndex"); - } - var cueIndex = cueIndexNullable.Value; - var cue = cues[cueIndex]; - if (cue.IsWaveformIdentified) { - var cueName = cueNameTable.GetFieldValueAsString(i, "CueName"); - if (cueName == null) { - throw new AcbFieldMissingException("CueName"); - } - cueName += GetExtensionForEncodeType(cue.EncodeType); - if (includeCueIdInFileName) { - cueName = cue.CueId.ToString("D5") + "_" + cueName; - } - cue.CueName = cueName; - cueNameToWaveform.Add(cueName, cue.WaveformId); - } - } - } - - private void InitializeAwbArchives() { - var internalAwbSize = GetFieldSize(0, "AwbFile"); - if (internalAwbSize.HasValue && internalAwbSize.Value > 0) { - _internalAwb = GetInternalAwbArchive(); - } - var externalAwbSize = GetFieldSize(0, "StreamAwbAfs2Header"); - if (externalAwbSize.HasValue && externalAwbSize.Value > 0) { - _externalAwb = GetExternalAwbArchive(); - } - } - - private Stream GetDataStreamFromCueInfo(AcbCueRecord cue, string fileNameForErrorInfo) { - if (!cue.IsWaveformIdentified) { - throw new InvalidOperationException(string.Format("File '{0}' is not identified.", fileNameForErrorInfo)); - } - if (cue.IsStreaming) { - var externalAwb = ExternalAwb; - if (externalAwb == null) { - throw new InvalidOperationException(string.Format("External AWB does not exist for streaming file '{0}'.", fileNameForErrorInfo)); - } - if (!externalAwb.Files.ContainsKey(cue.WaveformId)) { - throw new InvalidOperationException(string.Format("Waveform ID {0} is not found in AWB file {1}.", cue.WaveformId, externalAwb.FileName)); - } - var targetExternalFile = externalAwb.Files[cue.WaveformId]; - using (var fs = File.Open(externalAwb.FileName, FileMode.Open, FileAccess.Read)) { - return AcbHelper.ExtractToNewStream(fs, targetExternalFile.FileOffsetAligned, (int)targetExternalFile.FileLength); - } - } else { - var internalAwb = InternalAwb; - if (internalAwb == null) { - throw new InvalidOperationException(string.Format("Internal AWB is not found for memory file '{0}' in '{1}'.", fileNameForErrorInfo, AcbFileName)); - } - if (!internalAwb.Files.ContainsKey(cue.WaveformId)) { - throw new InvalidOperationException(string.Format("Waveform ID {0} is not found in internal AWB in {1}.", cue.WaveformId, AcbFileName)); - } - var targetInternalFile = internalAwb.Files[cue.WaveformId]; - return AcbHelper.ExtractToNewStream(Stream, targetInternalFile.FileOffsetAligned, (int)targetInternalFile.FileLength); - } - } - - private Afs2Archive GetInternalAwbArchive() { - var internalAwbOffset = GetFieldOffset(0, "AwbFile"); - if (internalAwbOffset == null) { - throw new AcbFieldMissingException("AwbFile"); - } - var internalAwb = new Afs2Archive(Stream, internalAwbOffset.Value, AcbFileName, false); - internalAwb.Initialize(); - return internalAwb; - } - - private Afs2Archive GetExternalAwbArchive() { - var acbFileName = AcbFileName; - var awbDirPath = Path.GetDirectoryName(acbFileName); - var awbBaseFileName = Path.GetFileNameWithoutExtension(acbFileName); - string[] awbFiles = null; - string awbMask1 = null, awbMask2 = null, awbMask3 = null; - - if (awbFiles == null || awbFiles.Length < 1) { - awbMask1 = string.Format(AwbFileNameFormats.Format1, awbBaseFileName); - awbFiles = Directory.GetFiles(awbDirPath, awbMask1, SearchOption.TopDirectoryOnly); - } - if (awbFiles == null || awbFiles.Length < 1) { - awbMask2 = string.Format(AwbFileNameFormats.Format2, awbBaseFileName); - awbFiles = Directory.GetFiles(awbDirPath, awbMask2, SearchOption.TopDirectoryOnly); - } - if (awbFiles == null || awbFiles.Length < 1) { - awbMask3 = string.Format(AwbFileNameFormats.Format3, awbBaseFileName); - awbFiles = Directory.GetFiles(awbDirPath, awbMask3, SearchOption.TopDirectoryOnly); - } - if (awbFiles.Length < 1) { - throw new FileNotFoundException(string.Format("Cannot find AWB file. Please verify corresponding AWB file is named '{0}', '{1}', or '{2}'.", awbMask1, awbMask2, awbMask3)); - } - if (awbFiles.Length > 1) { - throw new FileNotFoundException(string.Format("More than one matching AWB file for this ACB. Please verify only one AWB file is named '{0}', '{1}', or '{2}'.", awbMask1, awbMask2, awbMask3)); - } - - var externalAwbHash = GetFieldValueAsData(0, "StreamAwbHash"); - var fs = File.Open(awbFiles[0], FileMode.Open, FileAccess.Read); - var awbHash = AcbHelper.GetMd5Checksum(fs); - Afs2Archive archive; - if (AcbHelper.AreDataIdentical(awbHash, externalAwbHash)) { - archive = new Afs2Archive(fs, 0, fs.Name, true); - archive.Initialize(); - } else { - fs.Dispose(); - throw new FormatException(string.Format("Checksum of AWB file '{0}' ({1}) does not match MD5 checksum inside ACB file '{2}' ({3}).", fs.Name, BitConverter.ToString(awbHash), acbFileName, BitConverter.ToString(externalAwbHash))); - } - return archive; - } - - private UtfTable ResolveTable(string tableName) { - var tableOffset = GetFieldOffset(0, tableName); - if (!tableOffset.HasValue) { - return null; - } - var tableSize = GetFieldSize(0, tableName); - if (!tableSize.HasValue) { - return null; - } - var table = new UtfTable(Stream, tableOffset.Value, tableSize.Value, AcbFileName, false); - table.Initialize(); - return table; - } - - private static string GetExtensionForEncodeType(byte encodeType) { - string ext; - switch ((WaveformEncodeType)encodeType) { - case WaveformEncodeType.Adx: - ext = ".adx"; - break; - case WaveformEncodeType.Hca: - ext = ".hca"; - break; - case WaveformEncodeType.Atrac3: - ext = ".at3"; - break; - case WaveformEncodeType.Vag: - ext = ".vag"; - break; - case WaveformEncodeType.BcWav: - ext = ".bcwav"; - break; - case WaveformEncodeType.NintendoDsp: - ext = ".dsp"; - break; - default: - ext = string.Format(".et-{0}.bin", encodeType.ToString("D2")); - break; - } - return ext; - } - - private readonly bool _includeCueIdInFileName; - - private Dictionary _tables; - //private Dictionary _cueNameToWaveform; - private AcbCueRecord[] _cues; - private Afs2Archive _internalAwb; - private Afs2Archive _externalAwb; - private string[] _fileNames; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs.meta deleted file mode 100644 index 5b1a456..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.Internal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bf2e5893cf0c0744ab2b0d6fb80aae47 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs deleted file mode 100644 index 018c33b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs +++ /dev/null @@ -1,133 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; - -namespace DereTore.Exchange.Archive.ACB { - public sealed partial class AcbFile : UtfTable { - - public static AcbFile FromStream(FileStream stream) { - return FromStream(stream, 0, stream.Length, false); - } - - public static AcbFile FromStream(FileStream stream, bool disposeStream) { - return FromStream(stream, 0, stream.Length, disposeStream); - } - - public static AcbFile FromStream(FileStream stream, long offset, long size) { - return new AcbFile(stream, offset, size, stream.Name, false); - } - - public static AcbFile FromStream(FileStream stream, long offset, long size, bool disposeStream) { - return new AcbFile(stream, offset, size, stream.Name, disposeStream); - } - - public static AcbFile FromStream(FileStream stream, long offset, long size, bool includeCueIdInFileName, bool disposeStream) { - return new AcbFile(stream, offset, size, stream.Name, includeCueIdInFileName, disposeStream); - } - - public static AcbFile FromStream(Stream stream, string acbFileName, bool disposeStream) { - return FromStream(stream, 0, stream.Length, acbFileName, disposeStream); - } - - public static AcbFile FromStream(Stream stream, long offset, long size, string acbFileName, bool disposeStream) { - return new AcbFile(stream, offset, size, acbFileName, disposeStream); - } - - public static AcbFile FromStream(Stream stream, long offset, long size, string acbFileName, bool includeCueIdInFileName, bool disposeStream) { - return new AcbFile(stream, offset, size, acbFileName, includeCueIdInFileName, disposeStream); - } - - public static AcbFile FromFile(string fileName) { - var fs = File.Open(fileName, FileMode.Open, FileAccess.Read); - return FromStream(fs, false); - } - - public Dictionary Tables - { - get - { - return _tables; - } - } - - public AcbCueRecord[] Cues - { - get - { - return _cues; - } - } - - public Afs2Archive InternalAwb - { - get - { - return _internalAwb; - } - } - - public Afs2Archive ExternalAwb - { - get - { - return _externalAwb; - } - } - - public UtfTable GetTable(string tableName) { - if (_tables == null) { - return null; - } - var tables = _tables; - UtfTable table; - if (tables.ContainsKey(tableName)) { - table = tables[tableName]; - } else { - table = ResolveTable(tableName); - if (table != null) { - tables.Add(tableName, table); - } - } - return table; - } - - public string[] GetFileNames() { - if (_cues != null) - { - _fileNames = Cues.Select(cue => cue.CueName).ToArray(); - } - return _fileNames; - } - - public bool FileExists(string fileName) { - return _fileNames != null && _fileNames.Contains(fileName); - } - - public Stream OpenDataStream(string fileName) { - AcbCueRecord cue; - try { - cue = Cues.Single(c => c.CueName == fileName); - } catch (InvalidOperationException ex) { - throw new InvalidOperationException(string.Format("File '{0}' is not found or it has multiple entries.", fileName), ex); - } - return GetDataStreamFromCueInfo(cue, fileName); - } - - public Stream OpenDataStream(uint cueId) { - AcbCueRecord cue; - var tempFileName = string.Format("cue #{0}", cueId); - try { - cue = Cues.Single(c => c.CueId == cueId); - } catch (InvalidOperationException ex) { - throw new InvalidOperationException(string.Format("File '{0}' is not found or it has multiple entries.", tempFileName), ex); - } - return GetDataStreamFromCueInfo(cue, tempFileName); - } - - public static string GetSymbolicFileNameFromCueId(uint cueId) { - return string.Format("dat_{0:000000}.bin", cueId); - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs.meta deleted file mode 100644 index c9c1a5a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbFile.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ea2e9f6906272ac4e8c27ad50b313b98 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs deleted file mode 100644 index dc11e26..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using System.Linq.Expressions; -using System.IO; -using System.Security.Cryptography; - -namespace DereTore.Exchange.Archive.ACB { - internal static class AcbHelper { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - - public static bool AreDataIdentical(byte[] array1, long offset1, byte[] array2, long offset2, long length) { - if (length <= 0) { - throw new ArgumentOutOfRangeException(NameOf(() => length)); - } - if (offset1 < 0) { - throw new ArgumentOutOfRangeException(NameOf(() => offset1)); - } - if (offset2 < 0) { - throw new ArgumentOutOfRangeException(NameOf(() => offset2)); - } - long end1 = offset1 + length, end2 = offset2 + length; - if (end1 > array1.LongLength) { - throw new IndexOutOfRangeException("Length of array 1 is not enough."); - } - if (end2 > array2.LongLength) { - throw new IndexOutOfRangeException("Length of array 2 is not enough."); - } - for (; offset1 < end1; ++offset1, ++offset2) { - if (array1[offset1] != array2[offset2]) { - return false; - } - } - return true; - } - - public static bool AreDataIdentical(byte[] array1, int offset1, byte[] array2, int offset2, int length) { - return AreDataIdentical(array1, offset1, array2, offset2, (long)length); - } - - public static bool AreDataIdentical(byte[] array1, byte[] array2, long length) { - return AreDataIdentical(array1, 0, array2, 0, length); - } - - public static bool AreDataIdentical(byte[] array1, byte[] array2, int length) { - return AreDataIdentical(array1, 0, array2, 0, (long)length); - } - - public static bool AreDataIdentical(byte[] array1, byte[] array2) { - return AreDataIdentical(array1, 0, array2, 0, array1.LongLength); - } - - public static int RoundUpToAlignment(int valueToRound, int byteAlignment) { - var roundedValue = (valueToRound + byteAlignment - 1) / byteAlignment * byteAlignment; - return roundedValue; - } - - public static uint RoundUpToAlignment(uint valueToRound, uint byteAlignment) { - var roundedValue = (valueToRound + byteAlignment - 1) / byteAlignment * byteAlignment; - return roundedValue; - } - - public static long RoundUpToAlignment(long valueToRound, long byteAlignment) { - var roundedValue = (valueToRound + byteAlignment - 1) / byteAlignment * byteAlignment; - return roundedValue; - } - - public static ulong RoundUpToAlignment(ulong valueToRound, ulong byteAlignment) { - var roundedValue = (valueToRound + byteAlignment - 1) / byteAlignment * byteAlignment; - return roundedValue; - } - - public static byte[] GetMd5Checksum(Stream stream) { - return Md5.ComputeHash(stream); - } - - public static byte[] GetMd5Checksum(byte[] data) { - return Md5.ComputeHash(data); - } - - public static Stream ExtractToNewStream(Stream stream, long offset, int length) { - var originalPosition = stream.Position; - stream.Seek(offset, SeekOrigin.Begin); - var buffer = new byte[length]; - var memory = new byte[length]; - long currentIndex = 0; - var bytesLeft = length; - do { - var read = stream.Read(buffer, 0, bytesLeft); - Array.Copy(buffer, 0, memory, currentIndex, read); - currentIndex += read; - bytesLeft -= read; - } while (bytesLeft > 0); - stream.Position = originalPosition; - var memoryStream = new MemoryStream(memory, false) { - Capacity = length - }; - memoryStream.Seek(0, SeekOrigin.Begin); - return memoryStream; - } - - private static readonly MD5 Md5 = new MD5CryptoServiceProvider(); - - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs.meta deleted file mode 100644 index 34d853e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2154610d9ad88364a9deafa2a52bcf8f -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs deleted file mode 100644 index 2197c90..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public sealed class AcbInfo { - - internal AcbInfo() { - } - - public string Name { get; set; } - public string VersionString { get; set; } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs.meta deleted file mode 100644 index 342935b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AcbInfo.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6ffc9d74917f4d1408797d11b62fb3d8 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs deleted file mode 100644 index acb33cd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB { - public sealed class Afs2Archive : DisposableBase { - - public Afs2Archive(Stream stream, long offset, string fileName, bool disposeStream) { - _fileName = fileName; - _stream = stream; - _streamOffset = offset; - _disposeStream = disposeStream; - } - - public void Initialize() { - var stream = _stream; - var offset = _streamOffset; - var acbFileName = _fileName; - if (!IsAfs2Archive(stream, offset)) { - throw new FormatException("File '" + acbFileName + "' does not contain a valid AFS2 archive at offset {offset}."); - } - var fileCount = (int)stream.PeekUInt32LE(offset + 8); - if (fileCount > ushort.MaxValue) { - throw new IndexOutOfRangeException("File count " + fileCount + " exceeds maximum possible value (65535)."); - } - var files = new Dictionary(fileCount); - _files = files; - var byteAlignment = stream.PeekUInt32LE(offset + 12); - _byteAlignment = byteAlignment; - var version = stream.PeekUInt32LE(offset + 4); - _version = version; - var offsetFieldSize = (int)(version >> 8) & 0xff; // versionBytes[1], always 4? - uint offsetMask = 0; - for (var j = 0; j < offsetFieldSize; j++) { - offsetMask |= (uint)(0xff << (j * 8)); - } - - const int invalidCueId = -1; - var previousCueId = invalidCueId; - var fileOffsetFieldBase = 0x10 + fileCount * 2; - for (ushort i = 0; i < fileCount; ++i) { - var currentFileOffsetBase = fileOffsetFieldBase + offsetFieldSize * i; - var record = new Afs2FileRecord { - CueId = stream.PeekUInt16LE(offset + (0x10 + 2 * i)), - // TODO: Dynamically judge if the field is U32/U16 or else (see offsetFieldSize). - FileOffsetRaw = stream.PeekUInt32LE(offset + currentFileOffsetBase) - }; - record.FileOffsetRaw &= offsetMask; - record.FileOffsetRaw += offset; - record.FileOffsetAligned = AcbHelper.RoundUpToAlignment(record.FileOffsetRaw, ByteAlignment); - if (i == fileCount - 1) { - record.FileLength = stream.PeekUInt32LE(offset + currentFileOffsetBase + offsetFieldSize) + offset - record.FileOffsetAligned; - } - if (previousCueId != invalidCueId) { - files[previousCueId].FileLength = record.FileOffsetRaw - files[previousCueId].FileOffsetAligned; - } - files.Add(record.CueId, record); - previousCueId = record.CueId; - } - } - - public static bool IsAfs2Archive(Stream stream, long offset) { - var fileSignature = stream.PeekBytes(offset, 4); - return AcbHelper.AreDataIdentical(fileSignature, Afs2Signature); - } - - public string FileName { get { return _fileName; } } - - public uint ByteAlignment { get { return _byteAlignment; } } - - public Dictionary Files { get { return _files; } } - - public uint Version { get { return _version; } } - - protected override void Dispose(bool disposing) { - if (_disposeStream) { - try { - _stream.Dispose(); - } catch (ObjectDisposedException) { - } - } - } - - public static readonly byte[] Afs2Signature = { 0x41, 0x46, 0x53, 0x32 }; // 'AFS2' - - private uint _byteAlignment; - private Dictionary _files; - private uint _version; - private readonly string _fileName; - private readonly Stream _stream; - private readonly long _streamOffset; - private readonly bool _disposeStream; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs.meta deleted file mode 100644 index 3bde688..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2Archive.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 877d9df8d8359454ab89db6127e24130 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs deleted file mode 100644 index 0287556..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public sealed class Afs2FileRecord { - - internal Afs2FileRecord() { - } - - public ushort CueId { get; set; } - public long FileOffsetRaw { get; set; } - public long FileOffsetAligned { get; set; } - public long FileLength { get; set; } - public string FileName { get; set; } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs.meta deleted file mode 100644 index feb2e4d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Afs2FileRecord.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 12f45a00cf528a7499fc4607a12bf688 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs deleted file mode 100644 index 0b6e34f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - internal static class AwbFileNameFormats { - - public static readonly string Format1 = "{0}_streamfiles.awb"; - public static readonly string Format2 = "{0}.awb"; - public static readonly string Format3 = "{0}_STR.awb"; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs.meta deleted file mode 100644 index 064253c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbFileNameFormats.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 03ed2a16422c1bd4390cfe34b919f529 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs deleted file mode 100644 index ed63a14..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public enum AwbLocation { - - Unknown = 0, - Internal = 1, - External = 2 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs.meta deleted file mode 100644 index 1800796..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/AwbLocation.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5046b4a5c6de9ec4786f465dbcd47bf9 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs deleted file mode 100644 index 0531cab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public enum ColumnStorage : byte { - - Zero = 0x10, - Constant = 0x30, - PerRow = 0x50, - Constant2 = 0x70, - Mask = 0xf0 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs.meta deleted file mode 100644 index c87606e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnStorage.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 163cfd528c2fa56478013994443e0fbd -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs deleted file mode 100644 index d6080c1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public enum ColumnType : byte { - - Byte = 0x00, - SByte = 0x01, - UInt16 = 0x02, - Int16 = 0x03, - UInt32 = 0x04, - Int32 = 0x05, - UInt64 = 0x06, - Int64 = 0x07, // not sure - Single = 0x08, - Double = 0x09, // not sure - String = 0x0a, - Data = 0x0b, - Mask = 0x0f - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs.meta deleted file mode 100644 index 5c3a58c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/ColumnType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1b90a05d134840b4586cc811f03749bc -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs deleted file mode 100644 index 5e15067..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Archive.ACB { - [StructLayout(LayoutKind.Explicit)] - public struct NumericUnion { - - [FieldOffset(0)] - public byte U8; - [FieldOffset(0)] - public sbyte S8; - [FieldOffset(0)] - public short S16; - [FieldOffset(0)] - public ushort U16; - [FieldOffset(0)] - public int S32; - [FieldOffset(0)] - public uint U32; - [FieldOffset(0)] - public long S64; - [FieldOffset(0)] - public ulong U64; - [FieldOffset(0)] - public float R32; - [FieldOffset(0)] - public double R64; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs.meta deleted file mode 100644 index ace75f7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/NumericUnion.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f176cf14cdf2e9441bee89b39b26f0e7 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization.meta deleted file mode 100644 index e9df38a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 009868f8c43db7746b02378159830aa2 -folderAsset: yes -timeCreated: 1531897074 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs deleted file mode 100644 index b10ef50..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - public partial class AcbSerializer { - - private byte[] GetTableBytes(T[] tableRows) where T : UtfRowBase { - var tableImage = PrepareTable(tableRows); - byte[] buffer; - using (var memory = new MemoryStream()) { - tableImage.WriteTo(memory); - //memory.Capacity = (int)AcbHelper.RoundUpToAlignment((int)memory.Length, Alignment); - buffer = new byte[memory.Length]; - //memory.GetBuffer().CopyTo(buffer, 0); - Array.Copy(memory.GetBuffer(), buffer, buffer.Length); - } - return buffer; - } - - private UtfTableImage PrepareTable(T[] tableRows) where T : UtfRowBase { - var tableName = GetTableName(tableRows); - var tableImage = new UtfTableImage(tableName, Alignment); - foreach (var tableRow in tableRows) { - var targetMembers = SerializationHelper.GetSearchTargetFieldsAndProperties(tableRow); - var tableImageRow = new List(); - tableImage.Rows.Add(tableImageRow); - // TODO: Save misc data first, then the tables. - foreach (var member in targetMembers) { - var fieldInfo = member.FieldInfo; - var fieldType = fieldInfo.FieldType; - var fieldAttribute = member.FieldAttribute; - CheckFieldType(fieldType); - var fieldValue = member.FieldInfo.GetValue(tableRow); - var fieldImage = new UtfFieldImage { - Order = fieldAttribute.Order, - Name = string.IsNullOrEmpty(fieldAttribute.FieldName) ? fieldInfo.Name : fieldAttribute.FieldName, - Storage = fieldAttribute.Storage, - }; - // Empty tables are treated as empty data. - if (IsTypeRowList(fieldType) && fieldValue != null && ((UtfRowBase[])fieldValue).Length > 0) { - var tableBytes = GetTableBytes((UtfRowBase[])fieldValue); - fieldImage.SetValue(tableBytes); - fieldImage.IsTable = true; - } else if (fieldType == typeof(byte[]) && member.ArchiveAttribute != null) { - var files = new List { - (byte[])fieldValue - }; - var archiveBytes = SerializationHelper.GetAfs2ArchiveBytes(files.AsReadOnly(), Alignment); - fieldImage.SetValue(archiveBytes); - fieldImage.IsTable = true; - } else { - if (fieldValue == null) { - fieldImage.SetNullValue(MapFromRawType(fieldType)); - } else { - fieldImage.SetValue(fieldValue); - } - } - tableImageRow.Add(fieldImage); - } - } - return tableImage; - } - - private static void CheckFieldType(Type type) { - if (!SupportedTypes.Contains(type) && !IsTypeRowList(type)) { - throw new InvalidCastException("Unsupported type: '" + type.FullName + "'"); - } - } - - private static bool IsTypeRowList(Type type) { - return type.IsArray && type.HasElementType && type.GetElementType().IsSubclassOf(typeof(UtfRowBase)); - } - - private static ColumnType MapFromRawType(Type rawType) { - if (IsTypeRowList(rawType)) { - return ColumnType.Data; - } - var index = SupportedTypes.IndexOf(rawType); - return (ColumnType)index; - } - - private static string GetTableName(T[] tableRows) where T : UtfRowBase { - if (tableRows == null) { - throw new ArgumentNullException(NameOf(() => tableRows)); - } - if (tableRows.Length < 1) { - throw new ArgumentException("There should be at least one row in a table.", NameOf(() => tableRows)); - } - // Assuming all the rows are of the same type. - var tableType = tableRows[0].GetType(); - var tableAttributes = tableType.GetCustomAttributes(typeof(UtfTableAttribute), false); - if (tableAttributes.Length == 1) { - return ((UtfTableAttribute)tableAttributes[0]).Name; - } else { - var s = tableType.Name; - if (s.EndsWith("Table")) { - s = s.Substring(0, s.Length - 5); - } - return s; - } - } - - private static readonly Type[] SupportedTypes = { - typeof(byte), typeof(sbyte), typeof(ushort), typeof(short), typeof(uint), typeof(int), typeof(ulong), typeof(long), - typeof(float),typeof(double), - typeof(string), - typeof(byte[]) - }; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs.meta deleted file mode 100644 index a276e4a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.Internal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6e9ed21e969c0974f852b6d63577ad04 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs deleted file mode 100644 index 8461a2f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.IO; -using System.Linq.Expressions; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - public sealed partial class AcbSerializer { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - - public AcbSerializer() { - Alignment = 32; - } - - public void Serialize(T[] tableRows, Stream serializationStream) where T : UtfRowBase { - if (tableRows == null) { - throw new ArgumentNullException(NameOf(() => tableRows)); - } - var tableData = GetTableBytes(tableRows).RoundUpTo(Alignment); - serializationStream.WriteBytes(tableData); - } - - public uint Alignment { - get { - return _alignment; - } - set { - if (value <= 0 || value % 16 != 0) { - throw new ArgumentException("Alignment should be a positive integer, also a multiple of 16.", NameOf(() => value)); - } - _alignment = value; - } - } - - private uint _alignment; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs.meta deleted file mode 100644 index 25001a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 64569347a4afa7347b1e1fa83baa4ff7 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs deleted file mode 100644 index fe552a8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - - internal static class AcbSerializerPrivateUtilities { - - public static int IndexOf(this Type[] types, Type value) { - for (var i = 0; i < types.Length; ++i) { - if (types[i] == value) { - return i; - } - } - return -1; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs.meta deleted file mode 100644 index abc57e0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/AcbSerializerPrivateUtilities.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6b4e4cf86c5a23f458e4432890460f7d -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs deleted file mode 100644 index 2abecfb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - [AttributeUsage(AttributeTargets.Field)] - public sealed class Afs2ArchiveAttribute : Attribute { - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs.meta deleted file mode 100644 index 9e6c226..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/Afs2ArchiveAttribute.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d647b12edd11bc543add498843dd38f7 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs deleted file mode 100644 index 4360b5f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal static class ArrayExtensions { - - public static byte[] RoundUpTo(this byte[] data, int alignment) { - var newLength = AcbHelper.RoundUpToAlignment(data.Length, alignment); - var buffer = new byte[newLength]; - data.CopyTo(buffer, 0); - return buffer; - } - - public static byte[] RoundUpTo(this byte[] data, uint alignment) { - var newLength = AcbHelper.RoundUpToAlignment(data.Length, alignment); - var buffer = new byte[newLength]; - data.CopyTo(buffer, 0); - return buffer; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs.meta deleted file mode 100644 index d6132a6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/ArrayExtensions.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 044a5c10b6b06874aa4823562e88ca12 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs deleted file mode 100644 index 8881224..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Reflection; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed class MemberAbstract { - - internal MemberAbstract(FieldInfo fieldInfo, UtfFieldAttribute fieldAttribute, Afs2ArchiveAttribute archiveAttribute) { - _FieldInfo = fieldInfo; - _FieldAttribute = fieldAttribute; - _ArchiveAttribute = archiveAttribute; - } - - public FieldInfo FieldInfo { get { return _FieldInfo; } } - private FieldInfo _FieldInfo; - - public UtfFieldAttribute FieldAttribute { get { return _FieldAttribute; } } - private UtfFieldAttribute _FieldAttribute; - - public Afs2ArchiveAttribute ArchiveAttribute { get { return _ArchiveAttribute; } } - private Afs2ArchiveAttribute _ArchiveAttribute; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs.meta deleted file mode 100644 index b4bd429..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/MemberAbstract.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b0e0c0fd76bfca34c988deb86eca234e -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs deleted file mode 100644 index 7d91c9d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.IO; -using System.Reflection; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal static class SerializationHelper { - - public static uint RoundUpAsTable(uint value, uint alignment) { - // This action seems weird. But it does exist (see Cue table in CGSS song_1001[oneshin]), I don't know why. - value = AcbHelper.RoundUpToAlignment(value, 4); - if (value % alignment == 0) { - value += alignment; - } - return AcbHelper.RoundUpToAlignment(value, alignment); - } - - public static MemberAbstract[] GetSearchTargetFieldsAndProperties(UtfRowBase tableObject) { - var type = tableObject.GetType(); - var objFields = type.GetFields(BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic); - var validDescriptors = new List(); - foreach (var field in objFields) { - var caField = field.GetCustomAttributes(typeof(UtfFieldAttribute), false); - // It is a field that needs serialization. - if (caField.Length == 1) { - var caArchive = field.GetCustomAttributes(typeof(Afs2ArchiveAttribute), false); - var ca1 = caField[0] as UtfFieldAttribute; - var ca2 = caArchive.Length == 1 ? caArchive[0] as Afs2ArchiveAttribute : null; - validDescriptors.Add(new MemberAbstract(field, ca1, ca2)); - } - } - validDescriptors.Sort((d1, d2) => d1.FieldAttribute.Order - d2.FieldAttribute.Order); - return validDescriptors.ToArray(); - } - - public static byte[] GetAfs2ArchiveBytes(ReadOnlyCollection files, uint alignment) { - if (files.Count == 0) { - return new byte[0]; - } - byte[] buffer; - using (var memory = new MemoryStream()) { - WriteAfs2ArchiveToStream(files, memory, alignment); - buffer = new byte[memory.Length]; - Array.Copy(memory.GetBuffer(), buffer, buffer.Length); - } - return buffer; - } - - private static void WriteAfs2ArchiveToStream(ReadOnlyCollection files, Stream stream, uint alignment) { - var fileCount = (uint)files.Count; - if (files.Count >= ushort.MaxValue) { - throw new IndexOutOfRangeException("File count " + fileCount +" exceeds maximum possible value (65535)."); - } - if (files.Count != 1) { - throw new NotSupportedException("Currently DereTore does not support more than one file."); - } - stream.WriteBytes(Afs2Archive.Afs2Signature); - const uint version = 0x00020401; - stream.WriteUInt32LE(version); - stream.WriteUInt32LE(fileCount); - stream.WriteUInt32LE(alignment); - const uint offsetFieldSize = (version >> 8) & 0xff; // version[1], always 4? See Afs2Archive.Initialize(). - - // Prepare the fields. - var afs2HeaderSegmentSize = 0x10 + // General data - 2 * fileCount + // Cue IDs - offsetFieldSize * fileCount + // File offsets - sizeof(uint); // Size of last file (U32) - // Assuming the music file always has ID 0 in Waveform table and Cue table. - var records = new List(); - var currentFileRawOffset = afs2HeaderSegmentSize; - for (ushort i = 0; i < fileCount; ++i) { - var record = new Afs2FileRecord { - // TODO: Use the Cue table. - CueId = i, - FileOffsetRaw = currentFileRawOffset, - FileOffsetAligned = AcbHelper.RoundUpToAlignment(currentFileRawOffset, alignment) - }; - records.Add(record); - currentFileRawOffset = (uint)(record.FileOffsetAligned + files[i].Length); - } - - var lastFileEndOffset = currentFileRawOffset; - for (var i = 0; i < files.Count; ++i) { - stream.WriteUInt16LE(records[i].CueId); - } - for (var i = 0; i < files.Count; ++i) { - stream.WriteUInt32LE((uint)records[i].FileOffsetRaw); - } - // TODO: Dynamically judge it. See Afs2Archive.Initialize(). - stream.WriteUInt32LE(lastFileEndOffset); - for (var i = 0; i < files.Count; ++i) { - stream.SeekAndWriteBytes(files[i], records[i].FileOffsetAligned); - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs.meta deleted file mode 100644 index 05f26a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/SerializationHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 360766700a675444ab45e71a5a500dee -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs deleted file mode 100644 index d28aca0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - [AttributeUsage(AttributeTargets.Field)] - public sealed class UtfFieldAttribute : Attribute { - - public UtfFieldAttribute(int order, ColumnStorage storage = ColumnStorage.PerRow, string fieldName = null) { - _Order = order; - _Storage = storage; - _FieldName = fieldName; - } - - public int Order { get { return _Order; } } - private int _Order; - - public string FieldName { get { return _FieldName; } } - private string _FieldName; - - public ColumnStorage Storage { get { return _Storage; } } - private ColumnStorage _Storage; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs.meta deleted file mode 100644 index 4f1f730..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldAttribute.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1dd355c8369d4654ca82038a9524c907 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs deleted file mode 100644 index 554623a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs +++ /dev/null @@ -1,154 +0,0 @@ -using System; -using System.IO; -using DereTore.Common; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed class UtfFieldImage : IComparable { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - internal UtfFieldImage() { - } - - public ColumnStorage Storage { get; set; } - public ColumnType Type { get; set; } - public string Name { get; set; } - public NumericUnion NumericValue { get; set; } - public byte[] DataValue { get; set; } - public string StringValue { get; set; } - public int Order { get; set; } - /// - /// Table is a subtype of 'data' type. It requires strict byte alignment. - /// - public bool IsTable { get; set; } - - public byte[] StringValueBytesCache { get; set; } - public byte[] NameBytesCache { get; set; } - public uint NameOffset { get; set; } - public uint StringOffset { get; set; } - public uint DataOffset { get; set; } - - public void SetValue(object value) { - ColumnType type; - var union = new NumericUnion(); - if (value is byte) { - type = ColumnType.Byte; - union.U8 = (byte)value; - } else if (value is sbyte) { - type = ColumnType.SByte; - union.S8 = (sbyte)value; - } else if (value is ushort) { - type = ColumnType.UInt16; - union.U16 = (ushort)value; - } else if (value is short) { - type = ColumnType.Int16; - union.S16 = (short)value; - } else if (value is uint) { - type = ColumnType.UInt32; - union.U32 = (uint)value; - } else if (value is int) { - type = ColumnType.Int32; - union.S32 = (int)value; - } else if (value is ulong) { - type = ColumnType.UInt64; - union.U64 = (ulong)value; - } else if (value is long) { - type = ColumnType.Int64; - union.S64 = (long)value; - } else if (value is float) { - type = ColumnType.Single; - union.R32 = (float)value; - } else if (value is double) { - type = ColumnType.Double; - union.R64 = (double)value; - } else if (value is string) { - type = ColumnType.String; - StringValue = (string)value; - } else if (value is byte[]) { - type = ColumnType.Data; - DataValue = (byte[])value; - } else { - throw new ArgumentException("Unsupported argument type.", NameOf(() => value)); - } - Type = type; - switch (type) { - case ColumnType.String: - case ColumnType.Data: - break; - default: - NumericValue = union; - break; - } - } - - public void SetNullValue(ColumnType type) { - switch (type) { - case ColumnType.String: - StringValue = null; - Type = ColumnType.String; - break; - case ColumnType.Data: - DataValue = null; - Type = ColumnType.Data; - break; - default: - throw new ArgumentException("Cannot set null value with type " +type+".", NameOf(() => type)); - } - } - - public void WriteValueTo(Stream stream) { - switch (Type) { - case ColumnType.Byte: - stream.WriteByte(NumericValue.U8); - break; - case ColumnType.SByte: - stream.WriteSByte(NumericValue.S8); - break; - case ColumnType.UInt16: - stream.WriteUInt16BE(NumericValue.U16); - break; - case ColumnType.Int16: - stream.WriteInt16BE(NumericValue.S16); - break; - case ColumnType.UInt32: - stream.WriteUInt32BE(NumericValue.U32); - break; - case ColumnType.Int32: - stream.WriteInt32BE(NumericValue.S32); - break; - case ColumnType.UInt64: - stream.WriteUInt64BE(NumericValue.U64); - break; - case ColumnType.Int64: - stream.WriteInt64BE(NumericValue.S64); - break; - case ColumnType.Single: - stream.WriteSingleBE(NumericValue.R32); - break; - case ColumnType.Double: - stream.WriteDoubleBE(NumericValue.R64); - break; - case ColumnType.String: - stream.WriteUInt32BE(StringOffset); - break; - case ColumnType.Data: - stream.WriteUInt32BE(DataOffset); - stream.WriteUInt32BE((uint)DataValue.Length); - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => Type)); - } - } - - public int CompareTo(UtfFieldImage other) { - return this.Order - other.Order; - } - - public override string ToString() { - return "UtfFieldImage {{" +Name + "}}"; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs.meta deleted file mode 100644 index 7add755..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfFieldImage.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: da3190e7ecc8b194684acb25bf9078ab -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs deleted file mode 100644 index e2dc48a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB.Serialization { - public abstract class UtfRowBase { - - protected UtfRowBase() { - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs.meta deleted file mode 100644 index 54c5f03..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfRowBase.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ec10a330a896aa94b9b79fa2b0ff3223 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs deleted file mode 100644 index 2805ca3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - [AttributeUsage(AttributeTargets.Class)] - public sealed class UtfTableAttribute : Attribute { - - public UtfTableAttribute(string name) { - _Name = name; - } - - public string Name { get { return _Name; } } - private string _Name; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs.meta deleted file mode 100644 index cd46489..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableAttribute.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 627f41c382ad0124cb6bbcf8dd58efb1 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs deleted file mode 100644 index 0aa6195..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using System.IO; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed partial class UtfTableImage { - - public void WriteTo(Stream bufferStream) { - Rows.ForEach(row => { - row.Sort((t1, t2) => { - if (!ReferenceEquals(t1, t2) && t1.Order == t2.Order) { - throw new InvalidOperationException("Each field must have different order."); - } - return t1.Order - t2.Order; - }); - }); - ProcessStringTable(); - ProcessDataFields(); - UtfFieldImage[] orderedDataFieldImages; - var header = GetHeader(out orderedDataFieldImages); - WriteHeaderTo(header, bufferStream); - SetStringFieldRelocations(header); - SetExtraDataFieldRelocations(header, orderedDataFieldImages); - WriteFieldDescriptorsTo(header, bufferStream); - WritePerRowDataTo(header, bufferStream); - WriteStringTableTo(header, bufferStream); - WriteExtraDataTo(header, bufferStream); - } - - private static void WriteHeaderTo(UtfHeader header, Stream bufferStream) { - bufferStream.SeekAndWriteBytes(UtfTable.UtfSignature, 0); - bufferStream.SeekAndWriteUInt32BE(header.TableSize - 8, 4); - bufferStream.SeekAndWriteUInt16BE(1, 8); - bufferStream.SeekAndWriteUInt16BE((ushort)(header.PerRowDataOffset - 8), 10); - bufferStream.SeekAndWriteUInt32BE(header.StringTableOffset - 8, 12); - bufferStream.SeekAndWriteUInt32BE(header.ExtraDataOffset - 8, 16); - bufferStream.SeekAndWriteUInt32BE(header.TableNameOffset, 20); - bufferStream.SeekAndWriteUInt16BE(header.FieldCount, 24); - bufferStream.SeekAndWriteUInt16BE(header.RowSize, 26); - bufferStream.SeekAndWriteUInt32BE(header.RowCount, 28); - } - - private void WriteFieldDescriptorsTo(UtfHeader header, Stream bufferStream) { - bufferStream.Seek(SchemaOffset, SeekOrigin.Begin); - var row = Rows[0]; - foreach (var fieldImage in row) { - bufferStream.WriteByte((byte)((byte)fieldImage.Storage | (byte)fieldImage.Type)); - bufferStream.WriteUInt32BE(fieldImage.NameOffset); - if (fieldImage.Storage == ColumnStorage.Constant || fieldImage.Storage == ColumnStorage.Constant2) { - fieldImage.WriteValueTo(bufferStream); - } - } - } - - private void WritePerRowDataTo(UtfHeader header, Stream bufferStream) { - bufferStream.Seek(header.PerRowDataOffset, SeekOrigin.Begin); - foreach (var row in Rows) { - foreach (var fieldImage in row) { - if (fieldImage.Storage == ColumnStorage.PerRow) { - fieldImage.WriteValueTo(bufferStream); - } - } - } - } - - private void WriteStringTableTo(UtfHeader header, Stream bufferStream) { - bufferStream.Seek(header.StringTableOffset, SeekOrigin.Begin); - bufferStream.WriteBytes(TableNameBytesCache); - var row0 = Rows[0]; - foreach (var fieldImage in row0) { - bufferStream.WriteBytes(fieldImage.NameBytesCache); - } - foreach (var fieldImage in row0) { - if ((fieldImage.Storage == ColumnStorage.Constant || fieldImage.Storage == ColumnStorage.Constant2) && fieldImage.Type == ColumnType.String) { - bufferStream.WriteBytes(fieldImage.StringValueBytesCache); - } - } - foreach (var row in Rows) { - foreach (var fieldImage in row) { - if (fieldImage.Type == ColumnType.String && fieldImage.Storage == ColumnStorage.PerRow) { - bufferStream.WriteBytes(fieldImage.StringValueBytesCache); - } - } - } - } - - private void WriteExtraDataTo(UtfHeader header, Stream bufferStream) { - var baseOffset = header.ExtraDataOffset; - for (var i = 0; i < Rows.Count; ++i) { - var row = Rows[i]; - foreach (var fieldImage in row) { - if (fieldImage.Type == ColumnType.Data) { - var shouldWrite = false; - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - shouldWrite = i == 0; - break; - case ColumnStorage.PerRow: - shouldWrite = true; - break; - default: - break; - } - if (shouldWrite && fieldImage.DataValue.Length > 0) { - bufferStream.SeekAndWriteBytes(fieldImage.DataValue, baseOffset + fieldImage.DataOffset); - } - } - } - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs.meta deleted file mode 100644 index 4cdbd6d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Output.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 01fab10829496e647b2deb517d77c1f6 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs deleted file mode 100644 index 23dfa1d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs +++ /dev/null @@ -1,192 +0,0 @@ -using System; -using System.Text; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed partial class UtfTableImage { - - /// - /// Some fields are not filled. - /// - /// - public UtfHeader GetHeader(out UtfFieldImage[] orderedDataFieldImages) { - // Basic information - if (Rows.Count < 1) { - throw new InvalidOperationException("Rows should not be empty."); - } - var fieldCount = Rows[0].Count; - for (var i = 1; i < Rows.Count; ++i) { - if (Rows[i].Count != fieldCount) { - throw new InvalidOperationException("Number of fields in each row do not match."); - } - } - - var header = new UtfHeader { - TableName = TableName, - RowCount = (uint)Rows.Count, - FieldCount = (ushort)fieldCount, - Unknown1 = 1, - RowSize = GetSingleRowDataSize(), - PerRowDataOffset = GetRowDescriptorSize() + SchemaOffset // "per row" data offset, actually - }; - var perRowDataSize = header.RowCount * header.RowSize; - header.StringTableOffset = header.PerRowDataOffset + perRowDataSize; - header.TableNameOffset = 0; - - var stringTableSize = GetStringTableSize(); - header.ExtraDataOffset = header.StringTableOffset + stringTableSize; - var extraDataSize = GetExtraDataSize(header, out orderedDataFieldImages); - - header.TableSize = header.ExtraDataOffset + extraDataSize; - - return header; - } - - private void ProcessStringTable() { - TableNameBytesCache = Encoding.ASCII.GetBytes(TableName).Append(0); - // Prepare static strings first. - var row = Rows[0]; - foreach (var fieldImage in row) { - fieldImage.NameBytesCache = Encoding.ASCII.GetBytes(fieldImage.Name).Append(0); - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - if (fieldImage.Type == ColumnType.String) { - if (string.IsNullOrEmpty(fieldImage.StringValue)) { - fieldImage.StringValueBytesCache = EmptyAsciiStringBytes; - } else { - fieldImage.StringValueBytesCache = Encoding.ASCII.GetBytes(fieldImage.StringValue).Append(0); - } - } - break; - default: - break; - } - } - var row0 = row; - for (var i = 1; i < Rows.Count; ++i) { - for (var j = 0; j < Rows[i].Count; ++j) { - var fieldImage = Rows[i][j]; - fieldImage.Name = row0[j].Name; - fieldImage.NameBytesCache = row0[j].NameBytesCache; - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - if (fieldImage.Type == ColumnType.String) { - fieldImage.StringValue = row0[j].StringValue; - fieldImage.StringValueBytesCache = row0[j].StringValueBytesCache; - } - break; - default: - break; - } - } - } - // Per-row strings. - foreach (var r in Rows) { - foreach (var fieldImage in r) { - if (fieldImage.Storage == ColumnStorage.PerRow && fieldImage.Type == ColumnType.String) { - if (string.IsNullOrEmpty(fieldImage.StringValue)) { - fieldImage.StringValueBytesCache = EmptyAsciiStringBytes; - } else { - fieldImage.StringValueBytesCache = Encoding.ASCII.GetBytes(fieldImage.StringValue).Append(0); - } - } - } - } - } - - private void ProcessDataFields() { - foreach (var row in Rows) { - foreach (var fieldImage in row) { - if (fieldImage.Type == ColumnType.Data && fieldImage.DataValue == null) { - fieldImage.DataValue = EmptyByteArray; - } - } - } - } - - private void SetStringFieldRelocations(UtfHeader header) { - // String table - var currentStringTableOffset = (uint)TableNameBytesCache.Length; - var row0 = Rows[0]; - var row = row0; - // Field names and static strings - foreach (var fieldImage in row) { - fieldImage.NameOffset = currentStringTableOffset; - currentStringTableOffset += (uint)fieldImage.NameBytesCache.Length; - } - foreach (var fieldImage in row) { - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - if (fieldImage.Type == ColumnType.String) { - fieldImage.StringOffset = currentStringTableOffset; - currentStringTableOffset += (uint)fieldImage.StringValueBytesCache.Length; - } - break; - default: - break; - } - } - for (var i = 1; i < Rows.Count; ++i) { - for (var j = 0; j < Rows[i].Count; ++j) { - var fieldImage = Rows[i][j]; - fieldImage.NameOffset = row0[j].NameOffset; - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - if (fieldImage.Type == ColumnType.String) { - fieldImage.StringOffset = row0[j].StringOffset; - } - break; - default: - break; - } - } - } - // Per-row strings - foreach (var r in Rows) { - foreach (var fieldImage in r) { - if (fieldImage.Storage == ColumnStorage.PerRow && fieldImage.Type == ColumnType.String) { - fieldImage.StringOffset = currentStringTableOffset; - currentStringTableOffset += (uint)fieldImage.StringValueBytesCache.Length; - } - } - } - } - - private void SetExtraDataFieldRelocations(UtfHeader header, UtfFieldImage[] orderedFieldImages) { - // This value is already calibrated in GetExtraDataSize(). It will move to a mod16 position if the first item is a table. - var baseOffset = header.ExtraDataOffset; - var currentOffset = baseOffset; - - foreach (var fieldImage in orderedFieldImages) { - if (fieldImage.DataValue.Length > 0) { - // For priority, see AddToNewOrderedDataFieldList(). - if (fieldImage.IsTable) { - currentOffset = SerializationHelper.RoundUpAsTable(currentOffset, Alignment); - } - fieldImage.DataOffset = currentOffset - baseOffset; - currentOffset += (uint)fieldImage.DataValue.Length; - } else { - fieldImage.DataOffset = 0; - } - } - var row0 = Rows[0]; - for (var i = 1; i < Rows.Count; ++i) { - for (var j = 0; j < Rows[i].Count; ++j) { - var fieldImage = Rows[i][j]; - if (fieldImage.Type == ColumnType.Data && (fieldImage.Storage == ColumnStorage.Constant || fieldImage.Storage == ColumnStorage.Constant2)) { - fieldImage.DataOffset = row0[j].DataOffset; - } - } - } - } - - private static readonly byte[] EmptyByteArray = new byte[0]; - private static readonly byte[] EmptyAsciiStringBytes = new byte[1]; - private static readonly ushort SchemaOffset = 0x20; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs.meta deleted file mode 100644 index 5d838e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.Preprocessor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 178a8f31c12b2ac4ab1314cbc26dfe18 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs deleted file mode 100644 index 6637a3d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs +++ /dev/null @@ -1,210 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed partial class UtfTableImage { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - private uint GetRowDescriptorSize() { - uint totalSize = 0; - foreach (var row in Rows) { - foreach (var fieldImage in row) { - // Storage descriptor (1 byte) + field name offset (4 bytes) - totalSize += 5; - var storage = fieldImage.Storage; - switch (storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - var type = fieldImage.Type; - switch (type) { - case ColumnType.Byte: - case ColumnType.SByte: - totalSize += 1; - break; - case ColumnType.UInt16: - case ColumnType.Int16: - totalSize += 2; - break; - case ColumnType.UInt32: - case ColumnType.Int32: - totalSize += 4; - break; - case ColumnType.UInt64: - case ColumnType.Int64: - totalSize += 8; - break; - case ColumnType.Single: - totalSize += 4; - break; - case ColumnType.Double: - totalSize += 8; - break; - case ColumnType.String: - totalSize += 4; - break; - case ColumnType.Data: - totalSize += 4 + 4; - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => type)); - } - break; - case ColumnStorage.PerRow: - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => storage)); - } - } - } - return totalSize; - } - - /// - /// Total size of "per row" data is [single row data size] x [row count]. - /// - /// - private ushort GetSingleRowDataSize() { - ushort totalSize = 0; - var row = Rows[0]; - foreach (var fieldImage in row) { - var storage = fieldImage.Storage; - switch (storage) { - case ColumnStorage.PerRow: - var type = fieldImage.Type; - switch (type) { - case ColumnType.Byte: - case ColumnType.SByte: - totalSize += 1; - break; - case ColumnType.UInt16: - case ColumnType.Int16: - totalSize += 2; - break; - case ColumnType.UInt32: - case ColumnType.Int32: - totalSize += 4; - break; - case ColumnType.UInt64: - case ColumnType.Int64: - totalSize += 8; - break; - case ColumnType.Single: - totalSize += 4; - break; - case ColumnType.Double: - totalSize += 8; - break; - case ColumnType.String: - totalSize += 4; - break; - case ColumnType.Data: - totalSize += 4 + 4; - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => type)); - } - break; - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => storage)); - } - } - return totalSize; - } - - private uint GetStringTableSize() { - uint totalSize = 0; - totalSize += (uint)TableNameBytesCache.Length; - totalSize += Rows[0].Aggregate(0, (current, fieldImage) => current + (uint)fieldImage.NameBytesCache.Length); - for (var i = 0; i < Rows.Count; ++i) { - var row = Rows[i]; - foreach (var fieldImage in row) { - switch (fieldImage.Type) { - case ColumnType.String: - switch (fieldImage.Storage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - if (i == 0) { - totalSize += (uint)fieldImage.StringValueBytesCache.Length; - } - break; - case ColumnStorage.PerRow: - totalSize += (uint)fieldImage.StringValueBytesCache.Length; - break; - default: - break; - } - break; - default: - break; - } - } - } - return totalSize; - } - - private uint GetExtraDataSize(UtfHeader header, out UtfFieldImage[] orderedDataFieldImages) { - var baseOffset = header.ExtraDataOffset; - uint totalSize = 0; - - var fieldImagesInNewOrder = new List(); - var row0 = Rows[0]; - var firstTableDataFieldIndex = -1; - foreach (var fieldImage in row0) { - if (fieldImage.Type == ColumnType.Data && (fieldImage.Storage == ColumnStorage.Constant || fieldImage.Storage == ColumnStorage.Constant2)) { - AddToNewOrdererdDataFieldList(fieldImagesInNewOrder, fieldImage, ref firstTableDataFieldIndex); - } - } - foreach (var row in Rows) { - foreach (var fieldImage in row) { - if (fieldImage.Type == ColumnType.Data && fieldImage.Storage == ColumnStorage.PerRow) { - AddToNewOrdererdDataFieldList(fieldImagesInNewOrder, fieldImage, ref firstTableDataFieldIndex); - } - } - } - - // If the first field is a table, rebase the whole data field. - if (firstTableDataFieldIndex == 0) { - baseOffset = SerializationHelper.RoundUpAsTable(baseOffset, Alignment); - header.ExtraDataOffset = baseOffset; - } - orderedDataFieldImages = fieldImagesInNewOrder.ToArray(); - - foreach (var fieldImage in orderedDataFieldImages) { - var rawOffset = baseOffset; - if (fieldImage.IsTable && fieldImage.DataValue.Length > 0) { - baseOffset = SerializationHelper.RoundUpAsTable(baseOffset, Alignment); - } - baseOffset += (uint)fieldImage.DataValue.Length; - totalSize += (baseOffset - rawOffset); - } - return totalSize; - } - - private static void AddToNewOrdererdDataFieldList(List fieldImagesInNewOrder, UtfFieldImage fieldImage, ref int firstTableDataFieldIndex) { - // Tables are always the last fields to store. - // Priority: [static misc data] > [dynamic static data] > [static table] > [dynamic table] - if (fieldImage.IsTable) { - fieldImagesInNewOrder.Add(fieldImage); - if (firstTableDataFieldIndex < 0) { - firstTableDataFieldIndex = fieldImagesInNewOrder.Count - 1; - } - } else { - if (firstTableDataFieldIndex < 0) { - fieldImagesInNewOrder.Add(fieldImage); - } else { - fieldImagesInNewOrder.Insert(firstTableDataFieldIndex, fieldImage); - ++firstTableDataFieldIndex; - } - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs.meta deleted file mode 100644 index ccbc6af..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.SizeCalculation.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f2b7901b42420df4eb7d93ae5f34b1f1 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs deleted file mode 100644 index 856110b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections.Generic; - -namespace DereTore.Exchange.Archive.ACB.Serialization { - internal sealed partial class UtfTableImage { - - internal UtfTableImage(string name, uint alignment) { - _Rows = new List>(); - _TableName = name; - _Alignment = alignment; - } - - public string TableName { get { return _TableName; } } - private string _TableName; - - public List> Rows { get { return _Rows; } } - private List> _Rows; - - public uint Alignment { get { return _Alignment; } } - private uint _Alignment; - - private byte[] TableNameBytesCache { get; set; } - - public override string ToString() { - return "UtfTableImage {{" +TableName+"}}"; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs.meta deleted file mode 100644 index e714e87..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/Serialization/UtfTableImage.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f0b7e5aeadac03340b141cfbbf2bda5a -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs deleted file mode 100644 index d674408..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Archive.ACB { - public sealed class UtfField { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - internal UtfField() { - } - - public byte Type { get; set; } - public string Name { get; set; } - public ColumnType ConstrainedType { get; set; } - public NumericUnion NumericValue { get; set; } - public byte[] DataValue { get; set; } - public string StringValue { get; set; } - public long Offset { get; set; } - public long Size { get; set; } - - public void SetValue(object value) { - ColumnType type; - var union = new NumericUnion(); - if (value is byte) { - type = ColumnType.Byte; - union.U8 = (byte)value; - } else if (value is sbyte) { - type = ColumnType.SByte; - union.S8 = (sbyte)value; - } else if (value is ushort) { - type = ColumnType.UInt16; - union.U16 = (ushort)value; - } else if (value is short) { - type = ColumnType.Int16; - union.S16 = (short)value; - } else if (value is uint) { - type = ColumnType.UInt32; - union.U32 = (uint)value; - } else if (value is int) { - type = ColumnType.Int32; - union.S32 = (int)value; - } else if (value is ulong) { - type = ColumnType.UInt64; - union.U64 = (ulong)value; - } else if (value is long) { - type = ColumnType.Int64; - union.S64 = (long)value; - } else if (value is string) { - type = ColumnType.String; - StringValue = (string)value; - } else if (value is byte[]) { - type = ColumnType.Data; - DataValue = (byte[])value; - } else { - throw new ArgumentException("Unsupported argument type.", NameOf(() => value)); - } - ConstrainedType = type; - Type = (byte)type; - switch (type) { - case ColumnType.String: - case ColumnType.Data: - break; - default: - NumericValue = union; - break; - } - } - - public object GetValue() { - var constrainedType = ConstrainedType; - object ret; - switch (constrainedType) { - case ColumnType.Byte: - ret = NumericValue.U8; - break; - case ColumnType.SByte: - ret = NumericValue.S8; - break; - case ColumnType.UInt16: - ret = NumericValue.U16; - break; - case ColumnType.Int16: - ret = NumericValue.S16; - break; - case ColumnType.UInt32: - ret = NumericValue.U32; - break; - case ColumnType.Int32: - ret = NumericValue.S32; - break; - case ColumnType.UInt64: - ret = NumericValue.U64; - break; - case ColumnType.Int64: - ret = NumericValue.S64; - break; - case ColumnType.Single: - ret = NumericValue.R32; - break; - case ColumnType.Double: - ret = NumericValue.R64; - break; - case ColumnType.String: - ret = StringValue; - break; - case ColumnType.Data: - ret = DataValue; - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => constrainedType)); - } - return ret; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs.meta deleted file mode 100644 index 009b7d2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfField.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 655b2e2c4ebb5764bbaa16f5d3f88c64 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs deleted file mode 100644 index f1f721c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - public sealed class UtfHeader { - - internal UtfHeader() { - } - - public uint TableSize { get; set; } - public ushort Unknown1 { get; set; } - public uint PerRowDataOffset { get; set; } - public uint StringTableOffset { get; set; } - public uint ExtraDataOffset { get; set; } - public uint TableNameOffset { get; set; } - public string TableName { get; set; } - public ushort FieldCount { get; set; } - public ushort RowSize { get; set; } - public uint RowCount { get; set; } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs.meta deleted file mode 100644 index 5a27831..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e3a4f64ddf2dc474898f08c952f44164 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs deleted file mode 100644 index c37787f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs +++ /dev/null @@ -1,182 +0,0 @@ -using System; -using System.IO; -using System.Text; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB { - internal sealed class UtfReader { - - public UtfReader() { - _isEncrypted = false; - } - - public UtfReader(byte seed, byte increment) { - _seed = seed; - _increment = increment; - _isEncrypted = true; - } - - public bool IsEncrypted { get { return _isEncrypted; } } - - /// - /// - /// - /// - /// Offset of the UTF table, starting from the beginning of ACB file. - /// Requested data size. - /// Offset of the bytes to read, starting from the beginning of the UTF table. - /// - public byte[] PeekBytes(Stream stream, long baseOffset, int size, long utfOffset) { - var data = stream.PeekBytes(baseOffset + utfOffset, size); - if (!IsEncrypted) { - return data; - } - if (utfOffset < _currentUtfOffset) { - _currentUtfOffset = 0; - } - if (_currentUtfOffset == 0) { - _currentXor = _seed; - } - for (var j = _currentUtfOffset; j < utfOffset; j++) { - if (j > 0) { - _currentXor *= _increment; - } - _currentUtfOffset++; - } - for (long i = 0; i < size; i++) { - if ((_currentUtfOffset != 0) || (i > 0)) { - _currentXor *= _increment; - } - - data[i] ^= _currentXor; - _currentUtfOffset++; - } - return data; - } - - public byte PeekByte(Stream stream, long baseOffset, long utfOffset) { - var data = stream.PeekByte(baseOffset + utfOffset); - if (!IsEncrypted) { - return data; - } - if (utfOffset < _currentUtfOffset) { - _currentUtfOffset = 0; - } - if (_currentUtfOffset == 0) { - _currentXor = _seed; - } - for (var j = _currentUtfOffset; j < utfOffset; j++) { - if (j > 0) { - _currentXor *= _increment; - } - _currentUtfOffset++; - } - if (_currentUtfOffset != 0) { - _currentXor *= _increment; - } - data ^= _currentXor; - _currentUtfOffset++; - return data; - } - - public sbyte PeekSByte(Stream stream, long baseOffset, long utfOffset) { - unchecked { - return (sbyte)PeekByte(stream, baseOffset, utfOffset); - } - } - - public ushort PeekUInt16(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 2, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToUInt16(temp, 0); - } - - public short PeekInt16(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 2, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToInt16(temp, 0); - } - - public uint PeekUInt32(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 4, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToUInt32(temp, 0); - } - - public int PeekInt32(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 4, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToInt32(temp, 0); - } - - public ulong PeekUInt64(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 8, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToUInt64(temp, 0); - } - - public float PeekSingle(Stream stream, long baseOffset, long utfOffset) { - var temp = PeekBytes(stream, baseOffset, 4, utfOffset); - if (BitConverter.IsLittleEndian) { - Array.Reverse(temp); - } - return BitConverter.ToSingle(temp, 0); - } - - public string ReadZeroEndedStringAsAscii(Stream stream, long baseOffset, long utfOffset) { - if (!IsEncrypted) { - return stream.PeekZeroEndedStringAsAscii(baseOffset + utfOffset); - } - - stream.Position = baseOffset + utfOffset; - if (utfOffset < _currentUtfStringOffset) { - _currentUtfStringOffset = 0; - } - - if (_currentUtfStringOffset == 0) { - _currentStringXor = _seed; - } - for (var j = _currentUtfStringOffset; j < utfOffset; j++) { - if (j > 0) { - _currentStringXor *= _increment; - } - _currentUtfStringOffset++; - } - - var asciiVal = new StringBuilder(); - var remained = stream.Length - stream.Position - (baseOffset + utfOffset); - for (var i = 0; i < remained; i++) { - _currentStringXor *= _increment; - _currentUtfStringOffset++; - var encryptedByte = (byte)stream.ReadByte(); - var decryptedByte = (byte)(encryptedByte ^ _currentStringXor); - if (decryptedByte == 0) { - break; - } else { - asciiVal.Append((char)decryptedByte); - } - } - return asciiVal.ToString(); - } - - private readonly bool _isEncrypted; - private readonly byte _increment; - private readonly byte _seed; - - private byte _currentXor; - private long _currentUtfOffset; - private byte _currentStringXor; - private long _currentUtfStringOffset; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs.meta deleted file mode 100644 index bf96f0d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfReader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 991ae559b3d1cd44fa41249bbd3fd446 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs deleted file mode 100644 index 05fff5e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs +++ /dev/null @@ -1,372 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB { - public partial class UtfTable { - - internal UtfTable(Stream stream, long offset, long size, string acbFileName, bool disposeStream) { - _acbFileName = acbFileName; - _stream = stream; - _offset = offset; - _size = size; - _disposeStream = disposeStream; - } - - internal virtual void Initialize() { - var stream = _stream; - var offset = _offset; - - var magic = stream.PeekBytes(offset, 4); - magic = CheckEncryption(magic); - if (!AcbHelper.AreDataIdentical(magic, UtfSignature)) { - throw new FormatException(string.Format("'@UTF' signature (or its encrypted equivalent) is not found in '{0}' at offset 0x{1:x8}.",_acbFileName,offset)); - } - using (var tableDataStream = GetTableDataStream()) { - var header = GetUtfHeader(tableDataStream); - _utfHeader = header; - _rows = new Dictionary[header.RowCount]; - if (header.TableSize > 0) { - InitializeUtfSchema(stream, tableDataStream, 0x20); - } - } - } - - protected override void Dispose(bool disposing) { - if (_disposeStream) { - try { - _stream.Dispose(); - } catch (ObjectDisposedException) { - } - } - } - - private static bool GetKeysForEncryptedUtfTable(byte[] encryptedUtfSignature, out byte seed, out byte increment) { - for (var s = 0; s <= byte.MaxValue; s++) { - if ((encryptedUtfSignature[0] ^ s) != UtfSignature[0]) { - continue; - } - for (var i = 0; i <= byte.MaxValue; i++) { - var m = (byte)(s * i); - if ((encryptedUtfSignature[1] ^ m) != UtfSignature[1]) { - continue; - } - var t = (byte)i; - for (var j = 2; j < UtfSignature.Length; j++) { - m *= t; - if ((encryptedUtfSignature[j] ^ m) != UtfSignature[j]) { - break; - } - if (j < UtfSignature.Length - 1) { - continue; - } - seed = (byte)s; - increment = (byte)i; - return true; - } - } - } - seed = 0; - increment = 0; - return false; - } - - private byte[] CheckEncryption(byte[] magicBytes) { - if (AcbHelper.AreDataIdentical(magicBytes, UtfSignature)) { - _isEncrypted = false; - _utfReader = new UtfReader(); - return magicBytes; - } else { - _isEncrypted = true; - byte seed, increment; - var keysFound = GetKeysForEncryptedUtfTable(magicBytes, out seed, out increment); - if (!keysFound) { - throw new FormatException(string.Format("Unable to decrypt UTF table at offset 0x{0:x8}",_offset)); - } else { - _utfReader = new UtfReader(seed, increment); - } - return UtfSignature; - } - } - - private Stream GetTableDataStream() { - var stream = _stream; - var offset = _offset; - var tableSize = (int)_utfReader.PeekUInt32(stream, offset, 4) + 8; - if (!IsEncrypted) { - return AcbHelper.ExtractToNewStream(stream, offset, tableSize); - } - // Another reading process. Unlike the one with direct reading, this may encounter UTF table decryption. - var originalPosition = stream.Position; - var totalBytesRead = 0; - var memory = new byte[tableSize]; - var currentIndex = 0; - var currentOffset = offset; - do { - var shouldRead = tableSize - totalBytesRead; - var buffer = _utfReader.PeekBytes(stream, currentOffset, shouldRead, totalBytesRead); - Array.Copy(buffer, 0, memory, currentIndex, buffer.Length); - currentOffset += buffer.Length; - currentIndex += buffer.Length; - totalBytesRead += buffer.Length; - } while (totalBytesRead < tableSize); - stream.Position = originalPosition; - var memoryStream = new MemoryStream(memory, false) { - Capacity = tableSize - }; - memoryStream.Seek(0, SeekOrigin.Begin); - return memoryStream; - } - - private static UtfHeader GetUtfHeader(Stream stream) { - return GetUtfHeader(stream, stream.Position); - } - - private static UtfHeader GetUtfHeader(Stream stream, long offset) { - if (offset != stream.Position) { - stream.Seek(offset, SeekOrigin.Begin); - } - var header = new UtfHeader { - TableSize = stream.PeekUInt32BE(offset + 4), - Unknown1 = stream.PeekUInt16BE(offset + 8), - PerRowDataOffset = (uint)stream.PeekUInt16BE(offset + 10) + 8, - StringTableOffset = stream.PeekUInt32BE(offset + 12) + 8, - ExtraDataOffset = stream.PeekUInt32BE(offset + 16) + 8, - TableNameOffset = stream.PeekUInt32BE(offset + 20), - FieldCount = stream.PeekUInt16BE(offset + 24), - RowSize = stream.PeekUInt16BE(offset + 26), - RowCount = stream.PeekUInt32BE(offset + 28) - }; - header.TableName = stream.PeekZeroEndedStringAsAscii(header.StringTableOffset + header.TableNameOffset); - return header; - } - - private void InitializeUtfSchema(Stream sourceStream, Stream tableDataStream, long schemaOffset) { - var header = _utfHeader; - var rows = _rows; - var baseOffset = _offset; - for (uint i = 0; i < header.RowCount; i++) { - var currentOffset = schemaOffset; - var row = new Dictionary(); - rows[i] = row; - long currentRowOffset = 0; - long currentRowBase = header.PerRowDataOffset + header.RowSize * i; - - for (var j = 0; j < header.FieldCount; j++) { - var field = new UtfField { - Type = tableDataStream.PeekByte(currentOffset) - }; - - long nameOffset = tableDataStream.PeekInt32BE(currentOffset + 1); - field.Name = tableDataStream.PeekZeroEndedStringAsAscii(header.StringTableOffset + nameOffset); - - var union = new NumericUnion(); - var constrainedStorage = (ColumnStorage)(field.Type & (byte)ColumnStorage.Mask); - var constrainedType = (ColumnType)(field.Type & (byte)ColumnType.Mask); - switch (constrainedStorage) { - case ColumnStorage.Constant: - case ColumnStorage.Constant2: - var constantOffset = currentOffset + 5; - long dataOffset; - switch (constrainedType) { - case ColumnType.String: - dataOffset = tableDataStream.PeekInt32BE(constantOffset); - field.StringValue = tableDataStream.PeekZeroEndedStringAsAscii(header.StringTableOffset + dataOffset); - currentOffset += 4; - break; - case ColumnType.Int64: - union.S64 = tableDataStream.PeekInt64BE(constantOffset); - currentOffset += 8; - break; - case ColumnType.UInt64: - union.U64 = tableDataStream.PeekUInt64BE(constantOffset); - currentOffset += 8; - break; - case ColumnType.Data: - dataOffset = tableDataStream.PeekUInt32BE(constantOffset); - long dataSize = tableDataStream.PeekUInt32BE(constantOffset + 4); - field.Offset = baseOffset + header.ExtraDataOffset + dataOffset; - field.Size = dataSize; - // don't think this is encrypted, need to check - field.DataValue = sourceStream.PeekBytes(field.Offset, (int)dataSize); - currentOffset += 8; - break; - case ColumnType.Double: - union.R64 = tableDataStream.PeekDoubleBE(constantOffset); - currentOffset += 8; - break; - case ColumnType.Single: - union.R32 = tableDataStream.PeekSingleBE(constantOffset); - currentOffset += 4; - break; - case ColumnType.Int32: - union.S32 = tableDataStream.PeekInt32BE(constantOffset); - currentOffset += 4; - break; - case ColumnType.UInt32: - union.U32 = tableDataStream.PeekUInt32BE(constantOffset); - currentOffset += 4; - break; - case ColumnType.Int16: - union.S16 = tableDataStream.PeekInt16BE(constantOffset); - currentOffset += 2; - break; - case ColumnType.UInt16: - union.U16 = tableDataStream.PeekUInt16BE(constantOffset); - currentOffset += 2; - break; - case ColumnType.SByte: - union.S8 = tableDataStream.PeekSByte(constantOffset); - currentOffset += 1; - break; - case ColumnType.Byte: - union.U8 = tableDataStream.PeekByte(constantOffset); - currentOffset += 1; - break; - default: - throw new FormatException(string.Format("Unknown column type at offset: 0x{0:x8}",currentOffset)); - } - break; - case ColumnStorage.PerRow: - // read the constant depending on the type - long rowDataOffset; - switch (constrainedType) { - case ColumnType.String: - rowDataOffset = tableDataStream.PeekUInt32BE(currentRowBase + currentRowOffset); - field.StringValue = tableDataStream.PeekZeroEndedStringAsAscii(header.StringTableOffset + rowDataOffset); - currentRowOffset += 4; - break; - case ColumnType.Int64: - union.S64 = tableDataStream.PeekInt64BE(currentRowBase + currentRowOffset); - currentRowOffset += 8; - break; - case ColumnType.UInt64: - union.U64 = tableDataStream.PeekUInt64BE(currentRowBase + currentRowOffset); - currentRowOffset += 8; - break; - case ColumnType.Data: - rowDataOffset = tableDataStream.PeekUInt32BE(currentRowBase + currentRowOffset); - long rowDataSize = tableDataStream.PeekUInt32BE(currentRowBase + currentRowOffset + 4); - field.Offset = baseOffset + header.ExtraDataOffset + rowDataOffset; - field.Size = rowDataSize; - // don't think this is encrypted - field.DataValue = sourceStream.PeekBytes(field.Offset, (int)rowDataSize); - currentRowOffset += 8; - break; - case ColumnType.Double: - union.R64 = tableDataStream.PeekDoubleBE(currentRowBase + currentRowOffset); - currentRowOffset += 8; - break; - case ColumnType.Single: - union.R32 = tableDataStream.PeekSingleBE(currentRowBase + currentRowOffset); - currentRowOffset += 4; - break; - case ColumnType.Int32: - union.S32 = tableDataStream.PeekInt32BE(currentRowBase + currentRowOffset); - currentRowOffset += 4; - break; - case ColumnType.UInt32: - union.U32 = tableDataStream.PeekUInt32BE(currentRowBase + currentRowOffset); - currentRowOffset += 4; - break; - case ColumnType.Int16: - union.S16 = tableDataStream.PeekInt16BE(currentRowBase + currentRowOffset); - currentRowOffset += 2; - break; - case ColumnType.UInt16: - union.U16 = tableDataStream.PeekUInt16BE(currentRowBase + currentRowOffset); - currentRowOffset += 2; - break; - case ColumnType.SByte: - union.S8 = tableDataStream.PeekSByte(currentRowBase + currentRowOffset); - currentRowOffset += 1; - break; - case ColumnType.Byte: - union.U8 = tableDataStream.PeekByte(currentRowBase + currentRowOffset); - currentRowOffset += 1; - break; - default: - throw new FormatException(string.Format("Unknown column type at offset: 0x{0:x8}",currentOffset)); - } - field.ConstrainedType = (ColumnType)field.Type; - break; - default: - throw new FormatException(string.Format("Unknown column storage at offset: 0x{0:x8}",currentOffset)); - } - // Union polyfill - field.ConstrainedType = constrainedType; - switch (constrainedType) { - case ColumnType.String: - case ColumnType.Data: - break; - default: - field.NumericValue = union; - break; - } - row.Add(field.Name, field); - currentOffset += 5; // sizeof(CriField.Type + CriField.NameOffset) - } - } - } - - private object GetFieldValue(int rowIndex, string fieldName) { - var rows = Rows; - if (rowIndex >= rows.Length) { - return null; - } - var row = rows[rowIndex]; - return row.ContainsKey(fieldName) ? row[fieldName].GetValue() : null; - } - - internal T? GetFieldValueAsNumber(int rowIndex, string fieldName) where T : struct { - return (T?)GetFieldValue(rowIndex, fieldName); - } - - internal string GetFieldValueAsString(int rowIndex, string fieldName) { - return (string)GetFieldValue(rowIndex, fieldName); - } - - internal byte[] GetFieldValueAsData(int rowIndex, string fieldName) { - return (byte[])GetFieldValue(rowIndex, fieldName); - } - - internal long? GetFieldOffset(int rowIndex, string fieldName) { - var rows = Rows; - if (rowIndex >= rows.Length) { - return null; - } - var row = rows[rowIndex]; - if (row.ContainsKey(fieldName)) { - return row[fieldName].Offset; - } - return null; - } - - internal long? GetFieldSize(int rowIndex, string fieldName) { - var rows = Rows; - if (rowIndex >= rows.Length) { - return null; - } - var row = rows[rowIndex]; - if (row.ContainsKey(fieldName)) { - return row[fieldName].Size; - } - return null; - } - - internal static readonly byte[] UtfSignature = { 0x40, 0x55, 0x54, 0x46 }; // '@UTF' - - private readonly string _acbFileName; - private readonly Stream _stream; - private readonly long _offset; - private readonly long _size; - private readonly bool _disposeStream; - - private UtfReader _utfReader; - private bool _isEncrypted; - private UtfHeader _utfHeader; - private Dictionary[] _rows; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs.meta deleted file mode 100644 index c376ebd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.Internal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 026cd89ef1e6dc0459e9710f4de76eb0 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs deleted file mode 100644 index cf7a79e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Collections.Generic; -using System.IO; -using DereTore.Common; - -namespace DereTore.Exchange.Archive.ACB { - public partial class UtfTable : DisposableBase { - - public Stream Stream { get { return _stream; } } - - public string AcbFileName { get { return _acbFileName; } } - - public long Offset { get { return _offset; } } - - public long Size { get { return _size; } } - - public bool IsEncrypted { get { return _isEncrypted; } } - - public UtfHeader Header { get { return _utfHeader; } } - - public Dictionary[] Rows { get { return _rows; } } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs.meta deleted file mode 100644 index e08c912..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/UtfTable.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f0b5145b64163484e9eb044c13ba2501 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs deleted file mode 100644 index d0ac1b2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace DereTore.Exchange.Archive.ACB { - internal enum WaveformEncodeType : byte { - - Adx = 0, - Hca = 2, - Vag = 7, - Atrac3 = 8, - BcWav = 9, - NintendoDsp = 13 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs.meta deleted file mode 100644 index 4efeaf5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/acbArchive/WaveformEncodeType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 288b3ea33829f824798f005a030f974b -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common.meta deleted file mode 100644 index ccfb602..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: b3a6d513df0fa794faa2de4b34366ad8 -folderAsset: yes -timeCreated: 1531897074 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs deleted file mode 100644 index 2d015f6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace DereTore.Common { - public static class ArrayExtensions { - - public static void ZeroMem(this int[] array) { - if (array == null) { - return; - } - for (var i = 0; i < array.Length; ++i) { - array[i] = 0; - } - } - - public static void ZeroMem(this uint[] array) { - if (array == null) { - return; - } - for (var i = 0; i < array.Length; ++i) { - array[i] = 0; - } - } - - public static void ZeroMem(this byte[] array) { - if (array == null) { - return; - } - for (var i = 0; i < array.Length; ++i) { - array[i] = 0; - } - } - - public static void ZeroMem(this float[] array) { - if (array == null) { - return; - } - for (var i = 0; i < array.Length; ++i) { - array[i] = 0f; - } - } - - public static int Write(this byte[] array, uint value, int index) { - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - var bytes = BitConverter.GetBytes(value); - for (var i = 0; i < 4; ++i) { - array[index + i] = bytes[i]; - } - return 4; - } - - public static int Write(this byte[] array, T value, int index) where T : struct { - var size = Marshal.SizeOf(typeof(T)); - var bytes = new byte[size]; - var ptr = Marshal.AllocHGlobal(size); - Marshal.StructureToPtr(value, ptr, true); - Marshal.Copy(ptr, bytes, 0, size); - Marshal.FreeHGlobal(ptr); - Array.Copy(bytes, 0, array, index, size); - return size; - } - - public static int Write(this byte[] array, byte[] value, int index) { - var length = value.Length; - Array.Copy(value, 0, array, index, length); - return length; - } - - public static byte[] Append(this byte[] data, byte[] toAppend) { - var buffer = new byte[data.Length + toAppend.Length]; - data.CopyTo(buffer, 0); - toAppend.CopyTo(buffer, data.Length); - return buffer; - } - - public static byte[] Append(this byte[] data, byte toAppend) { - var buffer = new byte[data.Length + 1]; - data.CopyTo(buffer, 0); - buffer[buffer.Length - 1] = toAppend; - return buffer; - } - - public static int IndexOf(this T[] array, T item) { - for (var i = 0; i < array.Length; ++i) { - if (EqualityComparer.Default.Equals(array[i], item)) { - return i; - } - } - return -1; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs.meta deleted file mode 100644 index f5ba7df..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/ArrayExtensions.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1cfdaab710a2ee046b5af4a155189dde -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs deleted file mode 100644 index 9eba833..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; - -namespace DereTore.Common { - public static class DereToreHelper { - - public static ushort SwapEndian(ushort v) { - var r = (ushort)(v & 0xff); - r <<= 8; - v >>= 8; - r |= (ushort)(v & 0xff); - return r; - } - - public static short SwapEndian(short v) { - unchecked { - var s = (ushort)v; - return (short)SwapEndian(s); - } - } - - public static uint SwapEndian(uint v) { - var r = v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - return r; - } - - public static int SwapEndian(int v) { - unchecked { - var s = (uint)v; - return (int)SwapEndian(s); - } - } - - public static ulong SwapEndian(ulong v) { - var r = v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - r <<= 8; - v >>= 8; - r |= v & 0xff; - return r; - } - - public static long SwapEndian(long v) { - unchecked { - var s = (ulong)v; - return (long)SwapEndian(s); - } - } - - public static float SwapEndian(float v) { - var bytes = BitConverter.GetBytes(v); - var b = bytes[0]; - bytes[0] = bytes[1]; - bytes[1] = b; - b = bytes[2]; - bytes[2] = bytes[3]; - bytes[3] = b; - return BitConverter.ToSingle(bytes, 0); - } - - public static double SwapEndian(double v) { - var bytes = BitConverter.GetBytes(v); - Array.Reverse(bytes); - return BitConverter.ToDouble(bytes, 0); - } - - public static void Swap(ref T t1, ref T t2) { - var t = t1; - t1 = t2; - t2 = t; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs.meta deleted file mode 100644 index 4b527cd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DereToreHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 47686260da6f9ee49b544500cbbe9f39 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs deleted file mode 100644 index eefd011..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -namespace DereTore.Common { - public abstract class DisposableBase : IDisposable { - - protected DisposableBase() { - _isDisposed = false; - } - - public void Dispose() { - if (_isDisposed) { - return; - } - Dispose(true); - _isDisposed = true; - } - - public bool IsDisposed { get { return _isDisposed; } } - - protected abstract void Dispose(bool disposing); - - private bool _isDisposed; - - ~DisposableBase() { - if (_isDisposed) { - return; - } - Dispose(false); - _isDisposed = true; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs.meta deleted file mode 100644 index 2a8c6e5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/DisposableBase.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dab724b4f02f71747b62e2fbf8502fd9 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs deleted file mode 100644 index 82e8f34..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace DereTore.Common { - public enum Endian { - - BigEndian, - LittleEndian - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs.meta deleted file mode 100644 index cef5d30..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/Endian.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 17d9c97d6a3f7aa4ca6dc74325e6245f -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs deleted file mode 100644 index 1c7e107..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System; -using System.IO; -using System.Linq.Expressions; - -namespace DereTore.Common { - public class EndianBinaryReader : BinaryReader { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public EndianBinaryReader(Stream stream, Endian endian) - : base(stream) { - Endian = endian; - } - - public Endian Endian { get; set; } - - public void Seek(long position, SeekOrigin origin) { - switch (origin) { - case SeekOrigin.Begin: - Position = position; - break; - case SeekOrigin.Current: - Position += position; - break; - case SeekOrigin.End: - Position = BaseStream.Length - position; - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => origin), origin, null); - } - } - - public long Position { - get { return BaseStream.Position; } - set { BaseStream.Position = value; } - } - - public override short ReadInt16() { - if (Endian != SystemEndian.Type) { - var value = base.ReadInt16(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadInt16(); - } - } - - public override int ReadInt32() { - if (Endian != SystemEndian.Type) { - var value = base.ReadInt32(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadInt32(); - } - } - - public override long ReadInt64() { - if (Endian != SystemEndian.Type) { - var value = base.ReadInt64(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadInt64(); - } - } - - public override ushort ReadUInt16() { - if (Endian != SystemEndian.Type) { - var value = base.ReadUInt16(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadUInt16(); - } - } - - public override uint ReadUInt32() { - if (Endian != SystemEndian.Type) { - var value = base.ReadUInt32(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadUInt32(); - } - } - - public override ulong ReadUInt64() { - if (Endian != SystemEndian.Type) { - var value = base.ReadUInt64(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadUInt64(); - } - } - - public override float ReadSingle() { - if (Endian != SystemEndian.Type) { - var value = base.ReadSingle(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadSingle(); - } - } - - public override double ReadDouble() { - if (Endian != SystemEndian.Type) { - var value = base.ReadDouble(); - value = DereToreHelper.SwapEndian(value); - return value; - } else { - return base.ReadDouble(); - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs.meta deleted file mode 100644 index bbb8422..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryReader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cecbe86bdbc8682499db69046ecbc94e -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs deleted file mode 100644 index 49f9c3c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; -using System.IO; -using System.Linq.Expressions; - -namespace DereTore.Common { - public sealed class EndianBinaryWriter : BinaryWriter { - - public EndianBinaryWriter(Stream stream, Endian endian) - : base(stream) { - Endian = endian; - } - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - - public Endian Endian { get; set; } - - public void Seek(long position, SeekOrigin origin) { - switch (origin) { - case SeekOrigin.Begin: - Position = position; - break; - case SeekOrigin.Current: - Position += position; - break; - case SeekOrigin.End: - Position = BaseStream.Length - position; - break; - default: - throw new ArgumentOutOfRangeException(NameOf(() => origin), origin, null); - } - } - - public long Position { - get { return BaseStream.Position; } - set { BaseStream.Position = value; } - } - - public override void Write(short value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(int value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(long value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(ushort value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(uint value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(ulong value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(float value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - public override void Write(double value) { - if (Endian != SystemEndian.Type) { - value = DereToreHelper.SwapEndian(value); - base.Write(value); - } else { - base.Write(value); - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs.meta deleted file mode 100644 index 3278ae7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EndianBinaryWriter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bf31f4449606e634fb58cfe1cac82eba -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs deleted file mode 100644 index 34d70ce..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace DereTore.Common { - public static class EnumerableExtensions { - - public static int FirstIndexOf(this IEnumerable enumerable, Predicate predicate, int startIndex) { - var i = startIndex; - var newEnumerable = startIndex == 0 ? enumerable : enumerable.Skip(startIndex); - foreach (var obj in newEnumerable) { - if (predicate(obj)) { - return i; - } - ++i; - } - return -1; - } - - public static int FirstIndexOf(this IEnumerable enumerable, Predicate predicate) { - return FirstIndexOf(enumerable, predicate, 0); - } - - public static string BuildString(this IEnumerable enumerable) { - return BuildString(enumerable, DefaultEnumerableStringSeparator); - } - - public static string BuildString(this IEnumerable enumerable, string separator) { - var stringBuilder = new StringBuilder(); - var processedItemCount = 0; - using (var enumerator = enumerable.GetEnumerator()) { - while (enumerator.MoveNext()) { - if (processedItemCount > 0) { - stringBuilder.Append(separator); - } - stringBuilder.Append(enumerator.Current); - ++processedItemCount; - } - } - return stringBuilder.ToString(); - } - - public static bool CountMoreThan(this IEnumerable enumerable, int n) { - var counter = 0; - using (var iter = enumerable.GetEnumerator()) { - while (iter.MoveNext()) { - ++counter; - if (counter > n) { - return true; - } - } - } - return false; - } - - private static readonly string DefaultEnumerableStringSeparator = ", "; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs.meta deleted file mode 100644 index 39972bf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EnumerableExtensions.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 262170c4070c6ee4884736777bf63769 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs deleted file mode 100644 index bdb8576..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; - -namespace DereTore.Common -{ - public static class EventExtensions - { - - public static void Raise(this EventHandler handler, object sender, T e) where T : EventArgs - { - if (handler != null) - { - handler.Invoke(sender, e); - } - } - - public static void Raise(this EventHandler handler, object sender, EventArgs e) - { - - if (handler != null) - { - handler.Invoke(sender, e); - } - } - - public static IAsyncResult RaiseAsync(this EventHandler handler, object sender, T e) where T : EventArgs - { - if (handler != null) - { - return handler.BeginInvoke(sender, e, handler.EndInvoke, null); - } - return null; - } - - public static IAsyncResult RaiseAsync(this EventHandler handler, object sender, EventArgs e) - { - if (handler != null) - { - return handler.BeginInvoke(sender, e, handler.EndInvoke, null); - } - return null; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs.meta deleted file mode 100644 index 1fe399f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/EventExtensions.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a3a3340580b92f64888ad16663ee191d -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs deleted file mode 100644 index 78637db..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; - -namespace DereTore.Common { - public static class MathHelper { - - public static double ClampUpper(double value, double minimum) { - return value < minimum ? minimum : value; - } - - public static double ClampLower(double value, double maximum) { - return value > maximum ? maximum : value; - } - - public static double Clamp(double value, double minimum, double maximum) { - return value < minimum ? minimum : (value > maximum ? maximum : value); - } - - public static float Clamp(float value, float minimum, float maximum) { - return value < minimum ? minimum : (value > maximum ? maximum : value); - } - - public static int NextRandomPositiveInt32() { - return Random.Next(1, int.MaxValue); - } - - public static int NextRandomInt32() { - return Random.Next(); - } - - public static int NextRandomInt32(int maxValue) { - return Random.Next(maxValue); - } - - public static int NextRandomInt32(int minValue, int maxValue) { - return Random.Next(minValue, maxValue); - } - - public static long NextRandomInt64() { - var v1 = (long)NextRandomInt32(); - var v2 = NextRandomInt32(); - return (v1 << 32) + v2; - } - - public static float NextRandomSingle() { - return (float)Random.NextDouble(); - } - - public static double NextRandomDouble() { - return Random.NextDouble(); - } - - public static uint GreatestCommonFactor(uint a, uint b) { - while (true) { - if (a < b) { - var t = a; - a = b; - b = t; - } - var m = a % b; - if (m == 0 || m == 1) { - return b; - } else { - a = b; - b = m; - } - } - } - - public static uint GreatestCommonFactor(params uint[] numbers) { - if (numbers.Length == 0) { - throw new ArgumentException(); - } - if (numbers.Length == 1) { - return numbers[0]; - } - var gcd = GreatestCommonFactor(numbers[0], numbers[1]); - if (numbers.Length == 2) { - return gcd; - } - var currentIndex = 2; - while (currentIndex < numbers.Length) { - if (gcd == 1) { - break; - } - // Please note the param order. - gcd = GreatestCommonFactor(numbers[currentIndex], gcd); - ++currentIndex; - } - return gcd; - } - - public static bool IsMultipleOf(this int a, int b) { - return a / b * b == a; - } - - public static int RoundUpTo(int value, int align) { - if (value % align == 0) { - return value; - } - return value + (align - (value % align)); - } - - public static int RoundUpToNext(int value, int align) { - if (value % align == 0) { - return value + align; - } - return value + (align - (value % align)); - } - - public static readonly Random Random = new Random(); - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs.meta deleted file mode 100644 index 6cbff8b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/MathHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8f1dd4494cbba784ea44e0a0932f6de5 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs deleted file mode 100644 index 4aff96e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Reflection; - -namespace DereTore.Common { - public static class SingletonManager where T : class { - - static SingletonManager() { - SyncObject = new T[0]; - } - - public static T Instance { - get { - if (_instance == null) { - lock (SyncObject) { - if (_instance == null) { - var t = typeof(T); - var constructor = t.GetConstructor(BindingFlags.NonPublic | BindingFlags.NonPublic | BindingFlags.Instance, Type.DefaultBinder, new Type[0], null); - if (constructor == null) { - throw new InvalidOperationException(); - } - _instance = (T)constructor.Invoke(new object[0]); - } - } - } - return _instance; - } - } - - private static T _instance; - private static readonly T[] SyncObject; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs.meta deleted file mode 100644 index d770752..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SingletonManager.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5a35908730a879f438a156e0adfacf32 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs deleted file mode 100644 index 437ed56..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs +++ /dev/null @@ -1,594 +0,0 @@ -using System; -using System.IO; -using System.Runtime.InteropServices; -using System.Text; - -namespace DereTore.Common { - // TODO: Merge StreamExtensions to EndianBinary[Reader/Writer]. - public static class StreamExtensions { - - public static void CopyTo(this Stream source, Stream destination) { - var buffer = new byte[1024]; - var read = source.Read(buffer, 0, buffer.Length); - while (read > 0) { - destination.Write(buffer, 0, read); - if (read < buffer.Length) { - break; - } - read = source.Read(buffer, 0, buffer.Length); - } - } - - public static int Write(this Stream stream, sbyte value) { - unchecked { - stream.WriteByte((byte)value); - } - return 1; - } - - public static int Write(this Stream stream, int value) { - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - stream.Write(BitConverter.GetBytes(value), 0, 4); - return 4; - } - - public static int Write(this Stream stream, short value) { - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - stream.Write(BitConverter.GetBytes(value), 0, 2); - return 2; - } - - public static int Write(this Stream stream, float value) { - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - stream.Write(BitConverter.GetBytes(value), 0, 4); - return 4; - } - - public static int Write(this Stream stream, T value) where T : struct { - var size = Marshal.SizeOf(typeof(T)); - var bytes = new byte[size]; - var ptr = Marshal.AllocHGlobal(size); - Marshal.StructureToPtr(value, ptr, true); - Marshal.Copy(ptr, bytes, 0, size); - Marshal.FreeHGlobal(ptr); - stream.Write(bytes, 0, size); - return size; - } - - public static void WriteRange(this Stream stream, T[] value) where T : struct { - var size = Marshal.SizeOf(typeof(T)); - var count = value.Length; - var bytes = new byte[size * count]; - var ptr = Marshal.AllocHGlobal(size); - var baseIndex = 0; - for (var i = 0; i < count; ++i) { - Marshal.StructureToPtr(value[i], ptr, true); - stream.Write(bytes, 0, size); - Marshal.Copy(ptr, bytes, baseIndex, size); - baseIndex += size; - } - Marshal.FreeHGlobal(ptr); - } - - public static int Read(this Stream stream, out T value) where T : struct { - var size = Marshal.SizeOf(typeof(T)); - var bytes = new byte[size]; - var bytesRead = stream.Read(bytes, 0, size); - var ptr = Marshal.AllocHGlobal(size); - Marshal.Copy(bytes, 0, ptr, size); - value = (T)Marshal.PtrToStructure(ptr, typeof(T)); - Marshal.FreeHGlobal(ptr); - return bytesRead; - } - - public static T Read(this Stream stream) where T : struct { - T value; - Read(stream, out value); - return value; - } - - public static int Skip(this Stream stream, int length) { - var buffer = new byte[length]; - return stream.Read(buffer, 0, buffer.Length); - } - - public static sbyte PeekSByte(this Stream stream) { - return PeekSByte(stream, stream.Position); - } - - public static byte PeekByte(this Stream stream) { - return PeekByte(stream, stream.Position); - } - - public static short PeekInt16LE(this Stream stream) { - return PeekInt16LE(stream, stream.Position); - } - - public static short PeekInt16BE(this Stream stream) { - return PeekInt16BE(stream, stream.Position); - } - - public static ushort PeekUInt16LE(this Stream stream) { - return PeekUInt16LE(stream, stream.Position); - } - - public static ushort PeekUInt16BE(this Stream stream) { - return PeekUInt16BE(stream, stream.Position); - } - - public static int PeekInt32LE(this Stream stream) { - return PeekInt32LE(stream, stream.Position); - } - - public static int PeekInt32BE(this Stream stream) { - return PeekInt32BE(stream, stream.Position); - } - - public static uint PeekUInt32LE(this Stream stream) { - return PeekUInt32LE(stream, stream.Position); - } - - public static uint PeekUInt32BE(this Stream stream) { - return PeekUInt32BE(stream, stream.Position); - } - - public static long PeekInt64LE(this Stream stream) { - return PeekInt64LE(stream, stream.Position); - } - - public static long PeekInt64BE(this Stream stream) { - return PeekInt64BE(stream, stream.Position); - } - - public static ulong PeekUInt64LE(this Stream stream) { - return PeekUInt64LE(stream, stream.Position); - } - - public static ulong PeekUInt64BE(this Stream stream) { - return PeekUInt64BE(stream, stream.Position); - } - - public static float PeekSingleLE(this Stream stream) { - return PeekSingleBE(stream, stream.Position); - } - - public static float PeekSingleBE(this Stream stream) { - return PeekSingleBE(stream, stream.Position); - } - - public static double PeekDoubleLE(this Stream stream) { - return PeekDoubleLE(stream, stream.Position); - } - - public static double PeekDoubleBE(this Stream stream) { - return PeekDoubleBE(stream, stream.Position); - } - - public static sbyte PeekSByte(this Stream stream, long offset) { - unchecked { - return (sbyte)PeekByte(stream, offset); - } - } - - public static byte PeekByte(this Stream stream, long offset) { - var position = stream.Position; - stream.Seek(offset, SeekOrigin.Begin); - var value = stream.ReadByte(); - stream.Position = position; - return (byte)value; - } - - public static short PeekInt16BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(short), false); - return BitConverter.ToInt16(bytes, 0); - } - - public static short PeekInt16LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(short), true); - return BitConverter.ToInt16(bytes, 0); - } - - public static ushort PeekUInt16BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(ushort), false); - return BitConverter.ToUInt16(bytes, 0); - } - - public static ushort PeekUInt16LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(ushort), true); - return BitConverter.ToUInt16(bytes, 0); - } - - public static int PeekInt32BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(int), false); - return BitConverter.ToInt32(bytes, 0); - } - - public static int PeekInt32LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(int), true); - return BitConverter.ToInt32(bytes, 0); - } - - public static uint PeekUInt32BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(uint), false); - return BitConverter.ToUInt32(bytes, 0); - } - - public static uint PeekUInt32LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(uint), true); - return BitConverter.ToUInt32(bytes, 0); - } - - public static long PeekInt64BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(long), false); - return BitConverter.ToInt64(bytes, 0); - } - - public static long PeekInt64LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(long), true); - return BitConverter.ToInt64(bytes, 0); - } - - public static ulong PeekUInt64BE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(ulong), false); - return BitConverter.ToUInt64(bytes, 0); - } - - public static ulong PeekUInt64LE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(ulong), true); - return BitConverter.ToUInt64(bytes, 0); - } - - public static float PeekSingleBE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(float), false); - return BitConverter.ToSingle(bytes, 0); - } - - public static float PeekSingleLE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(float), true); - return BitConverter.ToSingle(bytes, 0); - } - - public static double PeekDoubleBE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(double), false); - return BitConverter.ToDouble(bytes, 0); - } - - public static double PeekDoubleLE(this Stream stream, long offset) { - var bytes = GetNumberBytes(stream, offset, sizeof(double), true); - return BitConverter.ToDouble(bytes, 0); - } - - public static string PeekZeroEndedString(this Stream stream, long offset, Encoding encoding) { - var streamLength = stream.Length; - var stringLength = 0; - var originalPosition = stream.Position; - stream.Seek(offset, SeekOrigin.Begin); - for (var i = offset; i <= streamLength; i++) { - var dummy = stream.ReadByte(); - if (dummy > 0) { - stringLength++; - } else { - break; - } - } - var stringBytes = PeekBytes(stream, offset, stringLength); - var ret = encoding.GetString(stringBytes); - stream.Position = originalPosition; - return ret; - } - - public static string PeekZeroEndedStringAsAscii(this Stream stream, long offset) { - return PeekZeroEndedString(stream, offset, Encoding.ASCII); - } - - public static string PeekZeroEndedStringAsUtf8(this Stream stream, long offset) { - return PeekZeroEndedString(stream, offset, Encoding.UTF8); - } - - public static byte[] ReadBytes(byte[] array, int offset, int length) { - var ret = new byte[length]; - Array.Copy(array, offset, ret, 0, length); - return ret; - } - - public static byte[] PeekBytes(this Stream stream, int offset, int length) { - return PeekBytes(stream, (long)offset, length); - } - - public static byte[] PeekBytes(this Stream stream, long offset, int length) { - var originalPosition = stream.Position; - stream.Seek(offset, SeekOrigin.Begin); - var finalBuffer = new byte[length]; - var secondBuffer = new byte[length]; - var bytesLeft = length; - var currentIndex = 0; - int read; - do { - read = stream.Read(secondBuffer, 0, bytesLeft); - Array.Copy(secondBuffer, 0, finalBuffer, currentIndex, read); - bytesLeft -= read; - currentIndex += read; - } while (bytesLeft > 0 && read > 0); - stream.Position = originalPosition; - return finalBuffer; - } - - public static void SeekAndWriteBytes(this Stream stream, byte[] data, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteBytes(stream, data); - } - - public static void SeekAndWriteByte(this Stream stream, byte value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteByte(stream, value); - } - - public static void SeekAndWriteSByte(this Stream stream, sbyte value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteSByte(stream, value); - } - - public static void SeekAndWriteUInt16LE(this Stream stream, ushort value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt16LE(stream, value); - } - - public static void SeekAndWriteUInt16BE(this Stream stream, ushort value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt16BE(stream, value); - } - - public static void SeekAndWriteInt16LE(this Stream stream, short value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt16LE(stream, value); - } - - public static void SeekAndWriteInt16BE(this Stream stream, short value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt16BE(stream, value); - } - - public static void SeekAndWriteUInt32LE(this Stream stream, uint value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt32LE(stream, value); - } - - public static void SeekAndWriteUInt32BE(this Stream stream, uint value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt32BE(stream, value); - } - - public static void SeekAndWriteInt32LE(this Stream stream, int value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt32LE(stream, value); - } - - public static void SeekAndWriteInt32BE(this Stream stream, int value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt32BE(stream, value); - } - - public static void SeekAndWriteUInt64LE(this Stream stream, ulong value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt64LE(stream, value); - } - - public static void SeekAndWriteUInt64BE(this Stream stream, ulong value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteUInt64BE(stream, value); - } - - public static void SeekAndWriteInt64LE(this Stream stream, long value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt64LE(stream, value); - } - - public static void SeekAndWriteInt64BE(this Stream stream, long value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteInt64BE(stream, value); - } - - public static void SeekAndWriteSingleLE(this Stream stream, float value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteSingleLE(stream, value); - } - - public static void SeekAndWriteSingleBE(this Stream stream, float value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteSingleBE(stream, value); - } - - public static void SeekAndWriteDoubleLE(this Stream stream, double value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteDoubleLE(stream, value); - } - - public static void SeekAndWriteDoubleBE(this Stream stream, double value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteDoubleBE(stream, value); - } - - public static void SeekAndWriteZeroEndedStringAsAscii(this Stream stream, string value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteZeroEndedStringAsAscii(stream, value); - } - - public static void SeekAndWriteZeroEndedStringAsUtf8(this Stream stream, string value, long offset) { - stream.Seek(offset, SeekOrigin.Begin); - WriteZeroEndedStringAsUtf8(stream, value); - } - - public static void WriteBytes(this Stream stream, byte[] data) { - stream.Write(data, 0, data.Length); - } - - public static void WriteByte(this Stream stream, byte value) { - stream.WriteByte(value); - } - - public static void WriteSByte(this Stream stream, sbyte value) { - unchecked { - stream.WriteByte((byte)value); - } - } - - public static void WriteUInt16LE(this Stream stream, ushort value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteUInt16BE(this Stream stream, ushort value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt16LE(this Stream stream, short value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt16BE(this Stream stream, short value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteUInt32LE(this Stream stream, uint value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteUInt32BE(this Stream stream, uint value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt32LE(this Stream stream, int value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt32BE(this Stream stream, int value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteUInt64LE(this Stream stream, ulong value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteUInt64BE(this Stream stream, ulong value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt64LE(this Stream stream, long value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteInt64BE(this Stream stream, long value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteSingleLE(this Stream stream, float value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteSingleBE(this Stream stream, float value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteDoubleLE(this Stream stream, double value) { - var bytes = BitConverter.GetBytes(value); - if (!BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteDoubleBE(this Stream stream, double value) { - var bytes = BitConverter.GetBytes(value); - if (BitConverter.IsLittleEndian) { - Array.Reverse(bytes); - } - WriteBytes(stream, bytes); - } - - public static void WriteZeroEndedStringAsAscii(this Stream stream, string value) { - WriteZeroEndedString(stream, value, Encoding.ASCII); - } - - public static void WriteZeroEndedStringAsUtf8(this Stream stream, string value) { - WriteZeroEndedString(stream, value, Encoding.UTF8); - } - - private static void WriteZeroEndedString(this Stream stream, string value, Encoding encoding) { - if (value != null) { - var bytes = encoding.GetBytes(value); - WriteBytes(stream, bytes); - } - stream.WriteByte(0); - } - - private static byte[] GetNumberBytes(Stream stream, long offset, int byteCount, bool isLittleEndian) { - var data = PeekBytes(stream, offset, byteCount); - if (BitConverter.IsLittleEndian != isLittleEndian) { - Array.Reverse(data); - } - return data; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs.meta deleted file mode 100644 index 80c2b57..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/StreamExtensions.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e3dc19a81daca1c4090d9c67a6e9eceb -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs deleted file mode 100644 index 766c092..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace DereTore.Common { - public static class SystemEndian { - - public static readonly Endian Type = BitConverter.IsLittleEndian ? Endian.LittleEndian : Endian.BigEndian; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs.meta deleted file mode 100644 index 6e51326..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/common/SystemEndian.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dc6cb614e9a47944cb88cfa56c29dab4 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio.meta deleted file mode 100644 index 6ca9490..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 136ad41bf4090164988dd1eaca2f3523 -folderAsset: yes -timeCreated: 1531897074 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs deleted file mode 100644 index f2110d8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public enum ActionResult { - - HasMoreData = 1, - Ok = 0, - InvalidHandle = -1, - MagicNotMatch = -2, - AlreadyClosed = -3, - InvalidParameter = -4, - InvalidStage = -5, - FileOpFailed = -6, - InvalidFileProp = -7, - InvalidOperation = -8, - DecodeFailed = -9, - BufferTooSmall = -10, - ChecksumNotMatch = -11, - InvalidInternalState = -12, - AthInitFailed = -13, - CiphInitFailed = -14, - StateOutOfRange = -15, - NotImplemented = -16, - DecodeAlreadyCompleted = -17, - InvalidFieldValue = -18 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs.meta deleted file mode 100644 index a90a18a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ActionResult.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0be710beae9c6684f8b587f3e2906e3c -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs deleted file mode 100644 index 8ec7f0b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs +++ /dev/null @@ -1,92 +0,0 @@ -using DereTore.Common; - -namespace DereTore.Exchange.Audio.HCA { - internal sealed class Ath { - - public bool Initialize(uint type, uint key) { - switch (type) { - case 0: - Init0(); - break; - case 1: - Init1(key); - break; - default: - return false; - } - return true; - } - - public byte[] Table - { - get - { - return _table; - } - } - - private void Init0() { - _table.ZeroMem(); - } - - private void Init1(uint key) { - for (uint i = 0, v = 0; i < _table.Length; ++i, v += key) { - uint index = v >> 13; - if (index > 0x28e) { - for (; i < _table.Length; ++i) { - _table[i] = 0xff; - } - break; - } - _table[i] = AthInitList[index]; - } - } - - private readonly byte[] _table = new byte[0x80]; - - private static readonly byte[] AthInitList = new byte[] { - 0x78, 0x5f, 0x56, 0x51, 0x4e, 0x4c, 0x4b, 0x49, 0x48, 0x48, 0x47, 0x46, 0x46, 0x45, 0x45, 0x45, - 0x44, 0x44, 0x44, 0x44, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, - 0x42, 0x42, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x40, 0x40, 0x40, 0x40, - 0x40, 0x40, 0x40, 0x40, 0x40, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, - 0x3f, 0x3f, 0x3f, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, - 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, - 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, - 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3b, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, 0x3c, - 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e, 0x3e, 0x3f, - 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f, - 0x3f, 0x3f, 0x3f, 0x3f, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, - 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, - 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, - 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, - 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x43, 0x43, 0x43, - 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x43, 0x44, 0x44, - 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x45, 0x45, 0x45, 0x45, - 0x45, 0x45, 0x45, 0x45, 0x45, 0x45, 0x45, 0x45, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, - 0x46, 0x46, 0x47, 0x47, 0x47, 0x47, 0x47, 0x47, 0x47, 0x47, 0x47, 0x47, 0x48, 0x48, 0x48, 0x48, - 0x48, 0x48, 0x48, 0x48, 0x49, 0x49, 0x49, 0x49, 0x49, 0x49, 0x49, 0x49, 0x4a, 0x4a, 0x4a, 0x4a, - 0x4a, 0x4a, 0x4a, 0x4a, 0x4b, 0x4b, 0x4b, 0x4b, 0x4b, 0x4b, 0x4b, 0x4c, 0x4c, 0x4c, 0x4c, 0x4c, - 0x4c, 0x4d, 0x4d, 0x4d, 0x4d, 0x4d, 0x4d, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4f, 0x4f, 0x4f, - 0x4f, 0x4f, 0x4f, 0x50, 0x50, 0x50, 0x50, 0x50, 0x51, 0x51, 0x51, 0x51, 0x51, 0x52, 0x52, 0x52, - 0x52, 0x52, 0x53, 0x53, 0x53, 0x53, 0x54, 0x54, 0x54, 0x54, 0x54, 0x55, 0x55, 0x55, 0x55, 0x56, - 0x56, 0x56, 0x56, 0x57, 0x57, 0x57, 0x57, 0x57, 0x58, 0x58, 0x58, 0x59, 0x59, 0x59, 0x59, 0x5a, - 0x5a, 0x5a, 0x5a, 0x5b, 0x5b, 0x5b, 0x5b, 0x5c, 0x5c, 0x5c, 0x5d, 0x5d, 0x5d, 0x5d, 0x5e, 0x5e, - 0x5e, 0x5f, 0x5f, 0x5f, 0x60, 0x60, 0x60, 0x61, 0x61, 0x61, 0x61, 0x62, 0x62, 0x62, 0x63, 0x63, - 0x63, 0x64, 0x64, 0x64, 0x65, 0x65, 0x66, 0x66, 0x66, 0x67, 0x67, 0x67, 0x68, 0x68, 0x68, 0x69, - 0x69, 0x6a, 0x6a, 0x6a, 0x6b, 0x6b, 0x6b, 0x6c, 0x6c, 0x6d, 0x6d, 0x6d, 0x6e, 0x6e, 0x6f, 0x6f, - 0x70, 0x70, 0x70, 0x71, 0x71, 0x72, 0x72, 0x73, 0x73, 0x73, 0x74, 0x74, 0x75, 0x75, 0x76, 0x76, - 0x77, 0x77, 0x78, 0x78, 0x78, 0x79, 0x79, 0x7a, 0x7a, 0x7b, 0x7b, 0x7c, 0x7c, 0x7d, 0x7d, 0x7e, - 0x7e, 0x7f, 0x7f, 0x80, 0x80, 0x81, 0x81, 0x82, 0x83, 0x83, 0x84, 0x84, 0x85, 0x85, 0x86, 0x86, - 0x87, 0x88, 0x88, 0x89, 0x89, 0x8a, 0x8a, 0x8b, 0x8c, 0x8c, 0x8d, 0x8d, 0x8e, 0x8f, 0x8f, 0x90, - 0x90, 0x91, 0x92, 0x92, 0x93, 0x94, 0x94, 0x95, 0x95, 0x96, 0x97, 0x97, 0x98, 0x99, 0x99, 0x9a, - 0x9b, 0x9b, 0x9c, 0x9d, 0x9d, 0x9e, 0x9f, 0xa0, 0xa0, 0xa1, 0xa2, 0xa2, 0xa3, 0xa4, 0xa5, 0xa5, - 0xa6, 0xa7, 0xa7, 0xa8, 0xa9, 0xaa, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xae, 0xaf, 0xb0, 0xb1, 0xb1, - 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, - 0xc0, 0xc1, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, - 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, - 0xde, 0xdf, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xed, 0xee, - 0xef, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xff, 0xff, - }; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs.meta deleted file mode 100644 index 9340f1f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Ath.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 40b066e970eebc54bbe874aae6921f4a -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs deleted file mode 100644 index 0b647b6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs +++ /dev/null @@ -1,28 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public struct AudioParams { - - /// - /// 0 = play as if it is a normal sequential audio. - /// - public uint SimulatedLoopCount { get; set; } - /// - /// - /// - /// When applied to an HCA audio with a loop range, must be set to false. - /// Otherwise an invalid wave header will be generated. - /// - public bool InfiniteLoop { get; set; } - public bool OutputWaveHeader { get; set; } - - public static AudioParams CreateDefault() { - return new AudioParams { - InfiniteLoop = false, - SimulatedLoopCount = 0, - OutputWaveHeader = true - }; - } - - public static readonly AudioParams Default = CreateDefault(); - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs.meta deleted file mode 100644 index a2d6d20..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/AudioParams.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4afe91a6d5d0cff4dbb131f20c16410b -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs deleted file mode 100644 index b6609ea..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs +++ /dev/null @@ -1,299 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using DereTore.Common; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Audio.HCA { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - internal struct Channel { - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 0x80)] - public float[] Block; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 0x80)] - public float[] Base; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 0x80)] - public byte[] Value; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 0x80)] - public byte[] Scale; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 8)] - public byte[] Value2; - [MarshalAs(UnmanagedType.I4)] - public int Type; - // Original type: public char * - [MarshalAs(UnmanagedType.U4)] - public uint Value3; - public uint Count; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 0x80)] - public float[] Wav1; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 0x80)] - public float[] Wav2; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 0x80)] - public float[] Wav3; - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.R8, SizeConst = 8 * 0x80)] - public float[] Wave; - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public static Channel CreateDefault() { - var v = default(Channel); - v.Block = new float[0x80]; - v.Base = new float[0x80]; - v.Value = new byte[0x80]; - v.Scale = new byte[0x80]; - v.Value2 = new byte[8]; - v.Type = 0; - v.Value3 = 0; - v.Count = 0; - v.Wav1 = new float[0x80]; - v.Wav2 = new float[0x80]; - v.Wav3 = new float[0x80]; - v.Wave = new float[8 * 0x80]; - return v; - } - - public void Decode1(DataBits data, uint a, int b, byte[] ath) { - int v = data.GetBit(3); - if (v >= 6) { - for (uint i = 0; i < Count; ++i) { - Value[i] = (byte)data.GetBit(6); - } - } else if (v != 0) { - int v1 = data.GetBit(6); - int v2 = (1 << v) - 1; - int v3 = v2 >> 1; - Value[0] = (byte)v1; - for (uint i = 1; i < Count; ++i) { - int v4 = data.GetBit(v); - if (v4 != v2) { - v1 += v4 - v3; - } else { - v1 = data.GetBit(6); - } - Value[i] = (byte)v1; - } - } else { - Value.ZeroMem(); - } - if (Type == 2) { - v = data.CheckBit(4); - Value2[0] = (byte)v; - if (v < 15) { - for (var i = 0; i < 8; ++i) { - Value2[i] = (byte)data.GetBit(4); - } - } - } else { - for (uint i = 0; i < a; ++i) { - //Value3[i] = (byte)data.GetBit(6); - SetValue3(i, (byte)data.GetBit(6)); - } - } - for (uint i = 0; i < Count; ++i) { - v = Value[i]; - if (v != 0) { - v = (int)(ath[i] + ((b + i) >> 8) - ((v * 5) >> 1) + 1); - if (v < 0) { - v = 15; - } else if (v >= 0x39) { - v = 1; - } else { - v = ChannelTables.Decode1ScaleList[v]; - } - } - Scale[i] = (byte)v; - } - for (var i = Count; i < Scale.Length; ++i) { - Scale[i] = 0; - } - for (uint i = 0; i < Count; ++i) { - Base[i] = ChannelTables.Decode1ValueSingle[Value[i]] * ChannelTables.Decode1ScaleSingle[Scale[i]]; - } - } - - public void Decode2(DataBits data) { - for (uint i = 0; i < Count; ++i) { - float f; - int s = Scale[i]; - int bitSize = ChannelTables.Decode2List1[s]; - int v = data.GetBit(bitSize); - if (s < 8) { - v += s << 4; - data.AddBit(ChannelTables.Decode2List2[v] - bitSize); - f = ChannelTables.Decode2List3[v]; - } else { - v = (1 - ((v & 1) << 1)) * (v >> 1); - if (v == 0) { - data.AddBit(-1); - } - f = v; - } - Block[i] = Base[i] * f; - } - for (var i = Count; i < Block.Length; ++i) { - Block[i] = 0; - } - } - - public void Decode3(uint a, uint b, uint c, uint d) { - if (Type != 2 && b != 0) { - float[] listFloat = ChannelTables.Decode3ListSingle; - int offset = ChannelTables.Decode3ListOffset; - for (uint i = 0, k = c, l = c - 1; i < a; ++i) { - for (uint j = 0; j < b && k < d; ++j, --l) { - Block[k++] = listFloat[GetValue3(i) - Value[l] + offset] * Block[l]; - } - } - Block[0x80 - 1] = 0; - } - } - - public static void Decode4(ref Channel @this, ref Channel next, int index, uint a, uint b, uint c) { - if (@this.Type == 1 && c != 0) { - var f1 = ChannelTables.Decode4ListSingle[next.Value2[index]]; - var f2 = f1 - 2f; - float[] s = @this.Block; - float[] d = next.Block; - int sIndex, dIndex; - sIndex = (int)b; - dIndex = (int)b; - for (uint i = 0; i < a; ++i) { - // Don't know why, but it just happened. - // See se_live_flic_perfect.hca - // original: - /* - * (no 'break') - * d[dIndex++] = s[sIndex] * f2; - * s[sIndex++] = s[sIndex] * f1; - */ - if (sIndex >= s.Length || dIndex >= d.Length) { - break; - } - d[dIndex] = s[sIndex] * f2; - dIndex++; - s[sIndex] = s[sIndex] * f1; - sIndex++; - } - } - } - - public void Decode5(int index) { - float[] s; - float[] d; - s = Block; - d = Wav1; - int sIndex = 0, dIndex = 0; - int s1Index, s2Index; - for (int i = 0, count1 = 1, count2 = 0x40; i < 7; ++i, count1 <<= 1, count2 >>= 1) { - int dIndex1 = dIndex, dIndex2 = dIndex + count2; - for (int j = 0; j < count1; ++j) { - for (int k = 0; k < count2; ++k) { - float a = s[sIndex++]; - float b = s[sIndex++]; - d[dIndex1++] = b + a; - d[dIndex2++] = a - b; - } - dIndex1 += count2; - dIndex2 += count2; - } - sIndex -= 0x80; - HcaHelper.Exchange(ref sIndex, ref dIndex); - HcaHelper.Exchange(ref s, ref d); - } - s = Wav1; - d = Block; - sIndex = dIndex = 0; - for (int i = 0, count1 = 0x40, count2 = 1; i < 7; ++i, count1 >>= 1, count2 <<= 1) { - // The original array is a 2-rank array, [7][0x40]. - int list1FloatIndex = i * 0x40; - // The original array is a 2-rank array, [7][0x40]. - int list2FloatIndex = i * 0x40; - s1Index = sIndex; - s2Index = sIndex + count2; - int dIndex1 = dIndex; - int dIndex2 = dIndex + count2 * 2 - 1; - for (int j = 0; j < count1; ++j) { - for (int k = 0; k < count2; ++k) { - float fa = s[s1Index++]; - float fb = s[s2Index++]; - float fc = ChannelTables.Decode5List1Single[list1FloatIndex++]; - float fd = ChannelTables.Decode5List2Single[list2FloatIndex++]; - d[dIndex1++] = fa * fc - fb * fd; - d[dIndex2--] = fa * fd + fb * fc; - } - s1Index += count2; - s2Index += count2; - dIndex1 += count2; - dIndex2 += count2 * 3; - } - HcaHelper.Exchange(ref sIndex, ref dIndex); - HcaHelper.Exchange(ref s, ref d); - } - d = Wav2; - for (int i = 0; i < 0x80; ++i) { - d[i] = s[i]; - } - s = ChannelTables.Decode5List3Single; - sIndex = 0; - d = Wave; - // The original array is [8][0x80]. - dIndex = index * 0x80; - float[] s1 = Wav2; - s1Index = 0x40; - float[] s2 = Wav3; - s2Index = 0; - for (int i = 0; i < 0x40; ++i) { - d[dIndex++] = s1[s1Index++] * s[sIndex++] + s2[s2Index++]; - } - for (int i = 0; i < 0x40; ++i) { - d[dIndex++] = s[sIndex++] * s1[--s1Index] - s2[s2Index++]; - } - s1 = Wav2; - s2 = Wav3; - s1Index = 0x40 - 1; - s2Index = 0; - for (int i = 0; i < 0x40; ++i) { - s2[s2Index++] = s1[s1Index--] * s[--sIndex]; - } - for (int i = 0; i < 0x40; ++i) { - s2[s2Index++] = s[--sIndex] * s1[++s1Index]; - } - } - - private byte GetValue3(int refIndex) { - int index = (int)(refIndex + Value3); - if (0 <= index && index < 0x80) { - return Value[index]; - } else if (0x80 <= index && index < 0x80 + 0x80) { - return Scale[index - 0x80]; - } else { - throw new ArgumentOutOfRangeException(NameOf(() => refIndex)); - } - } - - private byte GetValue3(uint refIndex) { - var index = refIndex + Value3; - if (index < 0x80) { - return Value[index]; - } else if (index < 0x80 + 0x80) { - return Scale[index - 0x80]; - } else { - throw new ArgumentOutOfRangeException(NameOf(() => refIndex)); - } - } - - private void SetValue3(int refIndex, byte value) { - Value[refIndex + Value3] = value; - } - - private void SetValue3(uint refIndex, byte value) { - Value[refIndex + Value3] = value; - } - - private void SetValue3(byte value) { - Value[Value3] = value; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs.meta deleted file mode 100644 index 745a4f5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Channel.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 216edc83c8bc18847a421400ad346fce -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs deleted file mode 100644 index c07cb1b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs +++ /dev/null @@ -1,333 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - internal static class ChannelTables { - - public static void TranslateTables() { - _decode1ValueSingle = new float[_decode1ValueUInt.Length]; - for (var i = 0; i < _decode1ValueSingle.Length; ++i) { - _decode1ValueSingle[i] = HcaHelper.UInt32ToSingleBits(_decode1ValueUInt[i]); - } - _decode1ScaleSingle = new float[_decode1ScaleUInt.Length]; - for (var i = 0; i < _decode1ScaleSingle.Length; ++i) { - _decode1ScaleSingle[i] = HcaHelper.UInt32ToSingleBits(_decode1ScaleUInt[i]); - } - _decode3ListSingle = new float[_decode3ListUInt[0].Length + _decode3ListUInt[1].Length]; - for (var i = 0; i < _decode3ListUInt[0].Length; ++i) { - _decode3ListSingle[i] = HcaHelper.UInt32ToSingleBits(_decode3ListUInt[0][i]); - } - for (var i = 0; i < _decode3ListUInt[1].Length; ++i) { - _decode3ListSingle[i + _decode3ListOffset] = HcaHelper.UInt32ToSingleBits(_decode3ListUInt[1][i]); - } - _decode4ListSingle = new float[_decode4ListUInt.Length]; - for (var i = 0; i < _decode4ListSingle.Length; ++i) { - _decode4ListSingle[i] = HcaHelper.UInt32ToSingleBits(_decode4ListUInt[i]); - } - _decode5List1Single = new float[_decode5List1UInt.Length]; - for (var i = 0; i < _decode5List1Single.Length; ++i) { - _decode5List1Single[i] = HcaHelper.UInt32ToSingleBits(_decode5List1UInt[i]); - } - _decode5List2Single = new float[_decode5List2UInt.Length]; - for (var i = 0; i < _decode5List2Single.Length; ++i) { - _decode5List2Single[i] = HcaHelper.UInt32ToSingleBits(_decode5List2UInt[i]); - } - _decode5List3Single = new float[_decode5List3UInt.Length]; - for (var i = 0; i < _decode5List3Single.Length; ++i) { - _decode5List3Single[i] = HcaHelper.UInt32ToSingleBits(_decode5List3UInt[i]); - } - } - - public static byte[] Decode1ScaleList { get { return _decode1ScaleList; } } - - public static float[] Decode1ValueSingle { get { return _decode1ValueSingle; } } - - public static float[] Decode1ScaleSingle { get { return _decode1ScaleSingle; } } - - public static byte[] Decode2List1 { get { return _decode2List1; } } - - public static byte[] Decode2List2 { get { return _decode2List2; } } - - public static float[] Decode2List3 { get { return _decode2List3; } } - - public static float[] Decode3ListSingle { get { return _decode3ListSingle; } } - - public static int Decode3ListOffset { get { return _decode3ListOffset; } } - - public static float[] Decode4ListSingle { get { return _decode4ListSingle; } } - - public static float[] Decode5List1Single { get { return _decode5List1Single; } } - - public static float[] Decode5List2Single { get { return _decode5List2Single; } } - - public static float[] Decode5List3Single { get { return _decode5List3Single; } } - - private static readonly byte[] _decode1ScaleList = { - // v2.0 - 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0E, 0x0D, 0x0D, - 0x0D, 0x0D, 0x0D, 0x0D, 0x0C, 0x0C, 0x0C, 0x0C, - 0x0C, 0x0C, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, - 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x09, - 0x09, 0x09, 0x09, 0x09, 0x09, 0x08, 0x08, 0x08, - 0x08, 0x08, 0x08, 0x07, 0x06, 0x06, 0x05, 0x04, - 0x04, 0x04, 0x03, 0x03, 0x03, 0x02, 0x02, 0x02, - 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - // v1.3 - //0x0E,0x0E,0x0E,0x0E,0x0E,0x0E,0x0D,0x0D, - //0x0D,0x0D,0x0D,0x0D,0x0C,0x0C,0x0C,0x0C, - //0x0C,0x0C,0x0B,0x0B,0x0B,0x0B,0x0B,0x0B, - //0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x09, - //0x09,0x09,0x09,0x09,0x09,0x08,0x08,0x08, - //0x08,0x08,0x08,0x07,0x06,0x06,0x05,0x04, - //0x04,0x04,0x03,0x03,0x03,0x02,0x02,0x02, - //0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01, - }; - - private static readonly uint[] _decode1ValueUInt = { - 0x342A8D26, 0x34633F89, 0x3497657D, 0x34C9B9BE, 0x35066491, 0x353311C4, 0x356E9910, 0x359EF532, - 0x35D3CCF1, 0x360D1ADF, 0x363C034A, 0x367A83B3, 0x36A6E595, 0x36DE60F5, 0x371426FF, 0x3745672A, - 0x37838359, 0x37AF3B79, 0x37E97C38, 0x381B8D3A, 0x384F4319, 0x388A14D5, 0x38B7FBF0, 0x38F5257D, - 0x3923520F, 0x39599D16, 0x3990FA4D, 0x39C12C4D, 0x3A00B1ED, 0x3A2B7A3A, 0x3A647B6D, 0x3A9837F0, - 0x3ACAD226, 0x3B071F62, 0x3B340AAF, 0x3B6FE4BA, 0x3B9FD228, 0x3BD4F35B, 0x3C0DDF04, 0x3C3D08A4, - 0x3C7BDFED, 0x3CA7CD94, 0x3CDF9613, 0x3D14F4F0, 0x3D467991, 0x3D843A29, 0x3DB02F0E, 0x3DEAC0C7, - 0x3E1C6573, 0x3E506334, 0x3E8AD4C6, 0x3EB8FBAF, 0x3EF67A41, 0x3F243516, 0x3F5ACB94, 0x3F91C3D3, - 0x3FC238D2, 0x400164D2, 0x402C6897, 0x4065B907, 0x40990B88, 0x40CBEC15, 0x4107DB35, 0x413504F3, - }; - - private static float[] _decode1ValueSingle; - - private static readonly uint[] _decode1ScaleUInt = { - 0x00000000, 0x3F2AAAAB, 0x3ECCCCCD, 0x3E924925, 0x3E638E39, 0x3E3A2E8C, 0x3E1D89D9, 0x3E088889, - 0x3D842108, 0x3D020821, 0x3C810204, 0x3C008081, 0x3B804020, 0x3B002008, 0x3A801002, 0x3A000801, - }; - - private static float[] _decode1ScaleSingle; - - private static readonly byte[] _decode2List1 = { - 0, 2, 3, 3, 4, 4, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, - }; - - private static readonly byte[] _decode2List2 = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 2, 2, 2, 2, 2, 2, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, - 2, 2, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, - 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - }; - - private static readonly float[] _decode2List3 = { - +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, - +0, +0, +1, -1, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, +0, - +0, +0, +1, +1, -1, -1, +2, -2, +0, +0, +0, +0, +0, +0, +0, +0, - +0, +0, +1, -1, +2, -2, +3, -3, +0, +0, +0, +0, +0, +0, +0, +0, - +0, +0, +1, +1, -1, -1, +2, +2, -2, -2, +3, +3, -3, -3, +4, -4, - +0, +0, +1, +1, -1, -1, +2, +2, -2, -2, +3, -3, +4, -4, +5, -5, - +0, +0, +1, +1, -1, -1, +2, -2, +3, -3, +4, -4, +5, -5, +6, -6, - +0, +0, +1, -1, +2, -2, +3, -3, +4, -4, +5, -5, +6, -6, +7, -7, - }; - - private static readonly uint[][] _decode3ListUInt = { - new uint[] { - 0x00000000, 0x00000000, 0x32A0B051, 0x32D61B5E, 0x330EA43A, 0x333E0F68, 0x337D3E0C, 0x33A8B6D5, - 0x33E0CCDF, 0x3415C3FF, 0x34478D75, 0x3484F1F6, 0x34B123F6, 0x34EC0719, 0x351D3EDA, 0x355184DF, - 0x358B95C2, 0x35B9FCD2, 0x35F7D0DF, 0x36251958, 0x365BFBB8, 0x36928E72, 0x36C346CD, 0x370218AF, - 0x372D583F, 0x3766F85B, 0x3799E046, 0x37CD078C, 0x3808980F, 0x38360094, 0x38728177, 0x38A18FAF, - 0x38D744FD, 0x390F6A81, 0x393F179A, 0x397E9E11, 0x39A9A15B, 0x39E2055B, 0x3A16942D, 0x3A48A2D8, - 0x3A85AAC3, 0x3AB21A32, 0x3AED4F30, 0x3B1E196E, 0x3B52A81E, 0x3B8C57CA, 0x3BBAFF5B, 0x3BF9295A, - 0x3C25FED7, 0x3C5D2D82, 0x3C935A2B, 0x3CC4563F, 0x3D02CD87, 0x3D2E4934, 0x3D68396A, 0x3D9AB62B, - 0x3DCE248C, 0x3E0955EE, 0x3E36FD92, 0x3E73D290, 0x3EA27043, 0x3ED87039, 0x3F1031DC, 0x3F40213B, - }, - new uint[] { - 0x3F800000, 0x3FAA8D26, 0x3FE33F89, 0x4017657D, 0x4049B9BE, 0x40866491, 0x40B311C4, 0x40EE9910, - 0x411EF532, 0x4153CCF1, 0x418D1ADF, 0x41BC034A, 0x41FA83B3, 0x4226E595, 0x425E60F5, 0x429426FF, - 0x42C5672A, 0x43038359, 0x432F3B79, 0x43697C38, 0x439B8D3A, 0x43CF4319, 0x440A14D5, 0x4437FBF0, - 0x4475257D, 0x44A3520F, 0x44D99D16, 0x4510FA4D, 0x45412C4D, 0x4580B1ED, 0x45AB7A3A, 0x45E47B6D, - 0x461837F0, 0x464AD226, 0x46871F62, 0x46B40AAF, 0x46EFE4BA, 0x471FD228, 0x4754F35B, 0x478DDF04, - 0x47BD08A4, 0x47FBDFED, 0x4827CD94, 0x485F9613, 0x4894F4F0, 0x48C67991, 0x49043A29, 0x49302F0E, - 0x496AC0C7, 0x499C6573, 0x49D06334, 0x4A0AD4C6, 0x4A38FBAF, 0x4A767A41, 0x4AA43516, 0x4ADACB94, - 0x4B11C3D3, 0x4B4238D2, 0x4B8164D2, 0x4BAC6897, 0x4BE5B907, 0x4C190B88, 0x4C4BEC15, 0x00000000, - } - }; - - private static float[] _decode3ListSingle; - - private static readonly int _decode3ListOffset = _decode3ListUInt[0].Length; - - private static readonly uint[] _decode4ListUInt = { - // v2.0 - 0x40000000, 0x3FEDB6DB, 0x3FDB6DB7, 0x3FC92492, 0x3FB6DB6E, 0x3FA49249, 0x3F924925, 0x3F800000, - 0x3F5B6DB7, 0x3F36DB6E, 0x3F124925, 0x3EDB6DB7, 0x3E924925, 0x3E124925, 0x00000000, 0x00000000, - 0x00000000, 0x32A0B051, 0x32D61B5E, 0x330EA43A, 0x333E0F68, 0x337D3E0C, 0x33A8B6D5, 0x33E0CCDF, - 0x3415C3FF, 0x34478D75, 0x3484F1F6, 0x34B123F6, 0x34EC0719, 0x351D3EDA, 0x355184DF, 0x358B95C2, - 0x35B9FCD2, 0x35F7D0DF, 0x36251958, 0x365BFBB8, 0x36928E72, 0x36C346CD, 0x370218AF, 0x372D583F, - 0x3766F85B, 0x3799E046, 0x37CD078C, 0x3808980F, 0x38360094, 0x38728177, 0x38A18FAF, 0x38D744FD, - 0x390F6A81, 0x393F179A, 0x397E9E11, 0x39A9A15B, 0x39E2055B, 0x3A16942D, 0x3A48A2D8, 0x3A85AAC3, - 0x3AB21A32, 0x3AED4F30, 0x3B1E196E, 0x3B52A81E, 0x3B8C57CA, 0x3BBAFF5B, 0x3BF9295A, 0x3C25FED7, - //↓この2行要らない? - 0x3C5D2D82, 0x3C935A2B, 0x3CC4563F, 0x3D02CD87, 0x3D2E4934, 0x3D68396A, 0x3D9AB62B, 0x3DCE248C, - 0x3E0955EE, 0x3E36FD92, 0x3E73D290, 0x3EA27043, 0x3ED87039, 0x3F1031DC, 0x3F40213B, 0x00000000, - // v1.3 - //0x40000000,0x3FEDB6DB,0x3FDB6DB7,0x3FC92492,0x3FB6DB6E,0x3FA49249,0x3F924925,0x3F800000, - //0x3F5B6DB7,0x3F36DB6E,0x3F124925,0x3EDB6DB7,0x3E924925,0x3E124925,0x00000000,0x00000000, - }; - - private static float[] _decode4ListSingle; - - private static readonly uint[] _decode5List1UInt = { - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, 0x3DA73D75, - - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, 0x3F7B14BE, 0x3F54DB31, - - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, 0x3F7EC46D, 0x3F74FA0B, 0x3F61C598, 0x3F45E403, - - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - 0x3F7FB10F, 0x3F7D3AAC, 0x3F7853F8, 0x3F710908, 0x3F676BD8, 0x3F5B941A, 0x3F4D9F02, 0x3F3DAEF9, - - 0x3F7FEC43, 0x3F7F4E6D, 0x3F7E1324, 0x3F7C3B28, 0x3F79C79D, 0x3F76BA07, 0x3F731447, 0x3F6ED89E, - 0x3F6A09A7, 0x3F64AA59, 0x3F5EBE05, 0x3F584853, 0x3F514D3D, 0x3F49D112, 0x3F41D870, 0x3F396842, - 0x3F7FEC43, 0x3F7F4E6D, 0x3F7E1324, 0x3F7C3B28, 0x3F79C79D, 0x3F76BA07, 0x3F731447, 0x3F6ED89E, - 0x3F6A09A7, 0x3F64AA59, 0x3F5EBE05, 0x3F584853, 0x3F514D3D, 0x3F49D112, 0x3F41D870, 0x3F396842, - 0x3F7FEC43, 0x3F7F4E6D, 0x3F7E1324, 0x3F7C3B28, 0x3F79C79D, 0x3F76BA07, 0x3F731447, 0x3F6ED89E, - 0x3F6A09A7, 0x3F64AA59, 0x3F5EBE05, 0x3F584853, 0x3F514D3D, 0x3F49D112, 0x3F41D870, 0x3F396842, - 0x3F7FEC43, 0x3F7F4E6D, 0x3F7E1324, 0x3F7C3B28, 0x3F79C79D, 0x3F76BA07, 0x3F731447, 0x3F6ED89E, - 0x3F6A09A7, 0x3F64AA59, 0x3F5EBE05, 0x3F584853, 0x3F514D3D, 0x3F49D112, 0x3F41D870, 0x3F396842, - - 0x3F7FFB11, 0x3F7FD397, 0x3F7F84AB, 0x3F7F0E58, 0x3F7E70B0, 0x3F7DABCC, 0x3F7CBFC9, 0x3F7BACCD, - 0x3F7A7302, 0x3F791298, 0x3F778BC5, 0x3F75DEC6, 0x3F740BDD, 0x3F721352, 0x3F6FF573, 0x3F6DB293, - 0x3F6B4B0C, 0x3F68BF3C, 0x3F660F88, 0x3F633C5A, 0x3F604621, 0x3F5D2D53, 0x3F59F26A, 0x3F5695E5, - 0x3F531849, 0x3F4F7A1F, 0x3F4BBBF8, 0x3F47DE65, 0x3F43E200, 0x3F3FC767, 0x3F3B8F3B, 0x3F373A23, - 0x3F7FFB11, 0x3F7FD397, 0x3F7F84AB, 0x3F7F0E58, 0x3F7E70B0, 0x3F7DABCC, 0x3F7CBFC9, 0x3F7BACCD, - 0x3F7A7302, 0x3F791298, 0x3F778BC5, 0x3F75DEC6, 0x3F740BDD, 0x3F721352, 0x3F6FF573, 0x3F6DB293, - 0x3F6B4B0C, 0x3F68BF3C, 0x3F660F88, 0x3F633C5A, 0x3F604621, 0x3F5D2D53, 0x3F59F26A, 0x3F5695E5, - 0x3F531849, 0x3F4F7A1F, 0x3F4BBBF8, 0x3F47DE65, 0x3F43E200, 0x3F3FC767, 0x3F3B8F3B, 0x3F373A23, - - 0x3F7FFEC4, 0x3F7FF4E6, 0x3F7FE129, 0x3F7FC38F, 0x3F7F9C18, 0x3F7F6AC7, 0x3F7F2F9D, 0x3F7EEA9D, - 0x3F7E9BC9, 0x3F7E4323, 0x3F7DE0B1, 0x3F7D7474, 0x3F7CFE73, 0x3F7C7EB0, 0x3F7BF531, 0x3F7B61FC, - 0x3F7AC516, 0x3F7A1E84, 0x3F796E4E, 0x3F78B47B, 0x3F77F110, 0x3F772417, 0x3F764D97, 0x3F756D97, - 0x3F748422, 0x3F73913F, 0x3F7294F8, 0x3F718F57, 0x3F708066, 0x3F6F6830, 0x3F6E46BE, 0x3F6D1C1D, - 0x3F6BE858, 0x3F6AAB7B, 0x3F696591, 0x3F6816A8, 0x3F66BECC, 0x3F655E0B, 0x3F63F473, 0x3F628210, - 0x3F6106F2, 0x3F5F8327, 0x3F5DF6BE, 0x3F5C61C7, 0x3F5AC450, 0x3F591E6A, 0x3F577026, 0x3F55B993, - 0x3F53FAC3, 0x3F5233C6, 0x3F5064AF, 0x3F4E8D90, 0x3F4CAE79, 0x3F4AC77F, 0x3F48D8B3, 0x3F46E22A, - 0x3F44E3F5, 0x3F42DE29, 0x3F40D0DA, 0x3F3EBC1B, 0x3F3CA003, 0x3F3A7CA4, 0x3F385216, 0x3F36206C, - }; - - private static float[] _decode5List1Single; - - private static readonly uint[] _decode5List2UInt = { - 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, - 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, - 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, - 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, - 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, - 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, - 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, - 0x3D0A8BD4, 0xBD0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, 0x3D0A8BD4, 0x3D0A8BD4, 0xBD0A8BD4, - - 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, - 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, - 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, - 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, - 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, - 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, - 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, - 0x3E47C5C2, 0x3F0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0xBE47C5C2, 0xBF0E39DA, 0x3E47C5C2, 0x3F0E39DA, - - 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, - 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, - 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, - 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, - 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, - 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, - 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, - 0x3DC8BD36, 0x3E94A031, 0x3EF15AEA, 0x3F226799, 0xBDC8BD36, 0xBE94A031, 0xBEF15AEA, 0xBF226799, - - 0xBD48FB30, 0xBE164083, 0xBE78CFCC, 0xBEAC7CD4, 0xBEDAE880, 0xBF039C3D, 0xBF187FC0, 0xBF2BEB4A, - 0x3D48FB30, 0x3E164083, 0x3E78CFCC, 0x3EAC7CD4, 0x3EDAE880, 0x3F039C3D, 0x3F187FC0, 0x3F2BEB4A, - 0x3D48FB30, 0x3E164083, 0x3E78CFCC, 0x3EAC7CD4, 0x3EDAE880, 0x3F039C3D, 0x3F187FC0, 0x3F2BEB4A, - 0xBD48FB30, 0xBE164083, 0xBE78CFCC, 0xBEAC7CD4, 0xBEDAE880, 0xBF039C3D, 0xBF187FC0, 0xBF2BEB4A, - 0x3D48FB30, 0x3E164083, 0x3E78CFCC, 0x3EAC7CD4, 0x3EDAE880, 0x3F039C3D, 0x3F187FC0, 0x3F2BEB4A, - 0xBD48FB30, 0xBE164083, 0xBE78CFCC, 0xBEAC7CD4, 0xBEDAE880, 0xBF039C3D, 0xBF187FC0, 0xBF2BEB4A, - 0xBD48FB30, 0xBE164083, 0xBE78CFCC, 0xBEAC7CD4, 0xBEDAE880, 0xBF039C3D, 0xBF187FC0, 0xBF2BEB4A, - 0x3D48FB30, 0x3E164083, 0x3E78CFCC, 0x3EAC7CD4, 0x3EDAE880, 0x3F039C3D, 0x3F187FC0, 0x3F2BEB4A, - - 0xBCC90AB0, 0xBD96A905, 0xBDFAB273, 0xBE2F10A2, 0xBE605C13, 0xBE888E93, 0xBEA09AE5, 0xBEB8442A, - 0xBECF7BCA, 0xBEE63375, 0xBEFC5D27, 0xBF08F59B, 0xBF13682A, 0xBF1D7FD1, 0xBF273656, 0xBF3085BB, - 0x3CC90AB0, 0x3D96A905, 0x3DFAB273, 0x3E2F10A2, 0x3E605C13, 0x3E888E93, 0x3EA09AE5, 0x3EB8442A, - 0x3ECF7BCA, 0x3EE63375, 0x3EFC5D27, 0x3F08F59B, 0x3F13682A, 0x3F1D7FD1, 0x3F273656, 0x3F3085BB, - 0x3CC90AB0, 0x3D96A905, 0x3DFAB273, 0x3E2F10A2, 0x3E605C13, 0x3E888E93, 0x3EA09AE5, 0x3EB8442A, - 0x3ECF7BCA, 0x3EE63375, 0x3EFC5D27, 0x3F08F59B, 0x3F13682A, 0x3F1D7FD1, 0x3F273656, 0x3F3085BB, - 0xBCC90AB0, 0xBD96A905, 0xBDFAB273, 0xBE2F10A2, 0xBE605C13, 0xBE888E93, 0xBEA09AE5, 0xBEB8442A, - 0xBECF7BCA, 0xBEE63375, 0xBEFC5D27, 0xBF08F59B, 0xBF13682A, 0xBF1D7FD1, 0xBF273656, 0xBF3085BB, - - 0xBC490E90, 0xBD16C32C, 0xBD7B2B74, 0xBDAFB680, 0xBDE1BC2E, 0xBE09CF86, 0xBE22ABB6, 0xBE3B6ECF, - 0xBE541501, 0xBE6C9A7F, 0xBE827DC0, 0xBE8E9A22, 0xBE9AA086, 0xBEA68F12, 0xBEB263EF, 0xBEBE1D4A, - 0xBEC9B953, 0xBED53641, 0xBEE0924F, 0xBEEBCBBB, 0xBEF6E0CB, 0xBF00E7E4, 0xBF064B82, 0xBF0B9A6B, - 0xBF10D3CD, 0xBF15F6D9, 0xBF1B02C6, 0xBF1FF6CB, 0xBF24D225, 0xBF299415, 0xBF2E3BDE, 0xBF32C8C9, - 0x3C490E90, 0x3D16C32C, 0x3D7B2B74, 0x3DAFB680, 0x3DE1BC2E, 0x3E09CF86, 0x3E22ABB6, 0x3E3B6ECF, - 0x3E541501, 0x3E6C9A7F, 0x3E827DC0, 0x3E8E9A22, 0x3E9AA086, 0x3EA68F12, 0x3EB263EF, 0x3EBE1D4A, - 0x3EC9B953, 0x3ED53641, 0x3EE0924F, 0x3EEBCBBB, 0x3EF6E0CB, 0x3F00E7E4, 0x3F064B82, 0x3F0B9A6B, - 0x3F10D3CD, 0x3F15F6D9, 0x3F1B02C6, 0x3F1FF6CB, 0x3F24D225, 0x3F299415, 0x3F2E3BDE, 0x3F32C8C9, - - 0xBBC90F88, 0xBC96C9B6, 0xBCFB49BA, 0xBD2FE007, 0xBD621469, 0xBD8A200A, 0xBDA3308C, 0xBDBC3AC3, - 0xBDD53DB9, 0xBDEE3876, 0xBE039502, 0xBE1008B7, 0xBE1C76DE, 0xBE28DEFC, 0xBE354098, 0xBE419B37, - 0xBE4DEE60, 0xBE5A3997, 0xBE667C66, 0xBE72B651, 0xBE7EE6E1, 0xBE8586CE, 0xBE8B9507, 0xBE919DDD, - 0xBE97A117, 0xBE9D9E78, 0xBEA395C5, 0xBEA986C4, 0xBEAF713A, 0xBEB554EC, 0xBEBB31A0, 0xBEC1071E, - 0xBEC6D529, 0xBECC9B8B, 0xBED25A09, 0xBED8106B, 0xBEDDBE79, 0xBEE363FA, 0xBEE900B7, 0xBEEE9479, - 0xBEF41F07, 0xBEF9A02D, 0xBEFF17B2, 0xBF0242B1, 0xBF04F484, 0xBF07A136, 0xBF0A48AD, 0xBF0CEAD0, - 0xBF0F8784, 0xBF121EB0, 0xBF14B039, 0xBF173C07, 0xBF19C200, 0xBF1C420C, 0xBF1EBC12, 0xBF212FF9, - 0xBF239DA9, 0xBF26050A, 0xBF286605, 0xBF2AC082, 0xBF2D1469, 0xBF2F61A5, 0xBF31A81D, 0xBF33E7BC, - }; - - private static float[] _decode5List2Single; - - private static readonly uint[] _decode5List3UInt = { - 0x3A3504F0, 0x3B0183B8, 0x3B70C538, 0x3BBB9268, 0x3C04A809, 0x3C308200, 0x3C61284C, 0x3C8B3F17, - 0x3CA83992, 0x3CC77FBD, 0x3CE91110, 0x3D0677CD, 0x3D198FC4, 0x3D2DD35C, 0x3D434643, 0x3D59ECC1, - 0x3D71CBA8, 0x3D85741E, 0x3D92A413, 0x3DA078B4, 0x3DAEF522, 0x3DBE1C9E, 0x3DCDF27B, 0x3DDE7A1D, - 0x3DEFB6ED, 0x3E00D62B, 0x3E0A2EDA, 0x3E13E72A, 0x3E1E00B1, 0x3E287CF2, 0x3E335D55, 0x3E3EA321, - 0x3E4A4F75, 0x3E56633F, 0x3E62DF37, 0x3E6FC3D1, 0x3E7D1138, 0x3E8563A2, 0x3E8C72B7, 0x3E93B561, - 0x3E9B2AEF, 0x3EA2D26F, 0x3EAAAAAB, 0x3EB2B222, 0x3EBAE706, 0x3EC34737, 0x3ECBD03D, 0x3ED47F46, - 0x3EDD5128, 0x3EE6425C, 0x3EEF4EFF, 0x3EF872D7, 0x3F00D4A9, 0x3F0576CA, 0x3F0A1D3B, 0x3F0EC548, - 0x3F136C25, 0x3F180EF2, 0x3F1CAAC2, 0x3F213CA2, 0x3F25C1A5, 0x3F2A36E7, 0x3F2E9998, 0x3F32E705, - - 0xBF371C9E, 0xBF3B37FE, 0xBF3F36F2, 0xBF431780, 0xBF46D7E6, 0xBF4A76A4, 0xBF4DF27C, 0xBF514A6F, - 0xBF547DC5, 0xBF578C03, 0xBF5A74EE, 0xBF5D3887, 0xBF5FD707, 0xBF6250DA, 0xBF64A699, 0xBF66D908, - 0xBF68E90E, 0xBF6AD7B1, 0xBF6CA611, 0xBF6E5562, 0xBF6FE6E7, 0xBF715BEF, 0xBF72B5D1, 0xBF73F5E6, - 0xBF751D89, 0xBF762E13, 0xBF7728D7, 0xBF780F20, 0xBF78E234, 0xBF79A34C, 0xBF7A5397, 0xBF7AF439, - 0xBF7B8648, 0xBF7C0ACE, 0xBF7C82C8, 0xBF7CEF26, 0xBF7D50CB, 0xBF7DA88E, 0xBF7DF737, 0xBF7E3D86, - 0xBF7E7C2A, 0xBF7EB3CC, 0xBF7EE507, 0xBF7F106C, 0xBF7F3683, 0xBF7F57CA, 0xBF7F74B6, 0xBF7F8DB6, - 0xBF7FA32E, 0xBF7FB57B, 0xBF7FC4F6, 0xBF7FD1ED, 0xBF7FDCAD, 0xBF7FE579, 0xBF7FEC90, 0xBF7FF22E, - 0xBF7FF688, 0xBF7FF9D0, 0xBF7FFC32, 0xBF7FFDDA, 0xBF7FFEED, 0xBF7FFF8F, 0xBF7FFFDF, 0xBF7FFFFC, - }; - - private static float[] _decode5List3Single; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs.meta deleted file mode 100644 index 9264549..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ChannelTables.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6dc44417a97e9374986bb79f1514e71f -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs deleted file mode 100644 index 55c1571..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; - -namespace DereTore.Exchange.Audio.HCA { - internal sealed class Cipher { - - public bool Initialize(CipherType type, uint key1, uint key2) { - if (key1 == 0 && key2 == 0 && type == CipherType.CipherWithAKey) { - type = CipherType.NoChipher; - } - switch (type) { - case CipherType.NoChipher: - Init0(); - break; - case CipherType.CipherWithoutKeys: - Init1(); - break; - case CipherType.CipherWithAKey: - Init56(key1, key2); - break; - default: - return false; - } - InitEncryptTable(); - return true; - } - - public void Decrypt(byte[] data) { - Decrypt(data, data.Length); - } - - public void Decrypt(byte[] data, int length) { - length = Math.Min(data.Length, length); - for (var i = 0; i < length; ++i) { - data[i] = _decryptTable[data[i]]; - } - } - - public void Encrypt(byte[] data) { - Encrypt(data, data.Length); - } - - public void Encrypt(byte[] data, int length) { - length = Math.Min(data.Length, length); - for (var i = 0; i < length; ++i) { - data[i] = _encryptTable[data[i]]; - } - } - - private void Init0() { - for (var i = 0; i < _decryptTable.Length; ++i) { - _decryptTable[i] = (byte)i; - } - } - - private void Init1() { - for (int i = 1, v = 0; i < _decryptTable.Length - 1; ++i) { - v = (v * 13 + 11) & 0xff; - if (v == 0 || v == 0xff) { - v = (v * 13 + 11) & 0xff; - } - _decryptTable[i] = (byte)v; - } - _decryptTable[0] = 0; - _decryptTable[_decryptTable.Length - 1] = 0xff; - } - - private void Init56(uint key1, uint key2) { - byte[] t1 = new byte[8]; - if (key1 == 0) { - --key2; - } - --key1; - for (int i = 0; i < 7; ++i) { - t1[i] = (byte)key1; - key1 = (key1 >> 8) | (key2 << 24); - key2 >>= 8; - } - byte[] t2 = new byte[0x10] { - t1[1], (byte)(t1[1] ^ t1[6]), - (byte)(t1[2] ^ t1[3]), t1[2], - (byte)(t1[2] ^ t1[1]), (byte)(t1[3] ^ t1[4]), - t1[3], (byte)(t1[3] ^ t1[2]), - (byte)(t1[4] ^ t1[5]), t1[4], - (byte)(t1[4] ^ t1[3]), (byte)(t1[5] ^ t1[6]), - t1[5], (byte)(t1[5] ^ t1[4]), - (byte)(t1[6] ^ t1[1]), t1[6], - }; - byte[] t3 = new byte[0x100]; - byte[] t31 = new byte[0x10]; - byte[] t32 = new byte[0x10]; - int c = 0; - Init56CreateTable(t31, t1[0]); - for (int i = 0; i < t31.Length; ++i) { - Init56CreateTable(t32, t2[i]); - byte v = (byte)(t31[i] << 4); - for (int j = 0; j < t32.Length; ++j) { - t3[c] = (byte)(v | t32[j]); - ++c; - } - } - c = 1; - for (int i = 0, v = 0; i < _decryptTable.Length; ++i) { - v = (v + 0x11) & 0xff; - byte a = t3[v]; - if (a != 0 && a != 0xff) { - _decryptTable[c] = a; - ++c; - } - } - _decryptTable[0] = 0; - _decryptTable[_decryptTable.Length - 1] = 0xff; - } - - private void Init56CreateTable(byte[] r, byte key) { - int mul = ((key & 1) << 3) | 5; - int add = (key & 0xe) | 1; - key >>= 4; - for (int i = 0; i < 0x10; ++i) { - key = (byte)((key * mul + add) & 0xf); - r[i] = key; - } - } - - private void InitEncryptTable() { - for (var i = 0; i < 0x100; ++i) { - for (var j = 0; j < 0x100; ++j) { - if (_decryptTable[j] == i) { - _encryptTable[i] = (byte)(j & 0xff); - break; - } - } - } - } - - private readonly byte[] _decryptTable = new byte[0x100]; - private readonly byte[] _encryptTable = new byte[0x100]; - - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs.meta deleted file mode 100644 index ad6b54b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Cipher.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f00438030bf7aa848a5b66a53f6065c9 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs deleted file mode 100644 index e8a828a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public struct CipherConfig { - - public CipherType CipherType; - public uint Key1; - public uint Key2; - - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs.meta deleted file mode 100644 index f5a5c7f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConfig.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c9c5f1664b7eaf24e83de3f94b82814a -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs deleted file mode 100644 index ecaab73..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs +++ /dev/null @@ -1,197 +0,0 @@ -using System; -using System.IO; -using System.Runtime.InteropServices; -using DereTore.Common; -using DereTore.Exchange.Audio.HCA.Native; - -namespace DereTore.Exchange.Audio.HCA { - public sealed class CipherConverter : HcaReader { - - public CipherConverter(Stream sourceStream, Stream outputStream, CipherConfig ccFrom, CipherConfig ccTo) - : base(sourceStream) { - _outputStream = outputStream; - _ccFrom = ccFrom; - _ccTo = ccTo; - } - - public void Convert() { - ParseHeaders(); - InitializeCiphers(); - UpdateHeader(); - ConvertData(); - } - - /// - /// Whether to encrypt the header signatures ('HCA ', 'fmt ', 'ciph', etc.). Usually decoders recognize both types of header signatures. - /// - public bool EncryptHeaderSignatures { get; set; } - - private void UpdateHeader() { - var dataOffset = HcaInfo.DataOffset; - var buffer = new byte[dataOffset]; - var sourceStream = SourceStream; - var outputStream = _outputStream; - - sourceStream.Seek(0, SeekOrigin.Begin); - sourceStream.Read(buffer, 0, buffer.Length); - sourceStream.Seek(0, SeekOrigin.Begin); - - uint v; - // HCA - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.HCA)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(HcaHeader))); - } - // FMT - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.FMT)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(FormatHeader))); - } - // COMP / DEC - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.COMP)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(CompressHeader))); - } else if (MagicValues.IsMagicMatch(v, MagicValues.DEC)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(DecodeHeader))); - } - // VBR - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.VBR)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(VbrHeader))); - } - // ATH - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.ATH)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(AthHeader))); - } - // LOOP - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.LOOP)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(LoopHeader))); - } - // CIPH - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.CIPH)) { - ProcessHeaderSignature(sourceStream, buffer); - var cipherOffset = (int)(sourceStream.Position + 4); - var u = (ushort)_ccTo.CipherType; - if (BitConverter.IsLittleEndian) { - u = DereToreHelper.SwapEndian(u); - } - var cipherTypeBytes = BitConverter.GetBytes(u); - buffer[cipherOffset] = cipherTypeBytes[0]; - buffer[cipherOffset + 1] = cipherTypeBytes[1]; - } - // RVA - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.RVA)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(RvaHeader))); - } - // COMM - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.COMM)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(Marshal.SizeOf(typeof(CommentHeader))); - byte tmpByte; - do { - tmpByte = (byte)sourceStream.ReadByte(); - } while (tmpByte != 0); - } - // PAD (undocumented) - v = sourceStream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.PAD)) { - ProcessHeaderSignature(sourceStream, buffer); - sourceStream.Skip(4); - } - - FixDataBlock(buffer); - outputStream.Write(buffer, 0, buffer.Length); - } - - private void ConvertData() { - var hcaInfo = HcaInfo; - var sourceStream = SourceStream; - var outputStream = _outputStream; - var dataOffset = hcaInfo.DataOffset; - var totalBlockCount = hcaInfo.BlockCount; - var buffer = new byte[hcaInfo.BlockSize]; - - sourceStream.Seek(dataOffset, SeekOrigin.Begin); - for (var i = 0; i < totalBlockCount; ++i) { - var read = sourceStream.Read(buffer, 0, buffer.Length); - if (read < buffer.Length) { - throw new IOException("Something went wrong while trying to read data."); - } - var r = ConvertBlock(buffer, outputStream); - if (!r) { - throw new HcaException("Block conversion failed.", ActionResult.DecodeFailed); - } - } - } - - private void InitializeCiphers() { - _cipherFrom = new Cipher(); - _cipherFrom.Initialize(HcaInfo.CipherType, _ccFrom.Key1, _ccFrom.Key2); - _cipherTo = new Cipher(); - _cipherTo.Initialize(_ccTo.CipherType, _ccTo.Key1, _ccTo.Key2); - } - - private bool ConvertBlock(byte[] blockData, Stream outputStream) { - var checksum = HcaHelper.Checksum(blockData, 0); - if (checksum != 0) { - return false; - } - _cipherFrom.Decrypt(blockData); - var dataClass = new DataBits(blockData, (uint)blockData.Length); - var magic = dataClass.GetBit(16); - if (magic != 0xffff) { - return false; - } - _cipherTo.Encrypt(blockData); - FixDataBlock(blockData); - outputStream.Write(blockData, 0, blockData.Length); - return true; - } - - private static void FixDataBlock(byte[] blockData) { - var length = blockData.Length; - var sum = HcaHelper.Checksum(blockData, 0, length - 2); - if (BitConverter.IsLittleEndian) { - sum = DereToreHelper.SwapEndian(sum); - } - var sumBytes = BitConverter.GetBytes(sum); - blockData[length - 2] = sumBytes[0]; - blockData[length - 1] = sumBytes[1]; - } - - private static void OrBytes(byte[] blockData, int offset, int length) { - var end = offset + length; - for (var i = offset; i < blockData.Length && i < end; ++i) { - blockData[i] = (byte)(blockData[i] & 0xf0); - } - } - - private void ProcessHeaderSignature(Stream stream, byte[] headerData) { - if (!EncryptHeaderSignatures) { - return; - } - var position = (int)stream.Position; - OrBytes(headerData, position, 4); - } - - private readonly Stream _outputStream; - private readonly CipherConfig _ccFrom; - private readonly CipherConfig _ccTo; - private Cipher _cipherFrom; - private Cipher _cipherTo; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs.meta deleted file mode 100644 index 71f3f1f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherConverter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 03bfc50835ac766498c67e6936c89e20 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs deleted file mode 100644 index 852fc0c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public enum CipherType : ushort { - - NoChipher = 0, - CipherWithoutKeys = 1, - CipherWithAKey = 0x38 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs.meta deleted file mode 100644 index 55c0b3f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/CipherType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 427f8dc86beea324f85fd18e1b060256 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs deleted file mode 100644 index c73707f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs +++ /dev/null @@ -1,53 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - internal sealed class DataBits { - - public DataBits(byte[] data, uint size) { - _data = data; - _size = size * 8 - 16; - _bit = 0; - } - - public int CheckBit(int bitSize) - { - var v = 0; - if (_bit + bitSize <= _size) - { - var i = _bit >> 3; - byte data; - - if (i + 2 >= _data.Length) - { - data = 0; //なぜかインデックス外になることがあるため - } - else - { - data = _data[i + 2]; - } - - v = _data[i]; - v = (v << 8) | _data[i + 1]; - v = (v << 8) | data; - v &= Mask[_bit & 7]; - v >>= 24 - (_bit & 7) - bitSize; - } - return v; - } - - public int GetBit(int bitSize) { - var v = CheckBit(bitSize); - _bit += bitSize; - return v; - } - - public void AddBit(int bitSize) { - _bit += bitSize; - } - - private static readonly int[] Mask = { 0xffffff, 0x7fffff, 0x3fffff, 0x1fffff, 0x0fffff, 0x07ffff, 0x03ffff, 0x01ffff }; - - private readonly byte[] _data; - private readonly uint _size; - private int _bit; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs.meta deleted file mode 100644 index d01d787..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DataBits.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b5c8765b4cb0d374b8f55cfa3bf0ec9d -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs deleted file mode 100644 index 63da2d8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public struct DecodeParams { - - public uint Key1 { get; set; } - public uint Key2 { get; set; } - public SamplingMode Mode { get; set; } - public float Volume { get; set; } - public bool CipherTypeOverrideEnabled { get; set; } - public CipherType OverriddenCipherType { get; set; } - - public static DecodeParams CreateDefault() { - return new DecodeParams { - Key1 = 0, - Key2 = 0, - Mode = SamplingMode.S16, - Volume = 1.0f, - CipherTypeOverrideEnabled = false, - OverriddenCipherType = CipherType.NoChipher - }; - } - - public static DecodeParams CreateDefault(uint key1, uint key2) { - return new DecodeParams { - Key1 = key1, - Key2 = key2, - Mode = SamplingMode.S16, - Volume = 1.0f, - CipherTypeOverrideEnabled = false, - OverriddenCipherType = CipherType.NoChipher - }; - } - - public static readonly DecodeParams Default = CreateDefault(); - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs.meta deleted file mode 100644 index 41370d8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/DecodeParams.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7eeaae60f9b15ae48a0877e45b21fb57 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs deleted file mode 100644 index 76166ec..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - internal static class ErrorMessages { - - public static string GetBufferTooSmall(int minimum, int actual) { - return string.Format("Buffer too small. Required minimum: {0}, actual: {1}",minimum,actual); - } - - public static string GetInvalidParameter(string paramName) { - return string.Format("Parameter '{0}' is invalid.",paramName); - } - - public static string GetChecksumNotMatch(int expected, int actual) { - return string.Format("Checksum does not match. Expected: {0}({0:x8}), actual: {1}({1:x8}).",expected,actual); - } - - public static string GetMagicNotMatch(int expected, int actual) { - return string.Format("Magic does not match. Expected: {0}({0:x8}), actual: {1}({1:x8}).",expected,actual); - } - - public static string GetAthInitializationFailed() { - return "ATH table initialization failed."; - } - - public static string GetCiphInitializationFailed() { - return "CIPH table initialization failed."; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs.meta deleted file mode 100644 index 7386842..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/ErrorMessages.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 893e8191939606d4d90d8e51dccef4a6 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs deleted file mode 100644 index 70fc94d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs +++ /dev/null @@ -1,348 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using DereTore.Common; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Audio.HCA { - public sealed class HcaAudioStream : HcaAudioStreamBase { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public HcaAudioStream(Stream sourceStream) - : this(sourceStream, DecodeParams.Default) { - } - - public HcaAudioStream(Stream sourceStream, AudioParams audioParams) - : this(sourceStream, DecodeParams.Default, audioParams) { - } - - public HcaAudioStream(Stream sourceStream, DecodeParams decodeParams) - : this(sourceStream, decodeParams, AudioParams.Default) { - } - - public HcaAudioStream(Stream sourceStream, DecodeParams decodeParams, AudioParams audioParams) - : base(sourceStream, decodeParams) { - var decoder = new HcaDecoder(sourceStream, decodeParams); - _decoder = decoder; - _audioParams = audioParams; - var buffer = new byte[GetTotalAfterDecodingWaveDataSize()]; - _memoryCache = new MemoryStream(buffer, true); - _decodedBlocks = new Dictionary(); - _decodeBuffer = new byte[decoder.GetMinWaveDataBufferSize()]; - _hasLoop = decoder.HcaInfo.LoopFlag; - - PrepareDecoding(); - } - - public override long Seek(long offset, SeekOrigin origin) { - if (!EnsureNotDisposed()) { - return 0; - } - switch (origin) { - case SeekOrigin.Begin: - Position = offset; - break; - case SeekOrigin.Current: - Position = Position + offset; - break; - case SeekOrigin.End: - Position = Length - offset; - break; - default: - break; - } - return Position; - } - - public override int Read(byte[] buffer, int offset, int count) { - if (!EnsureNotDisposed()) { - return 0; - } - if (!HasMoreData) { - return 0; - } - if (offset < 0 || offset >= buffer.Length) { - throw new ArgumentOutOfRangeException(NameOf(() => offset)); - } - if (count < 0) { - throw new ArgumentOutOfRangeException(NameOf(() => count)); - } - if (count == 0) { - return 0; - } - var hcaInfo = HcaInfo; - var memoryCache = _memoryCache; - var position = Position; - var read = 0; - if (position < hcaInfo.DataOffset) { - var maxCopy = Math.Min(Math.Min((int)(hcaInfo.DataOffset - position), count), buffer.Length - offset); - if (maxCopy == 0) { - return 0; - } - memoryCache.Seek(position, SeekOrigin.Begin); - memoryCache.Read(buffer, offset, maxCopy); - count -= maxCopy; - offset += maxCopy; - position += maxCopy; - if (count <= 0 || offset >= buffer.Length) { - Position = position; - return maxCopy; - } - read += maxCopy; - } - - var audioParams = _audioParams; - var length = Length; - count = HasLoop && audioParams.InfiniteLoop ? Math.Min(count, buffer.Length - offset) : Math.Min((int)(length - position), count); - if (_decodedBlocks.Count < hcaInfo.BlockCount) { - if (HasLoop && audioParams.SimulatedLoopCount > 0) { - EnsureSoundDataDecodedWithLoops(position, count); - } else { - EnsureSoundDataDecoded(position, count); - } - } - var headerSize = _headerSize; - var waveBlockSize = _decoder.GetMinWaveDataBufferSize(); - while (count > 0) { - var positionNonLooped = MapPosToNonLoopedWaveStreamPos(position); - memoryCache.Seek(positionNonLooped, SeekOrigin.Begin); - var shouldRead = Math.Min(count, waveBlockSize - ((int)(positionNonLooped - headerSize) % waveBlockSize)); - if (shouldRead == 0) { - break; - } - var realRead = memoryCache.Read(buffer, offset, shouldRead); - Debug.Assert(realRead == shouldRead); - count -= realRead; - offset += realRead; - read += realRead; - position += realRead; - } - Position = position; - return read; - } - - public override bool CanSeek { get { return true; } } - - public override long Length { - get { - if (!EnsureNotDisposed()) { - return 0; - } - if (_length != null) { - return _length.Value; - } - var audioParams = _audioParams; - if (HasLoop && audioParams.InfiniteLoop) { - _length = long.MaxValue; - return _length.Value; - } - var hcaInfo = HcaInfo; - long totalLength = 0; - if (_audioParams.OutputWaveHeader) { - totalLength += _headerSize; - } - var waveDataBlockSize = _decoder.GetMinWaveDataBufferSize(); - totalLength += waveDataBlockSize * hcaInfo.BlockCount; - if (HasLoop && audioParams.SimulatedLoopCount > 0) { - var loopedBlockCount = hcaInfo.LoopEnd - hcaInfo.LoopStart + 1; - totalLength += waveDataBlockSize * loopedBlockCount * audioParams.SimulatedLoopCount; - } - _length = totalLength; - return _length.Value; - } - } - - public override long Position { - get { - return EnsureNotDisposed() ? _position : 0; - } - set { - EnsureNotDisposed(); - if (value < 0 || value > Length) { - throw new ArgumentOutOfRangeException(NameOf(() => value)); - } - _position = value; - } - } - - public override float LengthInSeconds - { - get - { - return HcaHelper.CalculateLengthInSeconds(HcaInfo, _audioParams.SimulatedLoopCount, _audioParams.InfiniteLoop); - } - } - - public override uint LengthInSamples - { - get - { - return HcaHelper.CalculateLengthInSamples(HcaInfo, _audioParams.SimulatedLoopCount, _audioParams.InfiniteLoop); - } - } - - protected override void Dispose(bool disposing) { - if (!IsDisposed) { - _memoryCache.Dispose(); - } - base.Dispose(disposing); - } - - protected override bool HasMoreData - { - get - { - return Position < Length; - } - } - - private void EnsureSoundDataDecoded(long waveDataOffset, int byteCount) { - var decoder = _decoder; - var headerSize = _headerSize; - var blockSize = decoder.GetMinWaveDataBufferSize(); - var startBlockIndex = (uint)((waveDataOffset - headerSize) / blockSize); - var hcaInfo = HcaInfo; - var endBlockIndex = (uint)((waveDataOffset + byteCount - headerSize) / blockSize); - endBlockIndex = Math.Min(endBlockIndex, hcaInfo.BlockCount - 1); - for (var i = startBlockIndex; i <= endBlockIndex; ++i) { - EnsureDecodeOneBlock(i); - } - } - - private void EnsureSoundDataDecodedWithLoops(long waveDataOffset, int byteCount) { - waveDataOffset = MapPosToNonLoopedWaveStreamPos(waveDataOffset); - var decoder = _decoder; - var headerSize = _headerSize; - var waveBlockSize = decoder.GetMinWaveDataBufferSize(); - var startBlockIndex = (uint)((waveDataOffset - headerSize) / waveBlockSize); - var waveDataEnd = waveDataOffset + byteCount; - var hcaInfo = HcaInfo; - var audioParams = _audioParams; - var decodedSize = (waveDataOffset - headerSize) / waveBlockSize * waveBlockSize; - // For those before or in the loop range... - if (audioParams.InfiniteLoop || startBlockIndex <= hcaInfo.LoopEnd + (hcaInfo.LoopEnd - hcaInfo.LoopStart + 1) * audioParams.SimulatedLoopCount) { - var blockIndex = startBlockIndex; - var executed = false; - while (true) { - if (executed && blockIndex == startBlockIndex) { - if (audioParams.InfiniteLoop) { - return; - } else { - break; - } - } - if (!audioParams.InfiniteLoop && decodedSize >= waveDataEnd) { - break; - } - EnsureDecodeOneBlock(blockIndex); - decodedSize += waveBlockSize; - ++blockIndex; - if (blockIndex > hcaInfo.LoopEnd) { - blockIndex = hcaInfo.LoopStart; - } - executed = true; - } - } - // And those following it. - if (audioParams.InfiniteLoop) { - return; - } - var endBlockIndex = hcaInfo.LoopEnd + (hcaInfo.LoopEnd - hcaInfo.LoopStart + 1) * audioParams.SimulatedLoopCount; - var startOfAfterLoopRegion = endBlockIndex * waveBlockSize; - if (waveDataEnd >= startOfAfterLoopRegion) { - for (var blockIndex = hcaInfo.LoopEnd + 1; blockIndex < hcaInfo.BlockCount && decodedSize < waveDataEnd; ++blockIndex) { - EnsureDecodeOneBlock(blockIndex); - decodedSize += waveBlockSize; - } - } - } - - private void EnsureDecodeOneBlock(uint blockIndex) { - var decodedBlocks = _decodedBlocks; - if (decodedBlocks.ContainsKey(blockIndex)) { - return; - } - var decodeBuffer = _decodeBuffer; - var decoder = _decoder; - decoder.DecodeBlock(decodeBuffer, blockIndex); - var positionInOutputStream = _headerSize + decoder.GetMinWaveDataBufferSize() * blockIndex; - var memoryCache = _memoryCache; - memoryCache.Seek(positionInOutputStream, SeekOrigin.Begin); - memoryCache.WriteBytes(decodeBuffer); - decodedBlocks.Add(blockIndex, positionInOutputStream); - } - - private long MapPosToNonLoopedWaveStreamPos(long requestedPosition) { - if (!HasLoop) { - return requestedPosition; - } - var hcaInfo = HcaInfo; - var waveBlockSize = _decoder.GetMinWaveDataBufferSize(); - var headerSize = _headerSize; - var relativeDataPosition = requestedPosition - headerSize; - var endLoopDataPosition = (hcaInfo.LoopEnd + 1) * waveBlockSize; - if (relativeDataPosition < endLoopDataPosition) { - return requestedPosition; - } - var startLoopDataPosition = hcaInfo.LoopStart * waveBlockSize; - var loopLength = endLoopDataPosition - startLoopDataPosition; - var audioParams = _audioParams; - if (audioParams.InfiniteLoop) { - return headerSize + startLoopDataPosition + (relativeDataPosition - startLoopDataPosition) % loopLength; - } - var extendedLength = endLoopDataPosition + loopLength * audioParams.SimulatedLoopCount; - if (relativeDataPosition < extendedLength) { - return headerSize + startLoopDataPosition + (relativeDataPosition - startLoopDataPosition) % loopLength; - } else { - return headerSize + endLoopDataPosition + (relativeDataPosition - extendedLength); - } - } - - private bool HasLoop - { - get - { - return _hasLoop; - } - } - - private void PrepareDecoding() { - var decoder = _decoder; - var memoryCache = _memoryCache; - if (_audioParams.OutputWaveHeader) { - var waveHeaderBufferSize = decoder.GetMinWaveHeaderBufferSize(); - var waveHeaderBuffer = new byte[waveHeaderBufferSize]; - decoder.WriteWaveHeader(waveHeaderBuffer, _audioParams); - memoryCache.WriteBytes(waveHeaderBuffer); - _headerSize = waveHeaderBufferSize; - } else { - _headerSize = 0; - } - memoryCache.Position = 0; - } - - private int GetTotalAfterDecodingWaveDataSize() { - var hcaInfo = HcaInfo; - var totalLength = 0; - if (_audioParams.OutputWaveHeader) { - totalLength += _decoder.GetMinWaveHeaderBufferSize(); - } - totalLength += _decoder.GetMinWaveDataBufferSize() * (int)hcaInfo.BlockCount; - return totalLength; - } - - private readonly AudioParams _audioParams; - private int _headerSize; - private readonly MemoryStream _memoryCache; - private readonly Dictionary _decodedBlocks; - private long? _length; - private long _position; - private readonly byte[] _decodeBuffer; - private readonly bool _hasLoop; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs.meta deleted file mode 100644 index b19a506..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c76257579ffd8564c939bbe76ca4203d -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs deleted file mode 100644 index 7550370..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.IO; - -namespace DereTore.Exchange.Audio.HCA { - public abstract class HcaAudioStreamBase : Stream { - - protected HcaAudioStreamBase(Stream sourceStream, DecodeParams decodeParams) { - _decodeParams = decodeParams; - } - - public sealed override void Flush() { - throw new NotSupportedException(); - } - - public sealed override void SetLength(long value) { - throw new NotSupportedException(); - } - - public sealed override void Write(byte[] buffer, int offset, int count) { - throw new NotSupportedException(); - } - - public sealed override bool CanRead { get { return true; } } - - public sealed override bool CanWrite { get { return false; } } - - public bool AllowDisposedOperations { get; set; } - - public bool IsDisposed { get { return _isDisposed; } } - - public HcaDecoder Decoder { get { return _decoder; } } - - public abstract float LengthInSeconds { get; } - - public abstract uint LengthInSamples { get; } - - public HcaInfo HcaInfo { get { return _decoder.HcaInfo; } } - - public DecodeParams DecodeParams { get { return _decodeParams; } } - - protected bool EnsureNotDisposed() { - if (IsDisposed) { - if (AllowDisposedOperations) { - return false; - } else { - throw new ObjectDisposedException(typeof(HcaAudioStream).Name); - } - } else { - return true; - } - } - - protected override void Dispose(bool disposing) { - _isDisposed = true; - base.Dispose(disposing); - } - - protected abstract bool HasMoreData { get; } - - protected HcaDecoder _decoder; - private bool _isDisposed; - private readonly DecodeParams _decodeParams; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs.meta deleted file mode 100644 index 7d72214..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamBase.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7f02074bbcbbe3f468aff93e5134e5ad -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs deleted file mode 100644 index 57afaa8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace DereTore.Exchange.Audio.HCA { - [Flags] - internal enum HcaAudioStreamDecodeState { - Initialized = 0, - WaveHeaderTransmitting = 1, - WaveHeaderTransmitted = 2, - DataTransmitting = 4, - DataTransmitted = 8 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs.meta deleted file mode 100644 index 2c4a4bc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaAudioStreamDecodeState.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cf0e1b54f4a99134ea689ef2e6a45bab -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs deleted file mode 100644 index e4a5d21..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Audio.HCA { - partial class HcaDecoder { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - internal uint DecodeBlock(byte[] waveDataBuffer, uint blockIndex) { - if (waveDataBuffer == null) { - throw new ArgumentNullException(NameOf(() => waveDataBuffer)); - } - var waveBlockSize = GetMinWaveDataBufferSize(); - if (waveDataBuffer.Length < waveBlockSize) { - throw new HcaException(ErrorMessages.GetBufferTooSmall(waveBlockSize, waveDataBuffer.Length), ActionResult.BufferTooSmall); - } - TransformWaveDataBlocks(SourceStream, waveDataBuffer, blockIndex, 1, GetProperWaveWriter()); - return 1; - } - - internal uint DecodeBlocks(byte[] waveDataBuffer, uint startBlockIndex) { - if (waveDataBuffer == null) { - throw new ArgumentNullException(NameOf(() => waveDataBuffer)); - } - var waveBlockSize = GetMinWaveDataBufferSize(); - if (waveDataBuffer.Length < waveBlockSize) { - throw new HcaException(ErrorMessages.GetBufferTooSmall(waveBlockSize, waveDataBuffer.Length), ActionResult.BufferTooSmall); - } - var hcaInfo = HcaInfo; - var numBlocksToDecode = (uint)(waveDataBuffer.Length / waveBlockSize); - if (startBlockIndex + numBlocksToDecode >= hcaInfo.BlockCount) { - numBlocksToDecode = hcaInfo.BlockCount - startBlockIndex; - } - if (numBlocksToDecode == 0) { - return 0; - } - TransformWaveDataBlocks(SourceStream, waveDataBuffer, startBlockIndex, numBlocksToDecode, GetProperWaveWriter()); - return numBlocksToDecode; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs.meta deleted file mode 100644 index 2a1f5ae..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Internal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 72bfbcd478d98fb4fa5472b48facbfbd -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs deleted file mode 100644 index aa9307b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs +++ /dev/null @@ -1,217 +0,0 @@ -using System; -using System.IO; -using System.Linq; -using System.Linq.Expressions; -//using System.Threading.Tasks; - -namespace DereTore.Exchange.Audio.HCA { - partial class HcaDecoder { - - private void Initialize() { - ParseHeaders(); - InitializeDecodeComponents(); - } - - private void InitializeDecodeComponents() { - var hcaInfo = HcaInfo; - if (!_ath.Initialize(hcaInfo.AthType, hcaInfo.SamplingRate)) { - throw new HcaException(ErrorMessages.GetAthInitializationFailed(), ActionResult.AthInitFailed); - } - var decodeParams = _decodeParams; - var cipherType = decodeParams.CipherTypeOverrideEnabled ? decodeParams.OverriddenCipherType : hcaInfo.CipherType; - if (!_cipher.Initialize(cipherType, decodeParams.Key1, decodeParams.Key2)) { - throw new HcaException(ErrorMessages.GetCiphInitializationFailed(), ActionResult.CiphInitFailed); - } - var channels = _channels = new Channel[0x10]; - for (var i = 0; i < channels.Length; ++i) { - channels[i] = Channel.CreateDefault(); - } - var r = new byte[10]; - uint b = hcaInfo.ChannelCount / hcaInfo.CompR03; - if (hcaInfo.CompR07 != 0 && b > 1) { - uint rIndex = 0; - for (uint i = 0; i < hcaInfo.CompR03; ++i, rIndex += b) { - switch (b) { - case 2: - case 3: - r[rIndex] = 1; - r[rIndex + 1] = 2; - break; - case 4: - r[rIndex] = 1; - r[rIndex + 1] = 2; - if (hcaInfo.CompR04 == 0) { - r[rIndex + 2] = 1; - r[rIndex + 3] = 2; - } - break; - case 5: - r[rIndex] = 1; - r[rIndex + 1] = 2; - if (hcaInfo.CompR04 <= 2) { - r[rIndex + 3] = 1; - r[rIndex + 4] = 2; - } - break; - case 6: - case 7: - r[rIndex] = 1; - r[rIndex + 1] = 2; - r[rIndex + 4] = 1; - r[rIndex + 5] = 2; - break; - case 8: - r[rIndex] = 1; - r[rIndex + 1] = 2; - r[rIndex + 4] = 1; - r[rIndex + 5] = 2; - r[rIndex + 6] = 1; - r[rIndex + 7] = 2; - break; - default: - throw new ArgumentOutOfRangeException("b"); - } - } - } - for (uint i = 0; i < hcaInfo.ChannelCount; ++i) { - channels[i].Type = r[i]; - channels[i].Value3 = (uint)(hcaInfo.CompR06 + hcaInfo.CompR07); - channels[i].Count = (uint)(hcaInfo.CompR06 + (r[i] != 2 ? hcaInfo.CompR07 : (ushort)0)); - } - } - - private int DecodeToWaveR32(byte[] blockData) { - var hcaInfo = HcaInfo; - if (blockData == null) { - throw new ArgumentNullException(NameOf(() => blockData)); - } - if (blockData.Length < hcaInfo.BlockSize) { - throw new HcaException(ErrorMessages.GetInvalidParameter("blockData.Length"), ActionResult.InvalidParameter); - } - var checksum = HcaHelper.Checksum(blockData, 0); - if (checksum != 0) { - throw new HcaException(ErrorMessages.GetChecksumNotMatch(0, checksum), ActionResult.ChecksumNotMatch); - } - _cipher.Decrypt(blockData); - var d = new DataBits(blockData, hcaInfo.BlockSize); - var magic = d.GetBit(16); - if (magic != 0xffff) { - throw new HcaException(ErrorMessages.GetMagicNotMatch(0xffff, magic), ActionResult.MagicNotMatch); - } - var a = (d.GetBit(9) << 8) - d.GetBit(7); - var channels = _channels; - var ath = _ath; - try { - for (var i = 0; i < hcaInfo.ChannelCount; ++i) { - channels[i].Decode1(d, hcaInfo.CompR09, a, ath.Table); - } - for (var i = 0; i < 8; ++i) { - for (var j = 0; j < hcaInfo.ChannelCount; ++j) { - channels[j].Decode2(d); - } - for (var j = 0; j < hcaInfo.ChannelCount; ++j) { - channels[j].Decode3(hcaInfo.CompR09, hcaInfo.CompR08, (uint)(hcaInfo.CompR07 + hcaInfo.CompR06), hcaInfo.CompR05); - } - for (var j = 0; j < hcaInfo.ChannelCount - 1; ++j) { - Channel.Decode4(ref channels[j], ref channels[j + 1], i, (uint)(hcaInfo.CompR05 - hcaInfo.CompR06), hcaInfo.CompR06, hcaInfo.CompR07); - } - for (var j = 0; j < hcaInfo.ChannelCount; ++j) { - channels[j].Decode5(i); - } - } - return blockData.Length; - } catch (IndexOutOfRangeException ex) { - const string message = "Index access exception detected. It is probably because you are using an incorrect HCA key pair while decoding a type 56 HCA file."; - throw new HcaException(message, ActionResult.DecodeFailed, ex); - } - } - - private void TransformWaveDataBlocks(Stream source, byte[] destination, uint startBlockIndex, uint blockCount, IWaveWriter waveWriter) { - if (source == null) { - throw new ArgumentNullException(NameOf(() => source)); - } - if (destination == null) { - throw new ArgumentNullException(NameOf(() => destination)); - } - if (waveWriter == null) { - throw new ArgumentNullException(NameOf(() => waveWriter)); - } - var hcaInfo = HcaInfo; - var startOffset = hcaInfo.DataOffset + startBlockIndex * hcaInfo.BlockSize; - source.Seek(startOffset, SeekOrigin.Begin); - var channels = _channels; - var decodeParams = _decodeParams; - var hcaBlockBuffer = GetHcaBlockBuffer(); - - var channelCount = (int)hcaInfo.ChannelCount; - var rvaVolume = hcaInfo.RvaVolume; - var bytesPerSample = waveWriter.BytesPerSample; - foreach (var l in Enumerable.Range(0, (int)blockCount)) { - source.Read(hcaBlockBuffer, 0, hcaBlockBuffer.Length); - DecodeToWaveR32(hcaBlockBuffer); - for (int i = 0; i < 8; i++) - { - for (var j = 0; j < 0x80; ++j) - { - for (var k = 0; k < channelCount; ++k) - { - var f = channels[k].Wave[i * 0x80 + j] * decodeParams.Volume * rvaVolume; - HcaHelper.Clamp(ref f, -1f, 1f); - var offset = (((l * 8 + i) * 0x80 + j) * channelCount + k) * bytesPerSample; - waveWriter.DecodeToBuffer(f, destination, (uint)offset); - } - } - } - } - } - - private byte[] GetHcaBlockBuffer() { - return _hcaBlockBuffer ?? (_hcaBlockBuffer = new byte[HcaInfo.BlockSize]); - } - - private int GetSampleBitsFromParams() { - var mode = _decodeParams.Mode; - switch (mode) { - case SamplingMode.R32: - return 32; - case SamplingMode.S16: - return 16; - case SamplingMode.S24: - return 24; - case SamplingMode.S32: - return 32; - case SamplingMode.U8: - return 8; - default: - throw new ArgumentOutOfRangeException(NameOf(() => mode)); - } - } - - private IWaveWriter GetProperWaveWriter() { - var mode = _decodeParams.Mode; - switch (mode) { - case SamplingMode.S16: - return WaveHelper.S16; - case SamplingMode.R32: - return WaveHelper.R32; - case SamplingMode.S32: - return WaveHelper.S32; - case SamplingMode.U8: - return WaveHelper.U8; - case SamplingMode.S24: - throw new NotImplementedException(); - default: - throw new ArgumentOutOfRangeException(NameOf(() => mode)); - } - } - - private byte[] _hcaBlockBuffer; - private readonly Ath _ath; - private readonly Cipher _cipher; - private Channel[] _channels; - private readonly DecodeParams _decodeParams; - private int? _minWaveHeaderBufferSize; - private int? _minWaveDataBufferSize; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs.meta deleted file mode 100644 index 22570d6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.Private.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ec3b49f5a468c0240af9ec5e8dd1ad8f -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs deleted file mode 100644 index 931ae06..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using System.IO; -using System.Runtime.InteropServices; -using DereTore.Common; -using DereTore.Exchange.Audio.HCA.Native; - -namespace DereTore.Exchange.Audio.HCA { - public partial class HcaDecoder : HcaReader { - - public HcaDecoder(Stream sourceStream) - : this(sourceStream, DecodeParams.Default) { - } - - public HcaDecoder(Stream sourceStream, DecodeParams decodeParams) - : base(sourceStream) { - _decodeParams = decodeParams; - HcaHelper.TranslateTables(); - _ath = new Ath(); - _cipher = new Cipher(); - Initialize(); - } - - public int GetMinWaveHeaderBufferSize() { - if (_minWaveHeaderBufferSize != null) { - return _minWaveHeaderBufferSize.Value; - } - var wavNoteSize = 0; - var hcaInfo = HcaInfo; - if (hcaInfo.Comment != null) { - wavNoteSize = 4 + (int)hcaInfo.CommentLength + 1; - if ((wavNoteSize & 3) != 0) { - wavNoteSize += 4 - (wavNoteSize & 3); - } - } - var sizeNeeded = Marshal.SizeOf(typeof(WaveRiffSection)); - if (hcaInfo.LoopFlag) { - sizeNeeded += Marshal.SizeOf(typeof(WaveSampleSection)); - } - if (hcaInfo.Comment != null && hcaInfo.Comment.Length > 0) { - sizeNeeded += 8 * wavNoteSize; - } - sizeNeeded += Marshal.SizeOf(typeof(WaveDataSection)); - _minWaveHeaderBufferSize = sizeNeeded; - return _minWaveHeaderBufferSize.Value; - } - - public int GetMinWaveDataBufferSize() { - if (_minWaveDataBufferSize != null) { - return _minWaveDataBufferSize.Value; - } - _minWaveDataBufferSize = 0x80 * GetSampleBitsFromParams() * (int)HcaInfo.ChannelCount; - return _minWaveDataBufferSize.Value; - } - - public int WriteWaveHeader(byte[] stream) { - return WriteWaveHeader(stream, AudioParams.Default); - } - - public int WriteWaveHeader(byte[] stream, AudioParams audioParams) { - if (stream == null) { - throw new ArgumentNullException(NameOf(() => stream)); - } - var hcaInfo = HcaInfo; - if (hcaInfo.LoopFlag && audioParams.InfiniteLoop) { - // See remarks of AudioParams.InfiniteLoop. - throw new HcaException(ErrorMessages.GetInvalidParameter(NameOf(() => audioParams.InfiniteLoop)), ActionResult.InvalidParameter); - } - var minimumHeaderBufferSize = GetMinWaveHeaderBufferSize(); - if (stream.Length < minimumHeaderBufferSize) { - throw new HcaException(ErrorMessages.GetBufferTooSmall(minimumHeaderBufferSize, stream.Length), ActionResult.BufferTooSmall); - } - var sampleBits = GetSampleBitsFromParams(); - var wavRiff = WaveRiffSection.CreateDefault(); - var wavNote = WaveNoteSection.CreateDefault(); - var wavData = WaveDataSection.CreateDefault(); - wavRiff.FmtType = (ushort)(_decodeParams.Mode != SamplingMode.R32 ? 1 : 3); - wavRiff.FmtChannels = (ushort)hcaInfo.ChannelCount; - wavRiff.FmtBitCount = (ushort)(sampleBits > 0 ? sampleBits : sizeof(float)); - wavRiff.FmtSamplingRate = hcaInfo.SamplingRate; - wavRiff.FmtSamplingSize = (ushort)(wavRiff.FmtBitCount / 8 * wavRiff.FmtChannels); - wavRiff.FmtSamplesPerSec = wavRiff.FmtSamplingRate * wavRiff.FmtSamplingSize; - if (hcaInfo.Comment != null) { - wavNote.NoteSize = 4 + hcaInfo.CommentLength + 1; - if ((wavNote.NoteSize & 3) != 0) { - wavNote.NoteSize += 4 - (wavNote.NoteSize & 3); - } - } - - var totalBlockCount = hcaInfo.BlockCount; - if (hcaInfo.LoopFlag) { - totalBlockCount += (hcaInfo.LoopEnd - hcaInfo.LoopStart + 1) * audioParams.SimulatedLoopCount; - } - wavData.DataSize = totalBlockCount * 0x80 * 8 * wavRiff.FmtSamplingSize; - wavRiff.RiffSize = (uint)(0x1c + (hcaInfo.Comment != null ? wavNote.NoteSize : 0) + Marshal.SizeOf(wavData) + wavData.DataSize); - - var bytesWritten = stream.Write(wavRiff, 0); - if (hcaInfo.Comment != null) { - var address = bytesWritten; - bytesWritten += stream.Write(wavNote, bytesWritten); - stream.Write(hcaInfo.Comment, bytesWritten); - bytesWritten = address + 8 + (int)wavNote.NoteSize; - bytesWritten += 8 + (int)wavNote.NoteSize; - } - bytesWritten += stream.Write(wavData, bytesWritten); - return bytesWritten; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs.meta deleted file mode 100644 index dbbc472..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaDecoder.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c5e08f72e809cf74392c81b98ec6b6b2 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs deleted file mode 100644 index 995c837..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public static class HcaEncoderInfo { - - // Measured value - public static int EncoderDelayInSamples { get { return 128; } } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs.meta deleted file mode 100644 index e8afaef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaEncoderInfo.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a74dd3c487568f446bb67a284d881ca3 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs deleted file mode 100644 index 00779d1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace DereTore.Exchange.Audio.HCA { - public sealed class HcaException : Exception { - - public HcaException(string message, ActionResult actionResult) - : base(message) { - _actionResult = actionResult; - } - - public HcaException(string message, ActionResult actionResult, Exception innerException) - : base(message, innerException) { - _actionResult = actionResult; - } - - public ActionResult ActionResult { get { return _actionResult; } } - - private readonly ActionResult _actionResult; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs.meta deleted file mode 100644 index e040e04..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaException.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f22f6ba511070d147a4bf6c4e14f9e56 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs deleted file mode 100644 index e777a00..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; - -namespace DereTore.Exchange.Audio.HCA { - internal static class HcaHelper { - - static HcaHelper() { - SyncObject = new object(); - } - - public static void TranslateTables() { - lock (SyncObject) { - if (_tablesTranslated) { - return; - } - ChannelTables.TranslateTables(); - _tablesTranslated = true; - } - } - - public static uint Ceil2(uint a, uint b) { - return (b > 0) ? (uint)(a / b + ((a % b) != 0 ? 1 : 0)) : 0; - } - - public static ushort Checksum(byte[] data, ushort sum) { - return Checksum(data, sum, data.Length); - } - - /// - /// - /// var headerChecksum = HcaHelper.Checksum(headerBytes, 0, headerBytes.Length - 2); - /// headerChecksum = HcaHelper.SwapEndian(headerChecksum); - /// headerBytes[headerBytes.Length - 2] = HIBYTE(headerChecksum); - /// headerBytes[headerBytes.Length - 1] = LOBYTE(headerChecksum); - /// - public static ushort Checksum(byte[] data, ushort sum, int length) { - var dataLength = data.Length; - dataLength = Math.Min(dataLength, length); - for (var i = 0; i < dataLength; ++i) { - sum = (ushort)((sum << 8) ^ ChecksumTable[(sum >> 8) ^ data[i]]); - } - return sum; - } - - public static void SetString(out byte[] p, string value) { - p = new byte[value.Length]; - for (var i = 0; i < value.Length; ++i) { - p[i] = (byte)value[i]; - } - } - - public static float UInt32ToSingleBits(uint v) { - return BitConverter.ToSingle(BitConverter.GetBytes(v), 0); - } - - public static uint SingleToUInt32Bits(float v) { - return BitConverter.ToUInt32(BitConverter.GetBytes(v), 0); - } - - public static void Clamp(ref float value, float minimum, float maximum) { - if (value < minimum) { - value = minimum; - } else if (value > maximum) { - value = maximum; - } - } - - public static float Clamp(float value, float minimum, float maximum) { - return value < minimum ? minimum : (value > maximum ? maximum : value); - } - - public static void Exchange(ref T v1, ref T v2) { - var v3 = v1; - v1 = v2; - v2 = v3; - } - - public static bool Succeeded(ActionResult actionResult) { - return actionResult >= 0; - } - - public static bool Failed(ActionResult actionResult) { - return actionResult < 0; - } - - public static uint CalculateLengthInSamples(HcaInfo hcaInfo) { - return hcaInfo.BlockCount * hcaInfo.ChannelCount * 0x80 * 8; - } - - public static uint CalculateLengthInSamples(HcaInfo hcaInfo, uint loopCount, bool infiniteLoop) { - if (infiniteLoop) { - return uint.MaxValue; - } - var totalBlockCount = hcaInfo.BlockCount; - totalBlockCount += (hcaInfo.LoopEnd - hcaInfo.LoopStart + 1) * loopCount; - return totalBlockCount * hcaInfo.ChannelCount * 0x80 * 8; - } - - public static float CalculateLengthInSeconds(HcaInfo hcaInfo) { - return hcaInfo.BlockCount * 0x80 * 8 / (float)hcaInfo.SamplingRate; - } - - public static float CalculateLengthInSeconds(HcaInfo hcaInfo, uint loopCount, bool infiniteLoop) { - if (infiniteLoop) { - return float.MaxValue; - } - var totalBlockCount = hcaInfo.BlockCount; - totalBlockCount += (hcaInfo.LoopEnd - hcaInfo.LoopStart + 1) * loopCount; - return totalBlockCount * 0x80 * 8 / (float)hcaInfo.SamplingRate; - } - - private static readonly ushort[] ChecksumTable = { - 0x0000, 0x8005, 0x800F, 0x000A, 0x801B, 0x001E, 0x0014, 0x8011, - 0x8033, 0x0036, 0x003C, 0x8039, 0x0028, 0x802D, 0x8027, 0x0022, - 0x8063, 0x0066, 0x006C, 0x8069, 0x0078, 0x807D, 0x8077, 0x0072, - 0x0050, 0x8055, 0x805F, 0x005A, 0x804B, 0x004E, 0x0044, 0x8041, - 0x80C3, 0x00C6, 0x00CC, 0x80C9, 0x00D8, 0x80DD, 0x80D7, 0x00D2, - 0x00F0, 0x80F5, 0x80FF, 0x00FA, 0x80EB, 0x00EE, 0x00E4, 0x80E1, - 0x00A0, 0x80A5, 0x80AF, 0x00AA, 0x80BB, 0x00BE, 0x00B4, 0x80B1, - 0x8093, 0x0096, 0x009C, 0x8099, 0x0088, 0x808D, 0x8087, 0x0082, - 0x8183, 0x0186, 0x018C, 0x8189, 0x0198, 0x819D, 0x8197, 0x0192, - 0x01B0, 0x81B5, 0x81BF, 0x01BA, 0x81AB, 0x01AE, 0x01A4, 0x81A1, - 0x01E0, 0x81E5, 0x81EF, 0x01EA, 0x81FB, 0x01FE, 0x01F4, 0x81F1, - 0x81D3, 0x01D6, 0x01DC, 0x81D9, 0x01C8, 0x81CD, 0x81C7, 0x01C2, - 0x0140, 0x8145, 0x814F, 0x014A, 0x815B, 0x015E, 0x0154, 0x8151, - 0x8173, 0x0176, 0x017C, 0x8179, 0x0168, 0x816D, 0x8167, 0x0162, - 0x8123, 0x0126, 0x012C, 0x8129, 0x0138, 0x813D, 0x8137, 0x0132, - 0x0110, 0x8115, 0x811F, 0x011A, 0x810B, 0x010E, 0x0104, 0x8101, - 0x8303, 0x0306, 0x030C, 0x8309, 0x0318, 0x831D, 0x8317, 0x0312, - 0x0330, 0x8335, 0x833F, 0x033A, 0x832B, 0x032E, 0x0324, 0x8321, - 0x0360, 0x8365, 0x836F, 0x036A, 0x837B, 0x037E, 0x0374, 0x8371, - 0x8353, 0x0356, 0x035C, 0x8359, 0x0348, 0x834D, 0x8347, 0x0342, - 0x03C0, 0x83C5, 0x83CF, 0x03CA, 0x83DB, 0x03DE, 0x03D4, 0x83D1, - 0x83F3, 0x03F6, 0x03FC, 0x83F9, 0x03E8, 0x83ED, 0x83E7, 0x03E2, - 0x83A3, 0x03A6, 0x03AC, 0x83A9, 0x03B8, 0x83BD, 0x83B7, 0x03B2, - 0x0390, 0x8395, 0x839F, 0x039A, 0x838B, 0x038E, 0x0384, 0x8381, - 0x0280, 0x8285, 0x828F, 0x028A, 0x829B, 0x029E, 0x0294, 0x8291, - 0x82B3, 0x02B6, 0x02BC, 0x82B9, 0x02A8, 0x82AD, 0x82A7, 0x02A2, - 0x82E3, 0x02E6, 0x02EC, 0x82E9, 0x02F8, 0x82FD, 0x82F7, 0x02F2, - 0x02D0, 0x82D5, 0x82DF, 0x02DA, 0x82CB, 0x02CE, 0x02C4, 0x82C1, - 0x8243, 0x0246, 0x024C, 0x8249, 0x0258, 0x825D, 0x8257, 0x0252, - 0x0270, 0x8275, 0x827F, 0x027A, 0x826B, 0x026E, 0x0264, 0x8261, - 0x0220, 0x8225, 0x822F, 0x022A, 0x823B, 0x023E, 0x0234, 0x8231, - 0x8213, 0x0216, 0x021C, 0x8219, 0x0208, 0x820D, 0x8207, 0x0202 - }; - - private static bool _tablesTranslated; - private static readonly object SyncObject; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs.meta deleted file mode 100644 index 6eed2da..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bc142b5623656334c943a5665f989a63 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs deleted file mode 100644 index 9d91921..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public struct HcaInfo { - - public ushort Version; - public uint DataOffset; - public uint ChannelCount; - public uint SamplingRate; - public uint BlockCount; - public ushort FmtR01; - public ushort FmtR02; - public uint BlockSize; - public ushort CompR01; - public ushort CompR02; - public ushort CompR03; - public ushort CompR04; - public ushort CompR05; - public ushort CompR06; - public ushort CompR07; - public ushort CompR08; - public uint CompR09; - public ushort VbrR01; - public ushort VbrR02; - public ushort AthType; - public uint LoopStart; - public uint LoopEnd; - public ushort LoopR01; - public ushort LoopR02; - public bool LoopFlag; - public CipherType CipherType; - public float RvaVolume; - public uint CommentLength; - public byte[] Comment; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs.meta deleted file mode 100644 index fb7170e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaInfo.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8171e8f52dd22e849a11f1808927bb37 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs deleted file mode 100644 index 422dbbc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs +++ /dev/null @@ -1,220 +0,0 @@ -using System.Collections.Generic; -using System.IO; -using DereTore.Common; -using DereTore.Exchange.Audio.HCA.Native; - -namespace DereTore.Exchange.Audio.HCA { - public abstract class HcaReader { - - public Stream SourceStream - { - get - { - return _sourceStream; - } - } - - public HcaInfo HcaInfo { get; private set; } - - public static bool IsHcaStream(Stream stream) { - var position = stream.Position; - bool result; - try { - // The cipher keys do nothing to validating HCA files. - new HcaDecoder(stream, DecodeParams.Default); - result = true; - } catch (HcaException) { - result = false; - } - stream.Seek(position, SeekOrigin.Begin); - return result; - } - - public static bool IsLoopedHcaStream(Stream stream) { - var position = stream.Position; - bool result; - try { - // The cipher keys do nothing to validating HCA files. - var decoder = new HcaDecoder(stream, DecodeParams.Default); - result = decoder.HcaInfo.LoopFlag; - } catch (HcaException) { - result = false; - } - stream.Seek(position, SeekOrigin.Begin); - return result; - } - - internal void ParseHeaders() { - var stream = SourceStream; - uint v; - var hcaInfo = new HcaInfo(); - // HCA - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.HCA)) { - HcaHeader header; - stream.Read(out header); - hcaInfo.Version = DereToreHelper.SwapEndian(header.Version); - hcaInfo.DataOffset = DereToreHelper.SwapEndian(header.DataOffset); - } else { - throw new HcaException("Missing HCA signature.", ActionResult.MagicNotMatch); - } - // FMT - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.FMT)) { - FormatHeader header; - stream.Read(out header); - hcaInfo.ChannelCount = header.Channels; - hcaInfo.SamplingRate = DereToreHelper.SwapEndian(header.SamplingRate << 8); - hcaInfo.BlockCount = DereToreHelper.SwapEndian(header.Blocks); - hcaInfo.FmtR01 = DereToreHelper.SwapEndian(header.R01); - hcaInfo.FmtR02 = DereToreHelper.SwapEndian(header.R02); - if (hcaInfo.ChannelCount < 1 || hcaInfo.ChannelCount > 16) { - throw new HcaException(string.Format("Channel count should be between 1 and 16, read {0}.", hcaInfo.ChannelCount), ActionResult.InvalidFieldValue); - } - if (hcaInfo.SamplingRate < 1 || hcaInfo.SamplingRate > 0x7fffff) { - throw new HcaException(string.Format("Sampling rate should be between 1 and {0}, read {1}.", 0x7fffffff, hcaInfo.SamplingRate), ActionResult.InvalidFieldValue); - } - } else { - throw new HcaException("Missing FMT signature.", ActionResult.MagicNotMatch); - } - // COMP / DEC - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.COMP)) { - CompressHeader header; - stream.Read(out header); - hcaInfo.BlockSize = DereToreHelper.SwapEndian(header.BlockSize); - hcaInfo.CompR01 = header.R01; - hcaInfo.CompR02 = header.R02; - hcaInfo.CompR03 = header.R03; - hcaInfo.CompR04 = header.R04; - hcaInfo.CompR05 = header.R05; - hcaInfo.CompR06 = header.R06; - hcaInfo.CompR07 = header.R07; - hcaInfo.CompR08 = header.R08; - if ((hcaInfo.BlockSize < 8 || hcaInfo.BlockSize > 0xffff) && hcaInfo.BlockSize != 0) { - throw new HcaException(string.Format("Block size should be between 8 and {0}, read {hcaInfo.BlockSize}.", 0xffff), ActionResult.InvalidFieldValue); - } - if (!(hcaInfo.CompR01 <= hcaInfo.CompR02 && hcaInfo.CompR02 <= 0x1f)) { - throw new HcaException(string.Format("CompR01 should be less than or equal to CompR02, and CompR02 should be less than or equal to {0}, read {1} and {2}.", 0x1f, hcaInfo.CompR01, hcaInfo.CompR02), ActionResult.InvalidFieldValue); - } - } else if (MagicValues.IsMagicMatch(v, MagicValues.DEC)) { - DecodeHeader header; - stream.Read(out header); - hcaInfo.CompR01 = header.R01; - hcaInfo.CompR02 = header.R02; - hcaInfo.CompR03 = header.R04; - hcaInfo.CompR04 = header.R03; - hcaInfo.CompR05 = (ushort)(header.Count1 + 1); - hcaInfo.CompR06 = (ushort)((header.EnableCount2 ? header.Count2 : header.Count1) + 1); - hcaInfo.CompR07 = (ushort)(hcaInfo.CompR05 - hcaInfo.CompR06); - hcaInfo.CompR08 = 0; - if ((hcaInfo.BlockSize < 8 || hcaInfo.BlockSize > 0xffff) && hcaInfo.BlockSize != 0) { - throw new HcaException(string.Format("Block size should be between 8 and {0}, read {1}.", 0xffff, hcaInfo.BlockSize), ActionResult.InvalidFieldValue); - } - if (!(hcaInfo.CompR01 <= hcaInfo.CompR02 && hcaInfo.CompR02 <= 0x1f)) { - throw new HcaException(string.Format("CompR01 should be less than or equal to CompR02, and CompR02 should be less than or equal to {0}, read {1} and {2}.", 0x1f, hcaInfo.CompR01, hcaInfo.CompR02), ActionResult.InvalidFieldValue); - } - if (hcaInfo.CompR03 == 0) { - hcaInfo.CompR03 = 1; - } - } else { - throw new HcaException("Missing COMP/DEC signature.", ActionResult.MagicNotMatch); - } - // VBR - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.VBR)) { - VbrHeader header; - stream.Read(out header); - hcaInfo.VbrR01 = DereToreHelper.SwapEndian(header.R01); - hcaInfo.VbrR02 = DereToreHelper.SwapEndian(header.R02); - if (!(hcaInfo.BlockSize == 0 && hcaInfo.VbrR01 < 0x01ff)) { - throw new HcaException(string.Format("VbrR01 should be less than {0} in VBR HCA.", 0x01ff), ActionResult.InvalidFieldValue); - } - } else { - hcaInfo.VbrR01 = hcaInfo.VbrR02 = 0; - } - // ATH - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.ATH)) { - AthHeader header; - stream.Read(out header); - hcaInfo.AthType = header.Type; - } else { - hcaInfo.AthType = (ushort)(hcaInfo.Version < 0x0200 ? 1 : 0); - } - // LOOP - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.LOOP)) { - LoopHeader header; - stream.Read(out header); - hcaInfo.LoopStart = DereToreHelper.SwapEndian(header.LoopStart); - hcaInfo.LoopEnd = DereToreHelper.SwapEndian(header.LoopEnd); - hcaInfo.LoopR01 = DereToreHelper.SwapEndian(header.R01); - hcaInfo.LoopR02 = DereToreHelper.SwapEndian(header.R02); - hcaInfo.LoopFlag = true; - } else { - hcaInfo.LoopStart = 0; - hcaInfo.LoopEnd = 0; - hcaInfo.LoopR01 = 0; - hcaInfo.LoopR02 = 0x400; - hcaInfo.LoopFlag = false; - } - // CIPH - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.CIPH)) { - CipherHeader header; - stream.Read(out header); - hcaInfo.CipherType = (CipherType)DereToreHelper.SwapEndian(header.Type); - } else { - hcaInfo.CipherType = CipherType.NoChipher; - } - // RVA - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.RVA)) { - RvaHeader header; - stream.Read(out header); - hcaInfo.RvaVolume = DereToreHelper.SwapEndian(header.Volume); - } else { - hcaInfo.RvaVolume = 1; - } - // COMM - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.COMM)) { - CommentHeader header; - stream.Read(out header); - hcaInfo.CommentLength = header.Length; - var tmpCommentCharList = new List(); - byte tmpByte; - do { - tmpByte = (byte)stream.ReadByte(); - tmpCommentCharList.Add(tmpByte); - } while (tmpByte != 0); - hcaInfo.Comment = tmpCommentCharList.ToArray(); - } else { - hcaInfo.CommentLength = 0; - hcaInfo.Comment = null; - } - // PAD (undocumented) - v = stream.PeekUInt32LE(); - if (MagicValues.IsMagicMatch(v, MagicValues.PAD)) { - stream.Skip(4); // Length of 'pad ' - } - - if (hcaInfo.CompR03 == 0) { - hcaInfo.CompR03 = 1; - } - - if (hcaInfo.CompR01 != 1 || hcaInfo.CompR02 != 0xf) { - throw new HcaException(string.Format("Expected CompR01=1, CompR02=15, read {0}, {1}.", hcaInfo.CompR01, hcaInfo.CompR02), ActionResult.InvalidFieldValue); - } - hcaInfo.CompR09 = HcaHelper.Ceil2((uint)(hcaInfo.CompR05 - (hcaInfo.CompR06 + hcaInfo.CompR07)), hcaInfo.CompR08); - HcaInfo = hcaInfo; - } - - protected HcaReader(Stream sourceStream) { - _sourceStream = sourceStream; - } - - private readonly Stream _sourceStream; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs.meta deleted file mode 100644 index f547449..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/HcaReader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e09ca24683ca9014295f70d403cbe7e1 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs deleted file mode 100644 index 37f977a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.IO; - -namespace DereTore.Exchange.Audio.HCA { - public interface IWaveWriter { - - SamplingMode SamplingMode { get; } - - uint BytesPerSample { get; } - - /// - /// Decode an audio sample to buffer. - /// - /// Audio sample value. - /// Decode buffer for output. - /// Offset of the desired starting byte in buffer. - /// Bytes written. - uint DecodeToBuffer(float f, byte[] buffer, uint offset); - - uint DecodeToStream(float f, Stream stream); - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs.meta deleted file mode 100644 index b414aec..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/IWaveWriter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 318b2a602109896449bc5cf05c5f35b2 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs deleted file mode 100644 index e09d795..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public static class MagicValues { - - public static readonly uint HCA = 0x00414348; - - public static readonly uint FMT = 0x00746d66; - - public static readonly uint COMP = 0x706d6f63; - - public static readonly uint DEC = 0x00636564; - - public static readonly uint VBR = 0x00726276; - - public static readonly uint ATH = 0x00687461; - - public static readonly uint LOOP = 0x706f6f6c; - - public static readonly uint CIPH = 0x68706963; - - public static readonly uint RVA = 0x00617672; - - public static readonly uint COMM = 0x6d6d6f63; - - public static readonly uint PAD = 0x00646170; - - public static bool IsMagicMatch(uint valueRead, uint valueToCheck) { - return (valueRead & 0x7f7f7f7f) == valueToCheck; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs.meta deleted file mode 100644 index f8e2e50..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/MagicValues.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 26d0434290a199d41b42575dc34f5daa -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native.meta deleted file mode 100644 index 3061040..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 9c6fdd3a8a7ed9a44b143bfe7affc218 -folderAsset: yes -timeCreated: 1531897074 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs deleted file mode 100644 index b964ef2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct AthHeader { - - public uint ATH { - get { return _ath; } - set { _ath = value; } - } - - public ushort Type { - get { return _type; } - set { _type = value; } - } - - private uint _ath; - private ushort _type; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs.meta deleted file mode 100644 index eb98642..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/AthHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e1bf30dfad5bee047832455bf63b7211 -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs deleted file mode 100644 index 0070758..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct CipherHeader { - - public uint CIPH { - get { return _ciph; } - set { _ciph = value; } - } - - public ushort Type { - get { return _type; } - set { _type = value; } - } - - private uint _ciph; - private ushort _type; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs.meta deleted file mode 100644 index b7d1f3e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CipherHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 228cab927670653418697c98965c350d -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs deleted file mode 100644 index 9250816..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] - public struct CommentHeader { - - public uint COMM { - get { return _comm; } - set { _comm = value; } - } - - public byte Length { - get { return _length; } - set { _length = value; } - } - - private uint _comm; - private byte _length; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs.meta deleted file mode 100644 index 6211b69..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CommentHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 205a93edd24ca4948aaccc59a9225c38 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs deleted file mode 100644 index 4e84fde..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs +++ /dev/null @@ -1,81 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct CompressHeader { - - public uint COMP { - get { return _comp; } - set { _comp = value; } - } - - public ushort BlockSize { - get { return _blockSize; } - set { _blockSize = value; } - } - - public byte R01 { - get { return _r01; } - set { _r01 = value; } - } - - public byte R02 { - get { return _r02; } - set { _r02 = value; } - } - - public byte R03 { - get { return _r03; } - set { _r03 = value; } - } - - public byte R04 { - get { return _r04; } - set { _r04 = value; } - } - - public byte R05 { - get { return _r05; } - set { _r05 = value; } - } - - public byte R06 { - get { return _r06; } - set { _r06 = value; } - } - - public byte R07 { - get { return _r07; } - set { _r07 = value; } - } - - public byte R08 { - get { return _r08; } - set { _r08 = value; } - } - - public byte Reserved1 { - get { return _rs1; } - set { _rs1 = value; } - } - - public byte Reserved2 { - get { return _rs2; } - set { _rs2 = value; } - } - - private uint _comp; - private ushort _blockSize; - private byte _r01; - private byte _r02; - private byte _r03; - private byte _r04; - private byte _r05; - private byte _r06; - private byte _r07; - private byte _r08; - private byte _rs1; - private byte _rs2; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs.meta deleted file mode 100644 index 3b7c3a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/CompressHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 75f27239b6e77d4428f9c662dd9beb7d -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs deleted file mode 100644 index 5799e8d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct DecodeHeader { - - public uint DEC { - get { return _dec; } - set { _dec = value; } - } - - public ushort BlockSize { - get { return _blockSize; } - set { _blockSize = value; } - } - - public byte R01 { - get { return _r01; } - set { _r01 = value; } - } - - public byte R02 { - get { return _r02; } - set { _r02 = value; } - } - - public byte Count1 { - get { return _count1; } - set { _count1 = value; } - } - - public byte Count2 { - get { return _count2; } - set { _count2 = value; } - } - - public byte R03 { - get { return (byte)(_tmpField1 & 0x0f); } - set { _tmpField1 = (byte)((_tmpField1 & 0xf0) | (value & 0x0f)); } - } - - public byte R04 { - get { return (byte)((_tmpField1 & 0xf0) >> 4); } - set { _tmpField1 = (byte)((_tmpField1 & 0x0f) | ((value & 0x0f) << 4)); } - } - - public bool EnableCount2 { - get { return _enableCount2 != 0; } - set { _enableCount2 = (byte)(value ? 1 : 0); } - } - - private uint _dec; - private ushort _blockSize; - private byte _r01; - private byte _r02; - private byte _count1; - private byte _count2; - private byte _tmpField1; - private byte _enableCount2; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs.meta deleted file mode 100644 index 6c912d9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/DecodeHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ac6ab3a083a9dab4c89d11c19ba8007a -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs deleted file mode 100644 index ada5e7f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct FormatHeader { - - public uint FMT { - get { return _fmt; } - set { _fmt = value; } - } - - public uint Channels { - get { return _tempField1 & 0x000000ff; } - set { _tempField1 = (_tempField1 & 0xffffff00) | (value & 0x000000ff); } - } - - public uint SamplingRate { - get { return (_tempField1 & 0xffffff00) >> 8; } - set { _tempField1 = (_tempField1 & 0x000000ff) | ((value & 0x00ffffff) << 8); } - } - - public uint Blocks { - get { return _blocks; } - set { _blocks = value; } - } - - public ushort R01 { - get { return _r01; } - set { _r01 = value; } - } - - public ushort R02 { - get { return _r02; } - set { _r02 = value; } - } - - private uint _fmt; - private uint _tempField1; - private uint _blocks; - private ushort _r01; - private ushort _r02; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs.meta deleted file mode 100644 index 2f8023a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/FormatHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f1f5e07ab09e79c4cb4a047e3ca4dcaf -timeCreated: 1531897076 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs deleted file mode 100644 index dcb3f7a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct HcaHeader { - - public uint HCA { - get { return _hca; } - set { _hca = value; } - } - - public ushort Version { - get { return _version; } - set { _version = value; } - } - - public ushort DataOffset { - get { return _dataOffset; } - set { _dataOffset = value; } - } - - private uint _hca; - private ushort _version; - private ushort _dataOffset; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs.meta deleted file mode 100644 index ae2c5c4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/HcaHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 62f9c36a9b0321e499be72ff6f689539 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs deleted file mode 100644 index ed91d29..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct LoopHeader { - - public uint LOOP { - get { return _loop; } - set { _loop = value; } - } - - public uint LoopStart { - get { return _loopStart; } - set { _loopStart = value; } - } - - public uint LoopEnd { - get { return _loopEnd; } - set { _loopEnd = value; } - } - - public ushort R01 { - get { return _r01; } - set { _r01 = value; } - } - - public ushort R02 { - get { return _r02; } - set { _r02 = value; } - } - - private uint _loop; - private uint _loopStart; - private uint _loopEnd; - private ushort _r01; - private ushort _r02; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs.meta deleted file mode 100644 index fc65508..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/LoopHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cc745eb7512bd714cabdb77c4a409299 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs deleted file mode 100644 index 3e4f22a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct RvaHeader { - - public uint RVA { - get { return _rva; } - set { _rva = value; } - } - - public float Volume { - get { return _volume; } - set { _volume = value; } - } - - private uint _rva; - private float _volume; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs.meta deleted file mode 100644 index f98629f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/RvaHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 233557084787e4f428bf5c2f7afecca1 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs deleted file mode 100644 index cda2380..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct VbrHeader { - - public uint VBR { - get { return _vbr; } - set { _vbr = value; } - } - - public ushort R01 { - get { return _r01; } - set { _r01 = value; } - } - - public ushort R02 { - get { return _r02; } - set { _r02 = value; } - } - - private uint _vbr; - private ushort _r01; - private ushort _r02; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs.meta deleted file mode 100644 index 149dee4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/VbrHeader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0a9ede55bf3a2eb428324f4be4bae426 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs deleted file mode 100644 index 99a8c9e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] - public struct WaveDataSection { - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] DATA; - - public uint DataSize; - - public static WaveDataSection CreateDefault() { - var v = default(WaveDataSection); - v.DataSize = 0; - HcaHelper.SetString(out v.DATA, "data"); - return v; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs.meta deleted file mode 100644 index f614dab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveDataSection.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5f4777db495b7a242bc90ef3f0d41570 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs deleted file mode 100644 index 999b740..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] - public struct WaveNoteSection { - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] NOTE; - - public uint NoteSize; - public uint Name; - - public static WaveNoteSection CreateDefault() { - var v = default(WaveNoteSection); - v.Name = 0; - v.NoteSize = 0; - HcaHelper.SetString(out v.NOTE, "note"); - return v; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs.meta deleted file mode 100644 index 65a1fb8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveNoteSection.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a70f2695872de014ab2f50396745b75c -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs deleted file mode 100644 index 15410fd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] - public struct WaveRiffSection { - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] RIFF; - - public uint RiffSize; - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] WAVE; - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] FMT; - - public uint FmtSize; - public ushort FmtType; - public ushort FmtChannels; - public uint FmtSamplingRate; - public uint FmtSamplesPerSec; - public ushort FmtSamplingSize; - public ushort FmtBitCount; - - public static WaveRiffSection CreateDefault() { - var v = default(WaveRiffSection); - v.RiffSize = 0; - v.FmtSize = 0x10; - v.FmtType = 0; - v.FmtChannels = 0; - v.FmtSamplingRate = 0; - v.FmtSamplesPerSec = 0; - v.FmtSamplingSize = 0; - v.FmtBitCount = 0; - HcaHelper.SetString(out v.RIFF, "RIFF"); - HcaHelper.SetString(out v.WAVE, "WAVE"); - HcaHelper.SetString(out v.FMT, "fmt "); - return v; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs.meta deleted file mode 100644 index 932a460..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveRiffSection.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 070fb203876f0e84c86f57e3b1efa90c -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs deleted file mode 100644 index 519534f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Runtime.InteropServices; - -namespace DereTore.Exchange.Audio.HCA.Native { - [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)] - public struct WaveSampleSection { - - [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)] - public byte[] SMPL; - - public uint SmplSize; - public uint Manufacturer; - public uint Product; - public uint SamplePeriod; - public uint MidiUnityNote; - public uint MidiPitchFraction; - public uint SmpteFormat; - public uint SmpteOffset; - public uint SampleLoops; - public uint SamplerData; - public uint LoopIdentifier; - public uint LoopType; - public uint LoopStart; - public uint LoopEnd; - public uint LoopFraction; - public uint LoopPlayCount; - - public static WaveSampleSection CreateDefault() { - var v = default(WaveSampleSection); - v.SmplSize = 0x3c; - v.Manufacturer = 0; - v.Product = 0; - v.SamplePeriod = 0; - v.MidiUnityNote = 0x3c; - v.MidiPitchFraction = 0; - v.SmpteFormat = 0; - v.SmpteOffset = 0; - v.SampleLoops = 1; - v.SamplerData = 0x18; - v.LoopIdentifier = 0; - v.LoopType = 0; - v.LoopStart = 0; - v.LoopEnd = 0; - v.LoopFraction = 0; - v.LoopPlayCount = 0; - HcaHelper.SetString(out v.SMPL, "smpl"); - return v; - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs.meta deleted file mode 100644 index e5d8f03..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/Native/WaveSampleSection.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 14f90a0d3ad3c1f4faf280de184a5a3c -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs deleted file mode 100644 index 145abb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs +++ /dev/null @@ -1,195 +0,0 @@ -using System; -using System.IO; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Audio.HCA { - public sealed class OneWayHcaAudioStream : HcaAudioStreamBase { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public OneWayHcaAudioStream(Stream sourceStream) - : this(sourceStream, DecodeParams.Default) { - } - - public OneWayHcaAudioStream(Stream sourceStream, bool outputWaveHeader) - : this(sourceStream, DecodeParams.Default, outputWaveHeader) { - } - - public OneWayHcaAudioStream(Stream sourceStream, DecodeParams decodeParams) - : this(sourceStream, decodeParams, true) { - } - - public OneWayHcaAudioStream(Stream sourceStream, DecodeParams decodeParams, bool outputWaveHeader) - : base(sourceStream, decodeParams) { - _decoder = new OneWayHcaDecoder(sourceStream, decodeParams); - OutputWaveHeader = outputWaveHeader; - _state = HcaAudioStreamDecodeState.Initialized; - } - - public override long Seek(long offset, SeekOrigin origin) { - throw new NotSupportedException(); - } - - public override int Read(byte[] buffer, int offset, int count) { - if (!HasMoreData) { - return 0; - } - var writeLengthLimit = Math.Min(count, buffer.Length); - var outputWaveHeader = OutputWaveHeader; - var decoder = _decoder as OneWayHcaDecoder; - if (decoder == null) { - throw new NullReferenceException(); - } - while (true) { - int maxToCopy; - var state = _state; - switch (state) { - case HcaAudioStreamDecodeState.Initialized: { - if (!outputWaveHeader) { - _state = HcaAudioStreamDecodeState.WaveHeaderTransmitted; - continue; - } - _waveHeaderSize = decoder.GetMinWaveHeaderBufferSize(); - _waveHeaderBuffer = new byte[_waveHeaderSize]; - _waveHeaderSizeLeft = _waveHeaderSize; - decoder.WriteWaveHeader(_waveHeaderBuffer); - maxToCopy = Math.Min(writeLengthLimit, _waveHeaderSizeLeft); - Array.Copy(_waveHeaderBuffer, _waveHeaderSize - _waveHeaderSizeLeft, buffer, offset, maxToCopy); - _waveHeaderSizeLeft -= maxToCopy; - _state = _waveHeaderSizeLeft <= 0 ? HcaAudioStreamDecodeState.WaveHeaderTransmitted : HcaAudioStreamDecodeState.WaveHeaderTransmitting; - return maxToCopy; - } - case HcaAudioStreamDecodeState.WaveHeaderTransmitting: { - if (!outputWaveHeader) { - _state = HcaAudioStreamDecodeState.WaveHeaderTransmitted; - continue; - } - maxToCopy = Math.Min(writeLengthLimit, _waveHeaderSizeLeft); - Array.Copy(_waveHeaderBuffer, _waveHeaderSize - _waveHeaderSizeLeft, buffer, offset, maxToCopy); - _waveHeaderSizeLeft -= maxToCopy; - if (_waveHeaderSizeLeft <= 0) { - _state = HcaAudioStreamDecodeState.WaveHeaderTransmitted; - } - return maxToCopy; - } - case HcaAudioStreamDecodeState.WaveHeaderTransmitted: { - _standardWaveDataSize = decoder.GetMinWaveDataBufferSize(); - _waveDataSize = _standardWaveDataSize * BlockBatchSize; - _waveDataBuffer = new byte[_waveDataSize]; - var decodedBlockCount = decoder.DecodeBlocks(_waveDataBuffer); - _waveDataSize = (int)(decodedBlockCount * decoder.GetMinWaveDataBufferSize()); - _waveDataSizeLeft = _waveDataSize; - maxToCopy = Math.Min(writeLengthLimit, _waveDataSizeLeft); - Array.Copy(_waveDataBuffer, _waveDataSize - _waveDataSizeLeft, buffer, offset, maxToCopy); - _waveDataSizeLeft -= maxToCopy; - if (_waveDataSizeLeft <= 0) { - _state = decoder.HasMore ? HcaAudioStreamDecodeState.DataTransmitting : HcaAudioStreamDecodeState.WaveHeaderTransmitted; - } else { - _state = HcaAudioStreamDecodeState.DataTransmitting; - } - return maxToCopy; - } - case HcaAudioStreamDecodeState.DataTransmitting: { - if (_waveDataSizeLeft <= 0) { - _waveDataSize = _standardWaveDataSize * BlockBatchSize; - _waveDataBuffer = new byte[_waveDataSize]; - var decodedBlockCount = decoder.DecodeBlocks(_waveDataBuffer); - if (decodedBlockCount > 0 || decoder.HasMore) { - _waveDataSize = (int)(decodedBlockCount * decoder.GetMinWaveDataBufferSize()); - _waveDataSizeLeft = _waveDataSize; - _state = HcaAudioStreamDecodeState.DataTransmitting; - } else { - _state = HcaAudioStreamDecodeState.WaveHeaderTransmitted; - continue; - } - } - maxToCopy = Math.Min(writeLengthLimit, _waveDataSizeLeft); - Array.Copy(_waveDataBuffer, _waveDataSize - _waveDataSizeLeft, buffer, offset, maxToCopy); - _waveDataSizeLeft -= maxToCopy; - return maxToCopy; - } - case HcaAudioStreamDecodeState.DataTransmitted: - return 0; - default: - throw new ArgumentOutOfRangeException(NameOf(() => state)); - } - } - } - - public override bool CanSeek { get { return false; } } - - public override long Length { - get { - if (!EnsureNotDisposed()) { - return 0; - } - if (_length != null) { - return _length.Value; - } - var hcaInfo = HcaInfo; - long totalLength = 0; - if (OutputWaveHeader) { - totalLength += _waveHeaderSize; - } - totalLength += _decoder.GetMinWaveDataBufferSize() * hcaInfo.BlockCount; - _length = totalLength; - return _length.Value; - } - } - - public override long Position { - get { throw new NotSupportedException(); } - set { throw new NotSupportedException(); } - } - - public override float LengthInSeconds { get { return HcaHelper.CalculateLengthInSeconds(HcaInfo); } } - - public override uint LengthInSamples - { - get - { - return HcaHelper.CalculateLengthInSamples(HcaInfo); - } - } - - public int BlockBatchSize - { - get - { - return 10; - } - } - - protected override bool HasMoreData { - get { - const HcaAudioStreamDecodeState canDoHasMoreCheck = HcaAudioStreamDecodeState.WaveHeaderTransmitting | HcaAudioStreamDecodeState.WaveHeaderTransmitted | HcaAudioStreamDecodeState.DataTransmitting; - if ((_state & canDoHasMoreCheck) != 0) { - var decoder = _decoder as OneWayHcaDecoder; - var hasMore = true; - if (decoder == null) - { - hasMore = false; - } - return !(_waveDataSizeLeft <= 0 && _waveHeaderSizeLeft <= 0 && !hasMore); - } else { - return _state == HcaAudioStreamDecodeState.Initialized; - } - } - } - - private bool OutputWaveHeader; - - private HcaAudioStreamDecodeState _state; - private byte[] _waveHeaderBuffer; - private int _waveHeaderSize; - private int _waveHeaderSizeLeft; - private byte[] _waveDataBuffer; - private int _waveDataSize; - private int _standardWaveDataSize; - private int _waveDataSizeLeft; - private long? _length; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs.meta deleted file mode 100644 index 536efc2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaAudioStream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8502dbf6b8f47c24485ddf9cad90e8f8 -timeCreated: 1531897075 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs deleted file mode 100644 index 7de51ee..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System.IO; - -namespace DereTore.Exchange.Audio.HCA -{ - public sealed class OneWayHcaDecoder : HcaDecoder - { - - public OneWayHcaDecoder(Stream sourceStream) - : base(sourceStream) - { - } - - public OneWayHcaDecoder(Stream sourceStream, DecodeParams decodeParams) - : base(sourceStream, decodeParams) - { - } - - public uint DecodeBlocks(byte[] buffer) - { - if (!HasMore) - { - return 0; - } - var decodedBlockCount = DecodeBlocks(buffer, _blockIndex); - _blockIndex += decodedBlockCount; - return decodedBlockCount; - } - - public bool HasMore - { - get - { - return (_blockIndex < HcaInfo.BlockCount); - } - } - - public uint LengthInSamples { get { return HcaHelper.CalculateLengthInSamples(HcaInfo); } } - - public float LengthInSeconds { get { return HcaHelper.CalculateLengthInSeconds(HcaInfo); } } - - private uint _blockIndex = 0; - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs.meta deleted file mode 100644 index 7994b0e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/OneWayHcaDecoder.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3194898b6b558a14586337a085122e72 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs deleted file mode 100644 index 9c2885b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace DereTore.Exchange.Audio.HCA { - public enum SamplingMode { - - S16, - R32, - U8, - S24, - S32 - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs.meta deleted file mode 100644 index 9d51e6b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/SamplingMode.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 04c01ad34c3714f4f9e680b00d14a506 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs deleted file mode 100644 index 9cccf1e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System; -using System.IO; -using DereTore.Common; -using System.Linq.Expressions; - -namespace DereTore.Exchange.Audio.HCA { - public static class WaveHelper { - - public static readonly IWaveWriter U8 = new WaveWriterU8(); - public static readonly IWaveWriter S16 = new WaveWriterS16(); - public static readonly IWaveWriter S32 = new WaveWriterS32(); - public static readonly IWaveWriter R32 = new WaveWriterR32(); - - private class WaveWriterU8 : IWaveWriter { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public uint BytesPerSample { get { return 1; } } - - public SamplingMode SamplingMode { get { return SamplingMode.U8; } } - - public uint DecodeToBuffer(float f, byte[] buffer, uint offset) { - if (offset >= buffer.Length) { - throw new ArgumentOutOfRangeException(NameOf(() => offset)); - } - var s = (sbyte)((int)(f * 0xff) - 0x80); - unchecked { - buffer[offset] = (byte)s; - } - return 1; - } - - public uint DecodeToStream(float f, Stream stream) { - return (uint)stream.Write((sbyte)((int)(f * 0xff) - 0x80)); - } - - } - - private class WaveWriterS16 : IWaveWriter { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public uint BytesPerSample { get { return 2; } } - - public SamplingMode SamplingMode { get { return SamplingMode.S16; } } - - public uint DecodeToBuffer(float f, byte[] buffer, uint offset) { - if (offset >= buffer.Length) { - throw new ArgumentOutOfRangeException(NameOf(() => offset)); - } - var value = (short)(f * 0x7fff); - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - var bytes = BitConverter.GetBytes(value); - var bytesWritten = 0u; - for (var i = 0; i < 2; ++i) { - if (offset + i > buffer.Length) { - break; - } - buffer[offset + i] = bytes[i]; - ++bytesWritten; - } - return bytesWritten; - } - - public uint DecodeToStream(float f, Stream stream) { - return (uint)stream.Write((short)(f * 0x7fff)); - } - } - - private class WaveWriterS32 : IWaveWriter { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public uint BytesPerSample { get { return 4; } } - - public SamplingMode SamplingMode { get { return SamplingMode.S32; } } - - public uint DecodeToBuffer(float f, byte[] buffer, uint offset) { - if (offset >= buffer.Length) { - throw new ArgumentOutOfRangeException(NameOf(() => offset)); - } - var value = (short)(f * 0x7fffffff); - if (!BitConverter.IsLittleEndian) { - value = DereToreHelper.SwapEndian(value); - } - var bytes = BitConverter.GetBytes(value); - var bytesWritten = 0u; - for (var i = 0; i < 4; ++i) { - if (offset + i >= buffer.Length) { - break; - } - buffer[offset + i] = bytes[i]; - ++bytesWritten; - } - return bytesWritten; - } - - public uint DecodeToStream(float f, Stream stream) { - return (uint)stream.Write((short)(f * 0x7fffffff)); - } - } - - private class WaveWriterR32 : IWaveWriter { - - public static string NameOf(Expression> e) - { - return ((MemberExpression)e.Body).Member.Name; - } - public uint BytesPerSample { get { return 4; } } - - public SamplingMode SamplingMode { get { return SamplingMode.R32; } } - - public uint DecodeToBuffer(float f, byte[] buffer, uint offset) { - if (offset >= buffer.Length) { - throw new ArgumentOutOfRangeException(NameOf(() => offset)); - } - if (!BitConverter.IsLittleEndian) { - f = DereToreHelper.SwapEndian(f); - } - var bytes = BitConverter.GetBytes(f); - var bytesWritten = 0u; - for (var i = 0; i < 4; ++i) { - if (offset + i >= buffer.Length) { - break; - } - buffer[offset + i] = bytes[i]; - ++bytesWritten; - } - return bytesWritten; - } - - public uint DecodeToStream(float f, Stream stream) { - return (uint)stream.Write(f); - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs.meta deleted file mode 100644 index 9fad7cf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ACB/hcaAudio/WaveHelper.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3c9ecdac3f46aa44ab2d4dc6c0bf7a47 -timeCreated: 1531897074 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs b/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs deleted file mode 100644 index 712bd10..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs +++ /dev/null @@ -1,88 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -/// -/// ‰æ–ʂ̃TƒCƒY•ύX‚ɍ‡‚킹‚ďC�³‚·‚é -/// -public class AdjustScreen : MonoBehaviour -{ - private bool isLoadDirector = false; - - float ratio = 1f; - - private float screenWidth; - - private float screenHeight; - - private Director _director; - - private Director.RenderTarget renderTarget; - - private void Awake() - { - _director = GameObject.Find("Live/Director").GetComponent(); - - int resRatio = SaveManager.GetInt("ResolutionRatio", 0); - switch (resRatio) - { - case 0: - ratio = 1.0f; - break; - case 1: - ratio = 1.4142f; - break; - case 2: - ratio = 1.7320f; - break; - case 3: - ratio = 2.0f; - break; - } - - - StartCoroutine(LoadRenderTarget()); - } - - // Start is called before the first frame update - void Start() - { - } - - // Update is called once per frame - void Update() - { - if (screenWidth != Screen.width || screenHeight != Screen.height) - { - if (isLoadDirector) - { - ResizeTexture(); - } - } - UpdateScreenRect(); - } - - private void UpdateScreenRect() - { - screenWidth = Screen.width; - screenHeight = Screen.height; - } - - private IEnumerator LoadRenderTarget() - { - while(_director.renderTarget == null) - { - yield return null; - } - renderTarget = _director.renderTarget; - isLoadDirector = true; - } - - private void ResizeTexture() - { - int width = (int)(Screen.width * ratio); - int height = (int)(Screen.height * ratio); - - _director.ResizeScreen(width, height); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs.meta deleted file mode 100644 index 3ebb3a2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/AdjustScreen.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: baa39f64ae4d13348b45a564bfb8e952 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs b/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs deleted file mode 100644 index fb14932..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs +++ /dev/null @@ -1,628 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using UnityEngine; -using UnityEngine.UI; -using UnityEngine.Networking; -using System.Collections; -using UnityEngine.Events; -using System.Threading; -using System.Net; - -/// -/// アセットファイルを管理するクラス -/// -public class AssetManager : MonoBehaviour -{ - private static AssetManager _instance; - - public static AssetManager instance - { - get - { - return _instance; - } - } - - public GameObject DLProgress = null; - - //DLリスト - private List dlList = new List(); - - /// - /// DL中のファイルリスト - /// 二重保存防止のため - /// - private List proccessingFilesDic = new List(); - - /// - /// DL実行中かどうか - /// - private bool process = false; - - /// - /// ACBデコード中かどうか - /// - private bool acbdecodeing = false; - - /// - /// 現在のDL完了数 - /// - private int dlcount = 0; - - /// - /// DL要求総数 - /// - private int dltotal = 0; - - /// - /// 同時ダウンロード制限数 - /// - private const int dlproclimit = 5; - - /// - /// 現在のDL実行プロセス数 - /// - private int dlproc = 0; - - // Use this for initialization - void Start() - { - Init(); - } - - void Update() - { - //DL希望 - if (process) - { - for (int i = dlproc; i < dlproclimit; i++) - { - if (dlList.Count > 0) - { - URLData data = dlList[0]; - dlList.RemoveAt(0); - dlproc++; - - StartCoroutine(download(data)); - } - else - { - break; - } - } - - //DL処理が終了した - if (dlList.Count == 0 && dlproc == 0) - { - process = false; - dlcount = 0; - dltotal = 0; - //全てDLし終わったため、二重チェックもクリア - proccessingFilesDic.Clear(); - } - } - RewriteProgress(); - } - - void Awake() - { - if (_instance != null) - { - UnityEngine.Object.Destroy(this); - } - else - { - _instance = this; - } - } - - private void OnDestroy() - { - _instance = null; - } - - //DLProgressに表示するテキスト - public string DLProgressText - { - get - { - string text = ""; - - if (process) - { - text = "ダウンロード中:" + dlcount + " / " + dltotal; - } - else if (acbdecodeing) - { - text = "ACBファイルをデコードしています"; - } - return text; - } - } - - public void Init() - { - if (dlList != null) - { - dlList.Clear(); - } - if(proccessingFilesDic != null) - { - proccessingFilesDic.Clear(); - } - process = false; - acbdecodeing = false; - dlcount = 0; - dltotal = 0; - dlproc = 0; - } - - /// - /// 状態テキストを書き換える - /// - private void RewriteProgress() - { - if (DLProgress != null) - { - DLProgress.GetComponent().SetText(DLProgressText); - } - } - - /// - /// マニフェストが読み込まれているか - /// - public bool isManifestLoad - { - get - { - if (ManifestManager.instance != null) - { - return ManifestManager.instance.isLoad; - } - else { return false; } - } - } - - /// - /// ファイルのダウンロード終了待ち - /// - public IEnumerator WaitDownloadProgress() - { - while (process) - { - yield return null; - } - } - - /// - /// ファイル名からファイルをDLする - /// ダウンロードされて、ファイルが生成されるまで待つ - /// 既にファイルが存在している場合はそのまま終了する - /// - public IEnumerator DownloadFromFilename(string filename) - { - StartCoroutine(DownloadFromFilenameAsync(filename)); - - while (!CheckFileFromFilename(filename)) - { - yield return null; - - //DLエラーでファイルが生成されない場合はDL処理の終了で抜ける - if (!process) - { - break; - } - } - } - - /// - /// ファイル名からファイルをDLする - /// ダウンロードされて、ファイルが生成されるまで待つ - /// - public IEnumerator DownloadFromFilenames(List filenames) - { - StartCoroutine(DownloadFromFilenamesAsync(filenames)); - - foreach(var tmp in filenames) - { - while (!CheckFileFromFilename(tmp)) - { - yield return null; - - //DLエラーでファイルが生成されない場合はDL処理の終了で抜ける - if (!process) - { - break; - } - } - } - } - - /// - /// ファイル名からファイルをDLする - /// - public IEnumerator DownloadFromFilenameAsync(string filename) - { - if (filename == "") yield break; - - List filelist = new List(); - filelist.Add(filename); - - StartCoroutine(DownloadFromFilenamesAsync(filelist)); - } - - /// - /// ファイル名からファイルをDLする - /// 複数ファイルの場合 - /// 非同期での処理のため、progressがfalseになるまで待つ必要がある - /// - public IEnumerator DownloadFromFilenamesAsync(List filenames) - { - while (!isManifestLoad) - { - if (ManifestManager.instance.isError) - { - yield break; - } - yield return null; - } - - List datas = new List(); - - foreach (var tmp in filenames) - { - if (tmp == "") { continue; } - - URLData urldata = ManifestManager.instance.GetURLdataFromName(tmp); - if (urldata != null) - { - if (!CheckExistFile(urldata)) - { - //DLListに追加 - datas.Add(urldata); - } - } - else - { - print("Manifestに" + tmp + "が存在しません"); - } - } - if (datas.Count > 0) - { - //コルーチン開始 - StartCoroutine(AddDownloadFileList(datas)); - } - } - - /// - /// 既にローカルに存在するか確認 - /// - private bool CheckExistFile(URLData data) - { - if (data == null || data.hash == null || data._name == null) - { - return false; - } - - string hashfile = Path.Combine(PathHandler.instance.hpath, data.hash); - string cachefile = PathHandler.instance.GetCachePath(data.name); - - //ハッシュが存在する=既にDLされている - if (File.Exists(hashfile)) - { - if (File.Exists(cachefile)) - { - return true; - } - } - else - { - //ファイルの更新があった場合 - if (File.Exists(cachefile)) - { - File.Delete(cachefile); - } - } - return false; - } - - /// - /// マニフェスト内にファイルが存在するかを確認 - /// - public bool CheckExistFileInManifest(string filename) - { - URLData urldata = ManifestManager.instance.GetURLdataFromName(filename); - if (urldata != null) - { - return true; - } - else - { - return false; - } - } - - /// - /// DL対象のファイルをDLリストへ追加する - /// 実際の処理はUpdateにて随時行われる - /// - private IEnumerator AddDownloadFileList(List datas) - { - //リストがないなら終わり - if (datas == null || datas.Count == 0) - { - yield break; - } - - //processがTrueの時はほかでファイルをDL中 - if (process) - { - //ファイルを追加 - int datascount = 0; - foreach (var tmp in datas) - { - if (!proccessingFilesDic.Contains(tmp.hash)) - { - datascount++; - dlList.Add(tmp); - proccessingFilesDic.Add(tmp.hash); - } - } - dltotal += datascount; - } - else - { - process = true; - int datascount = 0; - foreach (var tmp in datas) - { - if (!proccessingFilesDic.Contains(tmp.hash)) - { - datascount++; - dlList.Add(tmp); - proccessingFilesDic.Add(tmp.hash); - } - } - - //DLカウント初期化 - dltotal = datascount; - dlcount = 0; - } - } - - /// - /// ファイルのダウンロードを行う - /// - /// - public IEnumerator download(URLData url) - { - //DL前にもう一度チェック - if (!CheckExistFile(url)) - { - HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url.url); - Debug.LogError(url.url); - request.Method = "GET"; - request.UserAgent = "UnityPlayer/2020.3.8f1 (UnityWebRequest/1.0, libcurl/7.52.0-DEV)"; - request.Headers.Add("X-Unity-Version", "2020.3.8f1"); - var responce = request.GetResponse(); - var stream = responce.GetResponseStream(); - byte[] results = new byte[stream.Length]; - stream.Read(results, 0, results.Length); - stream.Flush(); - print("ダウンロード: " + url.name); - try - { - CreateCacheFile(url, results); - } - catch (Exception e) - { - print(e); - } - //UnityWebRequest www = UnityWebRequest.Get(url.url); - //www.timeout = 180; - - //yield return www.SendWebRequest(); - - //if (www.isHttpError || www.isNetworkError) - //{ - // Debug.Log(www.error); - //} - //else - //{ - // byte[] results = www.downloadHandler.data; - - // print("ダウンロード: " + url.name); - // try - // { - // CreateCacheFile(url, results); - // } - // catch (Exception e) - // { - // print(e); - // } - //} - } - dlproc--; - - //DL処理終わり - if (dlproc < 0) - { - print("dlproc Error"); - } - dlcount++; - RewriteProgress(); - - yield break; - } - - /// - /// キャッシュフォルダにファイルを読み込み - /// - /// キャッシュに保存されたファイルのパス - public string GetCachefromName(string filename) - { - //キャッシュパスを取得 - string cachepath = PathHandler.instance.GetCachePath(filename); - if (File.Exists(cachepath)) - { - return cachepath; - } - return null; - } - - /// - /// DLしたバイナリデータをキャッシュフォルダへ展開する - /// - private void CreateCacheFile(URLData url, byte[] originaldata) - { - string localpath = PathHandler.instance.GetTempPath(url.filename); - string hashfile = Path.Combine(PathHandler.instance.hpath, url.hash); - //キャッシュパスを取得 - string cachepath = PathHandler.instance.GetCachePath(url.name); - if (File.Exists(cachepath)) - { - File.Delete(cachepath); - } - - if (Path.GetExtension(localpath) == ".lz4") - { - byte[] newbytes = LZ4.LZ4Util.decompress(originaldata); //LZ4を展開する - - //unity3dファイルの時はプラットフォームの書き換えを行う - if (localpath.Contains(".unity3d")) - { - /* - if(!AssetUtil.RewriteAssetPlatform(ref newbytes, "2018.2.20f1")) - { - //混在しているのでダメなら旧バージョン - AssetUtil.RewriteAssetPlatform(ref newbytes, "2017.4.2f2"); - } - - //Texture2dを書き換え可能に修正。思いのほか軽かったので恒常化。ただし使用する機会はない - AssetUtil.RewriteReadable(ref newbytes); - - //シェーダを書き換え - byte[] outbytes = AssetStudio.AssetsManager.ReBuildShaderAsset(newbytes, localpath); - if(outbytes != null) - { - newbytes = outbytes; - } - else - { - throw new Exception("Assetの書き換えに失敗しました: " + Path.GetFileNameWithoutExtension(localpath)); - } - */ - } - File.WriteAllBytes(cachepath, newbytes); - File.Create(hashfile); - } - else if (Path.GetExtension(localpath) == ".acb") - { - acbdecodeing = true; - - //非同期で投げる - StartCoroutine(ACBDecode(originaldata, cachepath, hashfile)); - } - else - { - File.WriteAllBytes(cachepath, originaldata); - } - } - - /// - /// ファイルのダウンロード終了待ち - /// - public IEnumerator WaitACBDecodeProgress() - { - while (acbdecodeing) - { - yield return null; - } - } - - /// - /// ACBファイルのデコードを行う - /// 非同期で処理を投げるため、終了の確認はacbdecodeingがfalseになるのを待つ - /// - private IEnumerator ACBDecode(byte[] data, string cachepath, string hashfile) - { - //ACBファイルをデコード - DecodeACB.Decode(data, cachepath); - - while (!File.Exists(cachepath)) - { - yield return null; - } - - File.Create(hashfile); - acbdecodeing = false; - } - - /// - /// アセット名からAssetBundleを読みだす - /// - public AssetBundle LoadAssetFromName(string filename) - { - if (filename.Contains(".unity3d")) - { - - string name = GetCachefromName(filename); - if (!File.Exists(name)) - { - Debug.Log("ファイルを読み込めませんでした:" + filename); - return null; - } - else - { - return AssetBundle.LoadFromFile(name); - } - } - else - { - //print("Unity3dファイルではありません:" + filename); - return null; - } - } - - /// - /// アセット名から非同期処理でAssetBundleを読みだす - /// - public AssetBundleCreateRequest LoadAssetFromNameAsync(string filename) - { - if (filename.Contains(".unity3d")) - { - - string name = GetCachefromName(filename); - if (!File.Exists(name)) - { - Debug.Log("ファイルを読み込めませんでした:" + filename); - return null; - } - else - { - return AssetBundle.LoadFromFileAsync(name); - } - } - else - { - //print("Unity3dファイルではありません:" + filename); - return null; - } - } - - /// - /// ファイルが存在するかどうかを確認 - /// - public bool CheckFileFromFilename(string filename) - { - //キャッシュパスを取得 - string cachepath = PathHandler.instance.GetCachePath(filename); - if (File.Exists(cachepath)) - { - return true; - } - - return false; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs.meta deleted file mode 100644 index 6d68784..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/AssetManager.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dc6b34ecea3833f4499fef1d48a209db -timeCreated: 1528619213 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs b/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs deleted file mode 100644 index ff35585..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs +++ /dev/null @@ -1,1425 +0,0 @@ -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using Stage; -using System; - -public class CharaDirector -{ - public class Asset - { - public static string GetAccessoryModelPath(int accId, int accIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.AccessoryParts.eType type) - { - accId = ((accId == 0) ? 1 : accId); - string empty = string.Empty; - if (StageUtil.IsModelCommonAccId(accId)) - { - return GetCommonAccessoryModelPath(accId, accIndex, resourceQuality, type); - } - return GetOwnAccessoryModelPath(accId, accIndex, resourceQuality, type); - } - - private static string GetCommonAccessoryModelPath(int accId, int accIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.AccessoryParts.eType type) - { - string arg = string.Empty; - switch (type) - { - case Character3DBase.AccessoryParts.eType.Main: - arg = ((accIndex > 0) ? $"_{accIndex:00}" : string.Empty); - break; - case Character3DBase.AccessoryParts.eType.Sub: - arg = $"_sub{accIndex:00}"; - break; - } - string arg2 = ((resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq" : string.Empty); - return string.Format("3D/Chara/Accessory/acc{0:0000}/Meshes/md_acc{0:0000}{1}{2}", accId, arg, arg2); - } - - private static string GetOwnAccessoryModelPath(int accId, int index, Character3DBase.eResourceQuality resourceQuality, Character3DBase.AccessoryParts.eType type) - { - return string.Empty; - } - - public static string GetAccessoryTexturePath(int accId, int colorId, bool accTexDiversity, int accTexIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map) - { - string empty = string.Empty; - accId = ((accId == 0) ? 1 : accId); - string accessoryTextureSuffix = GetAccessoryTextureSuffix(resourceQuality, map); - if (StageUtil.IsModelCommonAccId(accId)) - { - return GetCommonAccessoryTexturePath(accId, colorId, accTexDiversity, accTexIndex, accessoryTextureSuffix); - } - return GetOwnAccessoryTexturePath(accId, colorId, accTexDiversity, accTexIndex, accessoryTextureSuffix); - } - - private static string GetAccessoryTextureSuffix(Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map) - { - string result = string.Empty; - switch (map) - { - case Character3DBase.MultiTextures.eMap.Diffuse: - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - result = "_hq"; - } - break; - case Character3DBase.MultiTextures.eMap.Specular: - result = "_spec"; - break; - case Character3DBase.MultiTextures.eMap.Control: - result = "_multi"; - break; - } - return result; - } - - private static string GetCommonAccessoryTexturePath(int accId, int colorId, bool accTexDiversity, int accTexIndex, string suffix) - { - string text = string.Empty; - if (accTexDiversity) - { - text = $"_{accTexIndex:0000}"; - } - return string.Format("3D/Chara/Accessory/acc{0:0000}/Textures/tx_acc{0:0000}_{1}{2}{3}", accId, colorId, text, suffix); - } - - private static string GetOwnAccessoryTexturePath(int accId, int colorId, bool accTexDiversity, int accTexIndex, string suffix) - { - return string.Empty; - } - - public static string GetAccessoryParameterPath(int accId) - { - _ = string.Empty; - accId = ((accId == 0) ? 1 : accId); - if (!StageUtil.IsModelCommonAccId(accId)) - { - return string.Empty; - } - return string.Format("3D/Chara/Accessory/acc{0:0000}/Parameter/prm_acc{0:0000}", accId); - } - - public static string GetAccessoryClothPath(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - accId = ((accId == 0) ? 1 : accId); - return GetAccessoryClothCollisionPath(accId, accIndex, "_cloth", type); - } - - public static string GetAccessoryCollisionPath(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - accId = ((accId == 0) ? 1 : accId); - return GetAccessoryClothCollisionPath(accId, accIndex, "_collision", type); - } - - private static string GetAccessoryClothCollisionPath(int accId, int accIndex, string suffix, Character3DBase.AccessoryParts.eType type) - { - string arg = string.Empty; - switch (type) - { - case Character3DBase.AccessoryParts.eType.Main: - arg = ((accIndex != 0) ? $"_{accIndex:00}" : string.Empty); - break; - case Character3DBase.AccessoryParts.eType.Sub: - arg = ((accIndex != 0) ? $"_sub{accIndex:00}" : string.Empty); - break; - } - return string.Format("3D/Chara/Accessory/acc{0:0000}/Clothes/md_acc{0:0000}{1}{2}", accId, arg, suffix); - } - - public static string GetAccessoryFlareColliderPath(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - string arg = string.Empty; - switch (type) - { - case Character3DBase.AccessoryParts.eType.Main: - arg = ((accIndex != 0) ? $"_{accIndex:00}" : string.Empty); - break; - case Character3DBase.AccessoryParts.eType.Sub: - arg = ((accIndex != 0) ? $"_sub{accIndex:00}" : string.Empty); - break; - } - return string.Format("3D/Chara/Accessory/acc{0:0000}/Flares/md_acc{0:0000}{1}_flare", accId, arg); - } - - public static string GetBodyModelPath(int dressId, int heightId, int weightId, int bustId, int bodyIndex, string partsCode, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyModelPath(dressId, heightId, weightId, bustId, bodyIndex, partsCode, resourceQuality); - } - return GetOwnBodyModelPath(dressId, resourceQuality); - } - - private static string GetCommonBodyModelPath(int dressId, int heightId, int weightId, int bustId, int bodyIndex, string partsCode, Character3DBase.eResourceQuality resourceQuality) - { - string text = $"3D/Chara/Body/body{dressId:0000}/Meshes/"; - string empty = string.Empty; - string empty2 = string.Empty; - if (Character3DBase.Parts.IsValidPartsCode(partsCode)) - { - empty = "md_body{0:0000}_{1}_{2}_{3}_{4}"; - } - else - { - empty = "md_body{0:0000}_{2}_{3}_{4}"; - partsCode = string.Empty; - } - if (bodyIndex > 0) - { - empty += "_{5}"; - } - empty2 = string.Format(text + empty, dressId, partsCode, heightId, weightId, bustId, bodyIndex); - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - empty2 += "_hq"; - } - return empty2; - } - - private static string GetOwnBodyModelPath(int dressId, Character3DBase.eResourceQuality resourceQuality) - { - string text = string.Format("3D/Chara/Body/body{0:0000}/Meshes/md_body{0:0000}", dressId); - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - text += "_hq"; - } - return text; - } - - public static string GetBodyTexturePath(int charaId, int dressId, int skinId, int bustId, int colorId, int bodyIndex, string partCode, Character3DBase.eResourceQuality resourcesQuality, Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (resourcesQuality != Character3DBase.eResourceQuality.Rich) - { - map = Character3DBase.MultiTextures.eMap.Diffuse; - } - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyTexturePath(charaId, dressId, skinId, bustId, colorId, bodyIndex, partCode, resourcesQuality, map); - } - return GetOwnBodyTexturePath(dressId, resourcesQuality, map); - } - - private static string GetCommonBodyTexturePath(int charaId, int dressId, int skinId, int bustId, int colorId, int bodyIndex, string partsCode, Character3DBase.eResourceQuality resourcesQuality, Character3DBase.MultiTextures.eMap map) - { - string path = $"3D/Chara/Body/body{dressId:0000}/Textures/"; - string fileMask = string.Empty; - string empty = string.Empty; - if (Character3DBase.Parts.IsValidPartsCode(partsCode)) - { - fileMask = "tx_body{0:0000}_{1}_{2}_{3}_{4}"; - } - else - { - fileMask = "tx_body{0:0000}_{2}_{3}_{4}"; - partsCode = string.Empty; - } - if (bodyIndex > 0) - { - fileMask += "_{5}"; - } - Func func = delegate - { - string text2 = string.Format(path + fileMask, dressId, partsCode, skinId, bustId, colorId, bodyIndex); - if (resourcesQuality == Character3DBase.eResourceQuality.Rich) - { - text2 += "_hq"; - } - return text2; - }; - Func func2 = delegate (int defBustId, int defColorId, string suffix) - { - fileMask += suffix; - string text = string.Format(fileMask, dressId, partsCode, skinId, bustId, colorId, bodyIndex); - if (!Character3DBase.ExistTexture(path, text)) - { - text = string.Format(fileMask, dressId, partsCode, skinId, defBustId, defColorId, bodyIndex); - } - return path + text; - }; - return map switch - { - Character3DBase.MultiTextures.eMap.Diffuse => func(), - Character3DBase.MultiTextures.eMap.Specular => func2(1, colorId, "_spec"), - Character3DBase.MultiTextures.eMap.Control => func2(1, 0, "_multi"), - _ => string.Empty, - }; - } - - private static string GetOwnBodyTexturePath(int dressId, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - string text = string.Format("3D/Chara/Body/body{0:0000}/Textures/tx_body{0:0000}", dressId); - switch (map) - { - case Character3DBase.MultiTextures.eMap.Diffuse: - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - text += "_hq"; - } - break; - case Character3DBase.MultiTextures.eMap.Specular: - text += "_spec"; - break; - case Character3DBase.MultiTextures.eMap.Control: - text += "_multi"; - break; - } - return text; - } - - public static string GetBodyClothPath(int dressId, int bodyIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - return GetBodyClothCollisionPath(dressId, bodyIndex, "_cloth"); - } - - public static string GetBodyCollisionPath(int dressId, int bodyIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - return GetBodyClothCollisionPath(dressId, bodyIndex, "_collision"); - } - - private static string GetBodyClothCollisionPath(int dressId, int bodyIndex, string suffix) - { - _ = string.Empty; - return string.Format("3D/Chara/Body/body{0:0000}/Clothes/md_body{0:0000}" + ((bodyIndex > 0) ? $"_{bodyIndex}{suffix}" : suffix), dressId, bodyIndex); - } - - public static string GetBodyFlareColliderPath(int dressId, int heightId, int weightId, int bustId, int bodyIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyFlareColliderPath(dressId, heightId, weightId, bustId, bodyIndex); - } - return GetOwnBodyFlareCollider(dressId); - } - - private static string GetCommonBodyFlareColliderPath(int dressId, int heightId, int weightId, int bustId, int bodyIndex) - { - _ = string.Empty; - return string.Format("3D/Chara/Body/body{0:0000}/Flares/md_body{0:0000}_{1}_{2}_{3}" + ((bodyIndex > 0) ? "_{4}_flare" : "_flare"), dressId, heightId, weightId, bustId, bodyIndex); - } - - private static string GetOwnBodyFlareCollider(int dressId) - { - return string.Format("3D/Chara/Body/body{0:0000}/Flares/md_body{0:0000}_flare", dressId); - } - - public static string GetHeadModelPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonHeadModelPath(charaId, headIndex, isSubHeadIndex, resourceQuality); - } - return GetOwnHeadModelPath(charaId, dressId, headIndex, resourceQuality); - } - - private static string GetCommonHeadModelPath(int charaId, int headIndex, bool isSubHeadIndex, Character3DBase.eResourceQuality resourceQuality) - { - _ = string.Empty; - string empty = string.Empty; - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? "_sub{1:000}" : "_{1:0000}"); - } - empty = string.Format("3D/Chara/Head/chr{0}{1}/Meshes/md_chr{0}{1}", "{0:0000}", arg); - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - empty += "_hq"; - } - return string.Format(empty, charaId, headIndex); - } - - private static string GetOwnHeadModelPath(int charaId, int dressId, int headIndex, Character3DBase.eResourceQuality resourceQuality) - { - _ = string.Empty; - string empty = string.Empty; - string arg = ((headIndex != 0) ? "_sub{2:000}" : string.Empty); - empty = string.Format("3D/Chara/Head/chr{0}{1}{2}/Meshes/md_chr{0}{1}{2}", "{0:0000}", "_{1:0000}", arg); - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - empty += "_hq"; - } - return string.Format(empty, charaId, dressId, headIndex); - } - - public static string GetSweatLocatorPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonDressSweatLocatorPath(charaId, headIndex, isSubHeadIndex); - } - return GetOwnDressSweatLocatorPath(charaId, dressId, headIndex); - } - - private static string GetCommonDressSweatLocatorPath(int charaId, int headIndex, bool isSubHeadIndex) - { - _ = string.Empty; - _ = string.Empty; - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? "_sub{1:000}" : "_{1:0000}"); - } - return string.Format(string.Format("3D/Chara/Head/chr{0}{1}/Prefab/pf_chr{0}{1}_sweatlocator_hq", "{0:0000}", arg), charaId, headIndex); - } - - private static string GetOwnDressSweatLocatorPath(int charaId, int dressId, int headIndex) - { - _ = string.Empty; - _ = string.Empty; - string arg = ((headIndex != 0) ? "_sub{2:000}" : string.Empty); - return string.Format(string.Format("3D/Chara/Head/chr{0}{1}{2}/Prefab/pf_chr{0}{1}{2}_sweatlocator_hq", "{0:0000}", "_{1:0000}", arg), charaId, dressId, headIndex); - } - - public static string GetFaceTexturePath(int charaId, int dressId, int headIndex, int headTextureIndex, bool isSubHeadIndex, Character3DBase.MultiTextures.eMap map, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - switch (map) - { - case Character3DBase.MultiTextures.eMap.Specular: - resourceQuality = Character3DBase.eResourceQuality.Rich; - break; - case Character3DBase.MultiTextures.eMap.Control: - resourceQuality = Character3DBase.eResourceQuality.Rich; - headTextureIndex = 0; - break; - } - string headTextureSuffix = GetHeadTextureSuffix(map, Character3DBase.MaterialPack.eMaterialCategory.Face, resourceQuality); - return GetHeadTexturePath(charaId, dressId, headIndex, headTextureIndex, headTextureSuffix, isSubHeadIndex); - } - - public static string GetObjectTexturePath(int charaId, int dressId, int headIndex, int headTextureIndex, bool isSubHeadIndex, Character3DBase.MultiTextures.eMap map, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - switch (map) - { - case Character3DBase.MultiTextures.eMap.Specular: - resourceQuality = Character3DBase.eResourceQuality.Rich; - break; - case Character3DBase.MultiTextures.eMap.Control: - resourceQuality = Character3DBase.eResourceQuality.Rich; - headTextureIndex = 0; - break; - } - string headTextureSuffix = GetHeadTextureSuffix(map, Character3DBase.MaterialPack.eMaterialCategory.Object, resourceQuality); - return GetHeadTexturePath(charaId, dressId, headIndex, headTextureIndex, headTextureSuffix, isSubHeadIndex); - } - - public static string GetCheekTexturePath(int charaId, int dressId, int headIndex, bool isSubHeadIndex, Character3DBase.MultiTextures.eMap map, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string text = string.Empty; - switch (map) - { - case Character3DBase.MultiTextures.eMap.Diffuse: - case Character3DBase.MultiTextures.eMap.Specular: - case Character3DBase.MultiTextures.eMap.Control: - map = Character3DBase.MultiTextures.eMap.Diffuse; - text = "_C"; - break; - case Character3DBase.MultiTextures.eMap.AlphaMask: - text = "_A"; - break; - } - string headTextureSuffix = GetHeadTextureSuffix(Character3DBase.MultiTextures.eMap.Diffuse, Character3DBase.MaterialPack.eMaterialCategory.Cheek, resourceQuality); - headTextureSuffix += text; - return GetHeadTexturePath(charaId, dressId, headIndex, 0, headTextureSuffix, isSubHeadIndex); - } - - private static string GetHeadTextureSuffix(Character3DBase.MultiTextures.eMap map, Character3DBase.MaterialPack.eMaterialCategory materialCategory, Character3DBase.eResourceQuality resourceQuality) - { - string empty = string.Empty; - Func func = delegate - { - string empty2 = string.Empty; - return map switch - { - Character3DBase.MultiTextures.eMap.Diffuse => (resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq" : string.Empty, - Character3DBase.MultiTextures.eMap.Specular => "_spec", - Character3DBase.MultiTextures.eMap.Control => "_multi", - _ => string.Empty, - }; - }; - return materialCategory switch - { - Character3DBase.MaterialPack.eMaterialCategory.Cheek => "_cheek", - Character3DBase.MaterialPack.eMaterialCategory.Object => "_obj" + func(), - _ => func(), - }; - } - - private static string GetHeadTexturePath(int charaId, int dressId, int headIndex, int headTextureIndex, string suffix, bool isSubHeadIndex) - { - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonHeadTexturePath(charaId, headIndex, headTextureIndex, suffix, isSubHeadIndex); - } - return GetOwnHeadTexturePath(charaId, dressId, headIndex, suffix); - } - - private static string GetCommonHeadTexturePath(int charaId, int headIndex, int headTextureIndex, string suffix, bool isSubHeadIndex) - { - string empty = string.Empty; - string empty2 = string.Empty; - _ = string.Empty; - if (isSubHeadIndex) - { - empty = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - empty2 = ((headTextureIndex != 0) ? $"_col{headTextureIndex:000}" : string.Empty); - } - else - { - empty = ((headIndex != 0) ? $"_{headIndex:0000}" : string.Empty); - empty2 = string.Empty; - } - return string.Format("3D/Chara/Head/chr{0:0000}{1}/Textures/tx_chr{0:0000}{1}{2}{3}", charaId, empty, empty2, suffix); - } - - private static string GetOwnHeadTexturePath(int charaId, int dressId, int headIndex, string suffix) - { - string text = string.Empty; - _ = string.Empty; - if (headIndex != 0) - { - text = $"_sub{headIndex:000}"; - } - return string.Format("3D/Chara/Head/chr{0:0000}_{1:0000}{2}/Textures/tx_chr{0:0000}_{1:0000}{2}{3}", charaId, dressId, text, suffix); - } - - public static string GetHeadClothPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - return GetHeadClothCollisionPath(charaId, dressId, headIndex, "_cloth", isSubHeadIndex); - } - - public static string GetHeadCollisionPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - return GetHeadClothCollisionPath(charaId, dressId, headIndex, "_collision", isSubHeadIndex); - } - - private static string GetHeadClothCollisionPath(int charaId, int dressId, int headIndex, string suffix, bool isSubHeadIndex) - { - string empty = string.Empty; - empty = ((!StageUtil.IsModelCommonDressId(dressId)) ? GetOwnHeadClothCollisionPath(charaId, dressId, headIndex) : GetCommonHeadClothCollisionPath(charaId, headIndex, isSubHeadIndex)); - if (!string.IsNullOrEmpty(suffix)) - { - empty += suffix; - } - return empty; - } - - private static string GetCommonHeadClothCollisionPath(int charaId, int headIndex, bool isSubHeadIndex) - { - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? $"_sub{headIndex:000}" : $"_{headIndex:0000}"); - } - return string.Format("3D/Chara/Head/chr{0:0000}{1}/Clothes/md_chr{0:0000}{1}", charaId, arg); - } - - private static string GetOwnHeadClothCollisionPath(int charaId, int dressId, int headIndex) - { - string arg = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - return string.Format("3D/Chara/Head/chr{0:0000}_{1:0000}{2}/Clothes/md_chr{0:0000}_{1:0000}{2}", charaId, dressId, arg); - } - - public static string GetHeadFlareColliderPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonHeadFlareColliderPath(charaId, headIndex, isSubHeadIndex); - } - return GetOwnHeadFlareColliderPath(charaId, dressId, headIndex); - } - - private static string GetCommonHeadFlareColliderPath(int charaId, int headIndex, bool isSubHeadIndex) - { - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? $"_sub{headIndex:000}" : $"_{headIndex:0000}"); - } - return string.Format("3D/Chara/Head/chr{0:0000}{1}/Flares/md_chr{0:0000}{1}_flare", charaId, arg); - } - - private static string GetOwnHeadFlareColliderPath(int charaId, int dressId, int headIndex) - { - string arg = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - return string.Format("3D/Chara/Head/chr{0:0000}_{1:0000}{2}/Flares/md_chr{0:0000}_{1:0000}{2}_flare", charaId, dressId, arg); - } - - public static string GetFaceAnimatorPath(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonFaceAnimatorPath(charaId, headIndex, isSubHeadIndex); - } - return GetOwnFaceAnimatorPath(charaId, dressId, headIndex); - } - - private static string GetCommonFaceAnimatorPath(int charaId, int headIndex, bool isSubHeadIndex) - { - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? $"_sub{headIndex:000}" : $"_{headIndex:0000}"); - } - return string.Format("3D/Chara/Head/chr{0:0000}{1}/Motions/ac_chr{0:0000}{1}", charaId, arg); - } - - private static string GetOwnFaceAnimatorPath(int charaId, int dressId, int headIndex) - { - string arg = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - return string.Format("3D/Chara/Head/chr{0:0000}_{1:0000}{2}/Motions/ac_chr{0:0000}_{1:0000}{2}", charaId, dressId, arg); - } - - public static string GetOptionalDataPath(int optionName) - { - return string.Format("3D/Chara/Option/opt{0:D4}/Prefab/pf_opt{0:D4}", optionName); - } - } - - public class AssetBundle - { - public static string GetAccessoryModelName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type, Character3DBase.eResourceQuality resourceQuality) - { - accId = ((accId == 0) ? 1 : accId); - string empty = string.Empty; - if (StageUtil.IsModelCommonAccId(accId)) - { - return GetCommonAccessoryModelName(accId, accIndex, type, resourceQuality); - } - return GetOwnAccessoryModelName(accId, accIndex, type, resourceQuality); - } - - private static string GetCommonAccessoryModelName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type, Character3DBase.eResourceQuality resourceQuality) - { - string text = string.Empty; - switch (type) - { - case Character3DBase.AccessoryParts.eType.Main: - text = ((accIndex > 0) ? $"_{accIndex:00}" : string.Empty); - break; - case Character3DBase.AccessoryParts.eType.Sub: - text = $"_sub{accIndex:00}"; - break; - } - string text2 = ((resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq.unity3d" : ".unity3d"); - return string.Format("{0}{1:0000}{2}{3}", "3d_md_acc", accId, text, text2); - } - - private static string GetOwnAccessoryModelName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type, Character3DBase.eResourceQuality resourceQuality) - { - return string.Empty; - } - - public static string GetAccessoryTextureName(int accId, int colorId, bool accTexDiversity, int accTexIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map) - { - accId = ((accId == 0) ? 1 : accId); - string empty = string.Empty; - string accessoryTextureSuffix = GetAccessoryTextureSuffix(resourceQuality, map); - if (StageUtil.IsModelCommonAccId(accId)) - { - return GetCommonAccessoryTextureName(accId, colorId, accTexDiversity, accTexIndex, accessoryTextureSuffix); - } - return GetOwnAccessoryTextureName(accId, colorId, accTexDiversity, accTexIndex, accessoryTextureSuffix); - } - - private static string GetAccessoryTextureSuffix(Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map) - { - string empty = string.Empty; - return map switch - { - Character3DBase.MultiTextures.eMap.Diffuse => (resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq.unity3d" : ".unity3d", - Character3DBase.MultiTextures.eMap.Specular => "_spec.unity3d", - Character3DBase.MultiTextures.eMap.Control => "_multi.unity3d", - _ => ".unity3d", - }; - } - - private static string GetCommonAccessoryTextureName(int accId, int colorId, bool accTexDiversity, int accTexIndex, string suffix) - { - string text = string.Empty; - if (accTexDiversity) - { - text = $"_{accTexIndex:0000}"; - } - return string.Format("{0}{1:0000}_{2}{3}{4}", "3d_tx_acc", accId, colorId, text, suffix); - } - - private static string GetOwnAccessoryTextureName(int accId, int colorId, bool accTexDiversity, int accTexIndex, string suffix) - { - return string.Empty; - } - - public static string GetAccessoryParameterName(int accId) - { - return string.Format("{0}{1:0000}.unity3d", "3d_prm_acc", accId); - } - - public static string GetAccessoryFlareColliderName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - accId = ((accId == 0) ? 1 : accId); - string empty = string.Empty; - if (StageUtil.IsModelCommonAccId(accId)) - { - return GetCommonAccessoryFlareColliderName(accId, accIndex, type); - } - return GetOwnAccessoryFlareColliderName(accId, accIndex, type); - } - - private static string GetCommonAccessoryFlareColliderName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - string text = string.Empty; - switch (type) - { - case Character3DBase.AccessoryParts.eType.Main: - text = ((accIndex > 0) ? $"_{accIndex:00}" : string.Empty); - break; - case Character3DBase.AccessoryParts.eType.Sub: - text = $"_sub{accIndex:00}"; - break; - } - return string.Format("{0}{1:0000}{2}{3}.unity3d", "3d_md_acc", accId, text, "_flare"); - } - - private static string GetOwnAccessoryFlareColliderName(int accId, int accIndex, Character3DBase.AccessoryParts.eType type) - { - return string.Empty; - } - - public static string GetBodyModelName(int dressId, int heightId, int weightId, int bustId, int bodyIndex, string partsCode, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyModelName(dressId, heightId, weightId, bustId, bodyIndex, partsCode, resourceQuality); - } - return GetOwnBodyModelName(dressId, resourceQuality); - } - - private static string GetCommonBodyModelName(int dressId, int heightId, int weightId, int bustId, int bodyIndex, string partsCode, Character3DBase.eResourceQuality resourceQuality) - { - string empty = string.Empty; - string empty2 = string.Empty; - empty = ((!Character3DBase.Parts.IsValidPartsCode(partsCode)) ? "{0}{1:0000}_{3}_{4}_{5}" : "{0}{1:0000}_{2}_{3}_{4}_{5}"); - if (bodyIndex > 0) - { - empty += "_{6}"; - } - empty2 = string.Format(empty, "3d_md_body", dressId, partsCode, heightId, weightId, bustId, bodyIndex); - if ((uint)resourceQuality > 1u && resourceQuality == Character3DBase.eResourceQuality.Rich) - { - return empty2 + "_hq.unity3d"; - } - return empty2 + ".unity3d"; - } - - private static string GetOwnBodyModelName(int dressId, Character3DBase.eResourceQuality resourceQuality) - { - string empty = string.Empty; - empty = (((uint)resourceQuality <= 1u || resourceQuality != Character3DBase.eResourceQuality.Rich) ? "{0}{1:0000}.unity3d" : "{0}{1:0000}_hq.unity3d"); - return string.Format(empty, "3d_md_body", dressId); - } - - public static string GetBodyTextureName(int charaId, int dressId, int skinId, int bustId, int colorId, int bodyIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyTextureName(charaId, dressId, skinId, bustId, colorId, bodyIndex, resourceQuality, map); - } - return GetOwnBodyTextureName(dressId, resourceQuality, map); - } - - private static string GetCommonBodyTextureName(int charaId, int dressId, int skinId, int bustId, int colorId, int bodyIndex, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - string pathMask = "3D/Chara/Body/body{0:0000}/Textures/"; - string fileMask = "3d_tx_body{0:0000}_{1}_{2}_{3}"; - string empty = string.Empty; - if (bodyIndex > 0) - { - fileMask += "_{4}"; - } - Func func = delegate - { - string text2 = string.Format(fileMask, dressId, skinId, bustId, colorId, bodyIndex); - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - text2 += "_hq"; - } - return text2; - }; - Func func2 = delegate (int defBustId, int defColorId, string suffix) - { - fileMask += suffix; - string path = string.Format(pathMask, dressId); - string text = string.Format(fileMask, dressId, skinId, bustId, colorId, bodyIndex); - if (!Character3DBase.ExistTexture(path, text, "{0}.unity3d")) - { - text = string.Format(fileMask, dressId, skinId, defBustId, defColorId, bodyIndex); - } - return text; - }; - if (resourceQuality != Character3DBase.eResourceQuality.Rich) - { - map = Character3DBase.MultiTextures.eMap.Diffuse; - } - return map switch - { - Character3DBase.MultiTextures.eMap.Diffuse => func(), - Character3DBase.MultiTextures.eMap.Specular => func2(1, colorId, "_spec"), - Character3DBase.MultiTextures.eMap.Control => func2(1, 0, "_multi"), - _ => string.Empty, - } + ".unity3d"; - } - - private static string GetOwnBodyTextureName(int dressId, Character3DBase.eResourceQuality resourceQuality, Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - string arg = "3d_tx_body"; - string arg2 = string.Empty; - string empty = string.Empty; - _ = string.Empty; - if (resourceQuality != Character3DBase.eResourceQuality.Rich) - { - map = Character3DBase.MultiTextures.eMap.Diffuse; - } - switch (map) - { - case Character3DBase.MultiTextures.eMap.Diffuse: - if (resourceQuality == Character3DBase.eResourceQuality.Rich) - { - empty = "{0}{1:000}{2}.unity3d"; - arg2 = "_hq"; - } - else - { - empty = "{0}{1:000}.unity3d"; - } - break; - case Character3DBase.MultiTextures.eMap.Specular: - arg2 = "_spec"; - empty = "{0}{1:000}{2}.unity3d"; - break; - case Character3DBase.MultiTextures.eMap.Control: - arg2 = "_multi"; - empty = "{0}{1:000}{2}.unity3d"; - break; - default: - empty = "{0}{1:000}.unity3d"; - arg2 = string.Empty; - break; - } - return string.Format(empty, arg, dressId, arg2); - } - - public static string GetBodyClothName(int dressId, int bodyIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - _ = string.Empty; - return string.Format("{0}{1:0000}" + ((bodyIndex > 0) ? "_{2}.unity3d" : ".unity3d"), "3d_chara_body_", dressId, bodyIndex); - } - - public static string GetBodyFlareColliderName(int dressId, int heightId, int weightId, int bustId, int bodyIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonBodyFlareColliderName(dressId, heightId, weightId, bustId, bodyIndex); - } - return GetOwnBodyFlareColliderName(dressId); - } - - private static string GetCommonBodyFlareColliderName(int dressId, int heightId, int weightId, int bustId, int bodyIndex) - { - _ = string.Empty; - return string.Format("{0}{1:0000}_{2}_{3}_{4}" + ((bodyIndex > 0) ? "_{5}_flare.unity3d" : "_flare.unity3d"), "3d_md_body", dressId, heightId, weightId, bustId, bodyIndex); - } - - private static string GetOwnBodyFlareColliderName(int dressId) - { - return string.Format("{0}{1:0000}_flare.unity3d", "3d_md_body", dressId); - } - - public static string GetHeadModelName(int charaId, int dressId, int headIndex, bool isSubHeadIndex, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonHeadModelName(charaId, headIndex, isSubHeadIndex, resourceQuality); - } - return GetOwnHeadModelName(charaId, dressId, headIndex, resourceQuality); - } - - private static string GetCommonHeadModelName(int charaId, int headIndex, bool isSubHeadIndex, Character3DBase.eResourceQuality resourceQuality) - { - string text = string.Empty; - if (headIndex != 0) - { - text = (isSubHeadIndex ? $"_sub{headIndex:000}" : $"_{headIndex:0000}"); - } - string text2 = ((resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq.unity3d" : ".unity3d"); - return string.Format("{0}{1:0000}{2}{3}", "3d_chara_head_", charaId, text, text2); - } - - private static string GetOwnHeadModelName(int charaId, int dressId, int headIndex, Character3DBase.eResourceQuality resourceQuality) - { - string text = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - string text2 = ((resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq.unity3d" : ".unity3d"); - return string.Format("{0}{1:0000}_{2:0000}{3}{4}", "3d_chara_head_", charaId, dressId, text, text2); - } - - public static string GetHeadTextureName(int charaId, int dressId, int headIndex, int headTextureIndex, bool isSubHeadIndex, Character3DBase.eResourceQuality resourceQuality) - { - dressId = ((dressId == 0) ? 1 : dressId); - string result = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId) && isSubHeadIndex) - { - string text = ((resourceQuality == Character3DBase.eResourceQuality.Rich) ? "_hq.unity3d" : ".unity3d"); - string text2 = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - result = string.Format("{0}{1:0000}{2}_col{3:000}{4}", "3d_tx_head", charaId, text2, headTextureIndex, text); - } - return result; - } - - public static string GetHeadFlareColliderName(int charaId, int dressId, int headIndex, bool isSubHeadIndex) - { - dressId = ((dressId == 0) ? 1 : dressId); - string empty = string.Empty; - if (StageUtil.IsModelCommonDressId(dressId)) - { - return GetCommonHeadFlareColliderName(charaId, headIndex, isSubHeadIndex); - } - return GetOwnHeadFlareColliderName(charaId, dressId, headIndex); - } - - private static string GetCommonHeadFlareColliderName(int charaId, int headIndex, bool isSubHeadIndex) - { - string arg = string.Empty; - if (headIndex != 0) - { - arg = (isSubHeadIndex ? $"_sub{headIndex:000}" : $"_{headIndex:0000}"); - } - return string.Format("{0}{1:0000}{2}_flare.unity3d", "3d_chara_head_", charaId, arg); - } - - private static string GetOwnHeadFlareColliderName(int charaId, int dressId, int headIndex) - { - string text = ((headIndex != 0) ? $"_sub{headIndex:000}" : string.Empty); - return string.Format("{0}{1:0000}_{2:0000}{3}_flare.unity3d", "3d_chara_head_", charaId, dressId, text); - } - - public static string GetOptionalDataName(int id) - { - return string.Format("{0}{1:D4}.unity3d", "3d_chara_option_", id); - } - } - - /// - /// ディレクタで使用するデータをまとめたもの - /// - public class CharaDirectorData - { - public CharaDirectorData(SQCharaData _charaID, SQDressData _dressID, int musicID, int position) - { - Initialize(_charaID.charaID, _dressID.activeDressID, musicID, position); - } - - public CharaDirectorData(int _charaID, int _dressID, int _musicID, int _position) - { - Initialize(_charaID, _dressID, _musicID, _position); - } - - public void Initialize(int _charaID, int _dressID, int _musicID, int _position) - { - _characterData = Character3DBase.CreateCharacterData(_charaID, _dressID, _dressID); - - //もりくぼ用。目線の変化のためにカードIDが必要 - int cardID = Character3DBase.CharacterData.ConvertModelIdSSRDress(_dressID, _charaID); - if (cardID != 0) - { - _characterData.cardId = cardID; - } - - ConvertCharadata(_musicID, _position); - - Character3DBase.eHeadLoadType headLoadType = Character3DBase.eHeadLoadType.Default; - headIndex = StageUtil.GetHeadIndexWithHeadSelector(_characterData, MasterDBManager.instance.master3DCharaData, _musicID, _position == 0, out headLoadType); - headTextureIndex = StageUtil.GetHeadTextureIndex(_charaID, _dressID); - isSubHeadIndex = headLoadType == Character3DBase.eHeadLoadType.Default; - - charaId = _charaID; - activeDressId = _characterData.activeDressId; - activeAccessoryId = _characterData.activeAccessoryId; - heightId = _characterData.heightId; - weightId = _characterData.weightId; - skinId = _characterData.skinId; - colorId = _characterData.colorId; - bustId = _characterData.bustId; - - _dressCabinetCache = new DressCabinet.Cache(); - _dressCabinetCache.Initialize(activeDressId, charaId); - - bodyIndex = _dressCabinetCache.bodyIndex; - - if (_dressCabinetCache.headTexIndex != 0) - { - headTextureIndex = _dressCabinetCache.headTexIndex; - } - - accTexDiversity = false; - accTexIndex = 0; - accIndex = 0; - subAccIndex = 0; - if (_dressCabinetCache.validAcc) - { - accTexDiversity = _dressCabinetCache.accTexDiversity; - accTexIndex = _dressCabinetCache.accTexIndex; - accIndex = _dressCabinetCache.mainAccIndex; - subAccIndex = _dressCabinetCache.subAccIndex; - } - } - - private void ConvertCharadata(int musicID, int position) - { - - //きらりんロボをほかのライブで使用するには身長を変更する必要がある - if (_characterData.charaId == 83) - { - //きらりの身長へ変更 - _characterData.height = 182; - _characterData.heightWithoutHeel = 190; - } - - //きらりんロボのテーマの時はでかくしてあげないと見えなくなる - if (musicID == 1903) - { - if (position == 0 || position == 1) - { - _characterData.height = 1800; - _characterData.heightWithoutHeel = 1808; - } - } - - //びよんどすたーらいとキャラはHQモデルが存在しないため、ハイポリに変更 - if (_characterData.charaId == 48 || _characterData.charaId == 49 || _characterData.charaId == 50) - { - resourceQuality = Character3DBase.eResourceQuality.HighPolygon; - } - //VR用キャラはHQモデルが存在しない - if (_characterData.charaId == 701 || _characterData.charaId == 725 || _characterData.charaId == 726 || _characterData.charaId == 672 || _characterData.charaId == 682) - { - resourceQuality = Character3DBase.eResourceQuality.HighPolygon; - } - } - - /// - /// キャラクターデータ - /// - public SQCharaData charaData; - - /// - /// ドレスデータ - /// 共通衣装/ショップ衣装の時だけ入る - /// SSR衣装はid == 100になっている - /// - public SQDressData dressData; - - public Character3DBase.CharacterData _characterData; - - public DressCabinet.Cache _dressCabinetCache; - - public Character3DBase.eResourceQuality resourceQuality = Character3DBase.eResourceQuality.Rich; - - public bool isSubHeadIndex; - - public int charaId; - - public int bodyIndex; - - public int headIndex; - - public int accIndex; - - public int subAccIndex; - - public int headTextureIndex; - - public int activeDressId; - - public int activeAccessoryId; - - public bool accTexDiversity; - - public int accTexIndex; - - public int heightId; - - public int weightId; - - public int skinId; - - public int colorId; - - public int bustId; - } - - private CharaDirectorData charaDirectorData = null; - - private CharaDirectorData appendCharaDirectorData = null; - - private readonly float[] bodyNodeNeckSize = - { - 1.140078f, - 1.314968f, - 1.428056f, - 1.571387f - }; - - private readonly float[] bodyRootSize = - { - 0.8831882f, - 1.018672f, - 1.106277f, - 1.217312f - }; - - public float originalBodyNodeNeckSize - { - get - { - return bodyNodeNeckSize[charaDirectorData.heightId]; - } - } - - public float appendBodyNodeNeckSize - { - get - { - return bodyNodeNeckSize[appendCharaDirectorData.heightId]; - } - } - - public float originalBodyRootSize - { - get - { - return bodyRootSize[charaDirectorData.heightId]; - } - } - - public float appendBodyRootSize - { - get - { - return bodyRootSize[appendCharaDirectorData.heightId]; - } - } - - /// - /// 楽曲データ - /// - //private SQMusicData musicData; - - /// - /// 首のすげ替え - /// - public bool isAppendDress - { - get - { - if (appendCharaDirectorData != null) - { - return true; - } - return false; - } - } - - - /// - /// ファイルとりまとめ - /// - public CharaDirector(SQCharaData _charaID, SQDressData _dressID, SQMusicData _musicID, int position) - { - //musicData = _musicID; - charaDirectorData = new CharaDirectorData(_charaID, _dressID, _musicID.music_data_id, position); - } - - /// - /// ファイルとりまとめ - /// - public CharaDirector(SQCharaData _charaID, SQDressData _dressID, SQCharaData _appendCharaID, SQDressData _appendDressID, SQMusicData _musicID, int position) - { - //musicData = _musicID; - charaDirectorData = new CharaDirectorData(_charaID, _dressID, _musicID.music_data_id, position); - appendCharaDirectorData = new CharaDirectorData(_appendCharaID, _appendDressID, _musicID.music_data_id, position); - } - - public CharaDirector(int _charaID, int _dressID, int _musicID, int position) - { - charaDirectorData = new CharaDirectorData(_charaID, _dressID, _musicID, position); - } - - public string[] GetAssetFiles() - { - List tmp = new List(); - return tmp.ToArray(); - } - - - public string GetAccessoryModelPath(Character3DBase.AccessoryParts.eType type, int accIndex) - { - if (accIndex == -1) - { - accIndex = charaDirectorData.accIndex; - } - return Asset.GetAccessoryModelPath(charaDirectorData.activeAccessoryId, accIndex, charaDirectorData.resourceQuality, type); - } - - public string GetAccessoryTexturePath(Character3DBase.MultiTextures.eMap map) - { - return Asset.GetAccessoryTexturePath(charaDirectorData.activeAccessoryId, charaDirectorData.colorId, charaDirectorData.accTexDiversity, charaDirectorData.accTexIndex, charaDirectorData.resourceQuality, map); - } - - public string GetAccessoryParameterPath() - { - return Asset.GetAccessoryParameterPath(charaDirectorData.activeAccessoryId); - } - - public string GetAccessoryClothPath(int accIndex, Character3DBase.AccessoryParts.eType type) - { - return Asset.GetAccessoryClothPath(charaDirectorData.activeAccessoryId, accIndex, type); - } - - public string GetAccessoryCollisionPath(int accIndex, Character3DBase.AccessoryParts.eType type) - { - return Asset.GetAccessoryCollisionPath(charaDirectorData.activeAccessoryId, accIndex, type); - } - - public string GetAccessoryFlareColliderPath(int accIndex, Character3DBase.AccessoryParts.eType type) - { - return Asset.GetAccessoryFlareColliderPath(charaDirectorData.activeAccessoryId, accIndex, type); - } - - public string GetBodyModelPath(string partsCode) - { - return Asset.GetBodyModelPath(charaDirectorData.activeDressId, charaDirectorData.heightId, charaDirectorData.weightId, charaDirectorData.bustId, charaDirectorData.bodyIndex, partsCode, charaDirectorData.resourceQuality); - } - - /// - /// アペンドモデルのボディモデルパスを取得 - /// - public string GetAppendBodyModelPath(string partsCode) - { - return Asset.GetBodyModelPath(appendCharaDirectorData.activeDressId, appendCharaDirectorData.heightId, appendCharaDirectorData.weightId, appendCharaDirectorData.bustId, appendCharaDirectorData.bodyIndex, partsCode, appendCharaDirectorData.resourceQuality); - } - - public string GetBodyTexturePath(string partCode = "", Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - return Asset.GetBodyTexturePath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.skinId, charaDirectorData.bustId, charaDirectorData.colorId, charaDirectorData.bodyIndex, partCode, charaDirectorData.resourceQuality, map); - } - - /// - /// アペンドモデルのボディテクスチャを取得 - /// - public string GetAppendBodyTexturePath(string partCode = "", Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - return Asset.GetBodyTexturePath(appendCharaDirectorData.charaId, appendCharaDirectorData.activeDressId, appendCharaDirectorData.skinId, appendCharaDirectorData.bustId, appendCharaDirectorData.colorId, appendCharaDirectorData.bodyIndex, partCode, appendCharaDirectorData.resourceQuality, map); - } - - public string GetBodyClothPath() - { - return Asset.GetBodyClothPath(charaDirectorData.activeDressId, charaDirectorData.bodyIndex); - } - - /// - /// アペンドモデルのクロスを取得 - /// - public string GetAppendBodyClothPath() - { - return Asset.GetBodyClothPath(appendCharaDirectorData.activeDressId, appendCharaDirectorData.bodyIndex); - } - - public string GetBodyCollisionPath() - { - return Asset.GetBodyCollisionPath(charaDirectorData.activeDressId, charaDirectorData.bodyIndex); - } - - /// - /// アペンドモデルのコリジョンを取得 - /// - public string GetAppendBodyCollisionPath() - { - return Asset.GetBodyCollisionPath(appendCharaDirectorData.activeDressId, appendCharaDirectorData.bodyIndex); - } - - public string GetBodyFlareColliderPath() - { - return Asset.GetBodyFlareColliderPath(charaDirectorData.activeDressId, charaDirectorData.heightId, charaDirectorData.weightId, charaDirectorData.bustId, charaDirectorData.bodyIndex); - } - - /// - /// アペンドモデルのフレアを取得 - /// - /// - public string GetAppendBodyFlareColliderPath() - { - return Asset.GetBodyFlareColliderPath(appendCharaDirectorData.activeDressId, appendCharaDirectorData.heightId, appendCharaDirectorData.weightId, appendCharaDirectorData.bustId, appendCharaDirectorData.bodyIndex); - } - - public string GetHeadModelPath() - { - return Asset.GetHeadModelPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex, charaDirectorData.resourceQuality); - } - - public string GetSweatLocatorPath() - { - return Asset.GetSweatLocatorPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetFaceTexturePath(Character3DBase.MultiTextures.eMap map) - { - return Asset.GetFaceTexturePath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.headTextureIndex, charaDirectorData.isSubHeadIndex, map, charaDirectorData.resourceQuality); - } - - public string GetObjectTexturePath(Character3DBase.MultiTextures.eMap map) - { - return Asset.GetObjectTexturePath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.headTextureIndex, charaDirectorData.isSubHeadIndex, map, charaDirectorData.resourceQuality); - } - - public string GetCheekTexturePath(Character3DBase.MultiTextures.eMap map) - { - return Asset.GetCheekTexturePath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex, map, charaDirectorData.resourceQuality); - } - - public string GetHeadClothPath() - { - return Asset.GetHeadClothPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetHeadCollisionPath() - { - return Asset.GetHeadCollisionPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetHeadFlareColliderPath() - { - return Asset.GetHeadFlareColliderPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetFaceAnimatorPath() - { - return Asset.GetFaceAnimatorPath(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetOptionalDataPath(int optionName) - { - return Asset.GetOptionalDataPath(optionName); - } - - public string GetAccessoryModelName(Character3DBase.AccessoryParts.eType type) - { - return AssetBundle.GetAccessoryModelName(charaDirectorData.activeAccessoryId, charaDirectorData.accIndex, type, charaDirectorData.resourceQuality); - } - - public string GetAccessoryTextureName(Character3DBase.MultiTextures.eMap map) - { - return AssetBundle.GetAccessoryTextureName(charaDirectorData.activeAccessoryId, charaDirectorData.colorId, charaDirectorData.accTexDiversity, charaDirectorData.accTexIndex, charaDirectorData.resourceQuality, map); - } - - public string GetAccessoryParameterName() - { - return AssetBundle.GetAccessoryParameterName(charaDirectorData.activeAccessoryId); - } - - public string GetAccessoryFlareColliderName(Character3DBase.AccessoryParts.eType type) - { - return AssetBundle.GetAccessoryFlareColliderName(charaDirectorData.activeAccessoryId, charaDirectorData.accIndex, type); - } - - public string GetBodyModelName(string partsCode) - { - return AssetBundle.GetBodyModelName(charaDirectorData.activeDressId, charaDirectorData.heightId, charaDirectorData.weightId, charaDirectorData.bustId, charaDirectorData.bodyIndex, partsCode, charaDirectorData.resourceQuality); - } - - public string GetBodyTextureName(Character3DBase.MultiTextures.eMap map = Character3DBase.MultiTextures.eMap.Diffuse) - { - return AssetBundle.GetBodyTextureName(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.skinId, charaDirectorData.bustId, charaDirectorData.colorId, charaDirectorData.bodyIndex, charaDirectorData.resourceQuality, map); - } - - public string GetBodyClothName() - { - return AssetBundle.GetBodyClothName(charaDirectorData.activeDressId, charaDirectorData.bodyIndex); - } - - public string GetBodyFlareColliderName() - { - return AssetBundle.GetBodyFlareColliderName(charaDirectorData.activeDressId, charaDirectorData.heightId, charaDirectorData.weightId, charaDirectorData.bustId, charaDirectorData.bodyIndex); - } - - public string GetHeadModelName() - { - return AssetBundle.GetHeadModelName(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex, charaDirectorData.resourceQuality); - } - - public string GetHeadTextureName() - { - return AssetBundle.GetHeadTextureName(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.headTextureIndex, charaDirectorData.isSubHeadIndex, charaDirectorData.resourceQuality); - } - - public string GetHeadFlareColliderName() - { - return AssetBundle.GetHeadFlareColliderName(charaDirectorData.charaId, charaDirectorData.activeDressId, charaDirectorData.headIndex, charaDirectorData.isSubHeadIndex); - } - - public string GetOptionalDataName(int optionName) - { - return AssetBundle.GetOptionalDataName(optionName); - } - - public Character3DBase.CharacterData characterData - { - get - { - return charaDirectorData._characterData; - } - } - - public Character3DBase.CharacterData appendCharacterData - { - get - { - if (appendCharaDirectorData == null) - { - return null; - } - else - { - return appendCharaDirectorData._characterData; - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs.meta deleted file mode 100644 index dc12731..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/CharaDirector.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 43e0b79a6a628364cbd4240dd283763f -timeCreated: 1536844121 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt.meta deleted file mode 100644 index a8783dd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ef9c02d47bef1d246a6fc9bec800baf2 -folderAsset: yes -timeCreated: 1534931221 -licenseType: Free -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs deleted file mode 100644 index ca46a33..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs +++ /dev/null @@ -1,34 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public class BezierCalcWork - { - public static BezierCalcWork cameraPos = new BezierCalcWork(); - - public static BezierCalcWork cameraLookAt = new BezierCalcWork(); - - private Vector3[] _points = new Vector3[17]; - - public void Set(Vector3 startPos, Vector3 endPos, int bezierNum) - { - _points[0] = startPos; - _points[1 + bezierNum] = endPos; - } - - public void UpdatePoints(LiveTimelineKeyCameraPositionData posKey, LiveTimelineControl timelineControl) - { - posKey.GetBezierPoints(timelineControl, _points, 1); - } - - public void UpdatePoints(LiveTimelineKeyCameraLookAtData lookAtKey, LiveTimelineControl timelineControl, Vector3 camPos) - { - lookAtKey.GetBezierPoints(timelineControl, camPos, _points, 1); - } - - public void Calc(int bezierNum, float t, out Vector3 pos) - { - BezierUtil.Calc(_points, bezierNum + 2, t, out pos); - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs.meta deleted file mode 100644 index f833bb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierCalcWork.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f47257b9d88a9704eb26ed147f948341 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs deleted file mode 100644 index 5bfa9d4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - public static class BezierUtil - { - private static Vector3[] subPointsWork = new Vector3[17]; - - public static void Bezier(ref Vector3 startPos, Vector3[] points, ref Vector3 endPos, float t, out Vector3 outPos) - { - points[0] = startPos; - Array.Copy(points, 0, subPointsWork, 1, points.Length); - points[points.Length + 1] = endPos; - outPos = CalcRecurse(points, points.Length, t); - } - - public static void Calc(Vector3[] points, int pointNum, float t, out Vector3 outPos) - { - outPos = CalcRecurse(points, pointNum, t); - } - - private static Vector3 CalcRecurse(Vector3[] points, int pointNum, float t) - { - if (pointNum == 2) - { - return Vector3.LerpUnclamped(points[0], points[1], t); - } - for (int i = 0; i < pointNum - 1; i++) - { - subPointsWork[i] = Vector3.LerpUnclamped(points[i], points[i + 1], t); - } - return CalcRecurse(subPointsWork, pointNum - 1, t); - } - - public static void Calc(ref Vector3 start, ref Vector3 end, ref Vector3 cp, float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t; - float num3 = 2f * t * num; - float num4 = num * num; - v3.x = num2 * end.x + num3 * cp.x + num4 * start.x; - v3.y = num2 * end.y + num3 * cp.y + num4 * start.y; - v3.z = num2 * end.z + num3 * cp.z + num4 * start.z; - } - - public static void Calc(ref Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t; - float num3 = 3f * t * t * num; - float num4 = 3f * t * num * num; - float num5 = num * num * num; - v3.x = num2 * end.x + num3 * cp2.x + num4 * cp1.x + num5 * start.x; - v3.y = num2 * end.y + num3 * cp2.y + num4 * cp1.y + num5 * start.y; - v3.z = num2 * end.z + num3 * cp2.z + num4 * cp1.z + num5 * start.z; - } - - public static void Calc(ref Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t * t; - float num3 = 4f * t * t * t * num; - float num4 = 4f * t * t * num * num; - float num5 = 4f * t * num * num * num; - float num6 = num * num * num * num; - v3.x = num2 * end.x + num3 * cp3.x + num4 * cp2.x + num5 * cp1.x + num6 * start.x; - v3.y = num2 * end.y + num3 * cp3.y + num4 * cp2.y + num5 * cp1.y + num6 * start.y; - v3.z = num2 * end.z + num3 * cp3.z + num4 * cp2.z + num5 * cp1.z + num6 * start.z; - } - - public static void Calc(ref Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, ref Vector3 cp4, float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t * t * t; - float num3 = 5f * t * t * t * t * num; - float num4 = 5f * t * t * t * num * num; - float num5 = 5f * t * t * num * num * num; - float num6 = 5f * t * num * num * num * num; - float num7 = num * num * num * num * num; - v3.x = num2 * end.x + num3 * cp4.x + num4 * cp3.x + num5 * cp2.x + num6 * cp1.x + num7 * start.x; - v3.y = num2 * end.y + num3 * cp4.y + num4 * cp3.y + num5 * cp2.y + num6 * cp1.y + num7 * start.y; - v3.z = num2 * end.z + num3 * cp4.z + num4 * cp3.z + num5 * cp2.z + num6 * cp1.z + num7 * start.z; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs.meta deleted file mode 100644 index df1bee8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/BezierUtil.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 735f9c53cbba73c4aba00ea4de687b1b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs deleted file mode 100644 index 1af86f9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.IO; -using System.Runtime.Serialization.Formatters.Binary; - -namespace Cutt -{ - public static class CuttControlCommon - { - public static bool ResaizeArray(ref T[] Data, int newCount) where T : new() - { - if (Data.Length < newCount) - { - T target = (Data.Length <= 0) ? new T() : Data[Data.Length - 1]; - int num = Data.Length; - Array.Resize(ref Data, newCount); - for (int i = num; i < Data.Length; i++) - { - Data[i] = AllCopy(target); - } - } - else if (Data.Length > newCount) - { - Array.Resize(ref Data, newCount); - } - return true; - } - - public static object AllCopy(this object target) - { - BinaryFormatter binaryFormatter = new BinaryFormatter(); - MemoryStream memoryStream = new MemoryStream(); - try - { - binaryFormatter.Serialize(memoryStream, target); - memoryStream.Position = 0L; - return binaryFormatter.Deserialize(memoryStream); - } - finally - { - memoryStream.Close(); - } - } - - public static T AllCopy(T target) - { - BinaryFormatter binaryFormatter = new BinaryFormatter(); - MemoryStream memoryStream = new MemoryStream(); - try - { - binaryFormatter.Serialize(memoryStream, target); - memoryStream.Position = 0L; - return (T)binaryFormatter.Deserialize(memoryStream); - } - finally - { - memoryStream.Close(); - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs.meta deleted file mode 100644 index 83efd0b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttControlCommon.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 509fd77d4211fc64ba779f9c1d2c65d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent.meta deleted file mode 100644 index 8889fae..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: df43ba63ee786d641baadb4a831db2b8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs deleted file mode 100644 index de6409c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs +++ /dev/null @@ -1,30 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct CuttEventColorData - { - public float a; - - public float r; - - public float g; - - public float b; - - public static implicit operator CuttEventColorData(Color data) - { - CuttEventColorData result = default(CuttEventColorData); - result.a = data.a; - result.r = data.r; - result.g = data.g; - result.b = data.b; - return result; - } - - public static explicit operator Color(CuttEventColorData data) - { - return new Color(data.r, data.g, data.b, data.a); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs.meta deleted file mode 100644 index 2793ac6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventColorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 002a341d7aa5c2f4481e0cb7d373b7b6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs deleted file mode 100644 index 9835445..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParamBase - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs.meta deleted file mode 100644 index b65d719..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParamBase.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1b1cb1ea51a51a347a5760c590bb224e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs deleted file mode 100644 index c268a43..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_CameraHandShake : CuttEventParamBase - { - public bool isEnable = true; - - public bool isOverwrite; - - public float positionAmount = LiveTimelineCamera.kPositionAmountInitVal; - - public float rotationAmount = LiveTimelineCamera.kRotationAmountInitVal; - - public CuttEventVec3Data positionComponents = LiveTimelineCamera.kPositionComponentsInitVal; - - public CuttEventVec3Data rotationComponents = LiveTimelineCamera.kRotationComponentsInitVal; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs.meta deleted file mode 100644 index 7e5669a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_CameraHandShake.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0a281a4e1cfaef042ba98fdc6ef69440 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs deleted file mode 100644 index 84beaa2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_ChangeEyeTrackTarget : CuttEventParamBase - { - public enum Target - { - Arena, - Camera, - StageLeftSide, - StageRightSide - } - - public Target target; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs.meta deleted file mode 100644 index ac3bb55..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_ChangeEyeTrackTarget.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c64001c26cd9534da16fc57c04d0cb2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs deleted file mode 100644 index 8a650b8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_SwitchCamera : CuttEventParamBase - { - public int cameraID; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs.meta deleted file mode 100644 index 5ad3a56..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchCamera.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 37b6bc4bdb036ca4eb5d1d7afda81f9a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs deleted file mode 100644 index 95f3894..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using Cutt; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_SwitchSheetAltFromCharacterCondition : CuttEventParamBase - { - public bool isSheetAlt; - - public LiveTimelineData.AlterSheetMode alterSheetMode; - - public LiveTimelineSwitchSheetAltSetting.LeftHanded leftHanded; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs.meta deleted file mode 100644 index 43a2c42..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetAltFromCharacterCondition.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ba255d3e095ca642a7ab14daf6ff5aa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs deleted file mode 100644 index 78126e4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_SwitchSheetFromCharacterCondition : CuttEventParamBase - { - public int sheetIndex = -1; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs.meta deleted file mode 100644 index 9973fb4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterCondition.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d8b1b4e4d4c7506448ac93787d2b95ae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs deleted file mode 100644 index 0f2cb72..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class CuttEventParam_SwitchSheetFromCharacterConditionVm : CuttEventParamBase - { - public bool isSheetAlt; - - public int conditionIndex; - - public int sheetIndex; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs.meta deleted file mode 100644 index 0edc246..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventParam_SwitchSheetFromCharacterConditionVm.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 799fab50028427e44809592839c998bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs deleted file mode 100644 index 0bc9c9b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public struct CuttEventVec2Data - { - public float x; - - public float y; - - public static implicit operator CuttEventVec2Data(Vector2 data) - { - CuttEventVec2Data result = default(CuttEventVec2Data); - result.x = data.x; - result.y = data.y; - return result; - } - - public static explicit operator Vector2(CuttEventVec2Data data) - { - return new Vector2(data.x, data.y); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs.meta deleted file mode 100644 index 0d73e71..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec2Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2be00eff481c9584b800c186febd37b9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs deleted file mode 100644 index 0587150..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public struct CuttEventVec3Data - { - public float x; - - public float y; - - public float z; - - public static implicit operator CuttEventVec3Data(Vector3 data) - { - CuttEventVec3Data result = default(CuttEventVec3Data); - result.x = data.x; - result.y = data.y; - result.z = data.z; - return result; - } - - public static explicit operator Vector3(CuttEventVec3Data data) - { - return new Vector3(data.x, data.y, data.z); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs.meta deleted file mode 100644 index 2e096a8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/CuttEvent/CuttEventVec3Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d1e47bbe168876b40a5a7a0b8f318f15 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs deleted file mode 100644 index a4806db..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - internal class DataInfo - { - public int dataSize; - - public short[] waveBuff; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs.meta deleted file mode 100644 index 74a4737..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DataInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 34b9b24426c492e4c92add0a5f8281f1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate.meta deleted file mode 100644 index 24dbf14..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: aaf76cab8a038d047bff6965417ce565 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs deleted file mode 100644 index 75ae235..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void A2UConfigUpdateInfoDelegate(ref A2UConfigUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs.meta deleted file mode 100644 index 964e5a5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UConfigUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9553696cbfe9ade47bb2f99d67101148 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs deleted file mode 100644 index 70bbd11..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void A2UUpdateInfoDelegate(ref A2UUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs.meta deleted file mode 100644 index 47f0813..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/A2UUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee1355751634b804f80486028bf2a6a6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs deleted file mode 100644 index f794188..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void AnimationUpdateInfoDelegate(ref AnimationUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs.meta deleted file mode 100644 index a9a6acc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/AnimationUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f1ea9d28094af3e41918b127ff395577 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs deleted file mode 100644 index 7e106c4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void BgColor1UpdateInfoDelegate(ref BgColor1UpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs.meta deleted file mode 100644 index b5cee33..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor1UpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bf0b6278ed4b0294a96c9a06a9c7b838 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs deleted file mode 100644 index 9ba22f1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void BgColor2UpdateInfoDelegate(ref BgColor2UpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs.meta deleted file mode 100644 index 8123f71..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor2UpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7bc0b0ec013bfe747b07788ffe6ec9e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs deleted file mode 100644 index be2eaef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void BgColor3UpdateInfoDelegate(ref BgColor3UpdateInfo updateInfo); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs.meta deleted file mode 100644 index 12cd8fe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/BgColor3UpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2c98f135562063f4fbf1dccddfa58eb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs deleted file mode 100644 index d206dda..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CameraPosUpdateInfoDelegate(ref CameraPosUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs.meta deleted file mode 100644 index 79b55c7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CameraPosUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d91e3392e20309b42bc8f08f75463e2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs deleted file mode 100644 index 7724ba2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CharaFootLightUpdateInfoDelegate(ref CharaFootLightUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs.meta deleted file mode 100644 index 9b83842..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaFootLightUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eea60dd86303e1640bc29f65db5e4608 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs deleted file mode 100644 index e1eae71..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CharaHeightMotionUpdateInfoDelegate(ref CharaHeightMotionUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs.meta deleted file mode 100644 index fed7643..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaHeightMotionUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 96f54b75a4140cd45ad409f225456fd6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs deleted file mode 100644 index aa37c45..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CharaIKUpdateInfoDelegate(ref CharaIKUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs.meta deleted file mode 100644 index 51b494e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaIKUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: feb7afc0b69da2e4eb95b3f1baa7250b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs deleted file mode 100644 index de7881b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CharaWindUpdateInfoDelegate(ref CharaWindUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs.meta deleted file mode 100644 index 65a4d12..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CharaWindUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4547f2b3c0d78e04981627567e5d473d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs deleted file mode 100644 index 0635f9c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ColorCorrectionDelegate(ref ColorCorrectionUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs.meta deleted file mode 100644 index 4ec096a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ColorCorrectionDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1dcd2307bd47a7c46b09093899492033 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs deleted file mode 100644 index 3614b39..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CrossFadeCameraUpdateInfoDelegate(ref CrossFadeCameraUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs.meta deleted file mode 100644 index 9cd2505..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CrossFadeCameraUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: adae0713a299f2045a0393a0462cc6c8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs deleted file mode 100644 index fa777f4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void CySpringUpdateInfoDelegate(ref CySpringUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs.meta deleted file mode 100644 index 94adb2d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/CySpringUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1da857b34175f6a44b915533e7d4bf9d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs deleted file mode 100644 index 5135b09..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void DressChangeUpdateInfoDelegate(ref DressChangeUpdateInfo updateInfo); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs.meta deleted file mode 100644 index eca757f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/DressChangeUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f7475f779387a644811f1ceb44e9711 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs deleted file mode 100644 index 2fd4529..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void EffectUpdateInfoDelegate(ref EffectUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs.meta deleted file mode 100644 index 8522685..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EffectUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd9e5bc069ceba54cb712287b025a8f0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs deleted file mode 100644 index 2946212..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void EnvironmentCharacterShadowDelegate(ref EnvironmentCharacterShadowUpdateInfo updateInfo); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs.meta deleted file mode 100644 index 3503504..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentCharacterShadowDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3844414280d62a24aaa8936dc6c3dce3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs deleted file mode 100644 index 7b4040b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void EnvironmentGlobalLightDelegate(ref EnvironmentGlobalLightUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs.meta deleted file mode 100644 index 9d3fefe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentGlobalLightDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2cb5dc04d40c94b429a1fcf047418b98 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs deleted file mode 100644 index 28652ea..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void EnvironmentMirrorDelegate(ref EnvironmentMirrorUpdateInfo updateInfo); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs.meta deleted file mode 100644 index 9bc4890..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/EnvironmentMirrorDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a25e54e24f461384983d6ba5ad36b8a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs deleted file mode 100644 index e932f0a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void FormationOffsetUpdateInfoDelegate(ref FormationOffsetUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs.meta deleted file mode 100644 index c534077..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/FormationOffsetUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d0450b03f972f9a40ae166b983be154b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs deleted file mode 100644 index 95cc5b7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void GazingObjectUpdateInfoDelegate(ref GazingObjectUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs.meta deleted file mode 100644 index f960249..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GazingObjectUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 02597311ed2f61d4d8c23f17bdde58a4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs deleted file mode 100644 index e0d5d28..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void GlassUpdateInfoDelegate(ref GlassUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs.meta deleted file mode 100644 index f47983c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlassUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80648c725b2783946bc12adb16b2531b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs deleted file mode 100644 index 098c1c8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void GlobalFogDelegate(ref GlobalFogUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs.meta deleted file mode 100644 index 9ce5bc1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/GlobalFogDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7dcdab7f97cf6054395a3230c372f55b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs deleted file mode 100644 index 60d9f1b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void HdrBloomUpdateInfoDelegate(ref HdrBloomUpdateInfo updateInfo); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs.meta deleted file mode 100644 index 623dc00..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/HdrBloomUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 89472122a8804654abe0994d7dae6fc8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs deleted file mode 100644 index dc251ef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System.Collections.Generic; - -namespace Cutt -{ - public delegate void LaserUpdateInfoDelegate(ref LaserUpdateInfo updateInfo, Dictionary ignoreHashDic); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs.meta deleted file mode 100644 index 10ebf89..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LaserUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 70a30e5f3c11d28489d0d3b3bbe0902e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs deleted file mode 100644 index e860bf1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void LensFlareUpdateInfoDelegate(ref LensFlareUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs.meta deleted file mode 100644 index 86d2675..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LensFlareUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5fdd4e2e00719ab48800b442adfcf565 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs deleted file mode 100644 index f3c4e24..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void LightShuftDelegate(ref LightShuftUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs.meta deleted file mode 100644 index 8cce1bd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LightShuftDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 518e4507addd8754f955eaeaba871683 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs deleted file mode 100644 index b80f84d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void LiveTimelineEventHandler(LiveTimelineKeyEventData.EventData eventData); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs.meta deleted file mode 100644 index 238aa7e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/LiveTimelineEventHandler.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d437f78ebc3ed764fa5874e7724c79f8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs deleted file mode 100644 index 3344b16..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MobCyalume3DUpdateInfoDelegate(ref MobCyalume3DUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs.meta deleted file mode 100644 index ee9bc9c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalume3DUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dd576ff359c67f1439e34a3a0eefd6ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs deleted file mode 100644 index 157692f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MobCyalumeUpdateInfoDelegate(ref MobCyalumeUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs.meta deleted file mode 100644 index 44deb7e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MobCyalumeUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f455f00b742d0bb45b9f414e1cabe873 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs deleted file mode 100644 index 26e7645..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MonitorCameraUpdateDelegate(ref MonitorCameraUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs.meta deleted file mode 100644 index f635e51..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorCameraUpdateDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7b9b5a5cbeca721429eebfd0b983d022 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs deleted file mode 100644 index 6416ea2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MonitorControlUpdateInfoDelegate(ref MonitorControlUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs.meta deleted file mode 100644 index 00bde23..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MonitorControlUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 76116acfc7f19ff4b9acf4dd9baba50f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs deleted file mode 100644 index 3999db2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MultiCameraMainScreenCaptureDelegate(bool capture); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs.meta deleted file mode 100644 index f617b6b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraMainScreenCaptureDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 917d8a4ae9d2c894e81099e1f25ab9c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs deleted file mode 100644 index 7b5d851..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void MultiCameraUpdateInfoDelegate(ref MultiCameraUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs.meta deleted file mode 100644 index 05324a4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/MultiCameraUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 118b039ad4bab1e458855524d211d621 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs deleted file mode 100644 index 31b2863..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ObjectUpdateInfoDelegate(ref ObjectUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs.meta deleted file mode 100644 index 24e28e9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ObjectUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 31744ffa0c3f782409280386f917f4df -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs deleted file mode 100644 index 5389dcb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ParticleGroupUpdateInfoDelegate(ref ParticleGroupUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs.meta deleted file mode 100644 index a048e96..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleGroupUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 88f1340ec6fc65c4eb6f9731419dc5e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs deleted file mode 100644 index 9007809..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ParticleUpdateInfoDelegate(ref ParticleUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs.meta deleted file mode 100644 index 086f448..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ParticleUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b8b244f8b2877040bf68101a895769f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs deleted file mode 100644 index 8bbff2d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void PostEffectUpdateInfoDelegate(ref PostEffectUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs.meta deleted file mode 100644 index 34c54ab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PostEffectUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6062b2dedd9c11a4aa86e316e9f84258 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs deleted file mode 100644 index 31472d2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ProjectorUpdateInfoDelegate(ref ProjectorUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs.meta deleted file mode 100644 index 8be5258..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ProjectorUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 995ddaf924c9ca84da44e58d9c6f4bae -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs deleted file mode 100644 index 64f78d7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void PropsAttachUpdateInfoDelegate(ref PropsAttachUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs.meta deleted file mode 100644 index aaa9840..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsAttachUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 941b737bef0d3b142a31ef9004e99ec6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs deleted file mode 100644 index ec52a6f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void PropsUpdateInfoDelegate(ref PropsUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs.meta deleted file mode 100644 index 331bbd3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/PropsUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bdae860875dda974d9da5a9d5bde9723 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs deleted file mode 100644 index 308a1ef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void RendererUpdateInfoDelegate(ref RendererUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs.meta deleted file mode 100644 index 24520e4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/RendererUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3dd78a15bf4a24d489eb1e9d8148c717 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs deleted file mode 100644 index 45d52f9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ScreenFadeUpdateInfoDelegate(ref ScreenFadeUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs.meta deleted file mode 100644 index 9b80904..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenFadeUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5606a73c6668e954489d1f48f3ad165d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs deleted file mode 100644 index 5b11c8f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ScreenOverlayUpdateInfoDelegate(ref PostFilmUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs.meta deleted file mode 100644 index 4e70684..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ScreenOverlayUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 02f3f23249d768f41bd2c89dad04d78f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs deleted file mode 100644 index f4eaaaa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void ShaderControlUpdateInfoDelegate(ref ShaderControlUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs.meta deleted file mode 100644 index 2fff99d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/ShaderControlUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 374bc03821b40524197b1c2aacad704e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs deleted file mode 100644 index c5d8e0b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void StageGazeControlUpdateInfoDelegate(ref StageGazeControlUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs.meta deleted file mode 100644 index d74acc1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/StageGazeControlUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b43bbd060ccffc24f9ddfeaa6f4165cf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs deleted file mode 100644 index 57dec52..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void SweatLocatorUpdateInfoDelegate(ref SweatLocatorUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs.meta deleted file mode 100644 index 0419182..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/SweatLocatorUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bbf2b3bebc4672c47a1064d12bf26cec -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs deleted file mode 100644 index 18be275..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void TextureAnimationUpdateInfoDelegate(ref TextureAnimationUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs.meta deleted file mode 100644 index 50f8ae8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TextureAnimationUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0af103b2c99b0cd48aae8930359a90cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs deleted file mode 100644 index bb794ca..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void TiltShiftDelegate(ref TilsShiftUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs.meta deleted file mode 100644 index 7c5b35f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TiltShiftDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 67a15010ee9c06348b88dfc247229b7c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs deleted file mode 100644 index 300d40c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void TransformUpdateInfoDelegate(ref TransformUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs.meta deleted file mode 100644 index 7040bdf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/TransformUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8b967df022b122449903f56bc8d4979b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs deleted file mode 100644 index 4f175cc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs +++ /dev/null @@ -1,4 +0,0 @@ -namespace Cutt -{ - public delegate void VolumeLightUpdateInfoDelegate(ref VolumeLightUpdateInfo updateInfo); -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs.meta deleted file mode 100644 index ba6fff4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Delegate/VolumeLightUpdateInfoDelegate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d5b3729d46f0c8443815f016257d0f07 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs deleted file mode 100644 index 160ea37..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; - -namespace Cutt -{ - public class DropOutStack where T : class - { - private T[] Items; - - private int Top; - - public int Count; - - private int Capacity; - - public DropOutStack(int capacity) - { - Items = new T[capacity]; - Capacity = capacity; - } - - public void Push(T item) - { - Items[Top] = item; - Top = (Top + 1) % Capacity; - Count = Math.Min(Count + 1, Capacity); - } - - public T Pop() - { - Top = (Capacity + Top - 1) % Capacity; - Count = Math.Max(Count - 1, 0); - T result = Items[Top]; - Items[Top] = (T)null; - return result; - } - - public T At(int index) - { - if (index < Count) - { - int num = (Capacity + Top - 1) % Capacity; - index = ((index <= num) ? (num - index) : (Capacity + (num - index))); - return Items[index]; - } - return (T)null; - } - - public void Clear() - { - for (int i = 0; i < Capacity; i++) - { - Items[i] = (T)null; - } - Top = 0; - Count = 0; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs.meta deleted file mode 100644 index a09bf02..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/DropOutStack.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b83cb354fea3ad14285993e6f2c55a85 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs deleted file mode 100644 index cc072c3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class EditTimelineEditorColor - { - public List color = new List(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs.meta deleted file mode 100644 index f062cb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorColor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e3c8e36ecd627aa41b90d05c2f583d9f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs deleted file mode 100644 index 5933afd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Cutt -{ - [Serializable] - public class EditTimelineEditorName - { - public List name = new List(); - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs.meta deleted file mode 100644 index 577d3f6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/EditTimelineEditorName.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9802ce4ae0b5cf44fb467aa7e550b6b8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration.meta deleted file mode 100644 index 5569acc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6e53594605b910143b7453d22ed9917e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs deleted file mode 100644 index 0af6f0b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs +++ /dev/null @@ -1,59 +0,0 @@ -namespace Cutt -{ - public enum FacialEyeTrackTarget - { - Arena, - Camera, - StageLeftSide, - StageRightSide, - CharaForward, - CharaCenter_Head, - CharaCenter_Finger_Left, - CharaCenter_Finger_Right, - CharaLeft1_Head, - CharaLeft1_Finger_Left, - CharaLeft1_Finger_Right, - CharaRight1_Head, - CharaRight1_Finger_Left, - CharaRight1_Finger_Right, - CharaLeft2_Head, - CharaLeft2_Finger_Left, - CharaLeft2_Finger_Right, - CharaRight2_Head, - CharaRight2_Finger_Left, - CharaRight2_Finger_Right, - CharaLeft3_Head, - CharaLeft3_Finger_Left, - CharaLeft3_Finger_Right, - CharaRight3_Head, - CharaRight3_Finger_Left, - CharaRight3_Finger_Right, - CharaLeft4_Head, - CharaLeft4_Finger_Left, - CharaLeft4_Finger_Right, - CharaRight4_Head, - CharaRight4_Finger_Left, - CharaRight4_Finger_Right, - CharaLeft5_Head, - CharaLeft5_Finger_Left, - CharaLeft5_Finger_Right, - CharaRight5_Head, - CharaRight5_Finger_Left, - CharaRight5_Finger_Right, - CharaLeft6_Head, - CharaLeft6_Finger_Left, - CharaLeft6_Finger_Right, - CharaRight6_Head, - CharaRight6_Finger_Left, - CharaRight6_Finger_Right, - CharaLeft7_Head, - CharaLeft7_Finger_Left, - CharaLeft7_Finger_Right, - CharaRight7_Head, - CharaRight7_Finger_Left, - CharaRight7_Finger_Right, - Max, - World, - DataMax - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs.meta deleted file mode 100644 index f8f383b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/FacialEyeTrackTarget.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4def2856756d7a64996e1ce79f5c51fe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs deleted file mode 100644 index 1388ad3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraFovType - { - Direct - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs.meta deleted file mode 100644 index ffcb756..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraFovType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e32e5180816101742a6381a341ec38e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs deleted file mode 100644 index a09e323..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraInterpolateType - { - None, - Linear, - Curve, - Ease - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs.meta deleted file mode 100644 index d7c2739..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraInterpolateType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ea6cb84f499fa2d4a931e943a9eae4c7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs deleted file mode 100644 index 20813df..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraLookAtCharaParts - { - Face, - Waist, - LeftHandWrist, - RightHandAttach, - Chest, - Foot, - ConstHeightFace, - ConstHeightWaist, - ConstHeightChest, - RightHandWrist, - LeftHandAttach, - AxisLockedFace, - AxisLockedChest, - AxisLockedWaist - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs.meta deleted file mode 100644 index 06b66cc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaParts.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd3e8bfa567b4f149a9f084aac596ef4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs deleted file mode 100644 index 8fc7832..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraLookAtCharaPartsForLabel - { - ConstHeightFace, - ConstHeightChest, - ConstHeightWaist, - Face, - Chest, - Waist, - Foot, - RightHandAttach, - RightHandWrist, - LeftHandAttach, - LeftHandWrist, - AxisLockedFace, - AxisLockedChest, - AxisLockedWaist - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs.meta deleted file mode 100644 index 604280d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtCharaPartsForLabel.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6434872d20f7e9946a07f726cd452e43 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs deleted file mode 100644 index 0f6c7a3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraLookAtType - { - Character, - Locator, - Rotation - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs.meta deleted file mode 100644 index 4e3d4ba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraLookAtType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e2632bb01c352c74ca3aa923ce0e5b9f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs deleted file mode 100644 index 58ec149..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public enum LiveCameraPositionType - { - Locator, - Direct, - Character - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs.meta deleted file mode 100644 index 9d281f2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCameraPositionType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d886124fc96eb784eb89774b092c3b62 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs deleted file mode 100644 index 2d3bb59..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Cutt -{ - public enum LiveCharaPosition - { - Center, - Left1, - Right1, - Left2, - Right2, - Left3, - Right3, - Left4, - Right4, - Left5, - Right5, - Left6, - Right6, - Left7, - Right7 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs.meta deleted file mode 100644 index 4180b83..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPosition.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 73126aec77eaa11428cefe02f1cc25c1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs deleted file mode 100644 index 1627815..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Cutt -{ - [Flags] - public enum LiveCharaPositionFlag - { - Center = 0x1, - Left1 = 0x2, - Right1 = 0x4, - Left2 = 0x8, - Right2 = 0x10, - Left3 = 0x20, - Right3 = 0x40, - Left4 = 0x80, - Right4 = 0x100, - Left5 = 0x200, - Right5 = 0x400, - Left6 = 0x800, - Right6 = 0x1000, - Left7 = 0x2000, - Right7 = 0x4000, - Other = 0x7FFE, - All = 0x7FFF - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs.meta deleted file mode 100644 index 138cb88..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveCharaPositionFlag.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 23b9a714cb318e348a652795ecaf66e7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs deleted file mode 100644 index 24d4b57..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Cutt -{ - public enum LiveMobCyalume3DColorPreset - { - Random, - PersonalRandom, - Fixed, - Group - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs.meta deleted file mode 100644 index 83cf538..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DColorPreset.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 70e7df3ae20e48a4c88fb53ef6519692 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs deleted file mode 100644 index e81bac8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public enum LiveMobCyalume3DLookAtMode - { - Default, - Locator, - LookAtPosition - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs.meta deleted file mode 100644 index 544444c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DLookAtMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3efdc4b125fee9140b2fdff568b5d02b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs deleted file mode 100644 index f7c4988..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public enum LiveMobCyalume3DWaveMode - { - None, - StraightX, - StraightZ, - Radial, - Circle - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs.meta deleted file mode 100644 index 498881e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveMobCyalume3DWaveMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8bbfd55c3b3412f42bd0bc0e34473398 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs deleted file mode 100644 index 7440dd2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs +++ /dev/null @@ -1,461 +0,0 @@ -using System; - -namespace Cutt -{ - public static class LiveTimelineEasing - { - public enum Type - { - Linear, - ExpoEaseOut, - ExpoEaseIn, - ExpoEaseInOut, - ExpoEaseOutIn, - CircEaseOut, - CircEaseIn, - CircEaseInOut, - CircEaseOutIn, - QuadEaseOut, - QuadEaseIn, - QuadEaseInOut, - QuadEaseOutIn, - SineEaseOut, - SineEaseIn, - SineEaseInOut, - SineEaseOutIn, - CubicEaseOut, - CubicEaseIn, - CubicEaseInOut, - CubicEaseOutIn, - QuartEaseOut, - QuartEaseIn, - QuartEaseInOut, - QuartEaseOutIn, - QuintEaseOut, - QuintEaseIn, - QuintEaseInOut, - QuintEaseOutIn, - ElasticEaseOut, - ElasticEaseIn, - ElasticEaseInOut, - ElasticEaseOutIn, - BounceEaseOut, - BounceEaseIn, - BounceEaseInOut, - BounceEaseOutIn, - BackEaseOut, - BackEaseIn, - BackEaseInOut, - BackEaseOutIn - } - - private delegate double EasingFunctionDelegate(double t, double b, double c, double d); - - private static int _easeTypeMax = -1; - - private static EasingFunctionDelegate[] _functions = new EasingFunctionDelegate[41] - { - Linear, - ExpoEaseOut, - ExpoEaseIn, - ExpoEaseInOut, - ExpoEaseOutIn, - CircEaseOut, - CircEaseIn, - CircEaseInOut, - CircEaseOutIn, - QuadEaseOut, - QuadEaseIn, - QuadEaseInOut, - QuadEaseOutIn, - SineEaseOut, - SineEaseIn, - SineEaseInOut, - SineEaseOutIn, - CubicEaseOut, - CubicEaseIn, - CubicEaseInOut, - CubicEaseOutIn, - QuartEaseOut, - QuartEaseIn, - QuartEaseInOut, - QuartEaseOutIn, - QuintEaseOut, - QuintEaseIn, - QuintEaseInOut, - QuintEaseOutIn, - ElasticEaseOut, - ElasticEaseIn, - ElasticEaseInOut, - ElasticEaseOutIn, - BounceEaseOut, - BounceEaseIn, - BounceEaseInOut, - BounceEaseOutIn, - BackEaseOut, - BackEaseIn, - BackEaseInOut, - BackEaseOutIn - }; - - public static int easeTypeMax - { - get - { - if (_easeTypeMax < 0) - { - foreach (object value in Enum.GetValues(typeof(Type))) - { - if ((int)value > _easeTypeMax) - { - _easeTypeMax = (int)value; - } - } - _easeTypeMax++; - } - return _easeTypeMax; - } - } - - public static float GetValue(Type type, float t, float b, float c, float d) - { - if ((int)type < easeTypeMax) - { - return (float)_functions[(int)type](t, b, c, d); - } - return 0f; - } - - public static double Linear(double t, double b, double c, double d) - { - return c * t / d + b; - } - - public static double ExpoEaseOut(double t, double b, double c, double d) - { - if (t != d) - { - return c * (0.0 - Math.Pow(2.0, -10.0 * t / d) + 1.0) + b; - } - return b + c; - } - - public static double ExpoEaseIn(double t, double b, double c, double d) - { - if (t != 0.0) - { - return c * Math.Pow(2.0, 10.0 * (t / d - 1.0)) + b; - } - return b; - } - - public static double ExpoEaseInOut(double t, double b, double c, double d) - { - if (t == 0.0) - { - return b; - } - if (t == d) - { - return b + c; - } - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * Math.Pow(2.0, 10.0 * (t - 1.0)) + b; - } - return c / 2.0 * (0.0 - Math.Pow(2.0, -10.0 * (t -= 1.0)) + 2.0) + b; - } - - public static double ExpoEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return ExpoEaseOut(t * 2.0, b, c / 2.0, d); - } - return ExpoEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double CircEaseOut(double t, double b, double c, double d) - { - return c * Math.Sqrt(1.0 - (t = t / d - 1.0) * t) + b; - } - - public static double CircEaseIn(double t, double b, double c, double d) - { - return (0.0 - c) * (Math.Sqrt(1.0 - (t /= d) * t) - 1.0) + b; - } - - public static double CircEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return (0.0 - c) / 2.0 * (Math.Sqrt(1.0 - t * t) - 1.0) + b; - } - return c / 2.0 * (Math.Sqrt(1.0 - (t -= 2.0) * t) + 1.0) + b; - } - - public static double CircEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return CircEaseOut(t * 2.0, b, c / 2.0, d); - } - return CircEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double QuadEaseOut(double t, double b, double c, double d) - { - return (0.0 - c) * (t /= d) * (t - 2.0) + b; - } - - public static double QuadEaseIn(double t, double b, double c, double d) - { - return c * (t /= d) * t + b; - } - - public static double QuadEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * t * t + b; - } - return (0.0 - c) / 2.0 * ((t -= 1.0) * (t - 2.0) - 1.0) + b; - } - - public static double QuadEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return QuadEaseOut(t * 2.0, b, c / 2.0, d); - } - return QuadEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double SineEaseOut(double t, double b, double c, double d) - { - return c * Math.Sin(t / d * (Math.PI / 2.0)) + b; - } - - public static double SineEaseIn(double t, double b, double c, double d) - { - return (0.0 - c) * Math.Cos(t / d * (Math.PI / 2.0)) + c + b; - } - - public static double SineEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * Math.Sin(Math.PI * t / 2.0) + b; - } - return (0.0 - c) / 2.0 * (Math.Cos(Math.PI * (t -= 1.0) / 2.0) - 2.0) + b; - } - - public static double SineEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return SineEaseOut(t * 2.0, b, c / 2.0, d); - } - return SineEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double CubicEaseOut(double t, double b, double c, double d) - { - return c * ((t = t / d - 1.0) * t * t + 1.0) + b; - } - - public static double CubicEaseIn(double t, double b, double c, double d) - { - return c * (t /= d) * t * t + b; - } - - public static double CubicEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * t * t * t + b; - } - return c / 2.0 * ((t -= 2.0) * t * t + 2.0) + b; - } - - public static double CubicEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return CubicEaseOut(t * 2.0, b, c / 2.0, d); - } - return CubicEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double QuartEaseOut(double t, double b, double c, double d) - { - return (0.0 - c) * ((t = t / d - 1.0) * t * t * t - 1.0) + b; - } - - public static double QuartEaseIn(double t, double b, double c, double d) - { - return c * (t /= d) * t * t * t + b; - } - - public static double QuartEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * t * t * t * t + b; - } - return (0.0 - c) / 2.0 * ((t -= 2.0) * t * t * t - 2.0) + b; - } - - public static double QuartEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return QuartEaseOut(t * 2.0, b, c / 2.0, d); - } - return QuartEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double QuintEaseOut(double t, double b, double c, double d) - { - return c * ((t = t / d - 1.0) * t * t * t * t + 1.0) + b; - } - - public static double QuintEaseIn(double t, double b, double c, double d) - { - return c * (t /= d) * t * t * t * t + b; - } - - public static double QuintEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * t * t * t * t * t + b; - } - return c / 2.0 * ((t -= 2.0) * t * t * t * t + 2.0) + b; - } - - public static double QuintEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return QuintEaseOut(t * 2.0, b, c / 2.0, d); - } - return QuintEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double ElasticEaseOut(double t, double b, double c, double d) - { - if ((t /= d) == 1.0) - { - return b + c; - } - double num = d * 0.3; - double num2 = num / 4.0; - return c * Math.Pow(2.0, -10.0 * t) * Math.Sin((t * d - num2) * (Math.PI * 2.0) / num) + c + b; - } - - public static double ElasticEaseIn(double t, double b, double c, double d) - { - if ((t /= d) == 1.0) - { - return b + c; - } - double num = d * 0.3; - double num2 = num / 4.0; - return 0.0 - c * Math.Pow(2.0, 10.0 * (t -= 1.0)) * Math.Sin((t * d - num2) * (Math.PI * 2.0) / num) + b; - } - - public static double ElasticEaseInOut(double t, double b, double c, double d) - { - if ((t /= d / 2.0) == 2.0) - { - return b + c; - } - double num = d * 0.44999999999999996; - double num2 = num / 4.0; - if (t < 1.0) - { - return -0.5 * (c * Math.Pow(2.0, 10.0 * (t -= 1.0)) * Math.Sin((t * d - num2) * (Math.PI * 2.0) / num)) + b; - } - return c * Math.Pow(2.0, -10.0 * (t -= 1.0)) * Math.Sin((t * d - num2) * (Math.PI * 2.0) / num) * 0.5 + c + b; - } - - public static double ElasticEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return ElasticEaseOut(t * 2.0, b, c / 2.0, d); - } - return ElasticEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double BounceEaseOut(double t, double b, double c, double d) - { - if ((t /= d) < 0.36363636363636365) - { - return c * (7.5625 * t * t) + b; - } - if (t < 0.72727272727272729) - { - return c * (7.5625 * (t -= 0.54545454545454541) * t + 0.75) + b; - } - if (t < 0.90909090909090906) - { - return c * (7.5625 * (t -= 0.81818181818181823) * t + 0.9375) + b; - } - return c * (7.5625 * (t -= 21.0 / 22.0) * t + 63.0 / 64.0) + b; - } - - public static double BounceEaseIn(double t, double b, double c, double d) - { - return c - BounceEaseOut(d - t, 0.0, c, d) + b; - } - - public static double BounceEaseInOut(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return BounceEaseIn(t * 2.0, 0.0, c, d) * 0.5 + b; - } - return BounceEaseOut(t * 2.0 - d, 0.0, c, d) * 0.5 + c * 0.5 + b; - } - - public static double BounceEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return BounceEaseOut(t * 2.0, b, c / 2.0, d); - } - return BounceEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - - public static double BackEaseOut(double t, double b, double c, double d) - { - return c * ((t = t / d - 1.0) * t * (2.70158 * t + 1.70158) + 1.0) + b; - } - - public static double BackEaseIn(double t, double b, double c, double d) - { - return c * (t /= d) * t * (2.70158 * t - 1.70158) + b; - } - - public static double BackEaseInOut(double t, double b, double c, double d) - { - double num = 1.70158; - if ((t /= d / 2.0) < 1.0) - { - return c / 2.0 * (t * t * (((num *= 1.525) + 1.0) * t - num)) + b; - } - return c / 2.0 * ((t -= 2.0) * t * (((num *= 1.525) + 1.0) * t + num) + 2.0) + b; - } - - public static double BackEaseOutIn(double t, double b, double c, double d) - { - if (t < d / 2.0) - { - return BackEaseOut(t * 2.0, b, c / 2.0, d); - } - return BackEaseIn(t * 2.0 - d, b + c / 2.0, c / 2.0, d); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs.meta deleted file mode 100644 index fce12f0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEasing.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cff5f10ef1d8580449366c7b3d8c3481 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs deleted file mode 100644 index c24747e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Cutt -{ - public enum LiveTimelineEventID - { - NOT_AVAILABLE = 0, - SwitchCamera = 100, - CameraHandShake = 101, - SwitchMonitor = 102, - ChangeEyeTrackTarget = 103, - SwitchSheetFromCharacterCondition = 104, - SwitchSheetAltFromCharacterCondition = 105, - SwitchSheetFromCharacterConditionVm = 106 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs.meta deleted file mode 100644 index 892e901..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineEventID.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e175c625a51dc847889c73c86354bab -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs deleted file mode 100644 index 818fa71..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace Cutt -{ - [Flags] - public enum LiveTimelineKeyAttribute - { - Disable = 0x1, - CameraDelayEnable = 0x2, - CameraDelayInherit = 0x4, - KeyCommonBitMask = 0xFFFF - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs.meta deleted file mode 100644 index d772f4c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyAttribute.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2c7b75e544fa56c408acda36f6599655 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs deleted file mode 100644 index 84e7ea8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Flags] - public enum LiveTimelineKeyDataListAttr - { - Disable = 0x1 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs.meta deleted file mode 100644 index 1bc454a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataListAttr.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4d810f6bcf92c7409e03754d5a60980 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs deleted file mode 100644 index 05e4008..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs +++ /dev/null @@ -1,83 +0,0 @@ -namespace Cutt -{ - public enum LiveTimelineKeyDataType - { - CameraPos, - CameraLookAt, - CameraFov, - CameraRoll, - Event, - CharaMotionSequecne, - BgColor1, - BgColor2, - MonitorControl, - CameraSwitcher, - LipSync, - PostEffect, - CameraLayer, - Projector, - FacialFace, - FacialMouth, - FacialEye, - FacialEyeTrack, - FacialNoise, - CharaMotionNoise, - CharaCySpring, - FormationOffset, - Animation, - TextureAnimation, - Transform, - Renderer, - Object, - Props, - PropsAttach, - VolumeLight, - HdrBloom, - PostFilm, - Particle, - ParticleGroup, - Laser, - Effect, - Environment, - GlobalLight, - GlobalFog, - TiltShift, - LightShuft, - ColorCorrection, - SweatLocator, - LensFlare, - MonitorCameraPos, - MonitorCameraLookAt, - MultiCameraPos, - MultiCameraLookAt, - A2UConfig, - A2U, - Glass, - ShaderControl, - BgColor3, - CharaMotionOverwrite, - CharaIK, - GazingObject, - ScreenFade, - CuttNumber, - CharaFootLight, - StageGaze, - MobCyalume, - CharaHeightMotion, - CrossFadeCameraPos, - CrossFadeCameraLookAt, - CrossFadeCameraFov, - CrossFadeCameraRoll, - CrossFadeCameraAlpha, - CharaWind, - MobCyalume3DRoot, - MobCyalume3DBloom, - MobCyalume3DColor, - MobCyalume3DLighting, - MobCyalume3DLookAtMode, - MobCyalume3DLookAtPosition, - MobCyalume3DPosition, - DressChange, - Max - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs.meta deleted file mode 100644 index f36d222..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/LiveTimelineKeyDataType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 20f004f9a417a4b40b1de7257233c2bf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs deleted file mode 100644 index 75098cf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Cutt -{ - public enum PostColorType - { - ColorAll, - Color2TopBottom, - Color2LeftRight, - Color4 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs.meta deleted file mode 100644 index 7a79fab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostColorType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0218b705680b4bc4e90425a5f8f26c4b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs deleted file mode 100644 index 3bec3ed..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Cutt -{ - public enum PostFilmMode - { - None, - Lerp, - Add, - Mul, - VignetteLerp, - VignetteAdd, - VignetteMul, - Monochrome, - Noise, - WaterDrop, - FishEye - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs.meta deleted file mode 100644 index 90960e7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/PostFilmMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b74cd27cbf75bff4bbc8c21565588bec -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs deleted file mode 100644 index 5ffd696..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Cutt -{ - public enum SweatLocatorIndex - { - Sweat1, - Sweat2, - Sweat3, - Sweat4, - Sweat5, - maxNum - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs.meta deleted file mode 100644 index 77e12ec..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/SweatLocatorIndex.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4bbafa31b4ff38c43a8898100edd90a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs deleted file mode 100644 index 877eadc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public enum TimelineKeyPlayMode - { - Always, - LightOnly, - DefaultOver - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs.meta deleted file mode 100644 index 344d582..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelineKeyPlayMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3614b3d7f4b363e4abfd78d8749c9b2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs deleted file mode 100644 index cddd2d7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Cutt -{ - public enum TimelinePlayerMode - { - Light, - Default - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs.meta deleted file mode 100644 index 4fe4a99..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/TimelinePlayerMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ae94899dc93dd3f43ab7c8fa25a12dbc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs deleted file mode 100644 index d432c62..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public enum eEffectBlendMode - { - Additive, - SoftAdditive, - Multiply, - Multiply2, - AlphaBlend - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs.meta deleted file mode 100644 index 1d24051..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectBlendMode.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6b921c39beaa22c45bb4f7e27b20cc5c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs deleted file mode 100644 index 2130c4a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Cutt -{ - public enum eEffectOccurrenceSpot - { - Head_Height, - Eye_middle_02_L, - Eye_bottom_L, - Eye_middle_02_R, - Eye_bottom_R, - Neck, - Chest, - Waist, - Hand_Attach_L, - Thumb_03_L, - Index_03_L, - Middle_03_L, - Ring_03_L, - Pinky_03_L, - Hand_Attach_R, - Thumb_03_R, - Index_03_R, - Middle_03_R, - Ring_03_R, - Pinky_03_R, - Ankle_L, - Toe_L, - Ankle_R, - Toe_R - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs.meta deleted file mode 100644 index 380d3ad..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOccurrenceSpot.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b32b08cf30013d48887cdf371dcd1fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs deleted file mode 100644 index 447c2e1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Cutt -{ - public enum eEffectOwner - { - Center = 0, - Left1 = 1, - Right1 = 2, - Left2 = 3, - Right2 = 4, - Left3 = 6, - Right3 = 7, - Left4 = 8, - Right4 = 9, - Left5 = 10, - Right5 = 11, - Left6 = 12, - Right6 = 13, - Left7 = 14, - Right7 = 0xF, - World = 5 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs.meta deleted file mode 100644 index e91cecf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eEffectOwner.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a926659ad9b6b3408053afb8d5a946d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs deleted file mode 100644 index 31a0854..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Cutt -{ - public enum eLaserForm - { - Off = 0, - One = 1, - Linear_2 = 2, - Linear_3 = 3, - Linear_4 = 4, - Linear_5 = 5, - Circle_2 = 8, - Circle_3 = 9, - Circle_4 = 10, - Circle_5 = 11 - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs.meta deleted file mode 100644 index 276b799..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eLaserForm.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9baded2c13482fa46a3ef53938392270 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs deleted file mode 100644 index 58b9f84..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Cutt -{ - public enum eSweatLocatorOwner - { - Center, - Left1, - Right1, - Left2, - Right2, - Left3, - Right3, - Left4, - Right4, - Left5, - Right5, - Left6, - Right6, - Left7, - Right7 - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs.meta deleted file mode 100644 index c6014a4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/Enumeration/eSweatLocatorOwner.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 310979ea36ba9c0489490f6b0d4becde -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs deleted file mode 100644 index 149b492..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Text; - -namespace Cutt -{ - public static class FNVHash - { - public const uint FNV_OFFSET_BASIS_32 = 2166136261u; - - public const int FNV_OFFSET_BASIS_I32 = -2128831035; - - private static uint FNV_PRIME_32 = 16777619u; - - public static int Generate(string seed) - { - byte[] bytes = Encoding.UTF8.GetBytes(seed); - uint num = FNV_OFFSET_BASIS_32; - for (int i = 0; i < bytes.Length; i++) - { - num = (FNV_PRIME_32 * num) ^ bytes[i]; - } - return (int)num; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs.meta deleted file mode 100644 index 28b4d65..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FNVHash.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2b06da26b60a60645adbe0e120956d3b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs deleted file mode 100644 index f1c9c3b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct FindKeyResult - { - public LiveTimelineKey key; - - public int index; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs.meta deleted file mode 100644 index f43f5e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FindKeyResult.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d87bffe44bb75ee4f884cd190c90a03f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs deleted file mode 100644 index 4080924..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace Cutt -{ - internal class FmtInfo - { - public int headFMTsize; - - public int formatID; - - public int ch; - - public int sampleRate; - - public int dataBytePerSec; - - public int blockSize; - - public uint bitPerSample; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs.meta deleted file mode 100644 index 64596a3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/FmtInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5aaf51f5d15baf9489988ad564e30919 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs deleted file mode 100644 index 2cd57c8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using LitJson; - -namespace Cutt -{ - public static class JsonMapper - { - static JsonMapper() - { - LitJson.JsonMapper.RegisterExporter(delegate (float obj, LitJson.JsonWriter writer) - { - writer.Write(Convert.ToDouble(obj)); - }); - LitJson.JsonMapper.RegisterImporter((double input) => Convert.ToSingle(input)); - LitJson.JsonMapper.RegisterImporter((int input) => Convert.ToInt64(input)); - } - - public static JsonData ToObject(string json) - { - return LitJson.JsonMapper.ToObject(json); - } - - public static T ToObject(string json) - { - return LitJson.JsonMapper.ToObject(json); - } - - public static string ToJson(object obj) - { - return LitJson.JsonMapper.ToJson(obj); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs.meta deleted file mode 100644 index a4743ed..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/JsonMapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4c02848da4018fb489057cd3d2e5082d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline.meta deleted file mode 100644 index 470d7ba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dd75c054dcc422b478aa0f2b218dcd17 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs deleted file mode 100644 index b2d4296..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineCamLookAtLocator : MonoBehaviour - { - private void Awake() - { - Object.Destroy(this); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs.meta deleted file mode 100644 index 3d2aad1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamLookAtLocator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f9912b95cb770ef46b50b01c1faaf320 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs deleted file mode 100644 index 362785f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineCamPosLocator : MonoBehaviour - { - private void Awake() - { - Object.Destroy(this); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs.meta deleted file mode 100644 index a785c07..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCamPosLocator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1688006cc5f3f8d4ab94f087eeeef05f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs deleted file mode 100644 index e32389e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharaHeightMotSeqData : ILiveTimelineGroupData - { - public LiveCharaPosition charaPosition; - - public LiveTimelineKeyCharaHeightMotionSeqDataList keys = new LiveTimelineKeyCharaHeightMotionSeqDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs.meta deleted file mode 100644 index fb66991..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaHeightMotSeqData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d876683ce520ed4784ef2ebb87bed90 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs deleted file mode 100644 index b10eb62..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharaIKData : ILiveTimelineSetData - { - [NonSerialized] - private static readonly LiveTimelineKeyDataType[] DataTypeArray = new LiveTimelineKeyDataType[DATA_LIST_SIZE] - { - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK, - LiveTimelineKeyDataType.CharaIK - }; - - private const int DATA_LIST_SIZE = 15; - - public LiveTimelineKeyCharaIKDataList centerKeys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left1Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right1Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left2Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right2Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left3Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right3Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left4Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right4Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left5Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right5Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left6Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right6Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList left7Keys = new LiveTimelineKeyCharaIKDataList(); - - public LiveTimelineKeyCharaIKDataList right7Keys = new LiveTimelineKeyCharaIKDataList(); - - private LiveTimelineKeyCharaIKDataList[] _cacheDataList = new LiveTimelineKeyCharaIKDataList[DATA_LIST_SIZE]; - - public ILiveTimelineKeyDataList GetKeyList(int index) - { - return GetKeyListArray()[index]; - } - - public LiveTimelineKeyCharaIKDataList[] GetIKKeyListArray() - { - return GetKeyListArray() as LiveTimelineKeyCharaIKDataList[]; - } - - public ILiveTimelineKeyDataList[] GetKeyListArray() - { - _cacheDataList[0] = centerKeys; - _cacheDataList[1] = left1Keys; - _cacheDataList[2] = right1Keys; - _cacheDataList[3] = left2Keys; - _cacheDataList[4] = right2Keys; - _cacheDataList[5] = left3Keys; - _cacheDataList[6] = right3Keys; - _cacheDataList[7] = left4Keys; - _cacheDataList[8] = right4Keys; - _cacheDataList[9] = left5Keys; - _cacheDataList[10] = right5Keys; - _cacheDataList[11] = left6Keys; - _cacheDataList[12] = right6Keys; - _cacheDataList[13] = left7Keys; - _cacheDataList[14] = right7Keys; - - return _cacheDataList; - } - - public LiveTimelineKeyDataType[] GetKeyTypeArray() - { - return DataTypeArray; - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs.meta deleted file mode 100644 index 712e340..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaIKData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2de6580b1e7a74d459d281e261b6727a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs deleted file mode 100644 index 9711cb9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharaMotSeqData : ILiveTimelineGroupData - { - public LiveTimelineKeyCharaMotionSeqDataList keys = new LiveTimelineKeyCharaMotionSeqDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs.meta deleted file mode 100644 index 6eeb150..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaMotSeqData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2963ca7cb762f7848835992c6c5e8f53 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs deleted file mode 100644 index 83eaf76..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharaOverrideMotSeqData : ILiveTimelineGroupData - { - public LiveTimelineKeyCharaOverrideMotionSeqDataList keys = new LiveTimelineKeyCharaOverrideMotionSeqDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs.meta deleted file mode 100644 index 33d7e26..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaOverrideMotSeqData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e264187b745b35f4c9eeb8d054756f65 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs deleted file mode 100644 index 651777f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharaWindData : ILiveTimelineGroupData - { - public LiveCharaPosition charaPosition; - - public LiveTimelineKeyCharaWindDataList keys = new LiveTimelineKeyCharaWindDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs.meta deleted file mode 100644 index 6eddc18..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineCharaWindData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 737cca95473b72c428c0094ad52cec57 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs deleted file mode 100644 index 0a30cbb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs +++ /dev/null @@ -1,185 +0,0 @@ -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - /// - /// TimelineDataƒtƒ@ƒCƒ‹‚̐ݒè - /// - public class LiveTimelineData : ScriptableObject - { - public enum CharacterPositionMode - { - Immobility, - Relative, - None - } - - public enum ParticleControllMode - { - Score, - Timeline - } - - public enum AlterAnimationMode - { - None, - LeftHanded - } - - public enum AlterSheetMode - { - None, - LeftHanded - } - - public static readonly string DEFAULT_SPOTLIGHT_PARENT_NAME = "Position"; - - public const float MAX_FORCAL_SIZE_MIN = 30f; - - public const float MAX_FORCAL_SIZE_MAX = 200f; - - public static string[] sVersionList = new string[1] { "0.9" }; - - public string version = sVersionList[0]; - - public int timeLength = 140; - - public CharacterPositionMode characterPositionMode; - - public string[] spotLightPrefabNames = new string[0]; - - public string spotLightParentName = DEFAULT_SPOTLIGHT_PARENT_NAME; - - public string[] shadowPrefabNames = new string[0]; - - public LiveTimelineCharacterSettings characterSettings = new LiveTimelineCharacterSettings(); - - public LiveTimelinePropsSettings propsSetteings = new LiveTimelinePropsSettings(); - - public LiveTimelineSunshaftsSettings sunshaftsSettings = new LiveTimelineSunshaftsSettings(); - - public LiveTimelineHdrBloomSettings hdrBloomSettings = new LiveTimelineHdrBloomSettings(); - - public LiveTimelineCharacterOptionSettings characterOptionSettings = new LiveTimelineCharacterOptionSettings(); - - public LiveTimelineIndirectLightShuftSettings indirectLightShuftSettings = new LiveTimelineIndirectLightShuftSettings(); - - public LiveTimelineA2USettings a2uSettings = new LiveTimelineA2USettings(); - - public LiveTimelineMonitorCameraSettings monitorCameraSettings = new LiveTimelineMonitorCameraSettings(); - - public LiveTimelineMultiCameraSettings multiCameraSettings = new LiveTimelineMultiCameraSettings(); - - public LiveTimelineMobCyalume3DSettings mobCyalume3DSettings = new LiveTimelineMobCyalume3DSettings(); - - public LiveTimelineSwitchSheetSetting switchSheetSettings = new LiveTimelineSwitchSheetSetting(); - - public LiveTimelineSwitchSheetAltSetting switchSheetAltSettings = new LiveTimelineSwitchSheetAltSetting(); - - public LiveTimelineSwitchSheetTargetTimelineSetting switchSheetTargetTimelineSettings = new LiveTimelineSwitchSheetTargetTimelineSetting(); - - public LiveTimelineTransparentCameraSettings transparentFXCameraSettings = new LiveTimelineTransparentCameraSettings(); - - [SerializeField] - private List worksheetList = new List(); - - public LiveTimelineMultiCameraMaskSettings multiCameraMaskSettings = new LiveTimelineMultiCameraMaskSettings(); - - public ParticleControllMode particleControllMode = ParticleControllMode.Timeline; - - public bool isUseHQParticle; - - public string[] particlePrefabNames = new string[0]; - - public string[] mirrorScanLightBodyPrefabNames = new string[0]; - - public LiveTimelineLensFlareSetting lensFlareSetting = new LiveTimelineLensFlareSetting(); - - [Range(30f, 200f)] - public float maxForcalSize = 30f; - - public bool isUseMirrorScanMotionDictionary; - - public bool isUseGameSettingToParticle; - - public LiveTimelineStageObjectsSettings stageObjectsSettings = new LiveTimelineStageObjectsSettings(); - - public LiveTimelineGamePlaySettings gamePlaySettings = new LiveTimelineGamePlaySettings(); - - [HideInInspector] - public LiveTimelineAlterAnimationSettings alterAnimationSettings = new LiveTimelineAlterAnimationSettings(); - - public AlterAnimationMode alterAnimationMode; - - public LiveTimelineMonitorSettings monitorSettings = new LiveTimelineMonitorSettings(); - - public bool isHighPolygonModel(int charaPos, bool bLightMode) - { - return (bLightMode ? characterSettings.useHighPolygonModelForLightMode : characterSettings.useHighPolygonModel)[charaPos]; - } - - public List GetWorkSheetList() - { - return worksheetList; - } - - public LiveTimelineWorkSheet GetWorkSheet(int index) - { - return worksheetList[index]; - } - - public void UnloadSheets() - { - for (int i = 0; i < worksheetList.Count; i++) - { - if (worksheetList[i] != null) - { - Resources.UnloadAsset(worksheetList[i]); - } - } - } - - public void OnLoad(LiveTimelineControl timelineControl) - { - List list = new List(); - for (int i = 0; i < worksheetList.Count; i++) - { - if (worksheetList[i] == null) - { - list.Add(i); - } - else - { - worksheetList[i].OnLoad(timelineControl); - } - } - list.Reverse(); - foreach (int item in list) - { - worksheetList.RemoveAt(item); - } - } - - public int FindTimelineIndexInGroup(LiveTimelineKey key) - { - if (key == null) - { - return -1; - } - for (int i = 0; i < worksheetList.Count; i++) - { - LiveTimelineWorkSheet liveTimelineWorkSheet = worksheetList[i]; - if (!(liveTimelineWorkSheet == null)) - { - int num = liveTimelineWorkSheet.FindTimelineIndexInGroup(key); - if (num >= 0) - { - return num; - } - } - } - return -1; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs.meta deleted file mode 100644 index 20da8af..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 272071fc00619c44fac56548c00073ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs deleted file mode 100644 index aee7aac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs +++ /dev/null @@ -1,31 +0,0 @@ -namespace Cutt -{ - public static class LiveTimelineDefine - { - public enum MouthType - { - N = 6, - N_SmileClose = 7, - N_Smile = 8, - A = 1, - I = 2, - U = 3, - E = 4, - O = 5, - Smile = 10, - SmileClose = 13, - Wink = 11, - SadMouth = 12 - } - - public const string kSheetAssetLabel = "CuttSheet"; - - public const int kCameraMaxNum = 3; - - public const int kBezierControlPointMax = 15; - - public const int kBezierOldCalcMethodCPMax = 3; - - public const string kMotionResourcesDir = "3D/Chara/Motion/Legacy/"; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs.meta deleted file mode 100644 index e8e7ee4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineDefine.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b93203616c9af534e914a5235be681e3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs deleted file mode 100644 index 23bcc86..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineEditWorkSheet : ScriptableObject - { - public const string EditAssetDataName = "EditData"; - - public string version = LiveTimelineWorkSheet.sVersionList[0]; - - public LiveTimelineKeyCuttNumberDataList cuttNumberKeys = new LiveTimelineKeyCuttNumberDataList(); - - public List formationOffsetColor = new List(); - - public List objectColor = new List(); - - public List motionSeqLineName = new List(); - - public List overrideMotionSeqLineName = new List(); - - private ILiveTimelineKeyDataList[] _keysArray; - - public ILiveTimelineKeyDataList[] keysArray - { - get - { - if (_keysArray == null) - { - List list = new List { cuttNumberKeys }; - _keysArray = list.ToArray(); - } - return _keysArray; - } - } - - public void OnLoad(LiveTimelineControl timelineControl) - { - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs.meta deleted file mode 100644 index 04b4877..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEditWorkSheet.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dbefdbe16fc1bc043b63f9b25f9168cd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs deleted file mode 100644 index d0b6468..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineEventPublisher - { - private class EventWrapper - { - public LiveTimelineEventID id; - - public event LiveTimelineEventHandler handler; - - public EventWrapper(LiveTimelineEventID id_) - { - id = id_; - } - - public void fire(LiveTimelineKeyEventData.EventData data) - { - if (this.handler != null) - { - this.handler(data); - } - } - } - - public interface IParamGenerator - { - CuttEventParamBase ToObject(string json); - - CuttEventParamBase Create(); - } - - public class ParamGenerator : IParamGenerator where TypeParam : CuttEventParamBase, new() - { - public CuttEventParamBase ToObject(string json) - { - return JsonMapper.ToObject(json); - } - - public CuttEventParamBase Create() - { - return new TypeParam(); - } - } - - public static Dictionary paramGeneratorDict; - - private Dictionary eventDict = new Dictionary(); - - static LiveTimelineEventPublisher() - { - paramGeneratorDict = new Dictionary(); - paramGeneratorDict.Add(LiveTimelineEventID.SwitchCamera, new ParamGenerator()); - paramGeneratorDict.Add(LiveTimelineEventID.CameraHandShake, new ParamGenerator()); - paramGeneratorDict.Add(LiveTimelineEventID.ChangeEyeTrackTarget, new ParamGenerator()); - paramGeneratorDict.Add(LiveTimelineEventID.SwitchSheetFromCharacterCondition, new ParamGenerator()); - paramGeneratorDict.Add(LiveTimelineEventID.SwitchSheetAltFromCharacterCondition, new ParamGenerator()); - paramGeneratorDict.Add(LiveTimelineEventID.SwitchSheetFromCharacterConditionVm, new ParamGenerator()); - } - - public void BeginPublish() - { - foreach (object value in Enum.GetValues(typeof(LiveTimelineEventID))) - { - eventDict[(LiveTimelineEventID)value] = new EventWrapper((LiveTimelineEventID)value); - } - } - - public void EndPublish() - { - eventDict.Clear(); - } - - public void Subscribe(LiveTimelineEventID id, LiveTimelineEventHandler handler) - { - EventWrapper @event = GetEvent(id); - if (@event != null) - { - @event.handler += handler; - } - } - - public void Unsubscribe(LiveTimelineEventID id, LiveTimelineEventHandler handler) - { - EventWrapper @event = GetEvent(id); - if (@event != null) - { - @event.handler -= handler; - } - } - - public void FireEvent(LiveTimelineKeyEventData eventData) - { - foreach (LiveTimelineKeyEventData.EventData @event in eventData.eventList) - { - GetEvent(@event.eventId).fire(@event); - } - } - - private EventWrapper GetEvent(LiveTimelineEventID id) - { - if (eventDict.TryGetValue(id, out var value)) - { - return value; - } - return null; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs.meta deleted file mode 100644 index af44818..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineEventPublisher.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd138b03616c4cd448cbdfad1d7ae6cb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs deleted file mode 100644 index 152d1a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineFacialData : ILiveTimelineSetData - { - public LiveTimelineKeyFacialFaceDataList faceKeys = new LiveTimelineKeyFacialFaceDataList(); - - public LiveTimelineKeyFacialFaceMouthList mouthKeys = new LiveTimelineKeyFacialFaceMouthList(); - - public LiveTimelineKeyFacialEyeDataList eyeKeys = new LiveTimelineKeyFacialEyeDataList(); - - public LiveTimelineKeyFacialEyeTrackDataList eyeTrackKeys = new LiveTimelineKeyFacialEyeTrackDataList(); - - public ILiveTimelineKeyDataList GetKeyList(int index) - { - return GetKeyListArray()[index]; - } - - public ILiveTimelineKeyDataList[] GetKeyListArray() - { - return new ILiveTimelineKeyDataList[4] - { - faceKeys, - mouthKeys, - eyeKeys, - eyeTrackKeys - }; - } - - public LiveTimelineKeyDataType[] GetKeyTypeArray() - { - return new LiveTimelineKeyDataType[4] - { - LiveTimelineKeyDataType.FacialFace, - LiveTimelineKeyDataType.FacialMouth, - LiveTimelineKeyDataType.FacialEye, - LiveTimelineKeyDataType.FacialEyeTrack - }; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs.meta deleted file mode 100644 index c993e95..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFacialData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7f7399383aa124449bc6d4a28a17d4fa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs deleted file mode 100644 index 8127d8f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineFormationOffsetData : ILiveTimelineSetData - { - private const int DATA_LIST_SIZE = 5; - - public LiveTimelineKeyFormationOffsetDataList centerKeys = new LiveTimelineKeyFormationOffsetDataList(); - - public LiveTimelineKeyFormationOffsetDataList left1Keys = new LiveTimelineKeyFormationOffsetDataList(); - - public LiveTimelineKeyFormationOffsetDataList right1Keys = new LiveTimelineKeyFormationOffsetDataList(); - - public LiveTimelineKeyFormationOffsetDataList left2Keys = new LiveTimelineKeyFormationOffsetDataList(); - - public LiveTimelineKeyFormationOffsetDataList right2Keys = new LiveTimelineKeyFormationOffsetDataList(); - - private ILiveTimelineKeyDataList[] _cacheDataList = new ILiveTimelineKeyDataList[DATA_LIST_SIZE]; - - public ILiveTimelineKeyDataList GetKeyList(int index) - { - return GetKeyListArray()[index]; - } - - public ILiveTimelineKeyDataList[] GetKeyListArray() - { - _cacheDataList[0] = centerKeys; - _cacheDataList[1] = left1Keys; - _cacheDataList[2] = right1Keys; - _cacheDataList[3] = left2Keys; - _cacheDataList[4] = right2Keys; - return _cacheDataList; - } - - public LiveTimelineKeyDataType[] GetKeyTypeArray() - { - return new LiveTimelineKeyDataType[5] - { - LiveTimelineKeyDataType.FormationOffset, - LiveTimelineKeyDataType.FormationOffset, - LiveTimelineKeyDataType.FormationOffset, - LiveTimelineKeyDataType.FormationOffset, - LiveTimelineKeyDataType.FormationOffset - }; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs.meta deleted file mode 100644 index bf51fb8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineFormationOffsetData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b68d1b9c7eb36294bbc6ee5d13f85b0f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs deleted file mode 100644 index 733db43..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs +++ /dev/null @@ -1,577 +0,0 @@ -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - /// - /// ƒLƒƒƒ‰ƒNƒ^�[ƒ‚�[ƒVƒ‡ƒ“‚̐ݒè - /// - public class LiveTimelineMotionSequence - { - /// - /// ƒLƒƒƒ‰ƒNƒ^‚̃‚�[ƒVƒ‡ƒ“‚̃pƒ‰ƒ��[ƒ^ - /// - public struct Context - { - /// - /// ƒ‚�[ƒVƒ‡ƒ“‘Ώۂ̃^�[ƒQƒbƒg - /// - public ILiveTimelineMSQTarget target; - - /// - /// ƒ‚�[ƒVƒ‡ƒ“‚̃L�[ƒtƒŒ�[ƒ€ - /// - public LiveTimelineKeyCharaMotionSeqDataList motionKeys; - - /// - /// - /// - public LiveTimelineKeyCharaOverrideMotionSeqDataList overwriteMotionKeys; - - public LiveTimelineControl timelineControl; - - /// - /// ƒIƒuƒWƒFƒNƒg‚̍‚‚³‚ð•ύX‚·‚郂�[ƒVƒ‡ƒ“‚̃L�[ - /// - public LiveTimelineKeyCharaHeightMotionSeqDataList heightMotionKeys; - } - - private const int HeightBlendNum = 3; - - /// - /// ƒL�[ƒuƒŒƒ“ƒh‚̍ŏ¬’l - /// - private const float MinBlendRate = 0.0001f; - - /// - /// ƒ‚�[ƒVƒ‡ƒ“‘ΏÛ - /// - private ILiveTimelineMSQTarget _target; - - /// - /// ‘Ώۂ̃IƒuƒWƒFƒNƒg‚ª�s‚¤ƒAƒjƒ��[ƒVƒ‡ƒ“ - /// - private Animation _animation; - - /// - /// ƒ‚�[ƒVƒ‡ƒ“‚̓®�ì‚ðŽw’肷‚éƒL�[ - /// - private LiveTimelineKeyCharaMotionSeqDataList _keys; - - /// - /// ‘OƒL�[‚ð�㏑‚«‚µ‚ă‚�[ƒVƒ‡ƒ“‚ð•ύX‚·‚éƒL�[ - /// - private LiveTimelineKeyCharaOverrideMotionSeqDataList _overwriteKeys; - - /// - /// Žw’胂�[ƒVƒ‡ƒ“�iA-BŠԁj‚ÌB’l - /// - private int _indexOfPlayingKeyB = -1; - - /// - /// ƒ^ƒCƒ€ƒ‰ƒCƒ“ƒRƒ“ƒgƒ��[ƒ‰ - /// - private LiveTimelineControl _timelineControl; - - /// - /// Žw’胂�[ƒVƒ‡ƒ“�iA-BŠԁj‚ÌA’l - /// - private int _indexOfPlayingKeyA = -1; - - /// - /// �‚‚³‚̃‚�[ƒVƒ‡ƒ“‚ª‘¶�݂·‚邩 - /// - private bool _isHeightMotionTimeline; - - /// - /// �‚‚³ƒ‚�[ƒVƒ‡ƒ“‚̃L�[ - /// - private LiveTimelineKeyCharaHeightMotionData _heightMotionKey; - - /// - /// �‚‚³ƒ‚�[ƒVƒ‡ƒ“‚̃uƒŒƒ“ƒh’l - /// - private float[] _heightBlendRate = new float[3]; - - /// - /// ƒI�[ƒo�[ƒ‰ƒCƒgƒ‚�[ƒVƒ‡ƒ“‚ª‘¶�݂·‚邩 - /// - private bool _isOverwriteMotionTimeline; - - private float _currentTime; - - private Dictionary _beforeMotionStateName = new Dictionary(); - - public float currentTime => _currentTime; - - private void StopHeightMotionKey(LiveTimelineKeyCharaHeightMotionData key) - { - if (key.clip != null) - { - AnimationState animationState = _animation[key.clip.name]; - if (animationState != null) - { - animationState.enabled = false; - } - } - if (key.partsMotion == null) - { - return; - } - LiveTimelineKeyCharaHeightMotionData.PartsMotion[] partsMotion = key.partsMotion; - for (int i = 0; i < partsMotion.Length; i++) - { - LiveTimelineKeyCharaHeightMotionData.PartsMotion partsMotion2 = partsMotion[i]; - AnimationState animationState2 = _animation[partsMotion2.baseMotion.name]; - if (animationState2 != null) - { - animationState2.enabled = false; - } - animationState2 = _animation[partsMotion2.blendMotion.name]; - if (animationState2 != null) - { - animationState2.enabled = false; - } - } - } - - public void SetHeightMotionKey(LiveTimelineKeyCharaHeightMotionData key) - { - if (_heightMotionKey != key && _animation != null) - { - if (key != null) - { - StopHeightMotionKey(key); - } - if (_heightMotionKey != null) - { - StopHeightMotionKey(_heightMotionKey); - } - } - _heightMotionKey = key; - } - - public void SetHeightMotionBlend(int index, float rate) - { - _heightBlendRate[index] = rate; - } - - public void Initialize(ref Context context) - { - if (context.target == null || context.target.liveMSQAnimation == null || context.motionKeys == null || context.timelineControl == null) - { - return; - } - _keys = context.motionKeys; - _overwriteKeys = context.overwriteMotionKeys; - _target = context.target; - _animation = context.target.liveMSQAnimation; - _timelineControl = context.timelineControl; - _indexOfPlayingKeyB = -1; - _indexOfPlayingKeyA = -1; - _isHeightMotionTimeline = false; - _isOverwriteMotionTimeline = false; - _target.liveMSQControlled = true; - _animation.Stop(); - for (int i = 0; i < context.motionKeys.Count; i++) - { - LiveTimelineKeyCharaMotionData liveTimelineKeyCharaMotionData = _keys.At(i) as LiveTimelineKeyCharaMotionData; - if (!string.IsNullOrEmpty(liveTimelineKeyCharaMotionData.motionName)) - { - SetupAnimationClip(liveTimelineKeyCharaMotionData); - } - } - if (context.overwriteMotionKeys != null) - { - for (int j = 0; j < context.overwriteMotionKeys.Count; j++) - { - LiveTimelineKeyCharaMotionData liveTimelineKeyCharaMotionData2 = _overwriteKeys.At(j) as LiveTimelineKeyCharaMotionData; - if (!string.IsNullOrEmpty(liveTimelineKeyCharaMotionData2.motionName)) - { - SetupAnimationClip(liveTimelineKeyCharaMotionData2); - } - } - } - if (context.heightMotionKeys != null) - { - LiveTimelineKeyCharaHeightMotionSeqDataList heightMotionKeys = context.heightMotionKeys; - for (int k = 0; k < heightMotionKeys.Count; k++) - { - LiveTimelineKeyCharaHeightMotionData key = heightMotionKeys.At(k) as LiveTimelineKeyCharaHeightMotionData; - SetupAnimationClip(key); - } - } - } - - public void ChangeTarget(ILiveTimelineMSQTarget target) - { - if (target != null) - { - _target = target; - _animation = target.liveMSQAnimation; - _indexOfPlayingKeyB = -1; - _indexOfPlayingKeyA = -1; - _isHeightMotionTimeline = false; - _isOverwriteMotionTimeline = false; - _target.liveMSQControlled = true; - _animation.Stop(); - } - } - - private bool SetupAnimationClip(LiveTimelineKeyCharaHeightMotionData key) - { - if (key.partsMotion != null) - { - LiveTimelineKeyCharaHeightMotionData.PartsMotion[] partsMotion = key.partsMotion; - for (int i = 0; i < partsMotion.Length; i++) - { - LiveTimelineKeyCharaHeightMotionData.PartsMotion partsMotion2 = partsMotion[i]; - if (!(partsMotion2.baseMotion == null) && !(partsMotion2.blendMotion == null)) - { - _animation.AddClip(partsMotion2.baseMotion, partsMotion2.baseMotion.name); - _animation.AddClip(partsMotion2.blendMotion, partsMotion2.blendMotion.name); - } - } - } - if (string.IsNullOrEmpty(key.motionName)) - { - return false; - } - AnimationClip animationClip = _timelineControl.LoadAnimationClip(key); - if (animationClip == null) - { - return false; - } - _animation.AddClip(animationClip, animationClip.name); - return true; - } - - private bool SetupAnimationClip(LiveTimelineKeyCharaMotionData key) - { - AnimationClip animationClip = _timelineControl.LoadAnimationClip(key); - if (animationClip == null) - { - return false; - } - _animation.AddClip(animationClip, animationClip.name); - return true; - } - - public void SetOverwriteKeys(LiveTimelineKeyCharaOverrideMotionSeqDataList overwriteKeys) - { - _overwriteKeys = overwriteKeys; - } - - private void FindPlayingMotion(out LiveTimelineKeyCharaMotionData a, out LiveTimelineKeyCharaMotionData b, out int indexA, out int indexB, float t, float spf, LiveTimelineKeyDataListTemplate keys, LiveTimelineKeyDataType keyType) where T : LiveTimelineKey - { - a = (b = null); - indexA = (indexB = -1); - int i = 0; - for (int count = keys.Count; i < count; i++) - { - LiveTimelineKeyCharaMotionData liveTimelineKeyCharaMotionData = keys.thisList[i] as LiveTimelineKeyCharaMotionData; - float num = (float)liveTimelineKeyCharaMotionData.frame * spf; - if (t >= num && t <= num + liveTimelineKeyCharaMotionData.playLength) - { - if (a != null) - { - if (keyType == LiveTimelineKeyDataType.CharaMotionOverwrite || keyType == LiveTimelineKeyDataType.CharaHeightMotion) - { - a = liveTimelineKeyCharaMotionData; - indexA = i; - } - else if ((float)a.frame * spf + a.playLength >= num) - { - b = liveTimelineKeyCharaMotionData; - indexB = i; - } - break; - } - a = liveTimelineKeyCharaMotionData; - indexA = i; - } - else if (num > t) - { - break; - } - } - } - - private LiveTimelineKeyDataType FindPlayingMot(out LiveTimelineKeyCharaMotionData a, out LiveTimelineKeyCharaMotionData b, out LiveTimelineKeyCharaMotionData lastKey, out int indexA, out int indexB, float t, float spf) - { - if (_overwriteKeys != null) - { - FindPlayingMotion(out a, out b, out indexA, out indexB, t, spf, _overwriteKeys, LiveTimelineKeyDataType.CharaMotionOverwrite); - if (indexA >= 0) - { - lastKey = null; - return LiveTimelineKeyDataType.CharaMotionOverwrite; - } - } - FindPlayingMotion(out a, out b, out indexA, out indexB, t, spf, _keys, LiveTimelineKeyDataType.CharaMotionSequecne); - if (_keys.Count > 0) - { - lastKey = _keys.At(_keys.Count - 1) as LiveTimelineKeyCharaMotionData; - } - else - { - lastKey = null; - } - return LiveTimelineKeyDataType.CharaMotionSequecne; - } - - private void OnAnimationBlend(AnimationState motionState, string motionName, float blendRate, WrapMode wrapMode, float setTime) - { - motionState.speed = 1f; - motionState.enabled = true; - if (blendRate >= 0.0001f) - { - _animation.Blend(motionName, blendRate, 0f); - } - else - { - motionState.enabled = false; - } - motionState.wrapMode = wrapMode; - motionState.time = setTime; - motionState.speed = 0f; - } - - private void OnMotionBlend(AnimationClip clip, float blendRate, WrapMode wrapMode, float setTime) - { - AnimationState animationState = GetAnimationState(clip); - if (!(animationState == null)) - { - OnAnimationBlend(animationState, clip.name, blendRate, wrapMode, setTime); - } - } - - private void OnMotionBlend(LiveTimelineKeyCharaMotionData clip, float blendRate, WrapMode wrapMode, float setTime) - { - AnimationState animationState = GetAnimationState(clip); - if (!(animationState == null)) - { - OnAnimationBlend(animationState, clip.motionName, blendRate, wrapMode, setTime); - } - } - - private void OnMotionBUpdate(LiveTimelineKeyCharaMotionData playingKeyB, bool isHeightMotionTimeline, float blendRate, float currentTime, float spf, ref Dictionary controlClips) - { - float num = (float)playingKeyB.frame * spf; - float num2 = (currentTime - num - playingKeyB.motionHeadTime) * playingKeyB.playSpeed; - WrapMode wrapMode = (playingKeyB.loop ? WrapMode.Loop : WrapMode.ClampForever); - if (!playingKeyB.loop && num2 < 0f) - { - wrapMode = WrapMode.Loop; - } - OnMotionBlend(playingKeyB, blendRate, wrapMode, num2); - if (!isHeightMotionTimeline) - { - return; - } - LiveTimelineKeyCharaHeightMotionData heightMotionKey = _heightMotionKey; - if (heightMotionKey.partsMotion != null) - { - int num3 = 1; - LiveTimelineKeyCharaHeightMotionData.PartsMotion[] partsMotion = heightMotionKey.partsMotion; - for (int i = 0; i < partsMotion.Length; i++) - { - LiveTimelineKeyCharaHeightMotionData.PartsMotion partsMotion2 = partsMotion[i]; - blendRate = _heightBlendRate[num3]; - OnMotionBlend(partsMotion2.baseMotion, 1f - blendRate, wrapMode, num2); - OnMotionBlend(partsMotion2.blendMotion, blendRate, wrapMode, num2); - controlClips[partsMotion2.baseMotion.name] = true; - controlClips[partsMotion2.blendMotion.name] = true; - num3++; - } - } - } - - private void DisablePrevMotion(LiveTimelineKeyCharaMotionData motionA, LiveTimelineKeyCharaMotionData prevMotionA, LiveTimelineKeyCharaMotionData motionB, LiveTimelineKeyCharaMotionData prevMotionB, ref bool isChangeMotion) - { - if (motionA != prevMotionA && prevMotionA != null && motionA != null) - { - if (motionA.motionNameHash != prevMotionA.motionNameHash) - { - AnimationState animationState = _animation[prevMotionA.motionName]; - if (animationState != null) - { - animationState.enabled = false; - } - } - isChangeMotion = true; - } - if (prevMotionB != motionB && prevMotionB != null && prevMotionB != motionA) - { - AnimationState animationState2 = _animation[prevMotionB.motionName]; - if (animationState2 != null) - { - animationState2.enabled = false; - } - isChangeMotion = true; - } - } - - public void AlterUpdate(float currentTime, float targetFps) - { - if (_keys == null || _keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - return; - } - _currentTime = currentTime; - float num = 1f / targetFps; - bool flag = false; - LiveTimelineKeyCharaMotionData liveTimelineKeyCharaMotionData = null; - bool flag2 = false; - if (_heightMotionKey != null) - { - liveTimelineKeyCharaMotionData = _heightMotionKey; - flag2 = true; - } - if (FindPlayingMot(out var a, out var b, out var _, out var indexA, out var indexB, currentTime, num) == LiveTimelineKeyDataType.CharaMotionOverwrite) - { - flag = true; - } - LiveTimelineKeyCharaMotionData prevMotionA; - LiveTimelineKeyCharaMotionData prevMotionB; - if (_isOverwriteMotionTimeline) - { - prevMotionB = ((_indexOfPlayingKeyB < 0) ? null : (_overwriteKeys.At(_indexOfPlayingKeyB) as LiveTimelineKeyCharaMotionData)); - prevMotionA = ((_indexOfPlayingKeyA < 0) ? null : (_overwriteKeys.At(_indexOfPlayingKeyA) as LiveTimelineKeyCharaMotionData)); - } - else - { - prevMotionB = ((_indexOfPlayingKeyB < 0) ? null : (_keys.At(_indexOfPlayingKeyB) as LiveTimelineKeyCharaMotionData)); - prevMotionA = ((_indexOfPlayingKeyA < 0) ? null : (_keys.At(_indexOfPlayingKeyA) as LiveTimelineKeyCharaMotionData)); - } - bool isChangeMotion = false; - if (_isOverwriteMotionTimeline != flag || _isHeightMotionTimeline != flag2) - { - isChangeMotion = true; - _isOverwriteMotionTimeline = flag; - _isHeightMotionTimeline = flag2; - } - if (flag2) - { - b = liveTimelineKeyCharaMotionData; - indexB = -1; - } - DisablePrevMotion(a, prevMotionA, b, prevMotionB, ref isChangeMotion); - if (isChangeMotion) - { - _target.OnMotionChange(); - } - prevMotionA = a; - prevMotionB = b; - _indexOfPlayingKeyB = indexB; - _indexOfPlayingKeyA = indexA; - if (prevMotionA == null) - { - _target.liveMSQControlled = false; - return; - } - Dictionary controlClips = new Dictionary(); - _target.liveMSQControlled = true; - float num2 = 1f; - float num3 = (float)prevMotionA.frame * num; - AnimationState animationState = GetAnimationState(prevMotionA); - _target.liveMSQCurrentAnimState = animationState; - _target.liveMSQCurrentAnimStartTime = num3; - if (animationState == null) - { - return; - } - if (prevMotionB != null) - { - if (!flag2) - { - float num4 = (float)prevMotionB.frame * num; - float num5 = num3 + prevMotionA.playLength - num4; - if (!(num5 < 0f)) - { - num2 = 1f - Mathf.Clamp01((currentTime - num4) / num5); - } - } - else - { - num2 = 1f - _heightBlendRate[0]; - } - } - controlClips[animationState.name] = true; - animationState.enabled = true; - animationState.speed = 1f; - if (num2 >= 0.0001f) - { - _animation.Blend(prevMotionA.motionName, num2, 0f); - } - else - { - animationState.enabled = false; - } - animationState.wrapMode = (prevMotionA.loop ? WrapMode.Loop : WrapMode.ClampForever); - float num6 = currentTime - num3 - prevMotionA.motionHeadTime; - animationState.time = num6 * prevMotionA.playSpeed; - if (!prevMotionA.loop && num6 < 0f) - { - animationState.wrapMode = WrapMode.Loop; - } - animationState.speed = 0f; - if (prevMotionB != null) - { - float blendRate = 1f - num2; - OnMotionBUpdate(prevMotionB, flag2, blendRate, currentTime, num, ref controlClips); - } - string[] subtractClipNames = GetSubtractClipNames(_beforeMotionStateName, controlClips); - foreach (string motionName in subtractClipNames) - { - AnimationState animationState2 = GetAnimationState(motionName); - if (animationState2 != null) - { - animationState2.enabled = false; - } - } - _beforeMotionStateName = controlClips; - } - - private string[] GetSubtractClipNames(Dictionary before, Dictionary now) - { - List list = new List(); - foreach (string key in before.Keys) - { - if (!now.ContainsKey(key)) - { - list.Add(key); - } - } - return list.ToArray(); - } - - private AnimationState GetAnimationState(LiveTimelineKeyCharaMotionData key) - { - return GetAnimationState(key.motionName); - } - - private AnimationState GetAnimationState(AnimationClip clip) - { - if (clip == null) - { - return null; - } - return GetAnimationState(clip.name); - } - - private AnimationState GetAnimationState(string motionName) - { - if (_animation == null) - { - return null; - } - AnimationState animationState = _animation[motionName]; - if (animationState != null) - { - return animationState; - } - return null; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs.meta deleted file mode 100644 index 455fa90..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineMotionSequence.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7bed68f96d817e64e86ab3d144f73775 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs deleted file mode 100644 index 17be0c6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineOther4FacialData : ILiveTimelineSetData - { - public LiveTimelineKeyFacialFaceDataList faceKeys = new LiveTimelineKeyFacialFaceDataList(); - - public LiveTimelineKeyFacialFaceMouthList mouthKeys = new LiveTimelineKeyFacialFaceMouthList(); - - public LiveTimelineKeyFacialEyeDataList eyeKeys = new LiveTimelineKeyFacialEyeDataList(); - - public LiveTimelineKeyFacialEyeTrackDataList eyeTrackKeys = new LiveTimelineKeyFacialEyeTrackDataList(); - - public ILiveTimelineKeyDataList GetKeyList(int index) - { - return GetKeyListArray()[index]; - } - - public ILiveTimelineKeyDataList[] GetKeyListArray() - { - return new ILiveTimelineKeyDataList[4] - { - faceKeys, - mouthKeys, - eyeKeys, - eyeTrackKeys - }; - } - - public LiveTimelineKeyDataType[] GetKeyTypeArray() - { - return new LiveTimelineKeyDataType[4] - { - LiveTimelineKeyDataType.FacialFace, - LiveTimelineKeyDataType.FacialMouth, - LiveTimelineKeyDataType.FacialEye, - LiveTimelineKeyDataType.FacialEyeTrack - }; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs.meta deleted file mode 100644 index 333641f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineOther4FacialData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: baa5e5f6a704ed047a0071e1e489c22d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs deleted file mode 100644 index 20adede..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs +++ /dev/null @@ -1,347 +0,0 @@ -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineWorkSheet : ScriptableObject - { - public static string[] sVersionList = new string[1] { "0.9" }; - - public string version = sVersionList[0]; - - public int targetCameraIndex; - - public bool enableAtRuntime = true; - - public bool enableAtEdit = true; - - public LiveTimelineKeyCameraPositionDataList cameraPosKeys = new LiveTimelineKeyCameraPositionDataList(); - - public LiveTimelineKeyCameraLookAtDataList cameraLookAtKeys = new LiveTimelineKeyCameraLookAtDataList(); - - public LiveTimelineKeyCameraFovDataList cameraFovKeys = new LiveTimelineKeyCameraFovDataList(); - - public LiveTimelineKeyCameraRollDataList cameraRollKeys = new LiveTimelineKeyCameraRollDataList(); - - public LiveTimelineKeyEventDataList eventKeys = new LiveTimelineKeyEventDataList(); - - public List charaMotSeqList = new List(); - - public List charaMotOverwriteList = new List(); - - public List bgColor1List = new List(); - - public List bgColor2List = new List(); - - public List bgColor3List = new List(); - - public List monitorControlList = new List(); - - public List animationList = new List(); - - public List textureAnimationList = new List(); - - public List transformList = new List(); - - public List rendererList = new List(); - - public List objectList = new List(); - - public List gazingObjectList = new List(); - - public List propsList = new List(); - - public List propsAttachList = new List(); - - public LiveTimelineKeyCameraSwitcherDataList cameraSwitcherKeys = new LiveTimelineKeyCameraSwitcherDataList(); - - public LiveTimelineKeyRipSyncDataList ripSyncKeys = new LiveTimelineKeyRipSyncDataList(); - - public LiveTimelineKeyPostEffectDataList postEffectKeys = new LiveTimelineKeyPostEffectDataList(); - - public LiveTimelineKeyPostFilmDataList postFilmKeys = new LiveTimelineKeyPostFilmDataList(); - - public LiveTimelineKeyPostFilmDataList postFilm2Keys = new LiveTimelineKeyPostFilmDataList(); - - public LiveTimelineKeyScreenFadeDataList screenFadeKeys = new LiveTimelineKeyScreenFadeDataList(); - - public LiveTimelineKeyCrossFadeCameraPositionDataList crossFadeCameraPosKeys = new LiveTimelineKeyCrossFadeCameraPositionDataList(); - - public LiveTimelineKeyCrossFadeCameraLookAtDataList crossFadeCameraLookAtKeys = new LiveTimelineKeyCrossFadeCameraLookAtDataList(); - - public LiveTimelineKeyCrossFadeCameraFovDataList crossFadeCameraFovKeys = new LiveTimelineKeyCrossFadeCameraFovDataList(); - - public LiveTimelineKeyCrossFadeCameraRollDataList crossFadeCameraRollKeys = new LiveTimelineKeyCrossFadeCameraRollDataList(); - - public LiveTimelineKeyCrossFadeCameraAlphaDataList crossFadeCameraAlphaKeys = new LiveTimelineKeyCrossFadeCameraAlphaDataList(); - - public LiveTimelineKeyCameraLayerDataList cameraLayerKeys = new LiveTimelineKeyCameraLayerDataList(); - - public List projecterList = new List(); - - public LiveTimelineFacialData facial1Set = new LiveTimelineFacialData(); - - public LiveTimelineKeyFacialEyeTrackDataList other4EyeTrackKeys = new LiveTimelineKeyFacialEyeTrackDataList(); - - public LiveTimelineOther4FacialData[] other4FacialArray = new LiveTimelineOther4FacialData[8] - { - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData(), - new LiveTimelineOther4FacialData() - }; - - public LiveTimelineKeyFacialNoiseDataList facialNoiseKeys = new LiveTimelineKeyFacialNoiseDataList(); - - public LiveTimelineKeyCharaMotionNoiseDataList charaMotionNoiseKeys = new LiveTimelineKeyCharaMotionNoiseDataList(); - - public LiveTimelineKeyCharaCySpringDataList charaCySpringKeys = new LiveTimelineKeyCharaCySpringDataList(); - - public LiveTimelineFormationOffsetData formationOffsetSet = new LiveTimelineFormationOffsetData(); - - public List formationOffsetAdditionalList = new List(); - - public List VolumeLightKeys = new List(); - - public List HdrBloomKeys = new List(); - - public List particleList = new List(); - - public List particleGroupList = new List(); - - public List laserList = new List(); - - public List effectList = new List(); - - public List environmentDataLists = new List(); - - public List globalLightDataLists = new List(); - - public List globalFogDataLists = new List(); - - public List colorCorrectionDataLists = new List(); - - public LiveTimelineKeyTiltShiftDataList tiltShiftKeys = new LiveTimelineKeyTiltShiftDataList(); - - public List lightShuftKeys = new List(); - - public List sweatLocatorList = new List(); - - public List lensFlareList = new List(); - - public List monitorCameraPosKeys = new List(); - - public List monitorLookAtPosKeys = new List(); - - public List multiCameraPositionKeys = new List(); - - public List multiCameraLookAtKeys = new List(); - - public List a2uConfigList = new List(); - - public List a2uList = new List(); - - public List glassList = new List(); - - public List shdCtrlList = new List(); - - public LiveTimelineCharaIKData charaIkSet = new LiveTimelineCharaIKData(); - - public LiveTimelineKeyCharaFootLightDataList charaFootLightKeys = new LiveTimelineKeyCharaFootLightDataList(); - - public List stageGazeList = new List(); - - public List mobCyalumeDataList = new List(); - - public List charaHeightMotList = new List(); - - public List charaWindList = new List(); - - public LiveTimelineKeyMobCyalume3DRootDataList mobCyalume3DRootKeys = new LiveTimelineKeyMobCyalume3DRootDataList(); - - public LiveTimelineKeyMobCyalume3DBloomDataList mobCyalume3DBloomKeys = new LiveTimelineKeyMobCyalume3DBloomDataList(); - - public LiveTimelineKeyMobCyalume3DColorDataList mobCyalume3DColorKeys = new LiveTimelineKeyMobCyalume3DColorDataList(); - - public LiveTimelineKeyMobCyalume3DLightingDataList mobCyalume3DLightingKeys = new LiveTimelineKeyMobCyalume3DLightingDataList(); - - public LiveTimelineKeyMobCyalume3DLookAtModeDataList mobCyalume3DLookAtModeKeys = new LiveTimelineKeyMobCyalume3DLookAtModeDataList(); - - public List mobCyalume3DLookAtPositionDataList = new List(); - - public List mobCyalume3DPositionDataList = new List(); - - public LiveTimelineKeyDressChangeDataList dressChangeDataList = new LiveTimelineKeyDressChangeDataList(); - - private ILiveTimelineKeyDataList[] _keysArray; - - public ILiveTimelineKeyDataList[] keysArray - { - get - { - if (_keysArray == null) - { - List list = new List(); - list.Add(cameraPosKeys); - list.Add(cameraLookAtKeys); - list.Add(cameraFovKeys); - list.Add(cameraRollKeys); - list.Add(eventKeys); - list.Add(cameraSwitcherKeys); - list.Add(ripSyncKeys); - list.Add(postEffectKeys); - list.Add(cameraLayerKeys); - list.Add(other4EyeTrackKeys); - list.Add(facialNoiseKeys); - list.Add(charaMotionNoiseKeys); - list.Add(charaCySpringKeys); - list.Add(tiltShiftKeys); - list.Add(charaFootLightKeys); - list.Add(crossFadeCameraPosKeys); - list.Add(crossFadeCameraLookAtKeys); - list.Add(crossFadeCameraFovKeys); - list.Add(crossFadeCameraRollKeys); - list.Add(crossFadeCameraAlphaKeys); - list.Add(mobCyalume3DBloomKeys); - list.Add(mobCyalume3DColorKeys); - list.Add(mobCyalume3DLightingKeys); - list.Add(mobCyalume3DLookAtModeKeys); - list.Add(dressChangeDataList); - - list.AddRange(GetKeysInGroup(charaMotSeqList)); - list.AddRange(GetKeysInGroup(bgColor1List)); - list.AddRange(GetKeysInGroup(bgColor2List)); - list.AddRange(GetKeysInGroup(monitorControlList)); - list.AddRange(GetKeysInGroup(projecterList)); - list.AddRange(facial1Set.GetKeyListArray()); - list.AddRange(GetKeysInGroup(particleList)); - list.AddRange(GetKeysInGroup(particleGroupList)); - list.AddRange(GetKeysInGroup(laserList)); - list.AddRange(GetKeysInGroup(effectList)); - list.AddRange(GetKeysInGroup(sweatLocatorList)); - list.AddRange(GetKeysInGroup(environmentDataLists)); - list.AddRange(GetKeysInGroup(globalLightDataLists)); - list.AddRange(GetKeysInGroup(globalFogDataLists)); - list.AddRange(GetKeysInGroup(colorCorrectionDataLists)); - list.AddRange(GetKeysInGroup(a2uConfigList)); - list.AddRange(GetKeysInGroup(a2uList)); - list.AddRange(GetKeysInGroup(glassList)); - list.AddRange(GetKeysInGroup(shdCtrlList)); - list.AddRange(GetKeysInGroup(charaMotOverwriteList)); - LiveTimelineOther4FacialData[] array = other4FacialArray; - foreach (LiveTimelineOther4FacialData liveTimelineOther4FacialData in array) - { - list.AddRange(liveTimelineOther4FacialData.GetKeyListArray()); - } - list.AddRange(formationOffsetSet.GetKeyListArray()); - list.AddRange(GetKeysInGroup(bgColor3List)); - list.AddRange(charaIkSet.GetKeyListArray()); - list.AddRange(GetKeysInGroup(stageGazeList)); - list.AddRange(GetKeysInGroup(mobCyalumeDataList)); - list.AddRange(GetKeysInGroup(charaHeightMotList)); - list.AddRange(GetKeysInGroup(monitorCameraPosKeys)); - list.AddRange(GetKeysInGroup(monitorLookAtPosKeys)); - list.AddRange(GetKeysInGroup(multiCameraPositionKeys)); - list.AddRange(GetKeysInGroup(multiCameraLookAtKeys)); - list.AddRange(GetKeysInGroup(lightShuftKeys)); - list.AddRange(GetKeysInGroup(lensFlareList)); - list.AddRange(GetKeysInGroup(charaWindList)); - list.AddRange(GetKeysInGroup(mobCyalume3DLookAtPositionDataList)); - list.AddRange(GetKeysInGroup(mobCyalume3DPositionDataList)); - - _keysArray = list.ToArray(); - } - return _keysArray; - } - } - - public bool IsEnable() - { - return enableAtRuntime; - } - - private ILiveTimelineKeyDataList[] GetKeysInGroup(List groups) where T : ILiveTimelineGroupData - { - List list = new List(); - foreach (T group in groups) - { - list.Add(group.GetKeyList()); - } - return list.ToArray(); - } - - private void UpdateStatusInGroup(List groups) where T : ILiveTimelineGroupData - { - foreach (T group in groups) - { - (group as ILiveTimelineGroupDataWithName).UpdateStatus(); - } - } - - public void OnLoad(LiveTimelineControl timelineControl) - { - for (int i = 0; i < keysArray.Length; i++) - { - ILiveTimelineKeyDataList liveTimelineKeyDataList = keysArray[i]; - int count = liveTimelineKeyDataList.Count; - for (int j = 0; j < count; j++) - { - liveTimelineKeyDataList[j].OnLoad(timelineControl); - } - } - UpdateStatusInGroup(bgColor1List); - UpdateStatusInGroup(bgColor2List); - UpdateStatusInGroup(monitorControlList); - UpdateStatusInGroup(projecterList); - UpdateStatusInGroup(animationList); - UpdateStatusInGroup(textureAnimationList); - UpdateStatusInGroup(transformList); - UpdateStatusInGroup(rendererList); - UpdateStatusInGroup(objectList); - UpdateStatusInGroup(propsList); - UpdateStatusInGroup(propsAttachList); - UpdateStatusInGroup(particleList); - UpdateStatusInGroup(particleGroupList); - UpdateStatusInGroup(laserList); - UpdateStatusInGroup(effectList); - UpdateStatusInGroup(sweatLocatorList); - UpdateStatusInGroup(environmentDataLists); - UpdateStatusInGroup(globalLightDataLists); - UpdateStatusInGroup(globalFogDataLists); - UpdateStatusInGroup(colorCorrectionDataLists); - UpdateStatusInGroup(a2uConfigList); - UpdateStatusInGroup(a2uList); - UpdateStatusInGroup(glassList); - UpdateStatusInGroup(shdCtrlList); - UpdateStatusInGroup(bgColor3List); - UpdateStatusInGroup(stageGazeList); - UpdateStatusInGroup(multiCameraPositionKeys); - UpdateStatusInGroup(multiCameraLookAtKeys); - UpdateStatusInGroup(monitorCameraPosKeys); - UpdateStatusInGroup(monitorLookAtPosKeys); - UpdateStatusInGroup(lightShuftKeys); - UpdateStatusInGroup(lensFlareList); - UpdateStatusInGroup(gazingObjectList); - } - - public int FindTimelineIndexInGroup(LiveTimelineKey key) - { - if (key == null) - { - return -1; - } - return key.dataType switch - { - LiveTimelineKeyDataType.MonitorCameraPos => monitorCameraPosKeys.FindIndex((DereLiveTimelineMonitorCameraPositionData x) => x.keys.Contains(key)), - LiveTimelineKeyDataType.MonitorCameraLookAt => monitorLookAtPosKeys.FindIndex((LiveTimelineMonitorCameraLookAtData x) => x.keys.Contains(key)), - LiveTimelineKeyDataType.MultiCameraPos => multiCameraPositionKeys.FindIndex((LiveTimelineMultiCameraPositionData x) => x.keys.Contains(key)), - LiveTimelineKeyDataType.MultiCameraLookAt => multiCameraLookAtKeys.FindIndex((LiveTimelineMultiCameraLookAtData x) => x.keys.Contains(key)), - _ => -1, - }; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs.meta deleted file mode 100644 index 77dab11..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/LiveTimelineWorkSheet.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f662ff48cd223342bee254576923a43 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings.meta deleted file mode 100644 index 1679883..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac5b7c18465a8a2488697868673ec7c8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs deleted file mode 100644 index a11922f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineA2USettings - { - [Serializable] - public class Prefab - { - public string name = ""; - - public string path = ""; - } - - public int flickRandomSeed = 123456789; - - public uint flickCount = 40u; - - public float flickStepSec = 0.06f; - - public uint flickMin = 50u; - - public uint flickMax = 53u; - - public Prefab[] prefabs = new Prefab[0]; - - public string[] sprites = new string[0]; - - public int assetNo = 1; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs.meta deleted file mode 100644 index 4cfdb02..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineA2USettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 851003dfc4698054f88730286cc45f3e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs deleted file mode 100644 index 55f2213..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineAlterAnimationSettings - { - [Serializable] - public class AnimationNameList - { - [SerializeField] - private string[] _list = new string[0]; - - public string this[int index] - { - get - { - return _list[index]; - } - set - { - _list[index] = value; - } - } - - public int Length => _list.Length; - - public AnimationNameList() - { - } - - public AnimationNameList(int n) - { - _list = new string[n]; - } - } - - public AnimationNameList[] useAnimationNames = new AnimationNameList[0]; - - public AnimationNameList[] useOverwriteAnimationNames = new AnimationNameList[0]; - - public void Init() - { - useAnimationNames = new AnimationNameList[15]; - useOverwriteAnimationNames = new AnimationNameList[15]; - for (int i = 0; i < 15; i++) - { - useAnimationNames[i] = new AnimationNameList(); - useOverwriteAnimationNames[i] = new AnimationNameList(); - } - } - - public List GetMotionUseCharaPosition(string motionName) - { - List list = new List(); - for (int i = 0; i < 15; i++) - { - AnimationNameList animationNameList = useAnimationNames[i]; - for (int j = 0; j < animationNameList.Length; j++) - { - if (motionName == animationNameList[j] && !list.Contains(i)) - { - list.Add(i); - } - } - animationNameList = useOverwriteAnimationNames[i]; - for (int k = 0; k < animationNameList.Length; k++) - { - if (motionName == animationNameList[k] && !list.Contains(i)) - { - list.Add(i); - } - } - } - return list; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs.meta deleted file mode 100644 index 56b7830..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineAlterAnimationSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2020e455725a5204faead859f2c7a265 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs deleted file mode 100644 index 746270e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharacterOptionSettings - { - public string[] optionName = new string[0]; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs.meta deleted file mode 100644 index d39d0da..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterOptionSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f64dd5459216ba142891f3da7de8eec0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs deleted file mode 100644 index ecd4717..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineCharacterSettings - { - public int[] motionSequenceIndices = new int[5]; - - public int[] motionOverwriteIndices = new int[15]; - - public bool[] useHighPolygonModel = new bool[15] { true, false, false, false, false, false, false, false, false, false, false, false, false, false, false }; - - public bool[] useHighPolygonModelForLightMode = new bool[15] { true, false, false, false, false, false, false, false, false, false, false, false, false, false, false }; - - public bool isCreateGroundCollision = true; - - public float distanceForOutlineLOD = (float)Math.PI; - - public float distanceForShaderLOD = (float)Math.PI; - - public float distanceForCheekLOD = 1f; - - public bool isCharaAxisRotateLateUpdate; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs.meta deleted file mode 100644 index b2850b4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineCharacterSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 07fdfdff45494b34a9f535d7e59363f8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs deleted file mode 100644 index 4da5d47..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineGamePlaySettings - { - public bool isFootShadowOff; - - public bool isRichFootShadowOff; - - public float distanceOutlineLOD = -1f; - - public float distanceRichOutlineLOD = -1f; - - public float distanceCheekLOD = -1f; - - public float distanceRichCheekLOD = -1f; - - public bool isDofBloomOff; - - public bool isRichDofBloomOff; - - public bool isMirrorScanOff; - - public bool isMonitorCameraOff; - - public bool isSunShaftOff; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs.meta deleted file mode 100644 index 54fd921..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineGamePlaySettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e893dc74d6d4c1646b465b9e85c74001 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs deleted file mode 100644 index bc9aeeb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineHdrBloomSettings - { - public float sepBlurSpread = 2.5f; - - public float bloomIntensity = 0.3f; - - public int bloomBlurIterations = 1; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs.meta deleted file mode 100644 index 6e381a8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineHdrBloomSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b10d8419de3398b41a7202af4edeca9e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs deleted file mode 100644 index 60bee22..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineIndirectLightShuftSettings - { - public enum ShaftType - { - Default, - Vr03 - } - - public int id = 1; - - public ShaftType shaftType; - - public int shaftTextureNameLength; - - public string[] shaftTextureNames = new string[0]; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs.meta deleted file mode 100644 index ba1316e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineIndirectLightShuftSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8cea0aaf112745244839ff5b0a62a26e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs deleted file mode 100644 index 3f31e52..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineLensFlareSetting - { - [Serializable] - public class FlareDataGroup - { - public int objectId; - - public bool isHqOnly; - } - - public FlareDataGroup[] flareDataGroup = new FlareDataGroup[0]; - - public int flareDataGroupCount; - - public float lightStandard = 3f; - - public float underLimit; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs.meta deleted file mode 100644 index bec7fb6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineLensFlareSetting.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bc41246b43a26c244b3db576be663a93 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs deleted file mode 100644 index 7375a38..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMobCyalume3DSettings - { - public bool isEnableTimeOffset; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs.meta deleted file mode 100644 index 870d7a0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMobCyalume3DSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 90ca448aa4b819442b18a2fd596c4522 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs deleted file mode 100644 index 3fb8220..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMonitorCameraSettings - { - public int cntCamera; - - public float renderTextureWidth; - - public float renderTextureHeight; - - [NonSerialized] - public static float MINIMUM_WIDTH = 128f; - - [NonSerialized] - public static float MAXIMUM_WIDTH = 1280f; - - [NonSerialized] - public static float MINIMUM_HEIGHT = 128f; - - [NonSerialized] - public static float MAXIMUM_HEIGHT = 1280f; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs.meta deleted file mode 100644 index d452ea7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorCameraSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e5738cf1898542941b15582a5f3dce1b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs deleted file mode 100644 index 87680cb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMonitorSettings - { - public int charaTextureNum; - - public LiveCharaPosition[] charaTexturePosition = new LiveCharaPosition[0]; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs.meta deleted file mode 100644 index 9d296a5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMonitorSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9046566585adfb045b72d56a73f33f01 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs deleted file mode 100644 index 4563e21..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMultiCameraMaskSettings - { - public int maskNum; - - public Mask[] maskData = new Mask[0]; - - [Serializable] - public class Mask - { - public string objectName = string.Empty; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs.meta deleted file mode 100644 index 8a18891..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraMaskSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 140903dddc6c55b488bb345d79a3c01a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs deleted file mode 100644 index c84c93d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMultiCameraSettings - { - public int cameraNum; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs.meta deleted file mode 100644 index 047a6fe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineMultiCameraSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c06090faf8d27aa4c9dcbc5e01406b92 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs deleted file mode 100644 index 794d165..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs +++ /dev/null @@ -1,75 +0,0 @@ -using System; - -[Serializable] -public class LiveTimelinePropsSettings -{ - public enum PropsConditionType - { - Default, - CharaAttribute, - CharaPosition, - CharaID, - CardID, - DressType, - DressID - } - - public enum PropsAttribute - { - Cute, - Cool, - Passion - } - - public enum AlterPropsMode - { - None, - LeftHanded - } - - [Serializable] - public class PropsConditionData - { - public PropsConditionType Type; - - public int Value; - } - - [Serializable] - public class PropsConditionGroup - { - public PropsConditionData[] propsConditionData = new PropsConditionData[0]; - - public int propsConditionCount; - - public string propsName = ""; - - public bool random; - - public string[] randomNameArray; - - public bool satisfiesAllConditions; - - public float bodyScaleS = 1f; - - public float bodyScaleM = 1f; - - public float bodyScaleL = 1f; - - public float bodyScaleLL = 1f; - - public AlterPropsMode alterPropsMode; - } - - [Serializable] - public class PropsDataGroup - { - public PropsConditionGroup[] propsConditionGroup = new PropsConditionGroup[0]; - - public int propsConditionGroupCount; - } - - public PropsDataGroup[] propsDataGroup = new PropsDataGroup[0]; - - public int propsDataGroupCount; -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs.meta deleted file mode 100644 index c880292..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelinePropsSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cc09cab0990327e40ad3af931637c8fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs deleted file mode 100644 index f0318db..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineStageObjectsSettings - { - [Serializable] - public class Object - { - public int replaceQuality; - - public int objectId; - - public string objectName = string.Empty; - } - - public int objectCount; - - public Object[] objectData = new Object[0]; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs.meta deleted file mode 100644 index 6bd2daf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineStageObjectsSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8d18220ed7da41a4a8069e76d2ec45d4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs deleted file mode 100644 index 5161274..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineSunshaftsSettings - { - public PostEffectLive3D.SunShaftsResolution resolution = PostEffectLive3D.SunShaftsResolution.Normal; - - public PostEffectLive3D.ShaftsScreenBlendMode screenBlendMode = PostEffectLive3D.ShaftsScreenBlendMode.Add; - - public Color sunColor = Color.white; - - public float sunPower; - - public float intensity = 0.5f; - - public float fadeStart = 40f; - - public float fadeMix = 18f; - - public float blackLevel = 0.1f; - - public float komorebiRate; - - public float blurRadius = 5f; - - public int blurIterations = 2; - - public bool isEnabledBorderClear; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs.meta deleted file mode 100644 index e6303a5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSunshaftsSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1da20d856099ac4eb54a0ed2bfcfc72 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs deleted file mode 100644 index 58f9877..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineSwitchSheetAltSetting - { - [Serializable] - public class LeftHanded - { - public int[] targetCharaList = new int[0]; - - public int targetCharaCount; - } - - public LiveTimelineData.AlterSheetMode alterSheetMode; - - public LeftHanded leftHanded; - - public void Init() - { - if (alterSheetMode == LiveTimelineData.AlterSheetMode.LeftHanded) - { - if (leftHanded == null) - { - leftHanded = new LeftHanded(); - } - } - else - { - leftHanded = null; - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs.meta deleted file mode 100644 index 95573ae..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetAltSetting.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 280fbd3d0f2a57548a5d96a1aecc77ca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs deleted file mode 100644 index 82d7436..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineSwitchSheetSetting - { - public int[] characterNo = new int[15]; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs.meta deleted file mode 100644 index bbb2329..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetSetting.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b9133d097cc14d4ca7488767aa30c2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs deleted file mode 100644 index a49838b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineSwitchSheetTargetTimelineSetting - { - public enum Timeline - { - Camera, - PostEffect, - FormationOffset, - PropsAttachControl, - Facial, - Max - } - - public bool[] isTargetTimelineList = new bool[5]; - - public void SetAllOff() - { - for (int i = 0; i < 5; i++) - { - isTargetTimelineList[i] = false; - } - } - - public void SetAllOn() - { - for (int i = 0; i < 5; i++) - { - isTargetTimelineList[i] = true; - } - } - - public void Set(Timeline timeline, bool flag) - { - if (Timeline.Camera <= timeline && (int)timeline < isTargetTimelineList.Length) - { - isTargetTimelineList[(int)timeline] = flag; - } - } - - public bool Get(Timeline timeline) - { - if (Timeline.Camera <= timeline && (int)timeline < isTargetTimelineList.Length) - { - return isTargetTimelineList[(int)timeline]; - } - return false; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs.meta deleted file mode 100644 index 9422808..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineSwitchSheetTargetTimelineSetting.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e1ab5b0b38b5c0e43af7b34091090bca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs deleted file mode 100644 index 8263491..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineTransparentCameraSettings - { - public bool isEnable; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs.meta deleted file mode 100644 index 06c2d82..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/Settings/LiveTimelineTransparentCameraSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a8c41b1a19730d4688df9a08fb7da01 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName.meta deleted file mode 100644 index 384855f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 782ee549fd7891f488289f419d8c4e8e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs deleted file mode 100644 index 77f62b9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class DereLiveTimelineMonitorCameraPositionData : ILiveTimelineGroupDataWithName - { - private const string default_name = "MonitorCameraPos"; - - public DereLiveTimelineKeyMonitorCameraPositionDataList keys = new DereLiveTimelineKeyMonitorCameraPositionDataList(); - - public DereLiveTimelineMonitorCameraPositionData() : base("MonitorCameraPos") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs.meta deleted file mode 100644 index cb3036b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/DereLiveTimelineMonitorCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: faee0d07ce8e24447818d653617afbc2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs deleted file mode 100644 index aa7f6f4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Cutt -{ - public class ILiveTimelineGroupData - { - public virtual ILiveTimelineKeyDataList GetKeyList() - { - return null; - } - - public virtual void UpdateStatus() - { - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs.meta deleted file mode 100644 index 74c2a34..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d8bc164b565565545a2a34a5a9a639b5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs deleted file mode 100644 index 12e612e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace Cutt -{ - public class ILiveTimelineGroupDataWithName : ILiveTimelineGroupData - { - public string name; - - private int _nameHash; - - public int nameHash => _nameHash; - - public override void UpdateStatus() - { - base.UpdateStatus(); - _nameHash = FNVHash.Generate(name); - } - - public ILiveTimelineGroupDataWithName() - { - name = ""; - _nameHash = 0; - } - - public ILiveTimelineGroupDataWithName(string default_name) - { - name = default_name; - _nameHash = FNVHash.Generate(name); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs.meta deleted file mode 100644 index 456b7e3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/ILiveTimelineGroupDataWithName.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58f8f2e540ea4374393a3948caa65a4e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs deleted file mode 100644 index 7f83b7e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineA2UConfigData : ILiveTimelineGroupDataWithName - { - private const string default_name = "A2UConfig"; - - public LiveTimelineKeyA2UConfigDataList keys = new LiveTimelineKeyA2UConfigDataList(); - - public LiveTimelineA2UConfigData() : base("A2UConfig") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs.meta deleted file mode 100644 index 0aa30dd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UConfigData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8524fa9d6412b5b41b8af26a0b55e2d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs deleted file mode 100644 index e38c968..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineA2UData : ILiveTimelineGroupDataWithName - { - private const string default_name = "A2U"; - - public LiveTimelineKeyA2UDataList keys = new LiveTimelineKeyA2UDataList(); - - public LiveTimelineA2UData() : base("A2U") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs.meta deleted file mode 100644 index ff16f12..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineA2UData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c43157b4164e72346893ed982b3df67d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs deleted file mode 100644 index 81f606b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineAnimationData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Animation"; - - public LiveTimelineKeyAnimationDataList keys = new LiveTimelineKeyAnimationDataList(); - - public LiveTimelineAnimationData() : base("Animation") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs.meta deleted file mode 100644 index b732f47..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineAnimationData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ddf591daf1db22b49b43ee070e26c74f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs deleted file mode 100644 index d94173e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineBgColor1Data : ILiveTimelineGroupDataWithName - { - private const string default_name = "BgColor1"; - - public LiveTimelineKeyBgColor1DataList keys = new LiveTimelineKeyBgColor1DataList(); - - public LiveTimelineBgColor1Data() : base("BgColor1") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs.meta deleted file mode 100644 index c265359..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor1Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 72d253ce97599874583f7284a829f3de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs deleted file mode 100644 index 7ec2c86..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineBgColor2Data : ILiveTimelineGroupDataWithName - { - private const string default_name = "BgColor2"; - - public LiveTimelineKeyBgColor2DataList keys = new LiveTimelineKeyBgColor2DataList(); - - public int groupNo = -1; - - public LiveTimelineBgColor2Data() : base("BgColor2") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs.meta deleted file mode 100644 index b14d6b1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor2Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 46b4649f0a79a924988f693ed20f740e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs deleted file mode 100644 index 49b8c06..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineBgColor3Data : ILiveTimelineGroupDataWithName - { - private const string default_name = "BgColor3"; - - public LiveTimelineKeyBgColor3DataList keys = new LiveTimelineKeyBgColor3DataList(); - - public LiveTimelineBgColor3Data() : base("BgColor3") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs.meta deleted file mode 100644 index d711c5c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineBgColor3Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4b2c9ded9ee14634daee0accb8f6efe6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs deleted file mode 100644 index d88a6b7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineColorCorrectionData : ILiveTimelineGroupDataWithName - { - private const string default_name = "ColorCorrection"; - - public LiveTimelineKeyColorCorrectionDataList keys = new LiveTimelineKeyColorCorrectionDataList(); - - public LiveTimelineColorCorrectionData() : base("ColorCorrection") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs.meta deleted file mode 100644 index c77e100..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineColorCorrectionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4b4ef9999124db540a691d8764b43c7a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs deleted file mode 100644 index a9416eb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineDressChangeData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Glass"; - - public LiveTimelineKeyGlassDataList keys = new LiveTimelineKeyGlassDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public LiveTimelineDressChangeData() : base("Glass") { } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs.meta deleted file mode 100644 index a7e788e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineDressChangeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 60edc4157656ce64bb74de54614aa83a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs deleted file mode 100644 index eb42584..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineEffectData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Effect"; - - public LiveTimelineKeyEffectDataList keys = new LiveTimelineKeyEffectDataList(); - - [NonSerialized] - public int updatedKeyFrame; - - public LiveTimelineEffectData() : base("Effect") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs.meta deleted file mode 100644 index e77ead0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEffectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9327c653256de1647a9dd327ab7e32d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs deleted file mode 100644 index 1093bf5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineEnvironmentData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Environment"; - - public LiveTimelineKeyStageEnvironmentDataList keys = new LiveTimelineKeyStageEnvironmentDataList(); - - public LiveTimelineEnvironmentData() : base("Environment") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs.meta deleted file mode 100644 index 30b3158..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineEnvironmentData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fd51fa21a7b628a4fab82ff8ca5b350a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs deleted file mode 100644 index e226015..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineGazingObjectData : ILiveTimelineGroupDataWithName - { - public enum Axis - { - X, - Y, - Z, - X_Negative, - Y_Negative, - Z_Negative - } - - private const string default_name = "Gazing Object"; - - public LiveTimelineKeyGazingObjectDataList keys = new LiveTimelineKeyGazingObjectDataList(); - - public LiveTimelineGazingObjectData.Axis forwardAxis = Axis.Z; - - private static readonly Quaternion[] forwardAxisFixRotations; - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - - static LiveTimelineGazingObjectData() - { - forwardAxisFixRotations = new Quaternion[6] - { - Quaternion.FromToRotation(Vector3.forward, Vector3.left), - Quaternion.FromToRotation(Vector3.forward, Vector3.down), - Quaternion.identity, - Quaternion.FromToRotation(Vector3.forward, Vector3.right), - Quaternion.FromToRotation(Vector3.forward, Vector3.up), - Quaternion.FromToRotation(Vector3.forward, Vector3.back) - }; - } - - public void ApplyFixRotation(ref Quaternion rot) - { - rot *= forwardAxisFixRotations[(int)forwardAxis]; - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs.meta deleted file mode 100644 index 00adf44..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGazingObjectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3c02c78be30f9e94895f98bc26a3e309 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs deleted file mode 100644 index 80522e9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineGlassData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Glass"; - - public LiveTimelineKeyGlassDataList keys = new LiveTimelineKeyGlassDataList(); - - public LiveTimelineGlassData() : base("Glass") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs.meta deleted file mode 100644 index 3627edd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlassData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1066ddb83b8d47940b9e7d1a1c36c8e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs deleted file mode 100644 index 04a382f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineGlobalFogData : ILiveTimelineGroupDataWithName - { - private const string default_name = "GlobalFog"; - - public LiveTimelineKeyGlobalFogDataList keys = new LiveTimelineKeyGlobalFogDataList(); - - public LiveTimelineGlobalFogData() : base("GlobalFog") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs.meta deleted file mode 100644 index 1f49f35..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalFogData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cdaa7a6d61ade0e4d8b01d4a440bf522 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs deleted file mode 100644 index 7217b62..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineGlobalLightData : ILiveTimelineGroupDataWithName - { - private const string default_name = "GlobalLight"; - - public LiveTimelineKeyGlobalLightDataList keys = new LiveTimelineKeyGlobalLightDataList(); - - public LiveTimelineGlobalLightData() : base("GlobalLight") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs.meta deleted file mode 100644 index 93db1ec..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineGlobalLightData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e4297ff48bf361345bd5a2959a5269a9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs deleted file mode 100644 index 0988919..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineHdrBloomData : ILiveTimelineGroupDataWithName - { - private const string default_name = "HdrBloom"; - - public LiveTimelineKeyHdrBloomDataList keys = new LiveTimelineKeyHdrBloomDataList(); - - public LiveTimelineHdrBloomData() : base("HdrBloom") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs.meta deleted file mode 100644 index 3adc456..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineHdrBloomData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 06742ed564a88754eabea8e944dd0cff -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs deleted file mode 100644 index 39c5097..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineLaserData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Laser"; - - public LiveTimelineKeyLaserDataList keys = new LiveTimelineKeyLaserDataList(); - - public LiveTimelineLaserData() : base("Laser") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs.meta deleted file mode 100644 index 1eb2f7b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLaserData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cb62de60cfa386c4384ba0388944d73d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs deleted file mode 100644 index 7c8a70e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineLensFlareData : ILiveTimelineGroupDataWithName - { - private const string default_name = "LensFlare"; - - public LiveTimelineKeyLensFlareDataList keys = new LiveTimelineKeyLensFlareDataList(); - - public LiveTimelineLensFlareData() : base("LensFlare") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs.meta deleted file mode 100644 index 5542d93..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLensFlareData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e0edb6f9476fe74f8a12094bada2b16 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs deleted file mode 100644 index 9224dd2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineLightShuftData : ILiveTimelineGroupDataWithName - { - private const string default_name = "LightShuft"; - - public LiveTimelineKeyLightShuftDataList keys = new LiveTimelineKeyLightShuftDataList(); - - public LiveTimelineLightShuftData() : base("LightShuft") - { - } - - public override ILiveTimelineKeyDataList GetKeyList() - { - return keys; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs.meta deleted file mode 100644 index 35ced7f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineLightShuftData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2f3760ab499ef2848968aa3bb09cb945 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs deleted file mode 100644 index 9499676..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMobCyalume3DLookAtPositionData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Group"; - - public LiveTimelineKeyMobCyalume3DLookAtPositionDataList keys = new LiveTimelineKeyMobCyalume3DLookAtPositionDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public LiveTimelineMobCyalume3DLookAtPositionData() : base("Group") { } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs.meta deleted file mode 100644 index 17ae018..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DLookAtPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: abc820f7d4e8d244da9c1e356a88f642 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs deleted file mode 100644 index a093412..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMobCyalume3DPositionData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Group"; - - public LiveTimelineKeyMobCyalume3DPositionDataList keys = new LiveTimelineKeyMobCyalume3DPositionDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public LiveTimelineMobCyalume3DPositionData() : base("Group") { } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs.meta deleted file mode 100644 index b21b538..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalume3DPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4e6facf57b97c15468b257b58559d7fe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs deleted file mode 100644 index 45b62e2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMobCyalumeData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Group"; - - public LiveTimelineKeyMobCyalumeDataList keys = new LiveTimelineKeyMobCyalumeDataList(); - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public LiveTimelineMobCyalumeData() : base("Group") { } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs.meta deleted file mode 100644 index c6c3e14..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMobCyalumeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1922d06b42c26f0428fe4994e2538b05 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs deleted file mode 100644 index ca0ffed..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMonitorCameraLookAtData : ILiveTimelineGroupDataWithName - { - private const string default_name = "MonitorCameraLookAt"; - - public LiveTimelineKeyMonitorCameraLookAtDataList keys = new LiveTimelineKeyMonitorCameraLookAtDataList(); - - public LiveTimelineMonitorCameraLookAtData() : base("MonitorCameraLookAt") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs.meta deleted file mode 100644 index 3279826..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1863f5d633935d4f881d583489e9a5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs deleted file mode 100644 index 5d1d541..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMonitorControlData : ILiveTimelineGroupDataWithName - { - private const string default_name = "MonitorControl"; - - public LiveTimelineKeyMonitorControlDataList keys = new LiveTimelineKeyMonitorControlDataList(); - - public LiveTimelineMonitorControlData() : base("MonitorControl") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs.meta deleted file mode 100644 index 371dcd5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMonitorControlData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8af34e31e39ceb349b10ae397343d17f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs deleted file mode 100644 index e713ec0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMultiCameraLookAtData : ILiveTimelineGroupDataWithName - { - private const string default_name = "MultiCameraLookAt"; - - public LiveTimelineKeyMultiCameraLookAtDataList keys = new LiveTimelineKeyMultiCameraLookAtDataList(); - - public LiveTimelineMultiCameraLookAtData() : base("MultiCameraLookAt") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs.meta deleted file mode 100644 index 4c38f92..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5b8926dc68be4964f9601ab77da2671b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs deleted file mode 100644 index 21444f7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineMultiCameraPositionData : ILiveTimelineGroupDataWithName - { - private const string default_name = "MultiCameraPos"; - - public LiveTimelineKeyMultiCameraPositionDataList keys = new LiveTimelineKeyMultiCameraPositionDataList(); - - public LiveTimelineMultiCameraPositionData() : base("MultiCameraPos") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs.meta deleted file mode 100644 index d286e09..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineMultiCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: af23adc067ae9214c8ba2b96436a5b34 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs deleted file mode 100644 index fc79861..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs +++ /dev/null @@ -1,130 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineObjectData : ILiveTimelineGroupDataWithName - { - public delegate void TimelineTransformUpdateDelegate(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData); - - private const string default_name = "Object Object"; - - public LiveTimelineKeyObjectDataList keys = new LiveTimelineKeyObjectDataList(); - - public bool enablePosition = true; - - public bool enableRotate = true; - - public bool enableScale = true; - - public TimelineTransformUpdateDelegate OnUpdateTimelineTransform = TimelineTransformUpdateXXX; - - public LiveTimelineObjectData() : base("Object Object") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public override void UpdateStatus() - { - base.UpdateStatus(); - if (enablePosition) - { - if (enableRotate) - { - if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdatePRS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdatePRX; - } - } - else if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdatePXS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdatePXX; - } - } - else if (enableRotate) - { - if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdateXRS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdateXRX; - } - } - else if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdateXXS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdateXXX; - } - } - - - public static void TimelineTransformUpdateXXX(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = startData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdatePXX(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = startData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdateXRX(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = updateData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdateXXS(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = startData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdatePRX(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = updateData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdatePXS(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = startData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdateXRS(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = updateData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdatePRS(Transform transform, ref LiveTimelineTransformData.TransformBaseData updateData, ref LiveTimelineTransformData.TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = updateData.rotation; - transform.localScale = updateData.scale; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs.meta deleted file mode 100644 index 44c6868..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineObjectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1c62256e7fbbb404bbf76da4ffcd14f3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs deleted file mode 100644 index b8cb98e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineParticleData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Particle"; - - public LiveTimelineKeyParticleDataList keys = new LiveTimelineKeyParticleDataList(); - - public LiveTimelineParticleData() : base("Particle") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs.meta deleted file mode 100644 index aead379..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8d73a9850bd34f149a5cc49fb8cb1d0c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs deleted file mode 100644 index 03ef0b5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineParticleGroupData : ILiveTimelineGroupDataWithName - { - private const string default_name = "ParticleGroup"; - - public LiveTimelineKeyParticleGroupDataList keys = new LiveTimelineKeyParticleGroupDataList(); - - public LiveTimelineParticleGroupData() : base("ParticleGroup") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs.meta deleted file mode 100644 index d63ed77..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineParticleGroupData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9539bd70633e6084abbe36fe5e329b0e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs deleted file mode 100644 index 9ce4b75..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineProjectorData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Projector"; - - public LiveTimelineKeyProjectorDataList keys = new LiveTimelineKeyProjectorDataList(); - - public LiveTimelineProjectorData() : base("Projector") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs.meta deleted file mode 100644 index fcdc667..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineProjectorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 06dc87046d80569438c265062a6b1a20 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs deleted file mode 100644 index 2f18d06..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelinePropsAttachData : ILiveTimelineGroupDataWithName - { - private const string default_name = "PropsAttach"; - - public LiveTimelineKeyPropsAttachDataList keys = new LiveTimelineKeyPropsAttachDataList(); - - [NonSerialized] - public int updatedKeyFrame = -1; - - public LiveTimelinePropsAttachData() : base("PropsAttach") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs.meta deleted file mode 100644 index cb5a5bc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsAttachData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a0c4fd8a67d853146b1db404ea5d21ee -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs deleted file mode 100644 index 4c0ac8c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelinePropsData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Props"; - - public LiveTimelineKeyPropsDataList keys = new LiveTimelineKeyPropsDataList(); - - public LiveTimelinePropsData() : base("Props") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs.meta deleted file mode 100644 index 42d7f52..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelinePropsData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dae9d7d7626ee36479a90d4426bf9b95 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs deleted file mode 100644 index 2154827..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineRendererData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Renderer Object"; - - public LiveTimelineKeyRendererDataList keys = new LiveTimelineKeyRendererDataList(); - - public LiveTimelineRendererData() : base("Renderer Object") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs.meta deleted file mode 100644 index fdf1e9f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineRendererData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 089535ebf561e4c47b67a148b2e1cbda -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs deleted file mode 100644 index 092abb5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineShaderControlData : ILiveTimelineGroupDataWithName - { - private const string default_name = "ShaderControl"; - - public LiveTimelineKeyShaderControlDataList keys = new LiveTimelineKeyShaderControlDataList(); - - [NonSerialized] - public int updatedKeyFrame = -1; - - public LiveTimelineShaderControlData() : base("ShaderControl") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs.meta deleted file mode 100644 index 9367d42..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineShaderControlData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 592f8c82a6a262d4a861e1fc7093c4dd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs deleted file mode 100644 index 61a57e5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineStageGazeData : ILiveTimelineGroupDataWithName - { - private const string default_name = "StageGaze"; - - public LiveTimelineKeyStageGazeDataList keys = new LiveTimelineKeyStageGazeDataList(); - - public int groupNo; - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public LiveTimelineStageGazeData() : base("StageGaze") { } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs.meta deleted file mode 100644 index 024569b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineStageGazeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d8549bb7b8adeef4ea5b9bce9b9607ee -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs deleted file mode 100644 index 2aed573..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineSweatLocatorData : ILiveTimelineGroupDataWithName - { - private const string default_name = "SweatLocator"; - - public LiveTimelineKeySweatLocatorDataList keys = new LiveTimelineKeySweatLocatorDataList(); - - [NonSerialized] - public List randomVisibleIndex = new List(); - - public LiveTimelineSweatLocatorData() : base("SweatLocator") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs.meta deleted file mode 100644 index 226d71f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineSweatLocatorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 50850147a73be7345b067cedc065782f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs deleted file mode 100644 index 7fa76c5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineTextureAnimationData : ILiveTimelineGroupDataWithName - { - private const string default_name = "Texture Animation"; - - public LiveTimelineKeyTextureAnimationDataList keys = new LiveTimelineKeyTextureAnimationDataList(); - - public LiveTimelineTextureAnimationData() : base("Texture Animation") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs.meta deleted file mode 100644 index 2d8848a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTextureAnimationData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e2312a5ea4952ab4d996ba7d935ecb52 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs deleted file mode 100644 index f72cc2d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineTransformData : ILiveTimelineGroupDataWithName - { - public struct TransformBaseData - { - public Vector3 position; - - public Quaternion rotation; - - public Vector3 scale; - } - - public delegate void TimelineTransformUpdateDelegate(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData); - - private const string default_name = "Transform Object"; - - public LiveTimelineKeyTransformDataList keys = new LiveTimelineKeyTransformDataList(); - - public bool enablePosition = true; - - public bool enableRotate = true; - - public bool enableScale; - - public TimelineTransformUpdateDelegate OnUpdateTimelineTransform = LiveTimelineTransformData.TimelineTransformUpdateXXX; - - public LiveTimelineTransformData() : base("Transform Object") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - - public override void UpdateStatus() - { - base.UpdateStatus(); - if (enablePosition) - { - if (enableRotate) - { - if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdatePRS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdatePRX; - } - } - else if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdatePXS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdatePXX; - } - } - else if (enableRotate) - { - if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdateXRS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdateXRX; - } - } - else if (enableScale) - { - OnUpdateTimelineTransform = TimelineTransformUpdateXXS; - } - else - { - OnUpdateTimelineTransform = TimelineTransformUpdateXXX; - } - } - - public static void TimelineTransformUpdateXXX(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = startData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdatePXX(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = startData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdateXRX(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = updateData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdateXXS(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = startData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdatePRX(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = updateData.rotation; - transform.localScale = startData.scale; - } - - public static void TimelineTransformUpdatePXS(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = startData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdateXRS(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = startData.position; - transform.localRotation = updateData.rotation; - transform.localScale = updateData.scale; - } - - public static void TimelineTransformUpdatePRS(Transform transform, ref TransformBaseData updateData, ref TransformBaseData startData) - { - transform.localPosition = updateData.position; - transform.localRotation = updateData.rotation; - transform.localScale = updateData.scale; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs.meta deleted file mode 100644 index c9bec8a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineTransformData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 78e1773babb9e5e4f90478bb07910060 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs deleted file mode 100644 index 589f966..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineVolumeLightData : ILiveTimelineGroupDataWithName - { - private const string default_name = "SunShafts"; - - public LiveTimelineKeyVolumeLightDataList keys = new LiveTimelineKeyVolumeLightDataList(); - - public LiveTimelineVolumeLightData() : base("SunShafts") { } - - public override ILiveTimelineKeyDataList GetKeyList() { return keys; } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs.meta deleted file mode 100644 index 8981be2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimeline/WithName/LiveTimelineVolumeLightData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16a0d2324164e4a45be4358350360860 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs deleted file mode 100644 index 5e80672..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs +++ /dev/null @@ -1,5669 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Reflection; -using System.Text.RegularExpressions; -using UnityEngine; - -namespace Cutt -{ - public class LiveTimelineControl : MonoBehaviour - { - public struct FindTimelineConfig - { - public enum KeyType - { - KeyDirect, - CurrentFrame - } - - public KeyType keyType; - - public ILiveTimelineKeyDataList posKeys; - - public ILiveTimelineKeyDataList lookAtKeys; - - public LiveTimelineKey curKey; - - public LiveTimelineKey nextKey; - - public int extraCameraIndex; - } - - private class ProjectorWork - { - public int lineHash; - - public int startFrame = -1; - - public float progressTime; - } - - public static class Drawing - { - private static Texture2D aaLineTex; - - private static Texture2D lineTex; - - private static Material blitMaterial; - - private static Material blendMaterial; - - private static Rect lineRect; - - public static void DrawLine(Vector2 pointA, Vector2 pointB, Color color, float width, bool antiAlias) - { - if (!lineTex) - { - Initialize(); - } - float num = pointB.x - pointA.x; - float num2 = pointB.y - pointA.y; - float num3 = Mathf.Sqrt(num * num + num2 * num2); - if (!(num3 < 0.001f)) - { - Texture2D texture; - Material mat; - if (antiAlias) - { - width *= 3f; - texture = aaLineTex; - mat = blendMaterial; - } - else - { - texture = lineTex; - mat = blitMaterial; - } - float num4 = width * num2 / num3; - float num5 = width * num / num3; - Matrix4x4 identity = Matrix4x4.identity; - identity.m00 = num; - identity.m01 = 0f - num4; - identity.m03 = pointA.x + 0.5f * num4; - identity.m10 = num2; - identity.m11 = num5; - identity.m13 = pointA.y - 0.5f * num5; - GL.PushMatrix(); - GL.MultMatrix(identity); - Graphics.DrawTexture(lineRect, texture, lineRect, 0, 0, 0, 0, color, mat); - GL.PopMatrix(); - } - } - - public static void DrawBezierLine(Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, bool antiAlias, int segments) - { - Vector2 pointA = CubeBezier(start, startTangent, end, endTangent, 0f); - for (int i = 1; i < segments; i++) - { - Vector2 vector = CubeBezier(start, startTangent, end, endTangent, (float)i / (float)segments); - DrawLine(pointA, vector, color, width, antiAlias); - pointA = vector; - } - } - - private static Vector2 CubeBezier(Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t) - { - float num = 1f - t; - return num * num * num * s + 3f * num * num * t * st + 3f * num * t * t * et + t * t * t * e; - } - - static Drawing() - { - aaLineTex = null; - lineTex = null; - blitMaterial = null; - blendMaterial = null; - lineRect = new Rect(0f, 0f, 1f, 1f); - Initialize(); - } - - private static void Initialize() - { - if (lineTex == null) - { - lineTex = new Texture2D(1, 1, TextureFormat.ARGB32, mipChain: false); - lineTex.SetPixel(0, 1, Color.white); - lineTex.Apply(); - } - if (aaLineTex == null) - { - aaLineTex = new Texture2D(1, 3, TextureFormat.ARGB32, mipChain: false); - aaLineTex.SetPixel(0, 0, new Color(1f, 1f, 1f, 0f)); - aaLineTex.SetPixel(0, 1, Color.white); - aaLineTex.SetPixel(0, 2, new Color(1f, 1f, 1f, 0f)); - aaLineTex.Apply(); - } - blitMaterial = (Material)typeof(GUI).GetMethod("get_blitMaterial", BindingFlags.Static | BindingFlags.NonPublic).Invoke(null, null); - blendMaterial = (Material)typeof(GUI).GetMethod("get_blendMaterial", BindingFlags.Static | BindingFlags.NonPublic).Invoke(null, null); - } - } - - private const int BG_COLOR3_COLOR_NUM = 10; - - private const float DefaultCameraAspectRatio = 1.77777779f; - - public LiveTimelineData data; - - private bool isDataLoaded; - - public const int kTargetFps = 60; - - public const float kTargetFpsF = 60f; - - public const float kFrameToSec = 0.0166666675f; - - public Transform cameraPositionLocatorsRoot; - - public Transform cameraLookAtLocatorsRoot; - - public Transform[] characterStandPosLocators = new Transform[liveCharaPositionMax]; - - private int _numLaserParts = 5; - - private Vector3[] _arrLaserPosition = new Vector3[5]; - - private Vector3[] _arrLaserRotation = new Vector3[5]; - - private Vector3[] _arrLaserScale = new Vector3[5]; - - private bool _isNowAlterUpdate; - - private float _currentLiveTime; - - private float _oldLiveTime; - - private int _currentFrame; - - private int _oldFrame; - - private float _deltaTime; - - private float _deltaTimeRatio; - - private bool _isEnablePostEffect = true; - - private Vector3 _cameraLayerOffset = Vector3.zero; - - private Vector3 _extraCameraLayerOffset = Vector3.zero; - - private bool _isExtraCameraLayer; - - private const float kCameraLayerOffsetMinCharaHeight = 127f; - - private const float kCameraLayerOffsetMaxCharaHeight = 182f; - - private const float kCameraLayerOffsetBaseDiff = 55f; - - private Dictionary[] _ignoreLaserHashDic; - - private float _facialNoiseLimitTime = 0.5f; - - private float[] _facialNoiseLimitTimeArray = new float[14]; - - private int[] _facialNoiseFrameArray = new int[14]; - - private TimelinePlayerMode _playMode = TimelinePlayerMode.Default; - - private BgColor3UpdateInfo _bgColor3UpdateInfo; - - public float _baseCameraAspectRatio = DefaultCameraAspectRatio; - - public bool _limitFovForWidth; - - private bool _isUnloadAssetWorkSheet = true; - - private string _animationClipLoadDir; - - private int _activeSheetIndex = -1; - - private bool _isActiveSheetIndexAlt; - - private float _chrMotNoiseBaseBias; - - private float _chrMotNoiseRange = 0.07f; - - private float _chrMotNoiseFrequency = 10f; - - private float[] _charaMotNoiseTimeArray = new float[liveCharaPositionMax]; - - private Vector3[] _arrMobCyalume3DLookAtPosition = new Vector3[11]; - - private Vector3[] _arrMobCyalume3DPosition = new Vector3[11]; - - private const int PartsMotionNum = 4; - - private Vector3[] _heightMotionOffsetRate = new Vector3[4]; - - private LiveTimelineKeyCharaIKData.IKPart[] _heightMotionOffsetTargetPart = new LiveTimelineKeyCharaIKData.IKPart[4]; - - private CacheCamera[] _cameraArray = new CacheCamera[3]; - - private LiveTimelineCamera[] _cameraScriptArray = new LiveTimelineCamera[3]; - - private Dictionary _cameraPositionLocatorDict; - - private Dictionary _cameraLookAtLocatorDict; - - private ILiveTimelineCharactorLocator[] _liveCharactorLocators = new ILiveTimelineCharactorLocator[liveCharaPositionMax]; - - private static int _liveCharaPositionMax = -1; - - public const int liveCharaPositionEditorDefault = 5; - - private Vector3 _liveStageCenterPos = Vector3.zero; - - private LiveTimelineEventPublisher _eventPublisher; - - private LiveTimelineMotionSequence[] _motionSequenceArray = new LiveTimelineMotionSequence[liveCharaPositionMax]; - - private static Func fnGetCameraPosValue = GetCameraPosValue; - - private static Func fnGetCameraLookAtValue = GetCameraLookAtValue; - - private int lastTriggeredEventFrame = -1; - - private ProjectorWork[] _projectorWorks; - - private int[] _formationOffsetStartFrameArray = new int[liveCharaPositionMax]; - - private LiveTimelineKeyFormationOffsetData[] _formationOffsetLateUpdateKey = new LiveTimelineKeyFormationOffsetData[liveCharaPositionMax * 2]; - - private bool _drawDeltaTimeGraph; - - private const int kDeltaTimeArrayLength = 300; - - private float[] _deltaTimeArrayForGraph = new float[kDeltaTimeArrayLength]; - - private int _headIndexOfDeltaTimeArray; - - private float graphXMargin = 200f; - - private float graphYMargin; - - private float graphWidth; - - private float graphHeight = 50f; - - private LiveCharaPositionFlag _enviromentShadowCharacterPositionFlag = (LiveCharaPositionFlag)(-1); - - private bool _enviromentSoftShadow; - - private int _colorCorrectionCameraIndex = -1; - - private SweatLocatorUpdateInfo _sweatLocatorUpdateInfo = new SweatLocatorUpdateInfo(5); - - private List _sweatLocatorRandomIndex = new List(); - - private CacheCamera _crossFadeCameraCache; - - private CacheCamera[] _arrMonitorCameraCache; - - private float[] _arrMonitorCameraRoll; - - private static Func fnGetMonitorCameraPositionValue = GetMonitorCameraPositionValue; - - private static Func fnGetMonitorCameraLookAtValue = GetMonitorCameraLookAtValue; - - private CacheCamera[] _multiCameraCache; - - private MultiCamera[] _multiCamera; - - private MultiCameraManager _multiCameraManager; - - private bool _isMultiCameraEnable; - - private static Func fnGetMultiCameraPositionValueFunc = GetMultiCameraPositionValue; - - private static Func fnGetMultiCameraLookAtValueFunc = GetMultiCameraLookAtValue; - - public Vector3 cameraLayerOffset => _cameraLayerOffset; - - public float facialNoiseLimitTime - { - get - { - return _facialNoiseLimitTime; - } - set - { - float num = _facialNoiseLimitTime; - _facialNoiseLimitTime = value; - if (_facialNoiseLimitTime != num) - { - InitFacialNoise(); - } - } - } - - public TimelinePlayerMode playMode - { - set - { - _playMode = value; - } - } - - private float kChrMotNoiseCurveRate => (float)Math.PI * 2f / _chrMotNoiseFrequency; - - private static bool availableFindKeyCache => true; - - public float currentLiveTime - { - get - { - return _currentLiveTime; - } - private set - { - _currentLiveTime = value; - } - } - - public bool isEnablePostEffect - { - get - { - return _isEnablePostEffect; - } - set - { - _isEnablePostEffect = value; - } - } - - public CacheCamera[] cameraArray - { - get - { - return _cameraArray; - } - private set - { - _cameraArray = value; - } - } - - private LiveTimelineCamera[] cameraScriptArray => _cameraScriptArray; - - private Dictionary cameraPositionLocatorDict - { - get - { - if (_cameraPositionLocatorDict == null) - { - _cameraPositionLocatorDict = new Dictionary(); - if (cameraPositionLocatorsRoot != null) - { - Transform[] componentsInChildren = cameraPositionLocatorsRoot.GetComponentsInChildren(); - foreach (Transform transform in componentsInChildren) - { - _cameraPositionLocatorDict[transform.name] = transform; - } - } - } - return _cameraPositionLocatorDict; - } - } - - private Dictionary cameraLookAtLocatorDict - { - get - { - if (_cameraLookAtLocatorDict == null) - { - _cameraLookAtLocatorDict = new Dictionary(); - if (cameraLookAtLocatorsRoot != null) - { - Transform[] componentsInChildren = cameraLookAtLocatorsRoot.GetComponentsInChildren(); - foreach (Transform transform in componentsInChildren) - { - _cameraLookAtLocatorDict[transform.name] = transform; - } - } - } - return _cameraLookAtLocatorDict; - } - } - - public ILiveTimelineCharactorLocator[] liveCharactorLocators => _liveCharactorLocators; - - public static int liveCharaPositionMax - { - get - { - if (_liveCharaPositionMax < 0) - { - _liveCharaPositionMax = Enum.GetValues(typeof(LiveCharaPosition)).Length; - } - return _liveCharaPositionMax; - } - } - - public Vector3 liveStageCenterPos - { - get - { - return _liveStageCenterPos; - } - set - { - _liveStageCenterPos = value; - } - } - - public LiveTimelineEventPublisher eventPublisher - { - get - { - if (_eventPublisher == null) - { - _eventPublisher = new LiveTimelineEventPublisher(); - } - return _eventPublisher; - } - } - public event Action OnStartUpdate; - - public event Action OnPreUpdateAllTimeline; - - public event Action OnPostUpdateAllTimeline; - - public event CameraPosUpdateInfoDelegate OnUpdateCameraPos; - - public event BgColor1UpdateInfoDelegate OnUpdateBgColor1; - - public event BgColor2UpdateInfoDelegate OnUpdateBgColor2; - - public event BgColor3UpdateInfoDelegate OnUpdateBgColor3; - - public event VolumeLightUpdateInfoDelegate OnUpdateVolumeLight; - - public event HdrBloomUpdateInfoDelegate OnUpdateHdrBloom; - - public event MonitorControlUpdateInfoDelegate OnUpdateMonitorControl; - - public event Action OnUpdateCameraSwitcher; - - public event Action OnUpdateLipSync; - - public event PostEffectUpdateInfoDelegate OnUpdatePostEffect; - - public event ScreenOverlayUpdateInfoDelegate OnUpdatePostFilm; - - public event ScreenOverlayUpdateInfoDelegate OnUpdatePostFilm2; - - public event ProjectorUpdateInfoDelegate OnUpdateProjector; - - public event AnimationUpdateInfoDelegate OnUpdateAnimation; - - public event TextureAnimationUpdateInfoDelegate OnUpdateTextureAnimation; - - public event TransformUpdateInfoDelegate OnUpdateTransform; - - public event RendererUpdateInfoDelegate OnUpdateRenderer; - - public event ObjectUpdateInfoDelegate OnUpdateObject; - - public event GazingObjectUpdateInfoDelegate OnUpdateGazingObject; - - public event ScreenFadeUpdateInfoDelegate OnUpdateScreenFade; - - public event PropsUpdateInfoDelegate OnUpdateProps; - - public event PropsAttachUpdateInfoDelegate OnUpdatePropsAttach; - - public event Action OnUpdateFacial; - - public event ParticleUpdateInfoDelegate OnUpdateParticle; - - public event ParticleGroupUpdateInfoDelegate OnUpdateParticleGroup; - - public event LaserUpdateInfoDelegate OnUpdateLaser; - - public event EffectUpdateInfoDelegate OnUpdateEffect; - - public event FormationOffsetUpdateInfoDelegate OnUpdateFormationOffset; - - public event EnvironmentCharacterShadowDelegate OnEnvironmentCharacterShadow; - - public event EnvironmentMirrorDelegate OnEnvironmentMirror; - - public event EnvironmentGlobalLightDelegate OnEnvironmentGlobalLight; - - public event GlobalFogDelegate OnGlobalFog; - - public event TiltShiftDelegate OnUpdateTiltShift; - - public event LightShuftDelegate OnLightShuft; - - public event ColorCorrectionDelegate OnColorCorrection; - - public event SweatLocatorUpdateInfoDelegate OnUpdateSweatLocator; - - public event LensFlareUpdateInfoDelegate OnUpdateLensFlare; - - public event A2UConfigUpdateInfoDelegate OnUpdateA2UConfig; - - public event A2UUpdateInfoDelegate OnUpdateA2U; - - public event MonitorCameraUpdateDelegate OnUpdateMonitorCamera; - - public event GlassUpdateInfoDelegate OnUpdateGlass; - - public event ShaderControlUpdateInfoDelegate OnUpdateShaderControl; - - public event CySpringUpdateInfoDelegate OnUpdateCySpring; - - public event CharaIKUpdateInfoDelegate OnUpdateIK; - - public event CharaFootLightUpdateInfoDelegate OnUpdateCharaFootLight; - - public event StageGazeControlUpdateInfoDelegate OnUpdateStageGazeControl; - - public event MobCyalumeUpdateInfoDelegate OnUpdateMobCyalume; - - public event MobCyalume3DUpdateInfoDelegate OnUpdateMobCyalume3D; - - public event CrossFadeCameraUpdateInfoDelegate OnUpdateCrossFadeCamera; - - public event MultiCameraUpdateInfoDelegate OnUpdateMultiCamera; - - public event CharaHeightMotionUpdateInfoDelegate OnCharaHeightMotionUpdateInfo; - - public event CharaWindUpdateInfoDelegate OnCharaWindUpdate; - - public event DressChangeUpdateInfoDelegate OnUpdateDressChange; - - public Vector3 GetExtraCameraLayerOffset(Quaternion worldRotation) - { - if (!_isExtraCameraLayer) - { - return _cameraLayerOffset; - } - return worldRotation * _extraCameraLayerOffset; - } - - public void SetUnloadAssetWorkSheet(bool b) - { - _isUnloadAssetWorkSheet = b; - } - - public void SetActiveSheetIndex(int index, bool isAlt = false) - { - _activeSheetIndex = index; - _activeSheetIndex = index; - _isActiveSheetIndexAlt = isAlt; - } - public CacheCamera GetCamera(int index) - { - if (index < 0 || index >= _cameraArray.Length) - { - return null; - } - return _cameraArray[index]; - } - - public LiveTimelineCamera GetCameraScript(int index) - { - if (index < 0 || index >= _cameraScriptArray.Length) - { - return null; - } - return _cameraScriptArray[index]; - } - - public Vector3 GetCameraPos(int index) - { - return GetCamera(index)?.cacheTransform.position ?? Vector3.zero; - } - - public Transform FindPositionLocator(string name) - { - if (cameraPositionLocatorsRoot == null || string.IsNullOrEmpty(name)) - { - return null; - } - if (!cameraPositionLocatorDict.TryGetValue(name, out var value)) - { - return null; - } - return value; - } - - public Transform FindLookAtLocator(string name) - { - if (cameraLookAtLocatorsRoot == null || string.IsNullOrEmpty(name)) - { - return null; - } - if (!cameraLookAtLocatorDict.TryGetValue(name, out var value)) - { - return null; - } - return value; - } - - public bool SetCharactorParentLocator(int id, Transform parentTransform) - { - if (_liveCharactorLocators.Length <= id) - { - return false; - } - if (_liveCharactorLocators[id] == null) - { - return false; - } - _liveCharactorLocators[id].liveParentTransform = parentTransform; - return true; - } - - public void SetCharactorLocator(LiveCharaPosition position, ILiveTimelineCharactorLocator locator) - { - if (locator == null) - { - liveCharactorLocators[(int)position] = null; - } - else - { - locator.liveCharaStandingPosition = position; - liveCharactorLocators[(int)position] = locator; - } - InitCharaMotionSequence(position); - if (locator != null) - { - if ((int)position < characterStandPosLocators.Length && characterStandPosLocators[(int)position] != null && locator.liveRootTransform != null) - { - locator.liveRootTransform.position = characterStandPosLocators[(int)position].position; - locator.liveCharaInitialPosition = characterStandPosLocators[(int)position].position; - } - float num = locator.liveCharaHeightValue - kCameraLayerOffsetMinCharaHeight; - locator.liveCharaHeightRatio = num / kCameraLayerOffsetBaseDiff; - if (Mathf.Abs(locator.liveCharaHeightRatio) < 0.001f) - { - locator.liveCharaHeightRatio = 0f; - } - } - } - - public void ChangeCharacterLocator(LiveCharaPosition position, ILiveTimelineCharactorLocator locator) - { - if (locator == null) - { - liveCharactorLocators[(int)position] = null; - } - else - { - locator.liveCharaStandingPosition = position; - liveCharactorLocators[(int)position] = locator; - } - ChangeMotionTarget(position); - } - - public void SetTimelineCamera(Camera cam, int index) - { - if (index < _cameraArray.Length) - { - if (_cameraArray[index] == null) - { - _cameraArray[index] = new CacheCamera(cam); - } - else - { - _cameraArray[index].Set(cam); - } - LiveTimelineCamera liveTimelineCamera = cam.gameObject.GetComponent(); - if (liveTimelineCamera == null) - { - liveTimelineCamera = cam.gameObject.AddComponent(); - } - _cameraScriptArray[index] = liveTimelineCamera; - if (liveTimelineCamera != null) - { - liveTimelineCamera.AlterAwake(); - } - } - } - - public void InitCharaMotionSequence(LiveCharaPosition position) - { - if (data == null) - { - return; - } - if (liveCharactorLocators[(int)position] == null) - { - return; - } - List charaMotSeqList = data.GetWorkSheetList()[0].charaMotSeqList; - List charaMotOverwriteList = data.GetWorkSheetList()[0].charaMotOverwriteList; - LiveTimelineCharaMotSeqData liveTimelineCharaMotSeqData = null; - LiveTimelineCharaOverrideMotSeqData liveTimelineCharaOverrideMotSeqData = null; - List charaHeightMotList = data.GetWorkSheetList()[0].charaHeightMotList; - LiveTimelineCharaHeightMotSeqData liveTimelineCharaHeightMotSeqData = null; - if ((int)position < data.characterSettings.motionSequenceIndices.Length) - { - int num = data.characterSettings.motionSequenceIndices[(int)position]; - if (num >= 0 && num < charaMotSeqList.Count) - { - liveTimelineCharaMotSeqData = charaMotSeqList[num]; - } - } - if ((int)position < data.characterSettings.motionOverwriteIndices.Length) - { - int num2 = data.characterSettings.motionOverwriteIndices[(int)position]; - if (num2 >= 0 && num2 < charaMotOverwriteList.Count) - { - liveTimelineCharaOverrideMotSeqData = charaMotOverwriteList[num2]; - } - } - foreach (LiveTimelineCharaHeightMotSeqData item in charaHeightMotList) - { - if (item.charaPosition == position) - { - liveTimelineCharaHeightMotSeqData = item; - break; - } - } - if (liveTimelineCharaMotSeqData != null && liveCharactorLocators[(int)position] is ILiveTimelineMSQTarget) - { - if (_motionSequenceArray[(int)position] == null) - { - _motionSequenceArray[(int)position] = new LiveTimelineMotionSequence(); - } - ILiveTimelineMSQTarget liveTimelineMSQTarget = liveCharactorLocators[(int)position] as ILiveTimelineMSQTarget; - LiveTimelineMotionSequence.Context context = default(LiveTimelineMotionSequence.Context); - context.motionKeys = liveTimelineCharaMotSeqData.keys; - context.overwriteMotionKeys = liveTimelineCharaOverrideMotSeqData?.keys; - context.heightMotionKeys = liveTimelineCharaHeightMotSeqData?.keys; - context.timelineControl = this; - if (liveTimelineMSQTarget.spareTarget != null) - { - ILiveTimelineMSQTarget[] spareTarget = liveTimelineMSQTarget.spareTarget; - for (int i = 0; i < spareTarget.Length; i++) - { - ILiveTimelineMSQTarget liveTimelineMSQTarget2 = (context.target = spareTarget[i]); - _motionSequenceArray[(int)position].Initialize(ref context); - _motionSequenceArray[(int)position].AlterUpdate(0f,60f); - } - } - context.target = liveTimelineMSQTarget; - _motionSequenceArray[(int)position].Initialize(ref context); - } - else - { - _motionSequenceArray[(int)position] = null; - } - } - - public void ChangeMotionTarget(LiveCharaPosition position) - { - if (liveCharactorLocators[(int)position] != null) - { - ILiveTimelineMSQTarget liveTimelineMSQTarget = liveCharactorLocators[(int)position] as ILiveTimelineMSQTarget; - if (liveTimelineMSQTarget != null && _motionSequenceArray[(int)position] != null) - { - _motionSequenceArray[(int)position].ChangeTarget(liveTimelineMSQTarget); - } - else - { - _motionSequenceArray[(int)position] = null; - } - } - } - - private void Awake() - { - currentLiveTime = 0f; - _bgColor3UpdateInfo.colorArray = new Color[BG_COLOR3_COLOR_NUM]; - for (int i = 0; i < _bgColor3UpdateInfo.colorArray.Length; i++) - { - _bgColor3UpdateInfo.colorArray[i] = default(Color); - } - } - - private void OnDestroy() - { - Terminate(); - } - - private void Start() - { - } - - public void Initialize(string charaMotionPath = null) - { - if (charaMotionPath == null) - { - _animationClipLoadDir = "3D/Chara/Motion/Legacy/"; - } - else - { - _animationClipLoadDir = Regex.Replace(charaMotionPath, "[^/]+$", ""); - } - if (LoadData() == null) - { - return; - } - eventPublisher.BeginPublish(); - InitFacialNoise(); - InitCharaMotionNoise(); - InitFormationOffsetWork(); - CreateIgnoreLaserHashDic(); - eventPublisher.Subscribe(LiveTimelineEventID.CameraHandShake, delegate (LiveTimelineKeyEventData.EventData eventData) - { - for (int i = 0; i < _cameraScriptArray.Length; i++) - { - LiveTimelineCamera liveTimelineCamera = _cameraScriptArray[i]; - if (!(liveTimelineCamera == null)) - { - CuttEventParam_CameraHandShake parameter = eventData.GetParameter(); - if (parameter != null) - { - liveTimelineCamera.applyNoise = parameter.isEnable; - if (parameter.isOverwrite) - { - liveTimelineCamera.positionAmount = parameter.positionAmount; - liveTimelineCamera.rotationAmount = parameter.rotationAmount; - liveTimelineCamera.positionComponents = (Vector3)parameter.positionComponents; - liveTimelineCamera.rotationComponents = (Vector3)parameter.rotationComponents; - } - } - } - } - }); - } - - private void Terminate() - { - eventPublisher.EndPublish(); - UnloadData(); - } - - public LiveTimelineData LoadData() - { - if (!isDataLoaded && data != null) - { - data.OnLoad(this); - isDataLoaded = true; - } - return data; - } - - private void UnloadData() - { - if (!(data == null)) - { - if (_isUnloadAssetWorkSheet) - { - data.UnloadSheets(); - Resources.UnloadAsset(data); - } - data = null; - isDataLoaded = false; - } - } - - public AnimationClip LoadAnimationClip(LiveTimelineKeyCharaMotionData key) - { - if (key.clip != null && key.clip.name != key.motionName) - { - key.clip = null; - } - if (key.clip != null) - { - //ƒLƒƒƒ‰ƒ‚�[ƒVƒ‡ƒ“‚ÌFPS‚ðŽw’è - key.clip.frameRate = Application.targetFrameRate; - return key.clip; - } - if (string.IsNullOrEmpty(key.motionName)) - { - return null; - } - string text = GetAnimationClipLoadDir() + key.motionName; - /* - if (Application.isEditor && !Application.isPlaying) - { - return Resources.Load(text); - } - */ - - //ƒLƒƒƒ‰ƒ‚�[ƒVƒ‡ƒ“‚ÌFPS‚ðŽw’è - AnimationClip clip = (AnimationClip)ResourcesManager.instance.LoadObject(text); - clip.frameRate = Application.targetFrameRate; - return clip; - } - - public string GetAnimationClipLoadDir() - { - return _animationClipLoadDir; - } - - /// - /// ŒûƒpƒN‚ɃmƒCƒY‚ð�ڂ¹‚é - /// - - private void InitFacialNoise() - { - float[] array = new float[14] - { - _facialNoiseLimitTime * -1f, - _facialNoiseLimitTime * -0.857f, - _facialNoiseLimitTime * -0.714f, - _facialNoiseLimitTime * -0.571f, - _facialNoiseLimitTime * -0.428f, - _facialNoiseLimitTime * -0.285f, - _facialNoiseLimitTime * -0.142f, - _facialNoiseLimitTime * 0.142f, - _facialNoiseLimitTime * 0.285f, - _facialNoiseLimitTime * 0.428f, - _facialNoiseLimitTime * 0.571f, - _facialNoiseLimitTime * 0.714f, - _facialNoiseLimitTime * 0.857f, - _facialNoiseLimitTime * 1f - }; - int num = array.Length; - for (int i = 0; i < _facialNoiseLimitTimeArray.Length; i++) - { - int num2 = num - i - 1; - int num3 = ((num2 != 0) ? UnityEngine.Random.Range(0, num2) : 0); - _facialNoiseLimitTimeArray[i] = array[num3]; - array[num3] = array[num2]; - } - } - - private float GetFacialNoiseCurrentTime(int index) - { - return currentLiveTime + _facialNoiseLimitTimeArray[index]; - } - - /// - /// ƒLƒƒƒ‰‚̃‚�[ƒVƒ‡ƒ“‚ɃmƒCƒY‚ð�ڂ¹‚é - /// - - public void InitCharaMotionNoise() - { - float[] array = new float[14] - { - 0f, 0.142f, 0.285f, 0.428f, 0.571f, 0.714f, 0.857f, 1f, 0.2f, 0.3f, - 0.4f, 0.6f, 0.8f, 1f - }; - int num = array.Length; - for (int i = 0; i < liveCharaPositionMax - 1; i++) - { - int num2 = num - i - 1; - int num3 = ((num2 != 0) ? UnityEngine.Random.Range(0, num2) : 0); - _charaMotNoiseTimeArray[i + 1] = _chrMotNoiseFrequency * array[num3]; - array[num3] = array[num2]; - } - } - - public void StartUpdate() - { - if (this.OnStartUpdate != null) - { - this.OnStartUpdate(); - } - AlterUpdate(0f); - } - - public void AlterUpdate(float liveTime) - { - if (data == null) - { - return; - } - _isNowAlterUpdate = true; - if (this.OnPreUpdateAllTimeline != null) - { - this.OnPreUpdateAllTimeline(); - } - _oldLiveTime = currentLiveTime; - currentLiveTime = liveTime; - _currentFrame = Mathf.RoundToInt(currentLiveTime * 60f); - _oldFrame = Mathf.RoundToInt(_oldLiveTime * 60f); - _deltaTime = currentLiveTime - _oldLiveTime; - _deltaTimeRatio = _deltaTime / 0.0166666675f; - for (int i = 0; i < _facialNoiseLimitTimeArray.Length; i++) - { - float facialNoiseCurrentTime = GetFacialNoiseCurrentTime(i); - _facialNoiseFrameArray[i] = Mathf.RoundToInt(facialNoiseCurrentTime * 60f); - } - if (_drawDeltaTimeGraph) - { - UpdateDeltaTimeGraph(); - EnqueueDeltaTimeForGraph(_deltaTime); - } - int count = data.GetWorkSheetList().Count; - for (int j = 0; j < count; j++) - { - LiveTimelineWorkSheet workSheet = data.GetWorkSheet(j); - if (workSheet.IsEnable()) - { - AlterUpdate_Event(workSheet, _currentFrame, _oldFrame); - AlterUpdate_ShaderControl(workSheet, _currentFrame); - if (j == 0) - { - AlterUpdate_CharaHeightMotion(workSheet, _currentFrame); - AlterUpdate_CharaMotionSequence(workSheet, _currentFrame); - } - AlterUpdate_LipSync(workSheet, _currentFrame); - if ((_activeSheetIndex != -1 && _isActiveSheetIndexAlt && data.switchSheetTargetTimelineSettings.Get(LiveTimelineSwitchSheetTargetTimelineSetting.Timeline.Facial)) ? (_activeSheetIndex == j) : (j == 0)) - { - AlterUpdate_FacialData(workSheet, _currentFrame); - } - if (j == 0) - { - AlterUpdate_CharaWind(workSheet, _currentFrame); - } - AlterUpdate_BgColor1(workSheet, _currentFrame); - AlterUpdate_BgColor2(workSheet, _currentFrame); - AlterUpdate_BgColor3(workSheet, _currentFrame); - AlterUpdate_VolumeLight(workSheet, _currentFrame); - AlterUpdate_LightShuft(workSheet, _currentFrame); - AlterUpdate_HdrBloom(workSheet, _currentFrame); - AlterUpdate_ColorCorrection(workSheet, _currentFrame); - AlterUpdate_MonitorControl(workSheet, _currentFrame); - AlterUpdate_Projector(workSheet, _currentFrame); - AlterUpdate_AnimationControl(workSheet, _currentFrame); - AlterUpdate_TextureAnimationControl(workSheet, _currentFrame); - AlterUpdate_TransformControl(workSheet, _currentFrame); - AlterUpdate_RendererControl(workSheet, _currentFrame); - AlterUpdate_ObjectControl(workSheet, _currentFrame); - AlterUpdate_GazingObjectControl(workSheet, _currentFrame); - AlterUpdate_StageGazeControl(workSheet, _currentFrame); - if (_activeSheetIndex == -1 || _activeSheetIndex == j) - { - AlterUpdate_FormationOffset(workSheet, _currentFrame); - } - AlterUpdate_PropsControl(workSheet, _currentFrame); - if (!_isActiveSheetIndexAlt || _activeSheetIndex == -1 || _activeSheetIndex == j) - { - AlterUpdate_PropsAttachControl(workSheet, _currentFrame); - } - AlterUpdate_Particle(workSheet, _currentFrame); - AlterUpdate_ParticleGroup(workSheet, _currentFrame); - AlterUpdate_Laser(workSheet, _currentFrame, j); - AlterUpdate_Effect(workSheet, _currentFrame); - AlterUpdate_Glass(workSheet, _currentFrame); - AlterUpdate_Environment(workSheet, _currentFrame); - AlterUpdate_GlobalLight(workSheet, _currentFrame); - AlterUpdate_GlobalFog(workSheet, _currentFrame); - AlterUpdate_TiltShift(workSheet, _currentFrame); - AlterUpdate_SweatLocator(workSheet, _currentFrame); - AlterUpdate_LensFlare(workSheet, _currentFrame); - AlterUpdate_A2UConfig(workSheet, _currentFrame); - AlterUpdate_A2U(workSheet, _currentFrame); - AlterUpdate_IK(workSheet, _currentFrame); - AlterUpdate_MobCyalume(workSheet, _currentFrame); - AlterUpdate_MobCyalume3D(workSheet, _currentFrame); - AlterUpdate_CameraSwitcher(workSheet, _currentFrame); - AlterUpdate_DressChange(workSheet, _currentFrame); - } - } - if (this.OnPostUpdateAllTimeline != null) - { - this.OnPostUpdateAllTimeline(); - } - _isNowAlterUpdate = false; - } - - public void AlterLateUpdate() - { - if (data == null) - { - return; - } - _isMultiCameraEnable = false; - _isNowAlterUpdate = true; - int count = data.GetWorkSheetList().Count; - for (int i = 0; i < count; i++) - { - LiveTimelineWorkSheet workSheet = data.GetWorkSheet(i); - if (workSheet.IsEnable()) - { - Vector3 outLookAt = Vector3.zero; - if (_activeSheetIndex == -1 || _activeSheetIndex == i) - { - AlterLateUpdate_FormationOffset(workSheet, _currentFrame); - AlterUpdate_CameraLayer(workSheet, _currentFrame, ref _cameraLayerOffset, ref _extraCameraLayerOffset); - AlterUpdate_CharaFootLight(workSheet, _currentFrame); - AlterUpdate_CameraPos(workSheet, _currentFrame, i); - AlterUpdate_CameraLookAt(workSheet, _currentFrame, ref outLookAt); - AlterUpdate_CameraFov(workSheet, _currentFrame); - AlterUpdate_CameraRoll(workSheet, _currentFrame); - } - if (i == 0) - { - AlterUpdate_CrossFadeCamera(workSheet, _currentFrame); - AlterUpdate_MultiCamera(workSheet, _currentFrame); - } - AlterUpdate_MonitorCamera(workSheet, _currentFrame); - if (isEnablePostEffect && (_activeSheetIndex == -1 || _activeSheetIndex == i)) - { - AlterUpdate_PostEffect(workSheet, _currentFrame, outLookAt); - } - AlterUpdate_PostFilm(workSheet.postFilmKeys, _currentFrame, this.OnUpdatePostFilm); - AlterUpdate_PostFilm(workSheet.postFilm2Keys, _currentFrame, this.OnUpdatePostFilm2); - AlterUpdate_ScreenFade(workSheet.screenFadeKeys, _currentFrame); - } - } - for (int j = 0; j < _cameraScriptArray.Length; j++) - { - if (_cameraScriptArray[j] != null) - { - _cameraScriptArray[j].AlterUpdate(currentLiveTime); - } - } - if (this.OnUpdateMultiCamera != null) - { - MultiCameraUpdateInfo updateInfo = default(MultiCameraUpdateInfo); - updateInfo.isEnable = _isMultiCameraEnable; - this.OnUpdateMultiCamera(ref updateInfo); - } - _isNowAlterUpdate = false; - } - - private static float LerpWithoutClamp(float a, float b, float t) - { - return a + (b - a) * t; - } - - private static Vector2 LerpWithoutClamp(Vector2 a, Vector2 b, float t) - { - return new Vector2(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t); - } - - private static Vector3 LerpWithoutClamp(Vector3 a, Vector3 b, float t) - { - return new Vector3(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t); - } - - private static Vector4 LerpWithoutClamp(Vector4 a, Vector4 b, float t) - { - return new Vector4(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, a.z + (b.z - a.z) * t, a.w + (b.w - a.w) * t); - } - - private static Color LerpWithoutClamp(Color a, Color b, float t) - { - return new Color(a.r + (b.r - a.r) * t, a.g + (b.g - a.g) * t, a.b + (b.b - a.b) * t, a.a + (b.a - a.a) * t); - } - - public static void FindTimelineKey(out LiveTimelineKey curKey, out LiveTimelineKey nextKey, ILiveTimelineKeyDataList keys, int curFrame) - { - FindKeyResult findKeyResult = keys.FindKeyCached(curFrame, availableFindKeyCache); - curKey = findKeyResult.key; - if (curKey != null) - { - nextKey = keys.At(findKeyResult.index + 1); - } - else - { - nextKey = null; - } - } - - public static void FindTimelineKeyCurrent(out LiveTimelineKey curKey, ILiveTimelineKeyDataList keys, int curFrame) - { - LiveTimelineKey nextKey; - FindTimelineKey(out curKey, out nextKey, keys, curFrame); - } - - public static void FindTimelineKeyTrigger(out LiveTimelineKey triggeredKey, ILiveTimelineKeyDataList keys, int curFrame, int oldFrame) - { - triggeredKey = null; - LiveTimelineKey liveTimelineKey = null; - liveTimelineKey = keys.FindKeyCached(curFrame, availableFindKeyCache).key; - if (liveTimelineKey != null && oldFrame <= liveTimelineKey.frame && liveTimelineKey.frame <= curFrame) - { - triggeredKey = liveTimelineKey; - } - } - - public static void FindTimelineKeyPrevious(out LiveTimelineKey previousKey, ILiveTimelineKeyDataList keys, int curFrame) - { - previousKey = null; - FindKeyResult findKeyResult = keys.FindKeyCached(curFrame, availableFindKeyCache); - if (findKeyResult.key != null) - { - previousKey = keys.At(findKeyResult.index - 1); - } - } - - public static void FindTimelineKeyNext(out LiveTimelineKey nextKey, ILiveTimelineKeyDataList keys, int curFrame) - { - nextKey = null; - LiveTimelineKey curKey; - FindTimelineKey(out curKey, out nextKey, keys, curFrame); - } - - private static float LinearInterpolateKeyframes(LiveTimelineKey from, LiveTimelineKey to, float curFrame) - { - int num = to.frame - from.frame; - return Mathf.Clamp01((curFrame - (float)from.frame) / (float)num); - } - - private static float CurveInterpolateKeyframes(LiveTimelineKey from, LiveTimelineKey to, float curFrame) - { - LiveTimelineKeyWithInterpolate liveTimelineKeyWithInterpolate = from as LiveTimelineKeyWithInterpolate; - LiveTimelineKeyWithInterpolate liveTimelineKeyWithInterpolate2 = to as LiveTimelineKeyWithInterpolate; - if (liveTimelineKeyWithInterpolate == null) - { - return 0f; - } - if (liveTimelineKeyWithInterpolate2 == null) - { - return 0f; - } - int num = to.frame - from.frame; - float time = Mathf.Clamp01((curFrame - (float)from.frame) / (float)num); - return liveTimelineKeyWithInterpolate2.curve.Evaluate(time); - } - - private static float EaseInterpolateKeyframes(LiveTimelineKey from, LiveTimelineKey to, float curFrame) - { - LiveTimelineKeyWithInterpolate liveTimelineKeyWithInterpolate = from as LiveTimelineKeyWithInterpolate; - LiveTimelineKeyWithInterpolate liveTimelineKeyWithInterpolate2 = to as LiveTimelineKeyWithInterpolate; - if (liveTimelineKeyWithInterpolate == null) - { - return 0f; - } - if (liveTimelineKeyWithInterpolate2 == null) - { - return 0f; - } - int num = to.frame - from.frame; - return LiveTimelineEasing.GetValue(liveTimelineKeyWithInterpolate2.easingType, curFrame - (float)from.frame, 0f, 1f, (float)num); - } - - public float GetCharacterHeight(LiveCharaPosition position) - { - return liveCharactorLocators[(int)position].liveCharaHeightValue; - } - - public Vector3 GetPositionWithCharacters(LiveCharaPositionFlag posFlags, LiveCameraLookAtCharaParts parts, Vector3 cameraOffset) - { - Vector3 retPos = Vector3.zero; - Vector3 tmpPos = Vector3.zero; - if (posFlags == (LiveCharaPositionFlag)0) - { - retPos = liveStageCenterPos; - tmpPos = liveStageCenterPos; - } - else - { - int num = 0; - switch (parts) - { - case LiveCameraLookAtCharaParts.Face: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaHeadPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.Waist: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaWaistPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.LeftHandWrist: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaLeftHandWristPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.LeftHandAttach: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaLeftHandAttachPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.RightHandWrist: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaRightHandWristPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.RightHandAttach: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaRightHandAttachPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.Chest: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaChestPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.Foot: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaFootPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.ConstHeightFace: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaConstHeightHeadPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.ConstHeightWaist: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaConstHeightWaistPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.ConstHeightChest: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaConstHeightChestPosition; - retPos += cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.AxisLockedFace: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaHeadPosition; - tmpPos += liveCharactorLocators[i].liveCharaConstHeightHeadPosition; - Vector3 vector3 = cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - retPos += vector3; - tmpPos += vector3; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.AxisLockedChest: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaChestPosition; - tmpPos += liveCharactorLocators[i].liveCharaConstHeightChestPosition; - Vector3 vector2 = cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - retPos += vector2; - tmpPos += vector2; - num++; - } - } - break; - } - case LiveCameraLookAtCharaParts.AxisLockedWaist: - { - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (posFlags.hasFlag((LiveCharaPosition)i) && liveCharactorLocators[i] != null) - { - retPos += liveCharactorLocators[i].liveCharaWaistPosition; - tmpPos += liveCharactorLocators[i].liveCharaConstHeightWaistPosition; - Vector3 vector = cameraOffset * liveCharactorLocators[i].liveCharaHeightRatio; - retPos += vector; - tmpPos += vector; - num++; - } - } - break; - } - } - bool flag = num > 1; - if (flag) - { - retPos /= (float)num; - } - if ((uint)(parts - 11) <= 2u) - { - if (flag) - { - tmpPos /= (float)num; - } - retPos.y = tmpPos.y; - } - } - return retPos; - } - - public Vector3 GetPositionWithCharacters(LiveCharaPositionFlag posFlags, LiveCameraLookAtCharaParts parts) - { - return GetPositionWithCharacters(posFlags, parts, _cameraLayerOffset); - } - - public static float CalculateInterpolationValue(LiveTimelineKey curKey, LiveTimelineKeyWithInterpolate nextKey, int frame) - { - float result = 0f; - switch (nextKey.interpolateType) - { - case LiveCameraInterpolateType.Linear: - result = LinearInterpolateKeyframes(curKey, nextKey, frame); - break; - case LiveCameraInterpolateType.Curve: - result = CurveInterpolateKeyframes(curKey, nextKey, frame); - break; - case LiveCameraInterpolateType.Ease: - result = EaseInterpolateKeyframes(curKey, nextKey, frame); - break; - } - return result; - } - - private void AlterUpdate_CameraPos(LiveTimelineWorkSheet sheet, int currentFrame, int sheetIndex) - { - if (sheet.cameraPosKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.cameraPosKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - if (camera == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.cameraPosKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCameraPositionData liveTimelineKeyCameraPositionData = curKey as LiveTimelineKeyCameraPositionData; - camera.camera.nearClipPlane = liveTimelineKeyCameraPositionData.nearClip; - camera.camera.farClipPlane = liveTimelineKeyCameraPositionData.farClip; - if (CalculateCameraPos(out var pos, sheet, curKey, nextKey, currentFrame)) - { - camera.cacheTransform.position = pos; - int num = liveTimelineKeyCameraPositionData.GetCullingMask(); - if (num == 0) - { - num = LiveTimelineKeyCameraPositionData.GetDefaultCullingMask(); - } - camera.camera.cullingMask = num; - if (this.OnUpdateCameraPos != null) - { - CameraPosUpdateInfo updateInfo = default(CameraPosUpdateInfo); - updateInfo.outlineZOffset = liveTimelineKeyCameraPositionData.outlineZOffset; - updateInfo.characterLODMask = (int)liveTimelineKeyCameraPositionData.characterLODMask; - this.OnUpdateCameraPos(ref updateInfo); - } - } - } - - private static Vector3 GetCameraPosValue(LiveTimelineKeyCameraPositionData keyData, LiveTimelineControl timelineControl, FindTimelineConfig config) - { - return keyData.GetValue(timelineControl); - } - - public bool CalculateCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, int currentFrame) - { - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - config.posKeys = sheet.cameraPosKeys; - config.lookAtKeys = null; - config.extraCameraIndex = 0; - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - return CalculateCameraPos(out pos, sheet, currentFrame, camera, ref config, ref fnGetCameraPosValue); - } - - public bool CalculateCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, LiveTimelineKey curKey, LiveTimelineKey nextKey, int currentFrame) - { - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = curKey; - config.nextKey = nextKey; - config.keyType = FindTimelineConfig.KeyType.KeyDirect; - config.posKeys = sheet.cameraPosKeys; - config.lookAtKeys = null; - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - config.extraCameraIndex = 0; - return CalculateCameraPos(out pos, sheet, currentFrame, camera, ref config, ref fnGetCameraPosValue); - } - - public bool CalculateCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, int currentFrame, CacheCamera targetCamera, ref FindTimelineConfig config, ref Func getFunc) - { - pos = Vector3.zero; - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - if (config.posKeys == null) - { - return false; - } - if (config.keyType == FindTimelineConfig.KeyType.CurrentFrame) - { - FindTimelineKey(out curKey, out nextKey, config.posKeys, currentFrame); - } - else - { - curKey = config.curKey; - nextKey = config.nextKey; - } - if (curKey == null) - { - return false; - } - LiveTimelineKeyCameraPositionData liveTimelineKeyCameraPositionData = curKey as LiveTimelineKeyCameraPositionData; - LiveTimelineKeyCameraPositionData liveTimelineKeyCameraPositionData2 = nextKey as LiveTimelineKeyCameraPositionData; - if (liveTimelineKeyCameraPositionData2 != null && liveTimelineKeyCameraPositionData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraPositionData, liveTimelineKeyCameraPositionData2, currentFrame); - int bezierPointCount = liveTimelineKeyCameraPositionData2.GetBezierPointCount(); - if (bezierPointCount == 0) - { - pos = LerpWithoutClamp(getFunc(liveTimelineKeyCameraPositionData, this, config), getFunc(liveTimelineKeyCameraPositionData2, this, config), t); - } - else if (liveTimelineKeyCameraPositionData2.necessaryToUseNewBezierCalcMethod) - { - BezierCalcWork.cameraPos.Set(getFunc(liveTimelineKeyCameraPositionData, this, config), getFunc(liveTimelineKeyCameraPositionData2, this, config), bezierPointCount); - BezierCalcWork.cameraPos.UpdatePoints(liveTimelineKeyCameraPositionData2, this); - BezierCalcWork.cameraPos.Calc(bezierPointCount, t, out pos); - } - else - { - Vector3 end = getFunc(liveTimelineKeyCameraPositionData2, this, config); - Vector3 cp = liveTimelineKeyCameraPositionData2.GetBezierPoint(0, this); - Vector3 cp2 = liveTimelineKeyCameraPositionData2.GetBezierPoint(1, this); - Vector3 cp3 = liveTimelineKeyCameraPositionData2.GetBezierPoint(2, this); - switch (liveTimelineKeyCameraPositionData2.GetBezierPointCount()) - { - default: - pos = LerpWithoutClamp(getFunc(liveTimelineKeyCameraPositionData, this, config), getFunc(liveTimelineKeyCameraPositionData2, this, config), t); - break; - case 1: - { - Vector3 start3 = getFunc(liveTimelineKeyCameraPositionData, this, config); - BezierUtil.Calc(ref start3, ref end, ref cp, t, out pos); - break; - } - case 2: - { - Vector3 start2 = getFunc(liveTimelineKeyCameraPositionData, this, config); - BezierUtil.Calc(ref start2, ref end, ref cp, ref cp2, t, out pos); - break; - } - case 3: - { - Vector3 start = getFunc(liveTimelineKeyCameraPositionData, this, config); - BezierUtil.Calc(ref start, ref end, ref cp, ref cp2, ref cp3, t, out pos); - break; - } - } - } - } - else - { - pos = getFunc(liveTimelineKeyCameraPositionData, this, config); - } - if (_isNowAlterUpdate && liveTimelineKeyCameraPositionData.attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable) && (_oldFrame >= liveTimelineKeyCameraPositionData.frame || currentFrame < liveTimelineKeyCameraPositionData.frame || liveTimelineKeyCameraPositionData.attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit))) - { - if (targetCamera == null) - { - return false; - } - float t2 = liveTimelineKeyCameraPositionData.traceSpeed * _deltaTimeRatio; - pos = Vector3.Slerp(targetCamera.cacheTransform.position, pos, t2); - } - return true; - } - - private void AlterUpdate_CameraLookAt(LiveTimelineWorkSheet sheet, int currentFrame, ref Vector3 outLookAt) - { - if (!sheet.cameraLookAtKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && sheet.cameraLookAtKeys.EnablePlayModeTimeline(_playMode)) - { - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - if (camera != null && CalculateCameraLookAt(out var lookAtPos, sheet, currentFrame)) - { - camera.cacheTransform.LookAt(lookAtPos, Vector3.up); - outLookAt = lookAtPos; - } - } - } - - private static Vector3 GetCameraLookAtValue(LiveTimelineKeyCameraLookAtData keyData, LiveTimelineControl timelineControl, Vector3 camPos, FindTimelineConfig config) - { - return keyData.GetValue(timelineControl, camPos); - } - - public bool CalculateCameraLookAt(out Vector3 lookAtPos, LiveTimelineWorkSheet sheet, int currentFrame) - { - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - config.posKeys = sheet.cameraPosKeys; - config.lookAtKeys = sheet.cameraLookAtKeys; - config.extraCameraIndex = 0; - return CalculateCameraLookAt(out lookAtPos, sheet, currentFrame, camera, ref config, ref fnGetCameraLookAtValue, ref fnGetCameraPosValue); - } - - private bool CalculateCameraLookAt(out Vector3 lookAtPos, LiveTimelineWorkSheet sheet, int currentFrame, CacheCamera targetCamera, ref FindTimelineConfig config, ref Func getLookAtValueFunc, ref Func getPosValueFunc) - { - lookAtPos = Vector3.zero; - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - if (camera == null || config.lookAtKeys == null || config.posKeys == null) - { - return false; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, config.lookAtKeys, currentFrame); - if (curKey == null) - { - return false; - } - Vector3 position = camera.cacheTransform.position; - LiveTimelineKeyCameraLookAtData liveTimelineKeyCameraLookAtData = curKey as LiveTimelineKeyCameraLookAtData; - LiveTimelineKeyCameraLookAtData liveTimelineKeyCameraLookAtData2 = nextKey as LiveTimelineKeyCameraLookAtData; - if (liveTimelineKeyCameraLookAtData2 != null && liveTimelineKeyCameraLookAtData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraLookAtData, liveTimelineKeyCameraLookAtData2, currentFrame); - int bezierPointCount = liveTimelineKeyCameraLookAtData2.GetBezierPointCount(); - if (bezierPointCount == 0) - { - lookAtPos = LerpWithoutClamp(getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config), getLookAtValueFunc(liveTimelineKeyCameraLookAtData2, this, position, config), t); - } - else if (liveTimelineKeyCameraLookAtData2.necessaryToUseNewBezierCalcMethod) - { - Vector3 zero = Vector3.zero; - BezierCalcWork.cameraLookAt.Set(getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config), getLookAtValueFunc(liveTimelineKeyCameraLookAtData2, this, zero, config), bezierPointCount); - BezierCalcWork.cameraLookAt.UpdatePoints(liveTimelineKeyCameraLookAtData2, this, zero); - BezierCalcWork.cameraLookAt.Calc(bezierPointCount, t, out lookAtPos); - } - else - { - Vector3 zero2 = Vector3.zero; - Vector3 end = getLookAtValueFunc(liveTimelineKeyCameraLookAtData2, this, zero2, config); - Vector3 cp = liveTimelineKeyCameraLookAtData2.GetBezierPoint(0, this, zero2); - Vector3 cp2 = liveTimelineKeyCameraLookAtData2.GetBezierPoint(1, this, zero2); - Vector3 cp3 = liveTimelineKeyCameraLookAtData2.GetBezierPoint(2, this, zero2); - switch (liveTimelineKeyCameraLookAtData2.GetBezierPointCount()) - { - default: - lookAtPos = LerpWithoutClamp(getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config), getLookAtValueFunc(liveTimelineKeyCameraLookAtData2, this, position, config), t); - break; - case 1: - { - Vector3 start3 = getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config); - BezierUtil.Calc(ref start3, ref end, ref cp, t, out lookAtPos); - break; - } - case 2: - { - Vector3 start2 = getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config); - BezierUtil.Calc(ref start2, ref end, ref cp, ref cp2, t, out lookAtPos); - break; - } - case 3: - { - Vector3 start = getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config); - BezierUtil.Calc(ref start, ref end, ref cp, ref cp2, ref cp3, t, out lookAtPos); - break; - } - } - } - } - else - { - lookAtPos = getLookAtValueFunc(liveTimelineKeyCameraLookAtData, this, position, config); - } - if (_isNowAlterUpdate && liveTimelineKeyCameraLookAtData.attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable) && (_oldFrame >= liveTimelineKeyCameraLookAtData.frame || currentFrame < liveTimelineKeyCameraLookAtData.frame || liveTimelineKeyCameraLookAtData.attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit))) - { - Vector3 b = lookAtPos - camera.cacheTransform.position; - float magnitude = b.magnitude; - if (magnitude >= float.Epsilon) - { - b /= magnitude; - float t2 = liveTimelineKeyCameraLookAtData.traceSpeed * _deltaTimeRatio; - lookAtPos = position + Vector3.Slerp(camera.cacheTransform.forward, b, t2) * magnitude; - } - } - return true; - } - private void AlterUpdate_CameraFov(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (sheet.cameraFovKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.cameraFovKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - if (camera == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.cameraFovKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCameraFovData liveTimelineKeyCameraFovData = curKey as LiveTimelineKeyCameraFovData; - LiveTimelineKeyCameraFovData liveTimelineKeyCameraFovData2 = nextKey as LiveTimelineKeyCameraFovData; - float num = 80f; - if (liveTimelineKeyCameraFovData2 != null && liveTimelineKeyCameraFovData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraFovData, liveTimelineKeyCameraFovData2, currentFrame); - num = LerpWithoutClamp(liveTimelineKeyCameraFovData.fov, liveTimelineKeyCameraFovData2.fov, t); - } - else if (liveTimelineKeyCameraFovData.fovType == LiveCameraFovType.Direct) - { - num = liveTimelineKeyCameraFovData.fov; - } - if (_limitFovForWidth) - { - float num2 = (float)camera.camera.pixelWidth / (float)camera.camera.pixelHeight; - if (num2 > _baseCameraAspectRatio) - { - float num3 = num2 / _baseCameraAspectRatio; - num /= num3; - } - } - camera.camera.fieldOfView = num; - } - - private void AlterUpdate_CameraRoll(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (sheet.cameraRollKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.cameraRollKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - CacheCamera camera = GetCamera(sheet.targetCameraIndex); - if (camera == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.cameraRollKeys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyCameraRollData liveTimelineKeyCameraRollData = curKey as LiveTimelineKeyCameraRollData; - LiveTimelineKeyCameraRollData liveTimelineKeyCameraRollData2 = nextKey as LiveTimelineKeyCameraRollData; - float num = 80f; - if (liveTimelineKeyCameraRollData2 != null && liveTimelineKeyCameraRollData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraRollData, liveTimelineKeyCameraRollData2, currentFrame); - num = LerpWithoutClamp(liveTimelineKeyCameraRollData.degree, liveTimelineKeyCameraRollData2.degree, t); - } - else - { - num = liveTimelineKeyCameraRollData.degree; - } - camera.cacheTransform.Rotate(0f, 0f, num); - } - } - - private void AlterUpdate_CharaMotionSequence(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_motionSequenceArray == null) - { - return; - } - bool flag = true; - LiveTimelineKeyCharaMotionNoiseData liveTimelineKeyCharaMotionNoiseData = sheet.charaMotionNoiseKeys.FindKeyCached(currentFrame, availableFindKeyCache).key as LiveTimelineKeyCharaMotionNoiseData; - if (liveTimelineKeyCharaMotionNoiseData != null) - { - flag = !liveTimelineKeyCharaMotionNoiseData.IsNoiseDisable(); - } - LiveTimelineKeyCharaCySpring liveTimelineKeyCharaCySpring = sheet.charaCySpringKeys.FindKeyCached(currentFrame, availableFindKeyCache).key as LiveTimelineKeyCharaCySpring; - bool flag2 = false; - if (liveTimelineKeyCharaCySpring != null && !liveTimelineKeyCharaCySpring._isExecute) - { - flag2 = true; - liveTimelineKeyCharaCySpring._isExecute = true; - } - if (this.OnUpdateCySpring == null) - { - flag2 = false; - } - float num = (float)currentFrame * 0.0166666675f; - CySpringUpdateInfo updateInfo = default(CySpringUpdateInfo); - for (int i = 0; i < liveCharaPositionMax; i++) - { - if (_motionSequenceArray[i] != null) - { - float num2 = num; - if (i > 0 && flag) - { - _charaMotNoiseTimeArray[i] += _deltaTime; - num2 += _chrMotNoiseBaseBias; - float f = _charaMotNoiseTimeArray[i] * kChrMotNoiseCurveRate; - num2 += _chrMotNoiseRange * Mathf.Cos(f); - } - if (num2 < 0f) - { - num2 = 0f; - } - _motionSequenceArray[i].AlterUpdate(num2, 60f); - } - if (flag2) - { - updateInfo.position = (LiveCharaPosition)i; - updateInfo.resetCySpring = liveTimelineKeyCharaCySpring.IsResetCharaFlag((LiveCharaPosition)i); - if (liveTimelineKeyCharaCySpring.IsOverrideParameterCharaFlag((LiveCharaPosition)i)) - { - updateInfo.overrideParameter = true; - updateInfo.overrideParameterAllBone = liveTimelineKeyCharaCySpring._overrideAllBone[i]; - updateInfo.overrideType = liveTimelineKeyCharaCySpring._overrideParameterType[i]; - updateInfo.overrideParameterAcc = liveTimelineKeyCharaCySpring._overrideAccBone[i]; - updateInfo.overrideParameterAccSitffness = liveTimelineKeyCharaCySpring._overrideAccStiffness[i]; - updateInfo.overrideParameterFurisode = liveTimelineKeyCharaCySpring._overrideFurisodeBone[i]; - updateInfo.overrideParameterFurisodeStiffness = liveTimelineKeyCharaCySpring._overrideFurisodeStiffness[i]; - } - else - { - updateInfo.overrideParameter = false; - updateInfo.overrideParameterAllBone = true; - updateInfo.overrideParameterAcc = false; - updateInfo.overrideParameterAccSitffness = 0f; - updateInfo.overrideParameterFurisode = false; - updateInfo.overrideParameterFurisodeStiffness = 0f; - updateInfo.overrideType = LiveTimelineKeyCharaCySpring.ParameterType.Reset; - } - this.OnUpdateCySpring(ref updateInfo); - } - } - } - - private void SetCharaIKUpdateInfo(out CharaIKUpdateInfo.PartUpdateInfo partUpdateInfo, LiveCharaPosition position, int index, LiveTimelineWorkSheet sheet, LiveTimelineKeyCharaIKData curData, float blendRate) - { - if (curData.enableIk[index]) - { - partUpdateInfo.blendRate = blendRate; - partUpdateInfo.targetPosition = Vector3.zero; - partUpdateInfo.targetPositionType = StageTwoBoneIK.TargetType.Transform; - } - else - { - partUpdateInfo.blendRate = 0f; - partUpdateInfo.targetPosition = Vector3.zero; - partUpdateInfo.targetPositionType = StageTwoBoneIK.TargetType.Position; - } - } - - private void AlterUpdate_IK(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateIK == null) - { - return; - } - LiveTimelineKeyCharaIKDataList[] iKKeyListArray = sheet.charaIkSet.GetIKKeyListArray(); - int num = 0; - LiveTimelineKeyCharaIKDataList[] array = iKKeyListArray; - CharaIKUpdateInfo updateInfo = default(CharaIKUpdateInfo); - foreach (LiveTimelineKeyCharaIKDataList liveTimelineKeyCharaIKDataList in array) - { - if (liveTimelineKeyCharaIKDataList.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - updateInfo = default(CharaIKUpdateInfo); - updateInfo.position = (LiveCharaPosition)num; - this.OnUpdateIK(ref updateInfo); - num++; - } - else - { - if (liveCharactorLocators[num] == null) - { - continue; - } - if (!liveTimelineKeyCharaIKDataList.EnablePlayModeTimeline(_playMode)) - { - num++; - continue; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, liveTimelineKeyCharaIKDataList, currentFrame); - if (curKey == null) - { - num++; - continue; - } - LiveTimelineKeyCharaIKData liveTimelineKeyCharaIKData = curKey as LiveTimelineKeyCharaIKData; - LiveTimelineKeyCharaIKData liveTimelineKeyCharaIKData2 = nextKey as LiveTimelineKeyCharaIKData; - LiveCharaPosition position = (updateInfo.position = (LiveCharaPosition)num); - if (liveTimelineKeyCharaIKData2 != null && liveTimelineKeyCharaIKData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCharaIKData, liveTimelineKeyCharaIKData2, currentFrame); - float blendRate = LerpWithoutClamp(liveTimelineKeyCharaIKData.blendRate[0], liveTimelineKeyCharaIKData2.blendRate[0], t); - SetCharaIKUpdateInfo(out updateInfo.leg_Left, position, 0, sheet, liveTimelineKeyCharaIKData, blendRate); - blendRate = LerpWithoutClamp(liveTimelineKeyCharaIKData.blendRate[1], liveTimelineKeyCharaIKData2.blendRate[1], t); - SetCharaIKUpdateInfo(out updateInfo.leg_Right, position, 1, sheet, liveTimelineKeyCharaIKData, blendRate); - blendRate = LerpWithoutClamp(liveTimelineKeyCharaIKData.blendRate[2], liveTimelineKeyCharaIKData2.blendRate[2], t); - SetCharaIKUpdateInfo(out updateInfo.arm_Left, position, 2, sheet, liveTimelineKeyCharaIKData, blendRate); - blendRate = LerpWithoutClamp(liveTimelineKeyCharaIKData.blendRate[3], liveTimelineKeyCharaIKData2.blendRate[3], t); - SetCharaIKUpdateInfo(out updateInfo.arm_Right, position, 3, sheet, liveTimelineKeyCharaIKData, blendRate); - } - else - { - SetCharaIKUpdateInfo(out updateInfo.leg_Left, position, 0, sheet, liveTimelineKeyCharaIKData, liveTimelineKeyCharaIKData.blendRate[0]); - SetCharaIKUpdateInfo(out updateInfo.leg_Right, position, 1, sheet, liveTimelineKeyCharaIKData, liveTimelineKeyCharaIKData.blendRate[1]); - SetCharaIKUpdateInfo(out updateInfo.arm_Left, position, 2, sheet, liveTimelineKeyCharaIKData, liveTimelineKeyCharaIKData.blendRate[2]); - SetCharaIKUpdateInfo(out updateInfo.arm_Right, position, 3, sheet, liveTimelineKeyCharaIKData, liveTimelineKeyCharaIKData.blendRate[3]); - } - this.OnUpdateIK(ref updateInfo); - num++; - } - } - } - - private void AlterUpdate_CharaFootLight(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateCharaFootLight == null) - { - return; - } - CharaFootLightUpdateInfo updateInfo = default(CharaFootLightUpdateInfo); - if (sheet.charaFootLightKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - for (int i = 0; i < 15; i++) - { - updateInfo.position = (LiveCharaPosition)i; - updateInfo.hightMax = 1f; - updateInfo.lightColor = Color.black; - updateInfo.alphaBlend = false; - updateInfo.inverseAlpha = false; - this.OnUpdateCharaFootLight(ref updateInfo); - } - return; - } - FindTimelineKey(out var curKey, out var nextKey, sheet.charaFootLightKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCharaFootLightData liveTimelineKeyCharaFootLightData = curKey as LiveTimelineKeyCharaFootLightData; - LiveTimelineKeyCharaFootLightData liveTimelineKeyCharaFootLightData2 = nextKey as LiveTimelineKeyCharaFootLightData; - if (liveTimelineKeyCharaFootLightData2 != null && liveTimelineKeyCharaFootLightData2.interpolateType != 0) - { - for (int j = 0; j < 15; j++) - { - updateInfo.position = (LiveCharaPosition)j; - if (liveTimelineKeyCharaFootLightData.positionFlag.hasFlag((LiveCharaPosition)j)) - { - float t = CalculateInterpolationValue(liveTimelineKeyCharaFootLightData, liveTimelineKeyCharaFootLightData2, currentFrame); - updateInfo.hightMax = LerpWithoutClamp(liveTimelineKeyCharaFootLightData.hightMax[j], liveTimelineKeyCharaFootLightData2.hightMax[j], t); - updateInfo.lightColor = LerpWithoutClamp(liveTimelineKeyCharaFootLightData.lightColor[j], liveTimelineKeyCharaFootLightData2.lightColor[j], t); - updateInfo.alphaBlend = liveTimelineKeyCharaFootLightData.alphaBlend[j]; - updateInfo.inverseAlpha = liveTimelineKeyCharaFootLightData.inverseAlpha[j]; - } - else - { - updateInfo.hightMax = 1f; - updateInfo.lightColor.r = 0f; - updateInfo.lightColor.g = 0f; - updateInfo.lightColor.b = 0f; - updateInfo.lightColor.a = 1f; - updateInfo.alphaBlend = false; - updateInfo.inverseAlpha = false; - } - this.OnUpdateCharaFootLight(ref updateInfo); - } - return; - } - for (int k = 0; k < 15; k++) - { - updateInfo.position = (LiveCharaPosition)k; - if (liveTimelineKeyCharaFootLightData.positionFlag.hasFlag((LiveCharaPosition)k)) - { - updateInfo.hightMax = liveTimelineKeyCharaFootLightData.hightMax[k]; - updateInfo.alphaBlend = liveTimelineKeyCharaFootLightData.alphaBlend[k]; - updateInfo.inverseAlpha = liveTimelineKeyCharaFootLightData.inverseAlpha[k]; - updateInfo.lightColor = liveTimelineKeyCharaFootLightData.lightColor[k]; - } - else - { - updateInfo.hightMax = 1f; - updateInfo.lightColor.r = 0f; - updateInfo.lightColor.g = 0f; - updateInfo.lightColor.b = 0f; - updateInfo.lightColor.a = 1f; - updateInfo.alphaBlend = false; - updateInfo.inverseAlpha = false; - } - this.OnUpdateCharaFootLight(ref updateInfo); - } - } - - private void AlterUpdate_StageGazeControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateStageGazeControl == null) - { - return; - } - int count = sheet.stageGazeList.Count; - StageGazeControlUpdateInfo updateInfo = default(StageGazeControlUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineStageGazeData liveTimelineStageGazeData = sheet.stageGazeList[i]; - LiveTimelineKeyStageGazeDataList keys = liveTimelineStageGazeData.keys; - if (!keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && keys.EnablePlayModeTimeline(_playMode)) - { - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey == null) - { - break; - } - LiveTimelineKeyStageGazeData liveTimelineKeyStageGazeData = curKey as LiveTimelineKeyStageGazeData; - LiveTimelineKeyStageGazeData liveTimelineKeyStageGazeData2 = nextKey as LiveTimelineKeyStageGazeData; - updateInfo.isEnable = liveTimelineKeyStageGazeData.isEnable; - updateInfo.groupNo = liveTimelineStageGazeData.groupNo; - if (liveTimelineKeyStageGazeData2 != null && liveTimelineKeyStageGazeData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyStageGazeData, liveTimelineKeyStageGazeData2, currentFrame); - updateInfo.targetPosition = LerpWithoutClamp(liveTimelineKeyStageGazeData.targetPosition, liveTimelineKeyStageGazeData2.targetPosition, t); - } - else - { - updateInfo.targetPosition = liveTimelineKeyStageGazeData.targetPosition; - } - this.OnUpdateStageGazeControl(ref updateInfo); - } - } - } - - private void AlterUpdate_MobCyalume(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateMobCyalume == null) - { - return; - } - MobCyalumeUpdateInfo updateInfo = default(MobCyalumeUpdateInfo); - int num = Math.Min(sheet.mobCyalumeDataList.Count, 11); - for (int i = 0; i < num; i++) - { - updateInfo.groupNo = i; - LiveTimelineKeyMobCyalumeDataList keys = sheet.mobCyalumeDataList[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - updateInfo.translate = Vector3.zero; - updateInfo.rotate = Vector3.zero; - updateInfo.scale = Vector3.one; - updateInfo.isVisibleMob = true; - updateInfo.isVisibleCyalume = true; - this.OnUpdateMobCyalume(ref updateInfo); - continue; - } - FindTimelineKey(out var curKey, out var nextKey, keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyMobCyalumeData liveTimelineKeyMobCyalumeData = curKey as LiveTimelineKeyMobCyalumeData; - LiveTimelineKeyMobCyalumeData liveTimelineKeyMobCyalumeData2 = nextKey as LiveTimelineKeyMobCyalumeData; - updateInfo.isVisibleMob = liveTimelineKeyMobCyalumeData.isMobVisible; - updateInfo.isVisibleCyalume = liveTimelineKeyMobCyalumeData.isCyalumeVisible; - if (liveTimelineKeyMobCyalumeData2 != null && liveTimelineKeyMobCyalumeData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMobCyalumeData, liveTimelineKeyMobCyalumeData2, currentFrame); - updateInfo.translate = LerpWithoutClamp(liveTimelineKeyMobCyalumeData.translate, liveTimelineKeyMobCyalumeData2.translate, t); - updateInfo.rotate = LerpWithoutClamp(liveTimelineKeyMobCyalumeData.rotate, liveTimelineKeyMobCyalumeData2.rotate, t); - updateInfo.scale = LerpWithoutClamp(liveTimelineKeyMobCyalumeData.scale, liveTimelineKeyMobCyalumeData2.scale, t); - } - else - { - updateInfo.translate = liveTimelineKeyMobCyalumeData.translate; - updateInfo.rotate = liveTimelineKeyMobCyalumeData.rotate; - updateInfo.scale = liveTimelineKeyMobCyalumeData.scale; - } - this.OnUpdateMobCyalume(ref updateInfo); - } - } - } - - private void AlterUpdate_MobCyalume3D(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateMobCyalume3D == null) - { - return; - } - MobCyalume3DUpdateInfo updateInfo = default(MobCyalume3DUpdateInfo); - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.mobCyalume3DRootKeys, currentFrame); - if (curKey == null) - { - updateInfo.rootTranslate = Vector3.zero; - updateInfo.rootRotate = Vector3.zero; - updateInfo.rootScale = Vector3.one; - updateInfo.isVisibleMob = true; - updateInfo.isVisibleCyalume = true; - updateInfo.isEnableMotionMultiSample = false; - updateInfo.motionTimeOffset = 0f; - updateInfo.motionTimeInterval = 1f; - updateInfo.waveMode = LiveMobCyalume3DWaveMode.None; - updateInfo.waveBasePosition = Vector3.zero; - updateInfo.waveWidth = 5f; - updateInfo.waveHeight = 1f; - updateInfo.waveRoughness = 0f; - updateInfo.waveProgress = 0f; - updateInfo.waveColorBasePower = 1f; - updateInfo.waveColorGainPower = 0f; - } - else - { - LiveTimelineKeyMobCyalume3DRootData liveTimelineKeyMobCyalume3DRootData = curKey as LiveTimelineKeyMobCyalume3DRootData; - LiveTimelineKeyMobCyalume3DRootData liveTimelineKeyMobCyalume3DRootData2 = nextKey as LiveTimelineKeyMobCyalume3DRootData; - if (liveTimelineKeyMobCyalume3DRootData2 != null && liveTimelineKeyMobCyalume3DRootData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMobCyalume3DRootData, liveTimelineKeyMobCyalume3DRootData2, currentFrame); - updateInfo.rootTranslate = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.translate, liveTimelineKeyMobCyalume3DRootData2.translate, t); - updateInfo.rootRotate = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.rotate, liveTimelineKeyMobCyalume3DRootData2.rotate, t); - updateInfo.rootScale = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.scale, liveTimelineKeyMobCyalume3DRootData2.scale, t); - updateInfo.motionTimeOffset = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.motionTimeOffset, liveTimelineKeyMobCyalume3DRootData2.motionTimeOffset, t); - updateInfo.motionTimeInterval = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.motionTimeInterval, liveTimelineKeyMobCyalume3DRootData2.motionTimeInterval, t); - updateInfo.waveBasePosition = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveBasePosition, liveTimelineKeyMobCyalume3DRootData2.waveBasePosition, t); - updateInfo.waveWidth = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveWidth, liveTimelineKeyMobCyalume3DRootData2.waveWidth, t); - updateInfo.waveHeight = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveHeight, liveTimelineKeyMobCyalume3DRootData2.waveHeight, t); - updateInfo.waveRoughness = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveRoughness, liveTimelineKeyMobCyalume3DRootData2.waveRoughness, t); - updateInfo.waveProgress = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveProgress, liveTimelineKeyMobCyalume3DRootData2.waveProgress, t); - updateInfo.waveColorBasePower = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveColorBasePower, liveTimelineKeyMobCyalume3DRootData2.waveColorBasePower, t); - updateInfo.waveColorGainPower = LerpWithoutClamp(liveTimelineKeyMobCyalume3DRootData.waveColorGainPower, liveTimelineKeyMobCyalume3DRootData2.waveColorGainPower, t); - } - else - { - updateInfo.rootTranslate = liveTimelineKeyMobCyalume3DRootData.translate; - updateInfo.rootRotate = liveTimelineKeyMobCyalume3DRootData.rotate; - updateInfo.rootScale = liveTimelineKeyMobCyalume3DRootData.scale; - updateInfo.motionTimeOffset = liveTimelineKeyMobCyalume3DRootData.motionTimeOffset; - updateInfo.motionTimeInterval = liveTimelineKeyMobCyalume3DRootData.motionTimeInterval; - updateInfo.waveBasePosition = liveTimelineKeyMobCyalume3DRootData.waveBasePosition; - updateInfo.waveWidth = liveTimelineKeyMobCyalume3DRootData.waveWidth; - updateInfo.waveHeight = liveTimelineKeyMobCyalume3DRootData.waveHeight; - updateInfo.waveRoughness = liveTimelineKeyMobCyalume3DRootData.waveRoughness; - updateInfo.waveProgress = liveTimelineKeyMobCyalume3DRootData.waveProgress; - updateInfo.waveColorBasePower = liveTimelineKeyMobCyalume3DRootData.waveColorBasePower; - updateInfo.waveColorGainPower = liveTimelineKeyMobCyalume3DRootData.waveColorGainPower; - } - updateInfo.isVisibleMob = liveTimelineKeyMobCyalume3DRootData.isVisibleMob; - updateInfo.isVisibleCyalume = liveTimelineKeyMobCyalume3DRootData.isVisibleCyalume; - updateInfo.isEnableMotionMultiSample = liveTimelineKeyMobCyalume3DRootData.isEnableMotionMultiSample; - updateInfo.waveMode = liveTimelineKeyMobCyalume3DRootData.waveMode; - } - LiveTimelineKey curKey2 = null; - LiveTimelineKey nextKey2 = null; - FindTimelineKey(out curKey2, out nextKey2, sheet.mobCyalume3DLightingKeys, currentFrame); - if (curKey2 == null) - { - updateInfo.gradiation = 0.05f; - updateInfo.rimlight = 6f; - updateInfo.blendRange = 20f; - } - else - { - LiveTimelineKeyMobCyalume3DLightingData liveTimelineKeyMobCyalume3DLightingData = curKey2 as LiveTimelineKeyMobCyalume3DLightingData; - LiveTimelineKeyMobCyalume3DLightingData liveTimelineKeyMobCyalume3DLightingData2 = nextKey2 as LiveTimelineKeyMobCyalume3DLightingData; - if (liveTimelineKeyMobCyalume3DLightingData2 != null && liveTimelineKeyMobCyalume3DLightingData2.interpolateType != 0) - { - float t2 = CalculateInterpolationValue(liveTimelineKeyMobCyalume3DLightingData, liveTimelineKeyMobCyalume3DLightingData2, currentFrame); - updateInfo.gradiation = LerpWithoutClamp(liveTimelineKeyMobCyalume3DLightingData.gradiation, liveTimelineKeyMobCyalume3DLightingData2.gradiation, t2); - updateInfo.rimlight = LerpWithoutClamp(liveTimelineKeyMobCyalume3DLightingData.rimlight, liveTimelineKeyMobCyalume3DLightingData2.rimlight, t2); - updateInfo.blendRange = LerpWithoutClamp(liveTimelineKeyMobCyalume3DLightingData.blendRange, liveTimelineKeyMobCyalume3DLightingData2.blendRange, t2); - } - else - { - updateInfo.gradiation = liveTimelineKeyMobCyalume3DLightingData.gradiation; - updateInfo.rimlight = liveTimelineKeyMobCyalume3DLightingData.rimlight; - updateInfo.blendRange = liveTimelineKeyMobCyalume3DLightingData.blendRange; - } - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int num = -1; - LiveTimelineKeyMobCyalume3DColorDataList mobCyalume3DColorKeys = sheet.mobCyalume3DColorKeys; - FindKeyResult findKeyResult = mobCyalume3DColorKeys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - num = findKeyResult.index; - liveTimelineKey2 = mobCyalume3DColorKeys.At(num + 1); - } - else - { - liveTimelineKey2 = null; - } - if (liveTimelineKey == null) - { - updateInfo.paletteScrollSection = 0f; - } - else - { - int frame = liveTimelineKey.frame; - int num2 = liveTimelineKey2?.frame ?? frame; - bool num3 = liveTimelineKey2?.IsInterpolateKey() ?? false; - float num4 = 0f; - num4 = ((num3 || (frame != num2 && frame + 120 > num2)) ? ((float)num + (float)(currentFrame - frame) / (float)(num2 - frame) - 0.5f) : ((currentFrame < frame + 60) ? ((float)num + (float)(currentFrame - frame) / 120f - 0.5f) : ((frame == num2 || num2 - 60 >= currentFrame) ? ((float)num) : ((float)(num + 1) - (float)(num2 - currentFrame) / 120f - 0.5f)))); - if (num4 < 0f) - { - num4 = 0f; - } - updateInfo.paletteScrollSection = num4; - } - LiveTimelineKey curKey3 = null; - LiveTimelineKey nextKey3 = null; - FindTimelineKey(out curKey3, out nextKey3, sheet.mobCyalume3DBloomKeys, currentFrame); - if (curKey3 == null) - { - updateInfo.horizontalOffset = 2.4f; - updateInfo.verticalOffset = 0.6f; - updateInfo.threshold = 1f; - updateInfo.growPower = 1.4f; - } - else - { - LiveTimelineKeyMobCyalume3DBloomData liveTimelineKeyMobCyalume3DBloomData = curKey3 as LiveTimelineKeyMobCyalume3DBloomData; - LiveTimelineKeyMobCyalume3DBloomData liveTimelineKeyMobCyalume3DBloomData2 = nextKey3 as LiveTimelineKeyMobCyalume3DBloomData; - if (liveTimelineKeyMobCyalume3DBloomData2 != null && liveTimelineKeyMobCyalume3DBloomData2.interpolateType != 0) - { - float t3 = CalculateInterpolationValue(liveTimelineKeyMobCyalume3DBloomData, liveTimelineKeyMobCyalume3DBloomData2, currentFrame); - updateInfo.horizontalOffset = LerpWithoutClamp(liveTimelineKeyMobCyalume3DBloomData.horizontalOffset, liveTimelineKeyMobCyalume3DBloomData2.horizontalOffset, t3); - updateInfo.verticalOffset = LerpWithoutClamp(liveTimelineKeyMobCyalume3DBloomData.verticalOffset, liveTimelineKeyMobCyalume3DBloomData2.verticalOffset, t3); - updateInfo.threshold = LerpWithoutClamp(liveTimelineKeyMobCyalume3DBloomData.threshold, liveTimelineKeyMobCyalume3DBloomData2.threshold, t3); - updateInfo.growPower = LerpWithoutClamp(liveTimelineKeyMobCyalume3DBloomData.growPower, liveTimelineKeyMobCyalume3DBloomData2.growPower, t3); - } - else - { - updateInfo.horizontalOffset = liveTimelineKeyMobCyalume3DBloomData.horizontalOffset; - updateInfo.verticalOffset = liveTimelineKeyMobCyalume3DBloomData.verticalOffset; - updateInfo.threshold = liveTimelineKeyMobCyalume3DBloomData.threshold; - updateInfo.growPower = liveTimelineKeyMobCyalume3DBloomData.growPower; - } - } - LiveTimelineKey curKey4 = null; - LiveTimelineKey nextKey4 = null; - FindTimelineKey(out curKey4, out nextKey4, sheet.mobCyalume3DLookAtModeKeys, currentFrame); - if (curKey4 == null) - { - updateInfo.lookAtMode = LiveMobCyalume3DLookAtMode.Locator; - } - else - { - LiveTimelineKeyMobCyalume3DLookAtModeData liveTimelineKeyMobCyalume3DLookAtModeData = curKey4 as LiveTimelineKeyMobCyalume3DLookAtModeData; - updateInfo.lookAtMode = liveTimelineKeyMobCyalume3DLookAtModeData.lookAtMode; - } - int num5 = (updateInfo.lookAtPositionCount = Math.Min(sheet.mobCyalume3DLookAtPositionDataList.Count, 11)); - updateInfo.lookAtPositionList = _arrMobCyalume3DLookAtPosition; - for (int i = 0; i < num5; i++) - { - LiveTimelineKeyMobCyalume3DLookAtPositionDataList keys = sheet.mobCyalume3DLookAtPositionDataList[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - updateInfo.lookAtPositionList[i] = Vector3.zero; - continue; - } - FindTimelineKey(out var curKey5, out var nextKey5, keys, currentFrame); - if (curKey5 != null) - { - LiveTimelineKeyMobCyalume3DLookAtPositionData liveTimelineKeyMobCyalume3DLookAtPositionData = curKey5 as LiveTimelineKeyMobCyalume3DLookAtPositionData; - LiveTimelineKeyMobCyalume3DLookAtPositionData liveTimelineKeyMobCyalume3DLookAtPositionData2 = nextKey5 as LiveTimelineKeyMobCyalume3DLookAtPositionData; - if (liveTimelineKeyMobCyalume3DLookAtPositionData2 != null && liveTimelineKeyMobCyalume3DLookAtPositionData2.interpolateType != 0) - { - float t4 = CalculateInterpolationValue(liveTimelineKeyMobCyalume3DLookAtPositionData, liveTimelineKeyMobCyalume3DLookAtPositionData2, currentFrame); - updateInfo.lookAtPositionList[i] = LerpWithoutClamp(liveTimelineKeyMobCyalume3DLookAtPositionData.translate, liveTimelineKeyMobCyalume3DLookAtPositionData2.translate, t4); - } - else - { - updateInfo.lookAtPositionList[i] = liveTimelineKeyMobCyalume3DLookAtPositionData.translate; - } - } - } - num5 = (updateInfo.positionCount = Math.Min(sheet.mobCyalume3DPositionDataList.Count, 11)); - updateInfo.positionList = _arrMobCyalume3DPosition; - for (int j = 0; j < num5; j++) - { - LiveTimelineKeyMobCyalume3DPositionDataList keys2 = sheet.mobCyalume3DPositionDataList[j].keys; - if (keys2.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - updateInfo.positionList[j] = Vector3.zero; - continue; - } - FindTimelineKey(out var curKey6, out var nextKey6, keys2, currentFrame); - if (curKey6 != null) - { - LiveTimelineKeyMobCyalume3DPositionData liveTimelineKeyMobCyalume3DPositionData = curKey6 as LiveTimelineKeyMobCyalume3DPositionData; - LiveTimelineKeyMobCyalume3DPositionData liveTimelineKeyMobCyalume3DPositionData2 = nextKey6 as LiveTimelineKeyMobCyalume3DPositionData; - if (liveTimelineKeyMobCyalume3DPositionData2 != null && liveTimelineKeyMobCyalume3DPositionData2.interpolateType != 0) - { - float t5 = CalculateInterpolationValue(liveTimelineKeyMobCyalume3DPositionData, liveTimelineKeyMobCyalume3DPositionData2, currentFrame); - updateInfo.positionList[j] = LerpWithoutClamp(liveTimelineKeyMobCyalume3DPositionData.translate, liveTimelineKeyMobCyalume3DPositionData2.translate, t5); - } - else - { - updateInfo.positionList[j] = liveTimelineKeyMobCyalume3DPositionData.translate; - } - } - } - this.OnUpdateMobCyalume3D(ref updateInfo); - } - - private void AlterUpdate_Event(LiveTimelineWorkSheet sheet, int currentFrame, int oldFrame) - { - if (sheet.eventKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.eventKeys.EnablePlayModeTimeline(_playMode) || currentFrame <= oldFrame) - { - return; - } - LiveTimelineKey triggeredKey = null; - FindTimelineKeyTrigger(out triggeredKey, sheet.eventKeys, currentFrame, oldFrame); - if (triggeredKey != null && triggeredKey.attribute.hasFlag(LiveTimelineKeyAttribute.Disable)) - { - triggeredKey = null; - } - if (triggeredKey == null) - { - return; - } - if (oldFrame <= lastTriggeredEventFrame && lastTriggeredEventFrame <= currentFrame) - { - lastTriggeredEventFrame = -1; - return; - } - LiveTimelineKeyEventData liveTimelineKeyEventData = triggeredKey as LiveTimelineKeyEventData; - if (liveTimelineKeyEventData != null) - { - lastTriggeredEventFrame = triggeredKey.frame; - eventPublisher.FireEvent(liveTimelineKeyEventData); - } - } - - private void AlterUpdate_BgColor1(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateBgColor1 == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - BgColor1UpdateInfo updateInfo = default(BgColor1UpdateInfo); - for (int i = 0; i < sheet.bgColor1List.Count; i++) - { - LiveTimelineBgColor1Data liveTimelineBgColor1Data = sheet.bgColor1List[i]; - if (liveTimelineBgColor1Data.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineBgColor1Data.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineBgColor1Data.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyBgColor1Data liveTimelineKeyBgColor1Data = curKey as LiveTimelineKeyBgColor1Data; - LiveTimelineKeyBgColor1Data liveTimelineKeyBgColor1Data2 = nextKey as LiveTimelineKeyBgColor1Data; - if (liveTimelineKeyBgColor1Data2 != null && liveTimelineKeyBgColor1Data2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyBgColor1Data, liveTimelineKeyBgColor1Data2, currentFrame); - updateInfo.color = LerpWithoutClamp(liveTimelineKeyBgColor1Data.color, liveTimelineKeyBgColor1Data2.color, t); - updateInfo.value = LerpWithoutClamp(liveTimelineKeyBgColor1Data.f32, liveTimelineKeyBgColor1Data2.f32, t); - } - else - { - updateInfo.color = liveTimelineKeyBgColor1Data.color; - updateInfo.value = liveTimelineKeyBgColor1Data.f32; - } - updateInfo.data = liveTimelineBgColor1Data; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyBgColor1Data.frame) * 0.0166666675f; - updateInfo.flags = liveTimelineKeyBgColor1Data.flags; - this.OnUpdateBgColor1(ref updateInfo); - } - } - } - - private void AlterUpdate_BgColor2(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateBgColor2 == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - BgColor2UpdateInfo updateInfo = default(BgColor2UpdateInfo); - for (int i = 0; i < sheet.bgColor2List.Count; i++) - { - LiveTimelineBgColor2Data liveTimelineBgColor2Data = sheet.bgColor2List[i]; - if (liveTimelineBgColor2Data.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineBgColor2Data.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineBgColor2Data.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyBgColor2Data liveTimelineKeyBgColor2Data = curKey as LiveTimelineKeyBgColor2Data; - LiveTimelineKeyBgColor2Data liveTimelineKeyBgColor2Data2 = nextKey as LiveTimelineKeyBgColor2Data; - if (liveTimelineKeyBgColor2Data2 != null && liveTimelineKeyBgColor2Data2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyBgColor2Data, liveTimelineKeyBgColor2Data2, currentFrame); - updateInfo.color1 = LerpWithoutClamp(liveTimelineKeyBgColor2Data.color1, liveTimelineKeyBgColor2Data2.color1, t); - updateInfo.color2 = LerpWithoutClamp(liveTimelineKeyBgColor2Data.color2, liveTimelineKeyBgColor2Data2.color2, t); - updateInfo.value = LerpWithoutClamp(liveTimelineKeyBgColor2Data.f32, liveTimelineKeyBgColor2Data2.f32, t); - updateInfo.enableManualAngle = liveTimelineKeyBgColor2Data.manualAngle; - updateInfo.manualRotation = Quaternion.Lerp(liveTimelineKeyBgColor2Data.manualRotation, liveTimelineKeyBgColor2Data2.manualRotation, t); - } - else - { - updateInfo.color1 = liveTimelineKeyBgColor2Data.color1; - updateInfo.color2 = liveTimelineKeyBgColor2Data.color2; - updateInfo.value = liveTimelineKeyBgColor2Data.f32; - updateInfo.enableManualAngle = liveTimelineKeyBgColor2Data.manualAngle; - updateInfo.manualRotation = liveTimelineKeyBgColor2Data.manualRotation; - } - updateInfo.data = liveTimelineBgColor2Data; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyBgColor2Data.frame) * 0.0166666675f; - updateInfo.rndValueIdx = liveTimelineKeyBgColor2Data.RandomTableIndex(); - updateInfo.groupIndex = liveTimelineBgColor2Data.groupNo; - this.OnUpdateBgColor2(ref updateInfo); - } - } - } - - private void AlterUpdate_BgColor3(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateBgColor3 == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - for (int i = 0; i < sheet.bgColor3List.Count; i++) - { - LiveTimelineBgColor3Data liveTimelineBgColor3Data = sheet.bgColor3List[i]; - if (liveTimelineBgColor3Data.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineBgColor3Data.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineBgColor3Data.keys, currentFrame); - if (curKey == null) - { - continue; - } - LiveTimelineKeyBgColor3Data liveTimelineKeyBgColor3Data = curKey as LiveTimelineKeyBgColor3Data; - LiveTimelineKeyBgColor3Data liveTimelineKeyBgColor3Data2 = nextKey as LiveTimelineKeyBgColor3Data; - if (liveTimelineKeyBgColor3Data2 != null && liveTimelineKeyBgColor3Data2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyBgColor3Data, liveTimelineKeyBgColor3Data2, currentFrame); - for (int j = 0; j < _bgColor3UpdateInfo.colorArray.Length; j++) - { - _bgColor3UpdateInfo.colorArray[j] = LerpWithoutClamp(liveTimelineKeyBgColor3Data._colorArray[j], liveTimelineKeyBgColor3Data2._colorArray[j], t); - } - } - else - { - for (int k = 0; k < _bgColor3UpdateInfo.colorArray.Length; k++) - { - _bgColor3UpdateInfo.colorArray[k] = liveTimelineKeyBgColor3Data._colorArray[k]; - } - } - _bgColor3UpdateInfo.data = liveTimelineBgColor3Data; - _bgColor3UpdateInfo.progressTime = (float)(currentFrame - liveTimelineKeyBgColor3Data.frame) * 0.0166666675f; - this.OnUpdateBgColor3(ref _bgColor3UpdateInfo); - } - } - - /// - /// VolumeLight(Sunshuft)—pAlterUpdate - /// - private void AlterUpdate_VolumeLight(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateVolumeLight == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - float num = 0.0166666675f; - VolumeLightUpdateInfo updateInfo = default(VolumeLightUpdateInfo); - for (int i = 0; i < sheet.VolumeLightKeys.Count; i++) - { - LiveTimelineVolumeLightData liveTimelineVolumeLightData = sheet.VolumeLightKeys[i]; - if (liveTimelineVolumeLightData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineVolumeLightData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyVolumeLightData liveTimelineKeyVolumeLightData = curKey as LiveTimelineKeyVolumeLightData; - LiveTimelineKeyVolumeLightData liveTimelineKeyVolumeLightData2 = nextKey as LiveTimelineKeyVolumeLightData; - if (liveTimelineKeyVolumeLightData2 != null && liveTimelineKeyVolumeLightData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyVolumeLightData, liveTimelineKeyVolumeLightData2, currentFrame); - updateInfo.sunPosition = LerpWithoutClamp(liveTimelineKeyVolumeLightData.sunPosition, liveTimelineKeyVolumeLightData2.sunPosition, t); - updateInfo.color1 = LerpWithoutClamp(liveTimelineKeyVolumeLightData.color1, liveTimelineKeyVolumeLightData2.color1, t); - updateInfo.power = LerpWithoutClamp(liveTimelineKeyVolumeLightData.power, liveTimelineKeyVolumeLightData2.power, t); - updateInfo.blurRadius = LerpWithoutClamp(liveTimelineKeyVolumeLightData.blurRadius, liveTimelineKeyVolumeLightData2.blurRadius, t); - } - else - { - updateInfo.sunPosition = liveTimelineKeyVolumeLightData.sunPosition; - updateInfo.color1 = liveTimelineKeyVolumeLightData.color1; - updateInfo.power = liveTimelineKeyVolumeLightData.power; - updateInfo.blurRadius = liveTimelineKeyVolumeLightData.blurRadius; - } - updateInfo.enable = liveTimelineKeyVolumeLightData.enable; - updateInfo.komorebi = liveTimelineKeyVolumeLightData.komorebi; - updateInfo.isEnabledBorderClear = liveTimelineKeyVolumeLightData.isEnabledBorderClear; - updateInfo.data = liveTimelineVolumeLightData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyVolumeLightData.frame) * num; - this.OnUpdateVolumeLight(ref updateInfo); - } - } - } - - /// - /// HdrBloom—pAlterUpdate - /// - private void AlterUpdate_HdrBloom(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateHdrBloom == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - float num = 0.0166666675f; - HdrBloomUpdateInfo updateInfo = default(HdrBloomUpdateInfo); - for (int i = 0; i < sheet.HdrBloomKeys.Count; i++) - { - LiveTimelineHdrBloomData liveTimelineHdrBloomData = sheet.HdrBloomKeys[i]; - if (liveTimelineHdrBloomData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineHdrBloomData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyHdrBloomData liveTimelineKeyHdrBloomData = curKey as LiveTimelineKeyHdrBloomData; - LiveTimelineKeyHdrBloomData liveTimelineKeyHdrBloomData2 = nextKey as LiveTimelineKeyHdrBloomData; - if (liveTimelineKeyHdrBloomData2 != null && liveTimelineKeyHdrBloomData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyHdrBloomData, liveTimelineKeyHdrBloomData2, currentFrame); - updateInfo.intensity = LerpWithoutClamp(liveTimelineKeyHdrBloomData.intensity, liveTimelineKeyHdrBloomData2.intensity, t); - updateInfo.blurSpread = LerpWithoutClamp(liveTimelineKeyHdrBloomData.blurSpread, liveTimelineKeyHdrBloomData2.blurSpread, t); - } - else - { - updateInfo.intensity = liveTimelineKeyHdrBloomData.intensity; - updateInfo.blurSpread = liveTimelineKeyHdrBloomData.blurSpread; - } - updateInfo.enable = liveTimelineKeyHdrBloomData.enable; - updateInfo.data = liveTimelineHdrBloomData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyHdrBloomData.frame) * num; - this.OnUpdateHdrBloom(ref updateInfo); - } - } - } - - private void AlterUpdate_MonitorControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateMonitorControl == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - MonitorControlUpdateInfo updateInfo = default(MonitorControlUpdateInfo); - for (int i = 0; i < sheet.monitorControlList.Count; i++) - { - LiveTimelineMonitorControlData liveTimelineMonitorControlData = sheet.monitorControlList[i]; - if (liveTimelineMonitorControlData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineMonitorControlData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineMonitorControlData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyMonitorControlData liveTimelineKeyMonitorControlData = curKey as LiveTimelineKeyMonitorControlData; - LiveTimelineKeyMonitorControlData liveTimelineKeyMonitorControlData2 = nextKey as LiveTimelineKeyMonitorControlData; - if (liveTimelineKeyMonitorControlData2 != null && liveTimelineKeyMonitorControlData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMonitorControlData, liveTimelineKeyMonitorControlData2, currentFrame); - updateInfo.pos = LerpWithoutClamp(liveTimelineKeyMonitorControlData.position, liveTimelineKeyMonitorControlData2.position, t); - updateInfo.size = LerpWithoutClamp(liveTimelineKeyMonitorControlData.size, liveTimelineKeyMonitorControlData2.size, t); - updateInfo.speed = LerpWithoutClamp(liveTimelineKeyMonitorControlData.speed, liveTimelineKeyMonitorControlData2.speed, t); - updateInfo.blendFactor = LerpWithoutClamp(liveTimelineKeyMonitorControlData.blendFactor, liveTimelineKeyMonitorControlData2.blendFactor, t); - updateInfo.colorPower = LerpWithoutClamp(liveTimelineKeyMonitorControlData.colorPower, liveTimelineKeyMonitorControlData2.colorPower, t); - } - else - { - updateInfo.pos = liveTimelineKeyMonitorControlData.position; - updateInfo.size = liveTimelineKeyMonitorControlData.size; - updateInfo.speed = liveTimelineKeyMonitorControlData.speed; - updateInfo.blendFactor = liveTimelineKeyMonitorControlData.blendFactor; - updateInfo.colorPower = liveTimelineKeyMonitorControlData.colorPower; - } - updateInfo.multiFlag = liveTimelineKeyMonitorControlData.attribute.hasFlag((LiveTimelineKeyAttribute)65536); - updateInfo.dispID = liveTimelineKeyMonitorControlData.dispID; - updateInfo.subDispID = liveTimelineKeyMonitorControlData.subDispID; - updateInfo.reversePlayFlag = liveTimelineKeyMonitorControlData.attribute.hasFlag((LiveTimelineKeyAttribute)131072); - updateInfo.inputSource = liveTimelineKeyMonitorControlData.inputSource; - updateInfo.data = liveTimelineMonitorControlData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyMonitorControlData.frame) * 0.0166666675f; - updateInfo.textureLabel = liveTimelineKeyMonitorControlData.outputTextureLabel; - updateInfo.playStartOffsetFrame = liveTimelineKeyMonitorControlData.playStartOffsetFrame; - this.OnUpdateMonitorControl(ref updateInfo); - } - } - } - - private void AlterUpdate_AnimationControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateAnimation == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - AnimationUpdateInfo updateInfo = default(AnimationUpdateInfo); - for (int i = 0; i < sheet.animationList.Count; i++) - { - LiveTimelineAnimationData liveTimelineAnimationData = sheet.animationList[i]; - if (liveTimelineAnimationData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineAnimationData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineAnimationData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyAnimationData liveTimelineKeyAnimationData = curKey as LiveTimelineKeyAnimationData; - LiveTimelineKeyAnimationData liveTimelineKeyAnimationData2 = nextKey as LiveTimelineKeyAnimationData; - if (liveTimelineKeyAnimationData2 != null && liveTimelineKeyAnimationData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyAnimationData, liveTimelineKeyAnimationData2, currentFrame); - updateInfo.speed = LerpWithoutClamp(liveTimelineKeyAnimationData.speed, liveTimelineKeyAnimationData2.speed, t); - } - else - { - updateInfo.speed = liveTimelineKeyAnimationData.speed; - } - updateInfo.animationID = liveTimelineKeyAnimationData.animationID; - updateInfo.wrapMode = liveTimelineKeyAnimationData.wrapMode; - updateInfo.speed = liveTimelineKeyAnimationData.speed; - updateInfo.offsetTime = liveTimelineKeyAnimationData.offsetTime; - updateInfo.data = liveTimelineAnimationData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyAnimationData.frame) * 0.0166666675f; - this.OnUpdateAnimation(ref updateInfo); - } - } - } - - private void AlterUpdate_TextureAnimationControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateTextureAnimation == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - TextureAnimationUpdateInfo updateInfo = default(TextureAnimationUpdateInfo); - for (int i = 0; i < sheet.textureAnimationList.Count; i++) - { - LiveTimelineTextureAnimationData liveTimelineTextureAnimationData = sheet.textureAnimationList[i]; - if (liveTimelineTextureAnimationData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineTextureAnimationData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineTextureAnimationData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyTextureAnimationData liveTimelineKeyTextureAnimationData = curKey as LiveTimelineKeyTextureAnimationData; - LiveTimelineKeyTextureAnimationData liveTimelineKeyTextureAnimationData2 = nextKey as LiveTimelineKeyTextureAnimationData; - if (liveTimelineKeyTextureAnimationData2 != null && liveTimelineKeyTextureAnimationData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyTextureAnimationData, liveTimelineKeyTextureAnimationData2, currentFrame); - updateInfo.scrollSpeed = LerpWithoutClamp(liveTimelineKeyTextureAnimationData.scrollSpeed, liveTimelineKeyTextureAnimationData2.scrollSpeed, t); - updateInfo.scrollInterval = LerpWithoutClamp(liveTimelineKeyTextureAnimationData.scrollInterval, liveTimelineKeyTextureAnimationData2.scrollInterval, t); - } - else - { - updateInfo.scrollSpeed = liveTimelineKeyTextureAnimationData.scrollSpeed; - updateInfo.scrollInterval = liveTimelineKeyTextureAnimationData.scrollInterval; - } - updateInfo.textureName = liveTimelineKeyTextureAnimationData.textureName; - updateInfo.textureNameEmpty = liveTimelineKeyTextureAnimationData.textureNameEmpty; - updateInfo.offset = liveTimelineKeyTextureAnimationData.offset; - updateInfo.tiling = liveTimelineKeyTextureAnimationData.tiling; - updateInfo.textureID = liveTimelineKeyTextureAnimationData.textureID; - updateInfo.data = liveTimelineTextureAnimationData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyTextureAnimationData.frame) * 0.0166666675f; - this.OnUpdateTextureAnimation(ref updateInfo); - } - } - } - - private void AlterUpdate_TransformControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateTransform == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - TransformUpdateInfo updateInfo = default(TransformUpdateInfo); - for (int i = 0; i < sheet.transformList.Count; i++) - { - LiveTimelineTransformData liveTimelineTransformData = sheet.transformList[i]; - if (liveTimelineTransformData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineTransformData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineTransformData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyTransformData liveTimelineKeyTransformData = curKey as LiveTimelineKeyTransformData; - LiveTimelineKeyTransformData liveTimelineKeyTransformData2 = nextKey as LiveTimelineKeyTransformData; - Vector3 euler; - if (liveTimelineKeyTransformData2 != null && liveTimelineKeyTransformData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyTransformData, liveTimelineKeyTransformData2, currentFrame); - updateInfo.updateData.position = LerpWithoutClamp(liveTimelineKeyTransformData.position, liveTimelineKeyTransformData2.position, t); - updateInfo.updateData.scale = LerpWithoutClamp(liveTimelineKeyTransformData.scale, liveTimelineKeyTransformData2.scale, t); - euler = LerpWithoutClamp(liveTimelineKeyTransformData.rotate, liveTimelineKeyTransformData2.rotate, t); - } - else - { - updateInfo.updateData.position = liveTimelineKeyTransformData.position; - updateInfo.updateData.scale = liveTimelineKeyTransformData.scale; - euler = liveTimelineKeyTransformData.rotate; - } - updateInfo.updateData.rotation = Quaternion.Euler(euler); - updateInfo.data = liveTimelineTransformData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyTransformData.frame) * 0.0166666675f; - this.OnUpdateTransform(ref updateInfo); - } - } - } - - private void AlterUpdate_RendererControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateRenderer == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - RendererUpdateInfo updateInfo = default(RendererUpdateInfo); - for (int i = 0; i < sheet.rendererList.Count; i++) - { - LiveTimelineRendererData liveTimelineRendererData = sheet.rendererList[i]; - if (!liveTimelineRendererData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && liveTimelineRendererData.keys.EnablePlayModeTimeline(_playMode)) - { - FindTimelineKey(out curKey, out nextKey, liveTimelineRendererData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyRendererData liveTimelineKeyRendererData = curKey as LiveTimelineKeyRendererData; - updateInfo.renderEnable = liveTimelineKeyRendererData.renderEnable; - updateInfo.data = liveTimelineRendererData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyRendererData.frame) * 0.0166666675f; - this.OnUpdateRenderer(ref updateInfo); - } - } - } - } - - private void AlterUpdate_ObjectControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateObject == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - ObjectUpdateInfo updateInfo = default(ObjectUpdateInfo); - for (int i = 0; i < sheet.objectList.Count; i++) - { - LiveTimelineObjectData liveTimelineObjectData = sheet.objectList[i]; - if (liveTimelineObjectData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineObjectData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineObjectData.keys, currentFrame); - if (curKey == null) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineObjectData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyObjectData liveTimelineKeyObjectData = curKey as LiveTimelineKeyObjectData; - LiveTimelineKeyObjectData liveTimelineKeyObjectData2 = nextKey as LiveTimelineKeyObjectData; - Vector3 euler; - if (liveTimelineKeyObjectData2 != null && liveTimelineKeyObjectData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyObjectData, liveTimelineKeyObjectData2, currentFrame); - updateInfo.updateData.position = LerpWithoutClamp(liveTimelineKeyObjectData.position, liveTimelineKeyObjectData2.position, t); - updateInfo.updateData.scale = LerpWithoutClamp(liveTimelineKeyObjectData.scale, liveTimelineKeyObjectData2.scale, t); - euler = LerpWithoutClamp(liveTimelineKeyObjectData.rotate, liveTimelineKeyObjectData2.rotate, t); - updateInfo.color = LerpWithoutClamp(liveTimelineKeyObjectData.color, liveTimelineKeyObjectData2.color, t); - } - else - { - updateInfo.updateData.position = liveTimelineKeyObjectData.position; - updateInfo.updateData.scale = liveTimelineKeyObjectData.scale; - updateInfo.colorEnable = liveTimelineKeyObjectData.colorEnable; - euler = liveTimelineKeyObjectData.rotate; - updateInfo.color = liveTimelineKeyObjectData.color; - } - updateInfo.renderEnable = liveTimelineKeyObjectData.renderEnable; - updateInfo.data = liveTimelineObjectData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyObjectData.frame) * 0.0166666675f; - updateInfo.updateData.rotation = Quaternion.Euler(euler); - updateInfo.reflectionEnable = liveTimelineKeyObjectData.reflectionEnable; - updateInfo.colorEnable = liveTimelineKeyObjectData.colorEnable; - this.OnUpdateObject(ref updateInfo); - } - } - } - - private void AlterUpdate_GazingObjectControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateGazingObject == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - GazingObjectUpdateInfo updateInfo = default(GazingObjectUpdateInfo); - for (int i = 0; i < sheet.gazingObjectList.Count; i++) - { - LiveTimelineGazingObjectData liveTimelineGazingObjectData = sheet.gazingObjectList[i]; - if (liveTimelineGazingObjectData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineGazingObjectData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineGazingObjectData.keys, currentFrame); - if (curKey == null) - { - continue; - } - LiveTimelineKeyGazingObjectData liveTimelineKeyGazingObjectData = curKey as LiveTimelineKeyGazingObjectData; - LiveTimelineKeyGazingObjectData liveTimelineKeyGazingObjectData2 = nextKey as LiveTimelineKeyGazingObjectData; - if (liveTimelineKeyGazingObjectData.lookAtCharaFlags != 0) - { - if (liveTimelineKeyGazingObjectData2 != null && liveTimelineKeyGazingObjectData2.interpolateType != 0 && liveTimelineKeyGazingObjectData2.lookAtCharaFlags != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyGazingObjectData, liveTimelineKeyGazingObjectData2, currentFrame); - updateInfo.lookAtPos = Vector3.LerpUnclamped(GetPositionWithCharacters(liveTimelineKeyGazingObjectData.lookAtCharaFlags, liveTimelineKeyGazingObjectData.lookAtCharaParts, Vector3.zero), GetPositionWithCharacters(liveTimelineKeyGazingObjectData2.lookAtCharaFlags, liveTimelineKeyGazingObjectData2.lookAtCharaParts, Vector3.zero), t) + Vector3.LerpUnclamped(liveTimelineKeyGazingObjectData.lookAtOffset, liveTimelineKeyGazingObjectData2.lookAtOffset, t); - } - else - { - updateInfo.lookAtPos = GetPositionWithCharacters(liveTimelineKeyGazingObjectData.lookAtCharaFlags, liveTimelineKeyGazingObjectData.lookAtCharaParts, Vector3.zero) + liveTimelineKeyGazingObjectData.lookAtOffset; - } - updateInfo.data = liveTimelineGazingObjectData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyGazingObjectData.frame) * 0.0166666675f; - this.OnUpdateGazingObject(ref updateInfo); - } - } - } - - private void SetupCharaHeightMotionParameter(LiveTimelineKeyCharaHeightMotionData curData, LiveCharaPosition charaPosition, float blendRate, float targetBlendRate, LiveTimelineMotionSequence motionSequence, out CharaHeightMotionUpdateInfo updateInfo) - { - float characterHeight = GetCharacterHeight(charaPosition); - float num; - switch (curData.blendType) - { - default: - num = (characterHeight - kCameraLayerOffsetMinCharaHeight) / kCameraLayerOffsetBaseDiff * blendRate; - updateInfo.offsetRate.x = (characterHeight - kCameraLayerOffsetMinCharaHeight) / kCameraLayerOffsetBaseDiff * blendRate; - updateInfo.offsetRate.y = 0f; - updateInfo.offsetRate.z = 0f; - updateInfo.offsetRateExtend = null; - updateInfo.offsetPositionEffectorExtend = null; - updateInfo.extendNum = 0; - break; - case LiveTimelineKeyCharaHeightMotionData.BlendType.Self: - num = (characterHeight - kCameraLayerOffsetMinCharaHeight) / kCameraLayerOffsetBaseDiff * blendRate; - updateInfo.offsetRate = Vector3.zero; - updateInfo.offsetRateExtend = null; - updateInfo.offsetPositionEffectorExtend = null; - updateInfo.extendNum = 0; - break; - case LiveTimelineKeyCharaHeightMotionData.BlendType.Target: - { - num = (GetCharacterHeight(curData.targetPosition) - characterHeight) / kCameraLayerOffsetBaseDiff * blendRate; - float x = (characterHeight - kCameraLayerOffsetMinCharaHeight) / kCameraLayerOffsetBaseDiff * blendRate; - updateInfo.offsetRate.x = x; - updateInfo.offsetRate.y = 0f; - updateInfo.offsetRate.z = 0f; - if (num < 0f) - { - num = 0f; - } - updateInfo.offsetRateExtend = null; - updateInfo.offsetPositionEffectorExtend = null; - updateInfo.extendNum = 0; - break; - } - case LiveTimelineKeyCharaHeightMotionData.BlendType.TargetParts: - { - float characterHeight2 = GetCharacterHeight(curData.targetPosition); - float characterHeight3 = GetCharacterHeight(curData.target2Position); - characterHeight2 = Mathf.Max(0f, (characterHeight2 - characterHeight) / kCameraLayerOffsetBaseDiff) * blendRate; - characterHeight3 = Mathf.Max(0f, (characterHeight3 - characterHeight) / kCameraLayerOffsetBaseDiff) * blendRate; - num = Mathf.Lerp(characterHeight2, characterHeight3, targetBlendRate); - updateInfo.offsetRate = Vector3.zero; - updateInfo.offsetRateExtend = _heightMotionOffsetRate; - updateInfo.offsetPositionEffectorExtend = _heightMotionOffsetTargetPart; - updateInfo.extendNum = 0; - if (curData.partsMotion == null) - { - break; - } - int num2 = curData.partsMotion.Length; - if (num2 > 4) - { - num2 = 4; - } - updateInfo.extendNum = num2; - for (int i = 0; i < num2; i++) - { - float num3 = (characterHeight - kCameraLayerOffsetMinCharaHeight) / kCameraLayerOffsetBaseDiff * blendRate; - float characterHeight4 = GetCharacterHeight(curData.partsMotion[i].targetPosition); - _heightMotionOffsetRate[i].y = num3; - float rate; - if (characterHeight4 > characterHeight) - { - _heightMotionOffsetRate[i].x = 0f; - _heightMotionOffsetRate[i].z = 0f; - rate = (characterHeight4 - characterHeight) / kCameraLayerOffsetBaseDiff * blendRate; - } - else - { - _heightMotionOffsetRate[i].x = num3; - _heightMotionOffsetRate[i].z = (characterHeight - characterHeight4) / kCameraLayerOffsetBaseDiff * blendRate; - rate = 0f; - } - _heightMotionOffsetTargetPart[i] = curData.partsMotion[i].positionOffset; - motionSequence.SetHeightMotionBlend(i + 1, rate); - } - break; - } - } - motionSequence.SetHeightMotionKey(curData); - motionSequence.SetHeightMotionBlend(0, num); - updateInfo.selfPosition = charaPosition; - updateInfo.blendType = curData.blendType; - updateInfo.offsetPositionEffector = curData.positionOffset; - } - - private void AlterUpdate_CharaHeightMotion(LiveTimelineWorkSheet sheet, int currentFrame) - { - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - for (int i = 0; i < sheet.charaHeightMotList.Count; i++) - { - LiveTimelineCharaHeightMotSeqData liveTimelineCharaHeightMotSeqData = sheet.charaHeightMotList[i]; - int charaPosition = (int)liveTimelineCharaHeightMotSeqData.charaPosition; - LiveTimelineMotionSequence liveTimelineMotionSequence = _motionSequenceArray[charaPosition]; - if (liveTimelineMotionSequence == null) - { - continue; - } - if (liveTimelineCharaHeightMotSeqData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - liveTimelineMotionSequence.SetHeightMotionKey(null); - continue; - } - if (!liveTimelineCharaHeightMotSeqData.keys.EnablePlayModeTimeline(_playMode)) - { - liveTimelineMotionSequence.SetHeightMotionKey(null); - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineCharaHeightMotSeqData.keys, currentFrame); - if (curKey == null) - { - liveTimelineMotionSequence.SetHeightMotionKey(null); - continue; - } - LiveTimelineKeyCharaHeightMotionData liveTimelineKeyCharaHeightMotionData = curKey as LiveTimelineKeyCharaHeightMotionData; - LiveTimelineKeyCharaHeightMotionData liveTimelineKeyCharaHeightMotionData2 = nextKey as LiveTimelineKeyCharaHeightMotionData; - float num = (float)curKey.frame * 0.0166666675f; - if ((float)currentFrame * 0.0166666675f > num + liveTimelineKeyCharaHeightMotionData.playLength) - { - liveTimelineMotionSequence.SetHeightMotionKey(null); - continue; - } - float blendRate; - float targetBlendRate; - if (liveTimelineKeyCharaHeightMotionData2 != null && liveTimelineKeyCharaHeightMotionData2.interpolate) - { - float t = LinearInterpolateKeyframes(liveTimelineKeyCharaHeightMotionData, liveTimelineKeyCharaHeightMotionData2, currentFrame); - blendRate = LerpWithoutClamp(liveTimelineKeyCharaHeightMotionData.blendRate, liveTimelineKeyCharaHeightMotionData2.blendRate, t); - targetBlendRate = LerpWithoutClamp(liveTimelineKeyCharaHeightMotionData.targetBlendRate, liveTimelineKeyCharaHeightMotionData2.targetBlendRate, t); - } - else - { - blendRate = liveTimelineKeyCharaHeightMotionData.blendRate; - targetBlendRate = liveTimelineKeyCharaHeightMotionData.targetBlendRate; - } - SetupCharaHeightMotionParameter(liveTimelineKeyCharaHeightMotionData, liveTimelineCharaHeightMotSeqData.charaPosition, blendRate, targetBlendRate, liveTimelineMotionSequence, out var updateInfo); - this.OnCharaHeightMotionUpdateInfo(ref updateInfo); - } - } - - private void AlterUpdate_PropsControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateProps == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - PropsUpdateInfo updateInfo = default(PropsUpdateInfo); - updateInfo.currentTime = (float)currentFrame * 0.0166666675f; - for (int i = 0; i < sheet.propsList.Count; i++) - { - LiveTimelinePropsData liveTimelinePropsData = sheet.propsList[i]; - if (liveTimelinePropsData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelinePropsData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelinePropsData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyPropsData liveTimelineKeyPropsData = curKey as LiveTimelineKeyPropsData; - LiveTimelineKeyPropsData liveTimelineKeyPropsData2 = nextKey as LiveTimelineKeyPropsData; - if (liveTimelineKeyPropsData2 != null && liveTimelineKeyPropsData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyPropsData, liveTimelineKeyPropsData2, currentFrame); - updateInfo.color = LerpWithoutClamp(liveTimelineKeyPropsData.color, liveTimelineKeyPropsData2.color, t); - updateInfo.colorPower = LerpWithoutClamp(liveTimelineKeyPropsData.colorPower, liveTimelineKeyPropsData2.colorPower, t); - updateInfo.rootColor = LerpWithoutClamp(liveTimelineKeyPropsData.rootColor, liveTimelineKeyPropsData2.rootColor, t); - updateInfo.tipColor = LerpWithoutClamp(liveTimelineKeyPropsData.tipColor, liveTimelineKeyPropsData2.tipColor, t); - updateInfo.lightPosition = LerpWithoutClamp(liveTimelineKeyPropsData.lightPos, liveTimelineKeyPropsData2.lightPos, t); - updateInfo.specularPower = LerpWithoutClamp(liveTimelineKeyPropsData.specularPower, liveTimelineKeyPropsData2.specularPower, t); - updateInfo.specularColor = LerpWithoutClamp(liveTimelineKeyPropsData.specularColor, liveTimelineKeyPropsData2.specularColor, t); - updateInfo.luminousColor = LerpWithoutClamp(liveTimelineKeyPropsData.luminousColor, liveTimelineKeyPropsData2.luminousColor, t); - } - else - { - updateInfo.color = liveTimelineKeyPropsData.color; - updateInfo.colorPower = liveTimelineKeyPropsData.colorPower; - updateInfo.rootColor = liveTimelineKeyPropsData.rootColor; - updateInfo.tipColor = liveTimelineKeyPropsData.tipColor; - updateInfo.lightPosition = liveTimelineKeyPropsData.lightPos; - updateInfo.specularPower = liveTimelineKeyPropsData.specularPower; - updateInfo.specularColor = liveTimelineKeyPropsData.specularColor; - updateInfo.luminousColor = liveTimelineKeyPropsData.luminousColor; - } - updateInfo.data = liveTimelinePropsData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyPropsData.frame) * 0.0166666675f; - updateInfo.renderEnable = liveTimelineKeyPropsData.rendererEnable; - updateInfo.settingFlags = liveTimelineKeyPropsData.settingFlags; - updateInfo.propsID = liveTimelineKeyPropsData.propsID; - updateInfo.drawAfterImage = liveTimelineKeyPropsData.IsDrawAfterImage(); - updateInfo.useLocalAxis = liveTimelineKeyPropsData.IsUseLocalAxis(); - this.OnUpdateProps(ref updateInfo); - } - } - } - - private void AlterUpdate_PropsAttachControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdatePropsAttach == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - PropsAttachUpdateInfo updateInfo = default(PropsAttachUpdateInfo); - for (int i = 0; i < sheet.propsAttachList.Count; i++) - { - LiveTimelinePropsAttachData liveTimelinePropsAttachData = sheet.propsAttachList[i]; - if (liveTimelinePropsAttachData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelinePropsAttachData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelinePropsAttachData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyPropsAttachData liveTimelineKeyPropsAttachData = curKey as LiveTimelineKeyPropsAttachData; - LiveTimelineKeyPropsAttachData liveTimelineKeyPropsAttachData2 = nextKey as LiveTimelineKeyPropsAttachData; - if (liveTimelineKeyPropsAttachData2 != null && liveTimelineKeyPropsAttachData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyPropsAttachData, liveTimelineKeyPropsAttachData2, currentFrame); - updateInfo.offsetPosition = LerpWithoutClamp(liveTimelineKeyPropsAttachData.offsetPosition, liveTimelineKeyPropsAttachData2.offsetPosition, t); - updateInfo.rotation = LerpWithoutClamp(liveTimelineKeyPropsAttachData.rotation, liveTimelineKeyPropsAttachData2.rotation, t); - } - else - { - updateInfo.offsetPosition = liveTimelineKeyPropsAttachData.offsetPosition; - updateInfo.rotation = liveTimelineKeyPropsAttachData.rotation; - } - updateInfo.data = liveTimelinePropsAttachData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyPropsAttachData.frame) * 0.0166666675f; - updateInfo.settingFlags = liveTimelineKeyPropsAttachData.settingFlags; - updateInfo.attachJointHash = liveTimelineKeyPropsAttachData.attachJointHash; - updateInfo.propsID = liveTimelineKeyPropsAttachData.propsID; - updateInfo.animationId = liveTimelineKeyPropsAttachData.animationId; - updateInfo.animationSpeed = liveTimelineKeyPropsAttachData.animationSpeed; - updateInfo.animationOffset = liveTimelineKeyPropsAttachData.animationOffset; - updateInfo.changeAnimation = false; - if (liveTimelinePropsAttachData.updatedKeyFrame != liveTimelineKeyPropsAttachData.frame && liveTimelineKeyPropsAttachData.isAnimationChange) - { - updateInfo.changeAnimation = true; - } - liveTimelinePropsAttachData.updatedKeyFrame = liveTimelineKeyPropsAttachData.frame; - this.OnUpdatePropsAttach(ref updateInfo); - } - } - } - - private void AlterUpdate_CameraSwitcher(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (sheet.cameraSwitcherKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.cameraSwitcherKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - FindTimelineKeyCurrent(out curKey, sheet.cameraSwitcherKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCameraSwitcherData liveTimelineKeyCameraSwitcherData = curKey as LiveTimelineKeyCameraSwitcherData; - if (this.OnUpdateCameraSwitcher != null) - { - this.OnUpdateCameraSwitcher(liveTimelineKeyCameraSwitcherData.cameraIndex); - } - else - { - if (liveTimelineKeyCameraSwitcherData.cameraIndex >= cameraArray.Length) - { - return; - } - for (int i = 0; i < cameraArray.Length; i++) - { - if (cameraArray[i] == null) - { - continue; - } - if (i == liveTimelineKeyCameraSwitcherData.cameraIndex) - { - if (!cameraArray[i].camera.enabled) - { - cameraArray[i].camera.enabled = true; - cameraScriptArray[i].enabled = true; - } - } - else if (cameraArray[i].camera.enabled) - { - cameraArray[i].camera.enabled = false; - cameraScriptArray[i].enabled = false; - } - } - } - } - - private void AlterUpdate_LipSync(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (!sheet.ripSyncKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && sheet.ripSyncKeys.EnablePlayModeTimeline(_playMode) && this.OnUpdateLipSync != null) - { - LiveTimelineKey curKey = null; - FindTimelineKeyCurrent(out curKey, sheet.ripSyncKeys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyRipSyncData arg = curKey as LiveTimelineKeyRipSyncData; - this.OnUpdateLipSync(arg, currentLiveTime); - } - } - } - - /// - /// PostEffect—pAlterUpdate - /// - private void AlterUpdate_PostEffect(LiveTimelineWorkSheet sheet, int currentFrame, Vector3 cameraLookAt) - { - if (sheet.postEffectKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.postEffectKeys.EnablePlayModeTimeline(_playMode) || this.OnUpdatePostEffect == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.postEffectKeys, currentFrame); - if (curKey == null) - { - return; - } - PostEffectUpdateInfo updateInfo = default(PostEffectUpdateInfo); - LiveTimelineKeyPostEffectData liveTimelineKeyPostEffectData = curKey as LiveTimelineKeyPostEffectData; - LiveTimelineKeyPostEffectData liveTimelineKeyPostEffectData2 = nextKey as LiveTimelineKeyPostEffectData; - updateInfo.dofBlurType = liveTimelineKeyPostEffectData.dofBlurType; - updateInfo.dofQuality = liveTimelineKeyPostEffectData.dofQuality; - updateInfo.isUseFocalPoint = liveTimelineKeyPostEffectData.IsUseFocalPoint(); - if (liveTimelineKeyPostEffectData2 != null && liveTimelineKeyPostEffectData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyPostEffectData, liveTimelineKeyPostEffectData2, currentFrame); - updateInfo.forcalSize = LerpWithoutClamp(liveTimelineKeyPostEffectData.forcalSize, liveTimelineKeyPostEffectData2.forcalSize, t); - updateInfo.blurSpread = LerpWithoutClamp(liveTimelineKeyPostEffectData.blurSpread, liveTimelineKeyPostEffectData2.blurSpread, t); - updateInfo.bloomDofWeight = LerpWithoutClamp(liveTimelineKeyPostEffectData.bloomDofWeight, liveTimelineKeyPostEffectData2.bloomDofWeight, t); - updateInfo.threshold = LerpWithoutClamp(liveTimelineKeyPostEffectData.threshold, liveTimelineKeyPostEffectData2.threshold, t); - updateInfo.intensity = LerpWithoutClamp(liveTimelineKeyPostEffectData.intensity, liveTimelineKeyPostEffectData2.intensity, t); - if (liveTimelineKeyPostEffectData.IsUseLookAt() && liveTimelineKeyPostEffectData2.IsUseLookAt()) - { - updateInfo.forcalPosition = cameraLookAt; - } - else - { - updateInfo.forcalPosition = LerpWithoutClamp(liveTimelineKeyPostEffectData.IsUseLookAt() ? cameraLookAt : GetPositionWithCharacters(liveTimelineKeyPostEffectData.charactor, LiveCameraLookAtCharaParts.Face), liveTimelineKeyPostEffectData2.IsUseLookAt() ? cameraLookAt : GetPositionWithCharacters(liveTimelineKeyPostEffectData2.charactor, LiveCameraLookAtCharaParts.Face), t); - } - updateInfo.dofForegroundSize = LerpWithoutClamp(liveTimelineKeyPostEffectData.dofForegroundSize, liveTimelineKeyPostEffectData2.dofForegroundSize, t); - updateInfo.dofFocalPoint = LerpWithoutClamp(liveTimelineKeyPostEffectData.dofFocalPoint, liveTimelineKeyPostEffectData2.dofFocalPoint, t); - updateInfo.filterIntensity = LerpWithoutClamp(liveTimelineKeyPostEffectData.dofMVFilterIntensity, liveTimelineKeyPostEffectData2.dofMVFilterIntensity, t); - float num = LerpWithoutClamp(liveTimelineKeyPostEffectData.dofMVFilterSpd, liveTimelineKeyPostEffectData2.dofMVFilterSpd, t); - updateInfo.filterTime = (float)(currentFrame - liveTimelineKeyPostEffectData.frame) * 0.0166666675f * num; - } - else - { - updateInfo.forcalSize = liveTimelineKeyPostEffectData.forcalSize; - updateInfo.blurSpread = liveTimelineKeyPostEffectData.blurSpread; - updateInfo.bloomDofWeight = liveTimelineKeyPostEffectData.bloomDofWeight; - updateInfo.threshold = liveTimelineKeyPostEffectData.threshold; - updateInfo.intensity = liveTimelineKeyPostEffectData.intensity; - updateInfo.forcalPosition = (liveTimelineKeyPostEffectData.IsUseLookAt() ? cameraLookAt : GetPositionWithCharacters(liveTimelineKeyPostEffectData.charactor, LiveCameraLookAtCharaParts.Face)); - updateInfo.dofForegroundSize = liveTimelineKeyPostEffectData.dofForegroundSize; - updateInfo.dofFocalPoint = liveTimelineKeyPostEffectData.dofFocalPoint; - updateInfo.dofMVFilterType = liveTimelineKeyPostEffectData.dofMVFilterType; - updateInfo.filterResId = liveTimelineKeyPostEffectData.dofMVFilterResId; - updateInfo.filterIntensity = liveTimelineKeyPostEffectData.dofMVFilterIntensity; - updateInfo.filterTime = (float)(currentFrame - liveTimelineKeyPostEffectData.frame) * 0.0166666675f * liveTimelineKeyPostEffectData.dofMVFilterSpd; - updateInfo.disableDOFBlur = liveTimelineKeyPostEffectData.IsDisableDOFBlur(); - } - this.OnUpdatePostEffect(ref updateInfo); - } - - /// - /// PostFilm—pAlterUpdate - /// - private void AlterUpdate_PostFilm(LiveTimelineKeyPostFilmDataList postFilmKeys, int currentFrame, ScreenOverlayUpdateInfoDelegate fnUpdatePostFilm) - { - if (fnUpdatePostFilm == null || postFilmKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !postFilmKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, postFilmKeys, currentFrame); - if (curKey == null) - { - return; - } - PostFilmUpdateInfo updateInfo = default(PostFilmUpdateInfo); - LiveTimelineKeyPostFilmData liveTimelineKeyPostFilmData = curKey as LiveTimelineKeyPostFilmData; - LiveTimelineKeyPostFilmData liveTimelineKeyPostFilmData2 = nextKey as LiveTimelineKeyPostFilmData; - if (liveTimelineKeyPostFilmData2 != null && liveTimelineKeyPostFilmData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyPostFilmData, liveTimelineKeyPostFilmData2, currentFrame); - updateInfo.filmPower = LerpWithoutClamp(liveTimelineKeyPostFilmData.filmPower, liveTimelineKeyPostFilmData2.filmPower, t); - updateInfo.filmOffsetParam = LerpWithoutClamp(liveTimelineKeyPostFilmData.filmOffsetParam, liveTimelineKeyPostFilmData2.filmOffsetParam, t); - updateInfo.filmOptionParam = LerpWithoutClamp(liveTimelineKeyPostFilmData.filmOptionParam, liveTimelineKeyPostFilmData2.filmOptionParam, t); - switch (liveTimelineKeyPostFilmData.colorType) - { - case PostColorType.ColorAll: - updateInfo.color0 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color0, liveTimelineKeyPostFilmData2.color0, t); - updateInfo.color1 = (updateInfo.color2 = (updateInfo.color3 = updateInfo.color0)); - break; - case PostColorType.Color2TopBottom: - updateInfo.color0 = (updateInfo.color1 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color0, liveTimelineKeyPostFilmData2.color0, t)); - updateInfo.color2 = (updateInfo.color3 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color1, liveTimelineKeyPostFilmData2.color1, t)); - break; - case PostColorType.Color2LeftRight: - updateInfo.color0 = (updateInfo.color2 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color0, liveTimelineKeyPostFilmData2.color0, t)); - updateInfo.color1 = (updateInfo.color3 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color1, liveTimelineKeyPostFilmData2.color1, t)); - break; - case PostColorType.Color4: - updateInfo.color0 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color0, liveTimelineKeyPostFilmData2.color0, t); - updateInfo.color1 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color1, liveTimelineKeyPostFilmData2.color1, t); - updateInfo.color2 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color2, liveTimelineKeyPostFilmData2.color2, t); - updateInfo.color3 = LerpWithoutClamp(liveTimelineKeyPostFilmData.color3, liveTimelineKeyPostFilmData2.color3, t); - break; - } - updateInfo.colorBlendFactor = LerpWithoutClamp(liveTimelineKeyPostFilmData.colorBlendFactor, liveTimelineKeyPostFilmData2.colorBlendFactor, t); - float num = LerpWithoutClamp(liveTimelineKeyPostFilmData.movieSpeed, liveTimelineKeyPostFilmData2.movieSpeed, t); - updateInfo.movieTime = (float)(currentFrame - liveTimelineKeyPostFilmData.frame) * 0.0166666675f * num; - updateInfo.screenCircleDir = LerpWithoutClamp(liveTimelineKeyPostFilmData.screenCircleDir, liveTimelineKeyPostFilmData2.screenCircleDir, t); - } - else - { - updateInfo.filmPower = liveTimelineKeyPostFilmData.filmPower; - updateInfo.filmOffsetParam = liveTimelineKeyPostFilmData.filmOffsetParam; - updateInfo.filmOptionParam = liveTimelineKeyPostFilmData.filmOptionParam; - switch (liveTimelineKeyPostFilmData.colorType) - { - case PostColorType.ColorAll: - updateInfo.color0 = liveTimelineKeyPostFilmData.color0; - updateInfo.color1 = (updateInfo.color2 = (updateInfo.color3 = updateInfo.color0)); - break; - case PostColorType.Color2TopBottom: - updateInfo.color0 = (updateInfo.color1 = liveTimelineKeyPostFilmData.color0); - updateInfo.color2 = (updateInfo.color3 = liveTimelineKeyPostFilmData.color1); - break; - case PostColorType.Color2LeftRight: - updateInfo.color0 = (updateInfo.color2 = liveTimelineKeyPostFilmData.color0); - updateInfo.color1 = (updateInfo.color3 = liveTimelineKeyPostFilmData.color1); - break; - case PostColorType.Color4: - updateInfo.color0 = liveTimelineKeyPostFilmData.color0; - updateInfo.color1 = liveTimelineKeyPostFilmData.color1; - updateInfo.color2 = liveTimelineKeyPostFilmData.color2; - updateInfo.color3 = liveTimelineKeyPostFilmData.color3; - break; - } - updateInfo.colorBlendFactor = liveTimelineKeyPostFilmData.colorBlendFactor; - updateInfo.movieTime = (float)(currentFrame - liveTimelineKeyPostFilmData.frame) * 0.0166666675f * liveTimelineKeyPostFilmData.movieSpeed; - updateInfo.screenCircleDir = liveTimelineKeyPostFilmData.screenCircleDir; - } - updateInfo.inverseVignette = liveTimelineKeyPostFilmData.isInverseVignette(); - updateInfo.screenCircle = liveTimelineKeyPostFilmData.isScreenCircle; - updateInfo.layerMode = liveTimelineKeyPostFilmData.layerMode; - updateInfo.movieResId = liveTimelineKeyPostFilmData.movieResId; - updateInfo.movieFrameOffset = liveTimelineKeyPostFilmData.movieFrameOffset; - updateInfo.movieReverse = liveTimelineKeyPostFilmData.isReverseUVMovie(); - updateInfo.colorBlend = liveTimelineKeyPostFilmData.colorBlend; - updateInfo.filmMode = liveTimelineKeyPostFilmData.filmMode; - updateInfo.colorType = liveTimelineKeyPostFilmData.colorType; - fnUpdatePostFilm(ref updateInfo); - } - - /// - /// ƒ^ƒCƒ€ƒ‰ƒCƒ“‚ɂăXƒNƒŠ�[ƒ“ƒtƒF�[ƒh‚ðŠǗ�‚·‚é - /// ŽÀ�s‚·‚邩‚ðŠǗ�‚µ�AŽÀ�ۂ̏ˆ—�‚ÍAlterUpdate_ScreenFadeMain‚ɂčs‚¤ - /// - private void AlterUpdate_ScreenFade(LiveTimelineKeyScreenFadeDataList keys, int currentFrame) - { - if (this.OnUpdateScreenFade != null && keys.Count != 0 && !keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && keys.EnablePlayModeTimeline(_playMode)) - { - ScreenFadeUpdateInfo updateInfo = default(ScreenFadeUpdateInfo); - AlterUpdate_ScreenFadeMain(keys, currentFrame, ref updateInfo); - this.OnUpdateScreenFade(ref updateInfo); - } - } - - /// - /// OnUpdateScreenFade‚ɑ—‚éScreenFadeUpdateInfo‚̒l‚𐶐¬‚·‚é - /// - private void AlterUpdate_ScreenFadeMain(LiveTimelineKeyScreenFadeDataList keys, int currentFrame, ref ScreenFadeUpdateInfo updateInfo) - { - updateInfo.enable = false; - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyScreenFadeData liveTimelineKeyScreenFadeData = curKey as LiveTimelineKeyScreenFadeData; - LiveTimelineKeyScreenFadeData liveTimelineKeyScreenFadeData2 = nextKey as LiveTimelineKeyScreenFadeData; - if (liveTimelineKeyScreenFadeData2 != null && liveTimelineKeyScreenFadeData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyScreenFadeData, liveTimelineKeyScreenFadeData2, currentFrame); - updateInfo.color = Color.LerpUnclamped(liveTimelineKeyScreenFadeData.color, liveTimelineKeyScreenFadeData2.color, t); - } - else - { - updateInfo.color = liveTimelineKeyScreenFadeData.color; - } - updateInfo.enable = updateInfo.color.a > 0f; - updateInfo.onlyQuality3DLight = liveTimelineKeyScreenFadeData.onlyQuality3DLight; - } - } - - private void AlterUpdate_CameraLayer(LiveTimelineWorkSheet sheet, int currentFrame, ref Vector3 layerOffset, ref Vector3 extraLayerOffset) - { - if (sheet.cameraLayerKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.cameraLayerKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.cameraLayerKeys, currentFrame); - if (curKey == null) - { - layerOffset = Vector3.zero; - return; - } - LiveTimelineKeyCameraLayerData liveTimelineKeyCameraLayerData = curKey as LiveTimelineKeyCameraLayerData; - LiveTimelineKeyCameraLayerData liveTimelineKeyCameraLayerData2 = nextKey as LiveTimelineKeyCameraLayerData; - if (liveTimelineKeyCameraLayerData2 != null && liveTimelineKeyCameraLayerData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraLayerData, liveTimelineKeyCameraLayerData2, currentFrame); - layerOffset = LerpWithoutClamp(liveTimelineKeyCameraLayerData.layerOffset, liveTimelineKeyCameraLayerData2.layerOffset, t); - _isExtraCameraLayer = liveTimelineKeyCameraLayerData.extraCamera; - if (liveTimelineKeyCameraLayerData.extraCamera) - { - extraLayerOffset = LerpWithoutClamp(liveTimelineKeyCameraLayerData.extraCameraLayerOffset, liveTimelineKeyCameraLayerData2.extraCameraLayerOffset, t); - } - } - else - { - layerOffset = liveTimelineKeyCameraLayerData.layerOffset; - _isExtraCameraLayer = liveTimelineKeyCameraLayerData.extraCamera; - if (liveTimelineKeyCameraLayerData.extraCamera) - { - extraLayerOffset = liveTimelineKeyCameraLayerData.extraCameraLayerOffset; - } - } - } - - private void AlterUpdate_Projector(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateProjector == null) - { - return; - } - if (sheet.projecterList.Count > 0 && (_projectorWorks == null || _projectorWorks.Length < sheet.projecterList.Count)) - { - _projectorWorks = new ProjectorWork[sheet.projecterList.Count]; - for (int i = 0; i < _projectorWorks.Length; i++) - { - _projectorWorks[i] = new ProjectorWork(); - } - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - ProjectorUpdateInfo updateInfo = default(ProjectorUpdateInfo); - for (int j = 0; j < sheet.projecterList.Count; j++) - { - LiveTimelineProjectorData liveTimelineProjectorData = sheet.projecterList[j]; - if (liveTimelineProjectorData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineProjectorData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineProjectorData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - liveTimelineKey2 = ((liveTimelineKey == null) ? null : liveTimelineProjectorData.keys.At(findKeyResult.index + 1)); - if (liveTimelineKey == null) - { - continue; - } - LiveTimelineKeyProjectorData liveTimelineKeyProjectorData = liveTimelineKey as LiveTimelineKeyProjectorData; - LiveTimelineKeyProjectorData liveTimelineKeyProjectorData2 = liveTimelineKey2 as LiveTimelineKeyProjectorData; - if (liveTimelineKeyProjectorData2 != null && liveTimelineKeyProjectorData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyProjectorData, liveTimelineKeyProjectorData2, currentFrame); - updateInfo.motionID = liveTimelineKeyProjectorData.motionID; - updateInfo.materialID = liveTimelineKeyProjectorData.materialID; - updateInfo.speed = LerpWithoutClamp(liveTimelineKeyProjectorData.speed, liveTimelineKeyProjectorData2.speed, t); - updateInfo.color1 = LerpWithoutClamp(liveTimelineKeyProjectorData.color1, liveTimelineKeyProjectorData2.color1, t); - updateInfo.power = LerpWithoutClamp(liveTimelineKeyProjectorData.power, liveTimelineKeyProjectorData2.power, t); - updateInfo.position = LerpWithoutClamp(liveTimelineKeyProjectorData.position, liveTimelineKeyProjectorData2.position, t); - updateInfo.rotate = LerpWithoutClamp(liveTimelineKeyProjectorData.rotate, liveTimelineKeyProjectorData2.rotate, t); - updateInfo.rotateXZ = LerpWithoutClamp(liveTimelineKeyProjectorData.rotateXZ, liveTimelineKeyProjectorData2.rotateXZ, t); - updateInfo.size = LerpWithoutClamp(liveTimelineKeyProjectorData.size, liveTimelineKeyProjectorData2.size, t); - } - else - { - updateInfo.motionID = liveTimelineKeyProjectorData.motionID; - updateInfo.materialID = liveTimelineKeyProjectorData.materialID; - updateInfo.speed = liveTimelineKeyProjectorData.speed; - updateInfo.color1 = liveTimelineKeyProjectorData.color1; - updateInfo.power = liveTimelineKeyProjectorData.power; - updateInfo.position = liveTimelineKeyProjectorData.position; - updateInfo.rotate = liveTimelineKeyProjectorData.rotate; - updateInfo.rotateXZ = liveTimelineKeyProjectorData.rotateXZ; - updateInfo.size = liveTimelineKeyProjectorData.size; - } - updateInfo.data = liveTimelineProjectorData; - ProjectorWork projectorWork = _projectorWorks[j]; - float num = (float)(currentFrame - liveTimelineKeyProjectorData.frame) * 0.0166666675f; - if (liveTimelineKeyProjectorData.IsAnimContinuous()) - { - if (liveTimelineKeyProjectorData.frame != projectorWork.startFrame || projectorWork.lineHash != liveTimelineProjectorData.nameHash) - { - projectorWork.lineHash = liveTimelineProjectorData.nameHash; - int frame = liveTimelineKeyProjectorData.frame; - for (int num2 = findKeyResult.index - 1; num2 >= 0; num2--) - { - LiveTimelineKey liveTimelineKey3 = liveTimelineProjectorData.keys[num2]; - frame = liveTimelineKey3.frame; - if (!(liveTimelineKey3 as LiveTimelineKeyProjectorData).IsAnimContinuous()) - { - break; - } - } - projectorWork.progressTime = (float)(liveTimelineKeyProjectorData.frame - frame) * 0.0166666675f; - } - num += projectorWork.progressTime; - } - projectorWork.startFrame = liveTimelineKeyProjectorData.frame; - updateInfo.progressTime = num; - this.OnUpdateProjector(ref updateInfo); - } - } - - private void AlterUpdate_CharaWind(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnCharaWindUpdate == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - CharaWindUpdateInfo updateInfo = default(CharaWindUpdateInfo); - for (int i = 0; i < sheet.charaWindList.Count; i++) - { - LiveTimelineCharaWindData liveTimelineCharaWindData = sheet.charaWindList[i]; - if (liveTimelineCharaWindData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineCharaWindData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineCharaWindData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyCharaWindData liveTimelineKeyCharaWindData = curKey as LiveTimelineKeyCharaWindData; - LiveTimelineKeyCharaWindData liveTimelineKeyCharaWindData2 = nextKey as LiveTimelineKeyCharaWindData; - Vector3 cySpringForceScale; - Vector3 windPower; - if (liveTimelineKeyCharaWindData2 != null && liveTimelineKeyCharaWindData2.IsInterpolateKey()) - { - float t = LinearInterpolateKeyframes(liveTimelineKeyCharaWindData, liveTimelineKeyCharaWindData2, currentFrame); - cySpringForceScale = LerpWithoutClamp(liveTimelineKeyCharaWindData.cySpringForceScale, liveTimelineKeyCharaWindData2.cySpringForceScale, t); - windPower = LerpWithoutClamp(liveTimelineKeyCharaWindData.windPower, liveTimelineKeyCharaWindData2.windPower, t); - } - else - { - cySpringForceScale = liveTimelineKeyCharaWindData.cySpringForceScale; - windPower = liveTimelineKeyCharaWindData.windPower; - } - updateInfo.windMode = liveTimelineKeyCharaWindData.windMode; - updateInfo.loopTime = liveTimelineKeyCharaWindData.loopTime; - updateInfo.enable = liveTimelineKeyCharaWindData.enable; - updateInfo.selfPosition = liveTimelineCharaWindData.charaPosition; - updateInfo.cySpringForceScale = cySpringForceScale; - updateInfo.windPower = windPower; - this.OnCharaWindUpdate(ref updateInfo); - } - } - } - - private void AlterUpdate_FacialData(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateFacial == null) - { - return; - } - FacialDataUpdateInfo updateInfo = default(FacialDataUpdateInfo); - if (sheet.facial1Set != null) - { - SetupFacialUpdateInfo_Face(ref updateInfo, sheet.facial1Set.faceKeys, currentFrame); - SetupFacialUpdateInfo_Mouth(ref updateInfo, sheet.facial1Set.mouthKeys, currentFrame); - SetupFacialUpdateInfo_Eye(ref updateInfo, sheet.facial1Set.eyeKeys, currentFrame); - SetupFacialUpdateInfo_EyeTrack(ref updateInfo, sheet.facial1Set.eyeTrackKeys, currentFrame); - this.OnUpdateFacial(updateInfo, currentLiveTime, LiveCharaPosition.Center); - } - if (sheet.other4EyeTrackKeys != null) - { - SetupFacialUpdateInfo_EyeTrack(ref updateInfo, sheet.other4EyeTrackKeys, currentFrame); - } - bool flag = false; - LiveTimelineKeyFacialNoiseData liveTimelineKeyFacialNoiseData = sheet.facialNoiseKeys.FindKeyCached(currentFrame, availableFindKeyCache).key as LiveTimelineKeyFacialNoiseData; - if (liveTimelineKeyFacialNoiseData != null) - { - flag = liveTimelineKeyFacialNoiseData.IsNoiseDisable(); - } - for (int i = 1; i < liveCharaPositionMax; i++) - { - bool flag2 = false; - int num = currentFrame; - if (i <= sheet.other4FacialArray.Length) - { - LiveTimelineOther4FacialData liveTimelineOther4FacialData = sheet.other4FacialArray[i - 1]; - num = (flag ? currentFrame : _facialNoiseFrameArray[i - 1]); - SetupFacialUpdateInfo_Face(ref updateInfo, liveTimelineOther4FacialData.faceKeys, num); - SetupFacialUpdateInfo_Mouth(ref updateInfo, liveTimelineOther4FacialData.mouthKeys, num); - SetupFacialUpdateInfo_Eye(ref updateInfo, liveTimelineOther4FacialData.eyeKeys, num); - updateInfo.eyeTrack = null; - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, liveTimelineOther4FacialData.eyeTrackKeys, num); - if (curKey != null && !(curKey as LiveTimelineKeyFacialEyeTrackData).IsNop()) - { - SetupFacialUpdateInfo_EyeTrack(ref updateInfo, liveTimelineOther4FacialData.eyeTrackKeys, num); - flag2 = true; - } - } - if (!flag2 && sheet.other4EyeTrackKeys != null) - { - LiveTimelineKey curKey2 = null; - LiveTimelineKey nextKey2 = null; - FindTimelineKey(out curKey2, out nextKey2, sheet.other4EyeTrackKeys, num); - if (curKey2 != null) - { - SetupFacialUpdateInfo_EyeTrack(ref updateInfo, sheet.other4EyeTrackKeys, num); - } - } - float facialNoiseCurrentTime = GetFacialNoiseCurrentTime(i - 1); - this.OnUpdateFacial(updateInfo, facialNoiseCurrentTime, (LiveCharaPosition)i); - } - } - - private void SetupFacialUpdateInfo_Face(ref FacialDataUpdateInfo updateInfo, LiveTimelineKeyFacialFaceDataList keys, int frame) - { - LiveTimelineKey liveTimelineKey = null; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - updateInfo.face = null; - return; - } - FindKeyResult findKeyResult = keys.FindKeyCached(frame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - updateInfo.face = liveTimelineKey as LiveTimelineKeyFacialFaceData; - updateInfo.faceKeyIndex = findKeyResult.index; - } - - private void SetupFacialUpdateInfo_Mouth(ref FacialDataUpdateInfo updateInfo, LiveTimelineKeyFacialFaceMouthList keys, int frame) - { - LiveTimelineKey liveTimelineKey = null; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - updateInfo.mouth = null; - return; - } - FindKeyResult findKeyResult = keys.FindKeyCached(frame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - updateInfo.mouth = liveTimelineKey as LiveTimelineKeyFacialMouthData; - updateInfo.mouthKeyIndex = findKeyResult.index; - } - - private void SetupFacialUpdateInfo_Eye(ref FacialDataUpdateInfo updateInfo, LiveTimelineKeyFacialEyeDataList keys, int frame) - { - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - updateInfo.eyeCur = null; - updateInfo.eyeNext = null; - return; - } - FindKeyResult findKeyResult = keys.FindKeyCached(frame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - liveTimelineKey2 = keys.At(findKeyResult.index + 1); - updateInfo.eyeCur = liveTimelineKey as LiveTimelineKeyFacialEyeData; - updateInfo.eyeNext = liveTimelineKey2 as LiveTimelineKeyFacialEyeData; - updateInfo.eyeKeyIndex = findKeyResult.index; - } - - private void SetupFacialUpdateInfo_EyeTrack(ref FacialDataUpdateInfo updateInfo, LiveTimelineKeyFacialEyeTrackDataList keys, int frame) - { - LiveTimelineKeyFacialEyeTrackData liveTimelineKeyFacialEyeTrackData = null; - LiveTimelineKeyFacialEyeTrackData liveTimelineKeyFacialEyeTrackData2 = null; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - updateInfo.eyeTrack = null; - updateInfo.eyeTrackOffset = Vector3.zero; - return; - } - keys.FindKeyCached(frame, availableFindKeyCache, out var current, out var next); - liveTimelineKeyFacialEyeTrackData = current.key as LiveTimelineKeyFacialEyeTrackData; - liveTimelineKeyFacialEyeTrackData2 = next.key as LiveTimelineKeyFacialEyeTrackData; - if (liveTimelineKeyFacialEyeTrackData2 != null && liveTimelineKeyFacialEyeTrackData2.IsInterpolateKey()) - { - float t = CalculateInterpolationValue(liveTimelineKeyFacialEyeTrackData, liveTimelineKeyFacialEyeTrackData2, frame); - if (liveTimelineKeyFacialEyeTrackData != null) - { - updateInfo.eyeTrackOffset = LerpWithoutClamp(liveTimelineKeyFacialEyeTrackData.position, liveTimelineKeyFacialEyeTrackData2.position, t); - } - } - else if (liveTimelineKeyFacialEyeTrackData != null) - { - updateInfo.eyeTrackOffset = liveTimelineKeyFacialEyeTrackData.position; - } - updateInfo.eyeTrack = liveTimelineKeyFacialEyeTrackData; - updateInfo.eyeTrackKeyIndex = current.index; - } - - private void InitFormationOffsetWork() - { - for (int i = 0; i < _formationOffsetStartFrameArray.Length; i++) - { - _formationOffsetStartFrameArray[i] = -1; - } - } - - private void AlterLateUpdate_FormationOffset(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (data.characterSettings.isCharaAxisRotateLateUpdate) - { - ILiveTimelineKeyDataList[] keyListArray = sheet.formationOffsetSet.GetKeyListArray(); - for (int i = 0; i < keyListArray.Length; i++) - { - LateUpdateFormationOffset_Transform(i, currentFrame); - } - for (int j = 0; j < sheet.formationOffsetAdditionalList.Count; j++) - { - LateUpdateFormationOffset_Transform(keyListArray.Length + j, currentFrame); - } - } - } - - private bool UpdateFormationOffset_CharacterVisible(LiveTimelineKeyFormationOffsetData curData, int iList) - { - bool visible = curData.visible; - bool flag = false; - if (_liveCharactorLocators[iList] != null) - { - flag = _liveCharactorLocators[iList].liveCharaVisible != visible; - _liveCharactorLocators[iList].liveCharaVisible = visible; - } - if ((_formationOffsetStartFrameArray[iList] != curData.frame || flag) && this.OnUpdateFormationOffset != null) - { - FormationOffsetUpdateInfo updateInfo = default(FormationOffsetUpdateInfo); - updateInfo.characterPosition = iList; - updateInfo.isVisible = visible; - updateInfo.isEffectClear = curData.IsEffectClear(); - this.OnUpdateFormationOffset(ref updateInfo); - } - if (!visible) - { - return false; - } - return true; - } - - private void LateUpdateFormationOffset_Transform(int iList, int currentFrame) - { - int num = iList * 2; - if (_formationOffsetLateUpdateKey[num] != null) - { - LiveTimelineKeyFormationOffsetData curData = _formationOffsetLateUpdateKey[num]; - LiveTimelineKeyFormationOffsetData nextData = _formationOffsetLateUpdateKey[num + 1]; - UpdateFormationOffset_Transform(iList, curData, nextData, currentFrame); - _formationOffsetLateUpdateKey[num] = null; - _formationOffsetLateUpdateKey[num + 1] = null; - } - } - - private void UpdateFormationOffset_Transform(int iList, LiveTimelineKeyFormationOffsetData curData, LiveTimelineKeyFormationOffsetData nextData, int currentFrame) - { - Vector2 zero = Vector2.zero; - float num = 0f; - float num2 = 0f; - Vector3 zero2 = Vector3.zero; - bool isWorldSpace = curData.isWorldSpace; - bool isLookAtWorldOrigin = curData.isLookAtWorldOrigin; - Vector3 vector = Vector3.zero; - float y = 0f; - bool useLateRotate = curData.useLateRotate; - Vector3 lateCharaRotate = curData.lateCharaRotate; - if (nextData != null && nextData.interpolateType != 0) - { - float t = CalculateInterpolationValue(curData, nextData, currentFrame); - zero = LerpWithoutClamp(curData.posXZ, nextData.posXZ, t); - num = LerpWithoutClamp(curData.posY, nextData.posY, t); - num2 = LerpWithoutClamp(curData.rotY, nextData.rotY, t); - zero2 = LerpWithoutClamp(curData.charaAxisRotate, nextData.charaAxisRotate, t); - lateCharaRotate = LerpWithoutClamp(curData.lateCharaRotate, nextData.lateCharaRotate, t); - if (isWorldSpace) - { - vector = LerpWithoutClamp(curData.worldSpaceOrigin, nextData.worldSpaceOrigin, t); - y = LerpWithoutClamp(curData.worldRotationY, nextData.worldRotationY, t); - } - } - else - { - zero = curData.posXZ; - num = curData.posY; - num2 = curData.rotY; - zero2 = curData.charaAxisRotate; - lateCharaRotate = curData.lateCharaRotate; - if (isWorldSpace) - { - vector = curData.worldSpaceOrigin; - y = curData.worldRotationY; - } - } - Vector3 vector2 = new Vector3(zero.x, num, zero.y); - Quaternion quaternion = Quaternion.AngleAxis(num2, Vector3.up); - ILiveTimelineCharactorLocator liveTimelineCharactorLocator = _liveCharactorLocators[iList]; - if (liveTimelineCharactorLocator != null && liveTimelineCharactorLocator.liveRootTransform != null) - { - if (liveTimelineCharactorLocator.liveParentTransform == null) - { - Vector3 vector3; - if (!useLateRotate) - { - if (zero2.x != 0f || zero2.y != 0f || zero2.z != 0f) - { - liveTimelineCharactorLocator.liveRootTransform.localRotation = Quaternion.Euler(new Vector3(0f, 0f, zero2.z)); - Vector3 reverseOffsetPosition = GetReverseOffsetPosition(liveTimelineCharactorLocator.liveCharaWaistPosition, liveTimelineCharactorLocator.liveRootTransform.position, zero2.z, Vector3.back); - liveTimelineCharactorLocator.liveRootTransform.position = liveTimelineCharactorLocator.liveCharaInitialPosition + vector2 + reverseOffsetPosition; - liveTimelineCharactorLocator.liveRootTransform.localRotation = Quaternion.Euler(new Vector3(zero2.x, 0f, zero2.z)); - Vector3 reverseOffsetPosition2 = GetReverseOffsetPosition(liveTimelineCharactorLocator.liveCharaWaistPosition, liveTimelineCharactorLocator.liveRootTransform.position, zero2.x, Vector3.left); - liveTimelineCharactorLocator.liveRootTransform.position += reverseOffsetPosition2; - liveTimelineCharactorLocator.liveRootTransform.localRotation = Quaternion.Euler(new Vector3(zero2.x, zero2.y, zero2.z)); - Vector3 reverseOffsetPosition3 = GetReverseOffsetPosition(liveTimelineCharactorLocator.liveCharaWaistPosition, liveTimelineCharactorLocator.liveRootTransform.position, zero2.y, Vector3.down); - liveTimelineCharactorLocator.liveRootTransform.position += reverseOffsetPosition3; - vector3 = liveTimelineCharactorLocator.liveRootTransform.position; - quaternion = liveTimelineCharactorLocator.liveRootTransform.localRotation; - } - else - { - vector3 = liveTimelineCharactorLocator.liveCharaInitialPosition + vector2; - } - if (isWorldSpace) - { - Vector3 vector4 = vector3 - vector; - vector3 = vector + Quaternion.Euler(0f, y, 0f) * vector4; - if (isLookAtWorldOrigin) - { - quaternion = Quaternion.LookRotation(vector - vector3); - } - } - } - else - { - vector3 = liveTimelineCharactorLocator.liveCharaInitialPosition + vector2; - liveTimelineCharactorLocator.liveRootTransform.localRotation = Quaternion.Euler(lateCharaRotate); - quaternion = liveTimelineCharactorLocator.liveRootTransform.localRotation; - } - liveTimelineCharactorLocator.liveRootTransform.position = vector3; - liveTimelineCharactorLocator.liveRootTransform.localRotation = quaternion; - } - else - { - Matrix4x4 localToWorldMatrix = liveTimelineCharactorLocator.liveParentTransform.localToWorldMatrix; - Vector3 vector5 = localToWorldMatrix.MultiplyPoint3x4(liveTimelineCharactorLocator.liveCharaInitialPosition + vector2); - quaternion = localToWorldMatrix.rotation * quaternion; - if (!useLateRotate) - { - if (isWorldSpace) - { - Vector3 vector6 = vector5 - vector; - vector5 = vector + Quaternion.Euler(0f, y, 0f) * vector6; - if (isLookAtWorldOrigin) - { - quaternion = Quaternion.LookRotation(vector - vector5); - } - } - } - else - { - liveTimelineCharactorLocator.liveRootTransform.localRotation = Quaternion.Euler(lateCharaRotate); - quaternion = liveTimelineCharactorLocator.liveRootTransform.localRotation; - } - liveTimelineCharactorLocator.liveRootTransform.position = vector5; - liveTimelineCharactorLocator.liveRootTransform.rotation = quaternion; - } - } - _formationOffsetStartFrameArray[iList] = curData.frame; - } - - private void UpdateFormationOffset(ILiveTimelineKeyDataList keys, int iList, int currentFrame) - { - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode) || keys.Count <= 0) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyFormationOffsetData liveTimelineKeyFormationOffsetData = curKey as LiveTimelineKeyFormationOffsetData; - if (!UpdateFormationOffset_CharacterVisible(liveTimelineKeyFormationOffsetData, iList)) - { - _formationOffsetStartFrameArray[iList] = liveTimelineKeyFormationOffsetData.frame; - return; - } - int num = iList * 2; - LiveTimelineKeyFormationOffsetData liveTimelineKeyFormationOffsetData2 = nextKey as LiveTimelineKeyFormationOffsetData; - if (data.characterSettings.isCharaAxisRotateLateUpdate) - { - _formationOffsetLateUpdateKey[num] = liveTimelineKeyFormationOffsetData; - _formationOffsetLateUpdateKey[num + 1] = liveTimelineKeyFormationOffsetData2; - } - else - { - UpdateFormationOffset_Transform(iList, liveTimelineKeyFormationOffsetData, liveTimelineKeyFormationOffsetData2, currentFrame); - _formationOffsetLateUpdateKey[num] = null; - _formationOffsetLateUpdateKey[num + 1] = null; - } - } - - private void AlterUpdate_FormationOffset(LiveTimelineWorkSheet sheet, int currentFrame) - { - ILiveTimelineKeyDataList[] keyListArray = sheet.formationOffsetSet.GetKeyListArray(); - for (int i = 0; i < keyListArray.Length; i++) - { - ILiveTimelineKeyDataList keys = keyListArray[i]; - UpdateFormationOffset(keys, i, currentFrame); - } - for (int j = 0; j < sheet.formationOffsetAdditionalList.Count; j++) - { - LiveTimelineKeyFormationOffsetDataList keys2 = sheet.formationOffsetAdditionalList[j]; - UpdateFormationOffset(keys2, keyListArray.Length + j, currentFrame); - } - } - - private Vector3 GetReverseOffsetPosition(Vector3 targetPosition, Vector3 parentPosition, float angle, Vector3 axis) - { - Quaternion quaternion = Quaternion.AngleAxis(angle, axis); - Vector3 vector = targetPosition - parentPosition; - return parentPosition + (quaternion * vector - targetPosition); - } - - private void AlterUpdate_Particle(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (data.particleControllMode != LiveTimelineData.ParticleControllMode.Timeline || this.OnUpdateParticle == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - ParticleUpdateInfo updateInfo = default(ParticleUpdateInfo); - for (int i = 0; i < sheet.particleList.Count; i++) - { - LiveTimelineParticleData liveTimelineParticleData = sheet.particleList[i]; - if (liveTimelineParticleData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineParticleData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineParticleData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineParticleData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyParticleData liveTimelineKeyParticleData = liveTimelineKey as LiveTimelineKeyParticleData; - LiveTimelineKeyParticleData liveTimelineKeyParticleData2 = liveTimelineKey2 as LiveTimelineKeyParticleData; - if (liveTimelineKeyParticleData2 != null && liveTimelineKeyParticleData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyParticleData, liveTimelineKeyParticleData2, currentFrame); - updateInfo.emissionRate = LerpWithoutClamp(liveTimelineKeyParticleData.emissionRate, liveTimelineKeyParticleData2.emissionRate, t); - } - else - { - updateInfo.emissionRate = liveTimelineKeyParticleData.emissionRate; - } - updateInfo.data = liveTimelineParticleData; - this.OnUpdateParticle(ref updateInfo); - } - } - } - - private void AlterUpdate_ParticleGroup(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateParticleGroup == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - ParticleGroupUpdateInfo updateInfo = default(ParticleGroupUpdateInfo); - for (int i = 0; i < sheet.particleGroupList.Count; i++) - { - LiveTimelineParticleGroupData liveTimelineParticleGroupData = sheet.particleGroupList[i]; - if (liveTimelineParticleGroupData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineParticleGroupData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineParticleGroupData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineParticleGroupData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyParticleGroupData liveTimelineKeyParticleGroupData = liveTimelineKey as LiveTimelineKeyParticleGroupData; - LiveTimelineKeyParticleGroupData liveTimelineKeyParticleGroupData2 = liveTimelineKey2 as LiveTimelineKeyParticleGroupData; - if (liveTimelineKeyParticleGroupData2 != null && liveTimelineKeyParticleGroupData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyParticleGroupData, liveTimelineKeyParticleGroupData2, currentFrame); - updateInfo.lerpColor = LerpWithoutClamp(liveTimelineKeyParticleGroupData.lerpColor, liveTimelineKeyParticleGroupData2.lerpColor, t); - updateInfo.lerpColorRate = LerpWithoutClamp(liveTimelineKeyParticleGroupData.colorLerpRate, liveTimelineKeyParticleGroupData2.colorLerpRate, t); - } - else - { - updateInfo.lerpColor = liveTimelineKeyParticleGroupData.lerpColor; - updateInfo.lerpColorRate = liveTimelineKeyParticleGroupData.colorLerpRate; - } - updateInfo.data = liveTimelineParticleGroupData; - this.OnUpdateParticleGroup(ref updateInfo); - } - } - } - - /// - /// ƒŒ�[ƒU�[‚ÌUpdateInfo‚ðŽÀ‘•‚ɓn‚·‘O�ˆ—� - /// - public void AlterUpdate_Laser(LiveTimelineWorkSheet sheet, int currentFrame, int sheetIdx) - { - if (this.OnUpdateLaser == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.laserList.Count; - LaserUpdateInfo updateInfo = default(LaserUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineLaserData liveTimelineLaserData = sheet.laserList[i]; - if (liveTimelineLaserData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineLaserData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineLaserData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey == null) - { - continue; - } - liveTimelineKey2 = liveTimelineLaserData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyLaserData liveTimelineKeyLaserData = liveTimelineKey as LiveTimelineKeyLaserData; - LiveTimelineKeyLaserData liveTimelineKeyLaserData2 = liveTimelineKey2 as LiveTimelineKeyLaserData; - int num = liveTimelineKeyLaserData.joints.Length; - if (_numLaserParts != num) - { - _numLaserParts = num; - _arrLaserPosition = new Vector3[num]; - _arrLaserRotation = new Vector3[num]; - _arrLaserScale = new Vector3[num]; - } - updateInfo.localPos = _arrLaserPosition; - updateInfo.localRot = _arrLaserRotation; - updateInfo.localScale = _arrLaserScale; - if (liveTimelineKeyLaserData2 != null && liveTimelineKeyLaserData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyLaserData, liveTimelineKeyLaserData2, currentFrame); - updateInfo.degRootYaw = LerpWithoutClamp(liveTimelineKeyLaserData.degRootYaw, liveTimelineKeyLaserData2.degRootYaw, t); - updateInfo.degLaserPitch = LerpWithoutClamp(liveTimelineKeyLaserData.degLaserPitch, liveTimelineKeyLaserData2.degLaserPitch, t); - updateInfo.posInterval = LerpWithoutClamp(liveTimelineKeyLaserData.posInterval, liveTimelineKeyLaserData2.posInterval, t); - updateInfo.blinkPeroid = LerpWithoutClamp(liveTimelineKeyLaserData.blinkPeriod, liveTimelineKeyLaserData2.blinkPeriod, t); - updateInfo.rootPos = LerpWithoutClamp(liveTimelineKeyLaserData.rootTransform.localPos, liveTimelineKeyLaserData2.rootTransform.localPos, t); - updateInfo.rootRot = LerpWithoutClamp(liveTimelineKeyLaserData.rootTransform.localRot, liveTimelineKeyLaserData2.rootTransform.localRot, t); - updateInfo.rootScale = LerpWithoutClamp(liveTimelineKeyLaserData.rootTransform.localScale, liveTimelineKeyLaserData2.rootTransform.localScale, t); - for (int j = 0; j < num; j++) - { - updateInfo.localPos[j] = LerpWithoutClamp(liveTimelineKeyLaserData.joints[j].localPos, liveTimelineKeyLaserData2.joints[j].localPos, t); - updateInfo.localRot[j] = LerpWithoutClamp(liveTimelineKeyLaserData.joints[j].localRot, liveTimelineKeyLaserData2.joints[j].localRot, t); - updateInfo.localScale[j] = LerpWithoutClamp(liveTimelineKeyLaserData.joints[j].localScale, liveTimelineKeyLaserData2.joints[j].localScale, t); - } - } - else - { - updateInfo.degRootYaw = liveTimelineKeyLaserData.degRootYaw; - updateInfo.degLaserPitch = liveTimelineKeyLaserData.degLaserPitch; - updateInfo.posInterval = liveTimelineKeyLaserData.posInterval; - updateInfo.blinkPeroid = liveTimelineKeyLaserData.blinkPeriod; - updateInfo.rootPos = liveTimelineKeyLaserData.rootTransform.localPos; - updateInfo.rootRot = liveTimelineKeyLaserData.rootTransform.localRot; - updateInfo.rootScale = liveTimelineKeyLaserData.rootTransform.localScale; - for (int k = 0; k < num; k++) - { - updateInfo.localPos[k] = liveTimelineKeyLaserData.joints[k].localPos; - updateInfo.localRot[k] = liveTimelineKeyLaserData.joints[k].localRot; - updateInfo.localScale[k] = liveTimelineKeyLaserData.joints[k].localScale; - } - } - updateInfo.data = liveTimelineLaserData; - updateInfo.formation = liveTimelineKeyLaserData.formation; - updateInfo.isBlink = liveTimelineKeyLaserData.IsBlink(); - this.OnUpdateLaser(ref updateInfo, _ignoreLaserHashDic[sheetIdx]); - } - } - - /// - /// PostFilm—pAlterUpdate - /// - private void AlterUpdate_Effect(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateEffect == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.effectList.Count; - EffectUpdateInfo updateInfo = default(EffectUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineEffectData liveTimelineEffectData = sheet.effectList[i]; - if (liveTimelineEffectData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineEffectData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineEffectData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineEffectData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyEffectData liveTimelineKeyEffectData = liveTimelineKey as LiveTimelineKeyEffectData; - LiveTimelineKeyEffectData liveTimelineKeyEffectData2 = liveTimelineKey2 as LiveTimelineKeyEffectData; - if (liveTimelineKeyEffectData2 != null && liveTimelineKeyEffectData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyEffectData, liveTimelineKeyEffectData2, currentFrame); - updateInfo.color = LerpWithoutClamp(liveTimelineKeyEffectData.color, liveTimelineKeyEffectData2.color, t); - updateInfo.colorPower = LerpWithoutClamp(liveTimelineKeyEffectData.colorPower, liveTimelineKeyEffectData2.colorPower, t); - updateInfo.offset = LerpWithoutClamp(liveTimelineKeyEffectData.offset, liveTimelineKeyEffectData2.offset, t); - updateInfo.offsetAngle = LerpWithoutClamp(liveTimelineKeyEffectData.offsetAngle, liveTimelineKeyEffectData2.offsetAngle, t); - } - else - { - updateInfo.color = liveTimelineKeyEffectData.color; - updateInfo.colorPower = liveTimelineKeyEffectData.colorPower; - updateInfo.offset = liveTimelineKeyEffectData.offset; - updateInfo.offsetAngle = liveTimelineKeyEffectData.offsetAngle; - } - if (liveTimelineKeyEffectData.owner == eEffectOwner.World) - { - updateInfo.isEnable = true; - } - else - { - updateInfo.isEnable = _liveCharactorLocators[eEffectOwnerUtil.ToCharaPosIndex(liveTimelineKeyEffectData.owner)].liveCharaVisible; - } - updateInfo.isClear = liveTimelineEffectData.updatedKeyFrame != liveTimelineKeyEffectData.frame && liveTimelineKeyEffectData.IsClear(); - updateInfo.blendMode = liveTimelineKeyEffectData.blendMode; - updateInfo.isPlay = liveTimelineKeyEffectData.IsPlay(); - updateInfo.isLoop = liveTimelineKeyEffectData.IsLoop(); - updateInfo.isStayPRS = liveTimelineKeyEffectData.IsStayPRS(); - updateInfo.owner = liveTimelineKeyEffectData.owner; - updateInfo.occurrenceSpot = liveTimelineKeyEffectData.occurrenceSpot; - updateInfo.data = liveTimelineEffectData; - this.OnUpdateEffect(ref updateInfo); - liveTimelineEffectData.updatedKeyFrame = liveTimelineKeyEffectData.frame; - } - } - } - - public bool IsDrawDeltaTimeGraph() - { - return _drawDeltaTimeGraph; - } - - public void SetDrawDeltaTimeGraph(bool draw) - { - _drawDeltaTimeGraph = draw; - } - - public void EnqueueDeltaTimeForGraph(float dt) - { - _headIndexOfDeltaTimeArray = (_headIndexOfDeltaTimeArray + 1) % kDeltaTimeArrayLength; - _deltaTimeArrayForGraph[_headIndexOfDeltaTimeArray] = dt; - } - - private void UpdateDeltaTimeGraph() - { - graphWidth = (float)Screen.width - graphXMargin * 2f; - graphYMargin = (float)(Screen.height / 2) - graphHeight; - } - - private void OnGUI() - { - if (!_drawDeltaTimeGraph) - { - return; - } - float num = graphWidth / kDeltaTimeArrayLength; - Drawing.DrawLine(new Vector2(graphXMargin, graphYMargin - graphHeight), new Vector2(graphXMargin + graphWidth, graphYMargin - graphHeight), Color.blue, 1f, antiAlias: false); - Drawing.DrawLine(new Vector2(graphXMargin, graphYMargin), new Vector2(graphXMargin + graphWidth, graphYMargin), Color.white, 1f, antiAlias: false); - Drawing.DrawLine(new Vector2(graphXMargin, graphYMargin + graphHeight), new Vector2(graphXMargin + graphWidth, graphYMargin + graphHeight), Color.yellow, 1f, antiAlias: false); - int num2 = _headIndexOfDeltaTimeArray; - int num3 = 0; - for (int i = 0; i < 299; i++) - { - num3 = num2 - 1; - if (num3 < 0) - { - num3 = 299; - } - float num4 = _deltaTimeArrayForGraph[num2]; - float num5 = _deltaTimeArrayForGraph[num3]; - float num6 = num4 / 0.0166666675f; - float num7 = num5 / 0.0166666675f; - Vector2 pointA = new Vector2(graphXMargin + graphWidth - num * (float)i, graphYMargin - graphHeight * num6); - Vector2 pointB = new Vector2(graphXMargin + graphWidth - num * (float)(i + 1), graphYMargin - graphHeight * num7); - Drawing.DrawLine(pointA, pointB, Color.green, 2f, antiAlias: false); - num2 = num3; - } - } - - /// - /// Š‹«Œõ‚ð�X�V‚·‚é - /// - private void AlterUpdate_Environment(LiveTimelineWorkSheet sheet, int currentFrame) - { - int count = sheet.environmentDataLists.Count; - EnvironmentCharacterShadowUpdateInfo updateInfo = default(EnvironmentCharacterShadowUpdateInfo); - EnvironmentMirrorUpdateInfo updateInfo2 = default(EnvironmentMirrorUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineKeyStageEnvironmentDataList keys = sheet.environmentDataLists[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - LiveTimelineKey curKey = null; - FindTimelineKeyCurrent(out curKey, keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyStageEnvironmentData liveTimelineKeyStageEnvironmentData = curKey as LiveTimelineKeyStageEnvironmentData; - if (this.OnEnvironmentCharacterShadow != null && (liveTimelineKeyStageEnvironmentData.characterShadow != _enviromentShadowCharacterPositionFlag || liveTimelineKeyStageEnvironmentData.softShadow != _enviromentSoftShadow)) - { - _enviromentShadowCharacterPositionFlag = liveTimelineKeyStageEnvironmentData.characterShadow; - _enviromentSoftShadow = liveTimelineKeyStageEnvironmentData.softShadow; - updateInfo.positionFlag = liveTimelineKeyStageEnvironmentData.characterShadow; - updateInfo.softShadow = liveTimelineKeyStageEnvironmentData.softShadow; - this.OnEnvironmentCharacterShadow(ref updateInfo); - } - if (this.OnEnvironmentMirror != null) - { - updateInfo2.mirror = liveTimelineKeyStageEnvironmentData.mirror; - updateInfo2.mirrorReflectionRate = liveTimelineKeyStageEnvironmentData.mirrorReflectionRate; - this.OnEnvironmentMirror(ref updateInfo2); - } - } - } - } - - /// - /// GlobalLight—pAlterUpdate - /// - private void AlterUpdate_GlobalLight(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnEnvironmentGlobalLight == null) - { - return; - } - int count = sheet.globalLightDataLists.Count; - EnvironmentGlobalLightUpdateInfo updateInfo = default(EnvironmentGlobalLightUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineKeyGlobalLightDataList keys = sheet.globalLightDataLists[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyGlobalLightData liveTimelineKeyGlobalLightData = curKey as LiveTimelineKeyGlobalLightData; - LiveTimelineKeyGlobalLightData liveTimelineKeyGlobalLightData2 = nextKey as LiveTimelineKeyGlobalLightData; - Quaternion quaternion = Quaternion.identity; - if (liveTimelineKeyGlobalLightData.cameraFollow) - { - quaternion = GetCamera(sheet.targetCameraIndex).cacheTransform.rotation; - } - Vector3 lightDirection; - float globalRimRate; - float globalRimShadowRate; - float globalRimSpecularRate; - float globalToonRate; - if (liveTimelineKeyGlobalLightData2 != null && liveTimelineKeyGlobalLightData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyGlobalLightData, liveTimelineKeyGlobalLightData2, currentFrame); - Quaternion a = Quaternion.Euler(liveTimelineKeyGlobalLightData.lightDir); - Quaternion b = Quaternion.Euler(liveTimelineKeyGlobalLightData2.lightDir); - lightDirection = Quaternion.Lerp(a, b, t) * quaternion * Vector3.forward; - globalRimRate = LerpWithoutClamp(liveTimelineKeyGlobalLightData.globalRimRate, liveTimelineKeyGlobalLightData2.globalRimRate, t); - globalRimShadowRate = LerpWithoutClamp(liveTimelineKeyGlobalLightData.globalRimShadowRate, liveTimelineKeyGlobalLightData2.globalRimShadowRate, t); - globalRimSpecularRate = LerpWithoutClamp(liveTimelineKeyGlobalLightData.globalRimSpecularRate, liveTimelineKeyGlobalLightData2.globalRimSpecularRate, t); - globalToonRate = LerpWithoutClamp(liveTimelineKeyGlobalLightData.globalToonRate, liveTimelineKeyGlobalLightData2.globalToonRate, t); - } - else - { - lightDirection = Quaternion.Euler(liveTimelineKeyGlobalLightData.lightDir) * quaternion * Vector3.forward; - globalRimRate = liveTimelineKeyGlobalLightData.globalRimRate; - globalRimShadowRate = liveTimelineKeyGlobalLightData.globalRimShadowRate; - globalRimSpecularRate = liveTimelineKeyGlobalLightData.globalRimSpecularRate; - globalToonRate = liveTimelineKeyGlobalLightData.globalToonRate; - } - updateInfo.lightDirection = lightDirection; - updateInfo.globalRimRate = globalRimRate; - updateInfo.globalRimShadowRate = globalRimShadowRate; - updateInfo.globalRimSpecularRate = globalRimSpecularRate; - updateInfo.globalToonRate = globalToonRate; - updateInfo.data = sheet.globalLightDataLists[i]; - this.OnEnvironmentGlobalLight(ref updateInfo); - } - } - } - - /// - /// GlobalFog—pAlterUpdate - /// - private void AlterUpdate_GlobalFog(LiveTimelineWorkSheet sheet, int currentFrame) - { - int count = sheet.globalFogDataLists.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineKeyGlobalFogDataList keys = sheet.globalFogDataLists[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey == null) - { - continue; - } - LiveTimelineKeyGlobalFogData liveTimelineKeyGlobalFogData = curKey as LiveTimelineKeyGlobalFogData; - LiveTimelineKeyGlobalFogData liveTimelineKeyGlobalFogData2 = nextKey as LiveTimelineKeyGlobalFogData; - if (this.OnGlobalFog != null) - { - GlobalFogUpdateInfo updateInfo = default(GlobalFogUpdateInfo); - bool isDistance; - bool isHeight; - float startDistance; - float height; - float heightDensity; - Color color; - FogMode fogMode; - float expDensity; - float start; - float end; - bool useRadialDistance; - Vector4 heightOption; - Vector4 distanceOption; - if (liveTimelineKeyGlobalFogData2 != null && liveTimelineKeyGlobalFogData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyGlobalFogData, liveTimelineKeyGlobalFogData2, currentFrame); - isDistance = liveTimelineKeyGlobalFogData2.isDistance; - isHeight = liveTimelineKeyGlobalFogData2.isHeight; - startDistance = LerpWithoutClamp(liveTimelineKeyGlobalFogData.startDistance, liveTimelineKeyGlobalFogData2.startDistance, t); - height = LerpWithoutClamp(liveTimelineKeyGlobalFogData.height, liveTimelineKeyGlobalFogData2.height, t); - heightDensity = LerpWithoutClamp(liveTimelineKeyGlobalFogData.heightDensity, liveTimelineKeyGlobalFogData2.heightDensity, t); - color = LerpWithoutClamp(liveTimelineKeyGlobalFogData.color, liveTimelineKeyGlobalFogData2.color, t); - fogMode = liveTimelineKeyGlobalFogData2.fogMode; - expDensity = LerpWithoutClamp(liveTimelineKeyGlobalFogData.expDensity, liveTimelineKeyGlobalFogData2.expDensity, t); - start = LerpWithoutClamp(liveTimelineKeyGlobalFogData.start, liveTimelineKeyGlobalFogData2.start, t); - end = LerpWithoutClamp(liveTimelineKeyGlobalFogData.end, liveTimelineKeyGlobalFogData2.end, t); - useRadialDistance = liveTimelineKeyGlobalFogData2.useRadialDistance; - heightOption = LerpWithoutClamp(liveTimelineKeyGlobalFogData.heightOption, liveTimelineKeyGlobalFogData2.heightOption, t); - distanceOption = LerpWithoutClamp(liveTimelineKeyGlobalFogData.distanceOption, liveTimelineKeyGlobalFogData2.distanceOption, t); - } - else - { - isDistance = liveTimelineKeyGlobalFogData.isDistance; - isHeight = liveTimelineKeyGlobalFogData.isHeight; - startDistance = liveTimelineKeyGlobalFogData.startDistance; - height = liveTimelineKeyGlobalFogData.height; - heightDensity = liveTimelineKeyGlobalFogData.heightDensity; - color = liveTimelineKeyGlobalFogData.color; - fogMode = liveTimelineKeyGlobalFogData.fogMode; - expDensity = liveTimelineKeyGlobalFogData.expDensity; - start = liveTimelineKeyGlobalFogData.start; - end = liveTimelineKeyGlobalFogData.end; - useRadialDistance = liveTimelineKeyGlobalFogData.useRadialDistance; - heightOption = liveTimelineKeyGlobalFogData.heightOption; - distanceOption = liveTimelineKeyGlobalFogData.distanceOption; - } - updateInfo.isDistance = isDistance; - updateInfo.isHeight = isHeight; - updateInfo.startDistance = startDistance; - updateInfo.height = height; - updateInfo.heightDensity = heightDensity; - updateInfo.color = color; - updateInfo.fogMode = fogMode; - updateInfo.expDensity = expDensity; - updateInfo.start = start; - updateInfo.end = end; - updateInfo.useRadialDistance = useRadialDistance; - updateInfo.heightOption = heightOption; - updateInfo.distanceOption = distanceOption; - this.OnGlobalFog(ref updateInfo); - } - } - } - - /// - /// TiltShift—pAlterUpdate - /// - private void AlterUpdate_TiltShift(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateTiltShift == null || sheet.tiltShiftKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.tiltShiftKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.tiltShiftKeys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyTiltShiftData liveTimelineKeyTiltShiftData = curKey as LiveTimelineKeyTiltShiftData; - LiveTimelineKeyTiltShiftData liveTimelineKeyTiltShiftData2 = nextKey as LiveTimelineKeyTiltShiftData; - TilsShiftUpdateInfo updateInfo = default(TilsShiftUpdateInfo); - updateInfo.mode = liveTimelineKeyTiltShiftData.mode; - updateInfo.quality = liveTimelineKeyTiltShiftData.quality; - updateInfo.downsample = liveTimelineKeyTiltShiftData.downsample; - if (liveTimelineKeyTiltShiftData2 != null && liveTimelineKeyTiltShiftData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyTiltShiftData, liveTimelineKeyTiltShiftData2, currentFrame); - updateInfo.blurArea = LerpWithoutClamp(liveTimelineKeyTiltShiftData.blurArea, liveTimelineKeyTiltShiftData2.blurArea, t); - updateInfo.maxBlurSize = LerpWithoutClamp(liveTimelineKeyTiltShiftData.maxBlurSize, liveTimelineKeyTiltShiftData2.maxBlurSize, t); - updateInfo.offset = LerpWithoutClamp(liveTimelineKeyTiltShiftData.offset, liveTimelineKeyTiltShiftData2.offset, t); - updateInfo.roll = LerpWithoutClamp(liveTimelineKeyTiltShiftData.roll, liveTimelineKeyTiltShiftData2.roll, t); - updateInfo.blurDir = LerpWithoutClamp(liveTimelineKeyTiltShiftData.blurDir, liveTimelineKeyTiltShiftData2.blurDir, t); - updateInfo.blurAreaDir = LerpWithoutClamp(liveTimelineKeyTiltShiftData.blurAreaDir, liveTimelineKeyTiltShiftData2.blurAreaDir, t); - } - else - { - updateInfo.blurArea = liveTimelineKeyTiltShiftData.blurArea; - updateInfo.maxBlurSize = liveTimelineKeyTiltShiftData.maxBlurSize; - updateInfo.offset = liveTimelineKeyTiltShiftData.offset; - updateInfo.roll = liveTimelineKeyTiltShiftData.roll; - updateInfo.blurDir = liveTimelineKeyTiltShiftData.blurDir; - updateInfo.blurAreaDir = liveTimelineKeyTiltShiftData.blurAreaDir; - } - this.OnUpdateTiltShift(ref updateInfo); - } - } - - /// - /// LightShuft—pAlterUpdate - /// - private void AlterUpdate_LightShuft(LiveTimelineWorkSheet sheet, int currentFrame) - { - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - if (this.OnLightShuft == null) - { - return; - } - LightShuftUpdateInfo updateInfo = default(LightShuftUpdateInfo); - for (int i = 0; i < sheet.lightShuftKeys.Count; i++) - { - LiveTimelineLightShuftData liveTimelineLightShuftData = sheet.lightShuftKeys[i]; - if (liveTimelineLightShuftData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineLightShuftData.keys, currentFrame); - if (curKey == null) - { - continue; - } - LiveTimelineKeyLightShuftData liveTimelineKeyLightShuftData = curKey as LiveTimelineKeyLightShuftData; - LiveTimelineKeyLightShuftData liveTimelineKeyLightShuftData2 = nextKey as LiveTimelineKeyLightShuftData; - if (liveTimelineKeyLightShuftData2 != null && liveTimelineKeyLightShuftData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyLightShuftData, liveTimelineKeyLightShuftData2, currentFrame); - updateInfo._enable = liveTimelineKeyLightShuftData.enabled; - updateInfo._offset = LerpWithoutClamp(liveTimelineKeyLightShuftData.offset, liveTimelineKeyLightShuftData2.offset, t); - updateInfo._scale = LerpWithoutClamp(liveTimelineKeyLightShuftData.scale, liveTimelineKeyLightShuftData2.scale, t); - updateInfo._speed = LerpWithoutClamp(liveTimelineKeyLightShuftData.speed, liveTimelineKeyLightShuftData2.speed, t); - updateInfo._alpha = LerpWithoutClamp(liveTimelineKeyLightShuftData.alpha, liveTimelineKeyLightShuftData2.alpha, t); - updateInfo._alpha2 = LerpWithoutClamp(liveTimelineKeyLightShuftData.alpha2, liveTimelineKeyLightShuftData2.alpha2, t); - updateInfo._maskAlpha = LerpWithoutClamp(liveTimelineKeyLightShuftData.maskAlpha, liveTimelineKeyLightShuftData2.maskAlpha, t); - updateInfo._angle = LerpWithoutClamp(liveTimelineKeyLightShuftData.angle, liveTimelineKeyLightShuftData2.angle, t); - } - else - { - updateInfo._enable = liveTimelineKeyLightShuftData.enabled; - updateInfo._offset = liveTimelineKeyLightShuftData.offset; - updateInfo._scale = liveTimelineKeyLightShuftData.scale; - updateInfo._speed = liveTimelineKeyLightShuftData.speed; - updateInfo._angle = liveTimelineKeyLightShuftData.angle; - updateInfo._alpha = liveTimelineKeyLightShuftData.alpha; - updateInfo._alpha2 = liveTimelineKeyLightShuftData.alpha2; - updateInfo._maskAlpha = liveTimelineKeyLightShuftData.maskAlpha; - } - float num = Mathf.RoundToInt(liveTimelineKeyLightShuftData.maskAnimeTime * 60f); - if (num <= 0f) - { - updateInfo._alpha.z = liveTimelineKeyLightShuftData.maskAlphaRange.x; - } - else - { - float num2 = liveTimelineKeyLightShuftData.maskAlphaRange.y - liveTimelineKeyLightShuftData.maskAlphaRange.x; - float num3 = (float)(currentFrame - liveTimelineKeyLightShuftData.frame) % num; - num /= 2f; - if (num3 >= num) - { - num3 -= num; - updateInfo._alpha.z = liveTimelineKeyLightShuftData.maskAlphaRange.x + (num2 - num2 * num3 / num); - } - else - { - updateInfo._alpha.z = liveTimelineKeyLightShuftData.maskAlphaRange.x + num2 * num3 / num; - } - } - this.OnLightShuft(ref updateInfo); - } - } - - private void AlterUpdate_ColorCorrection(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnColorCorrection == null) - { - return; - } - int count = sheet.colorCorrectionDataLists.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineKeyColorCorrectionDataList keys = sheet.colorCorrectionDataLists[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyColorCorrectionData liveTimelineKeyColorCorrectionData = curKey as LiveTimelineKeyColorCorrectionData; - bool flag = false; - if (_oldFrame < curKey.frame || _colorCorrectionCameraIndex != sheet.targetCameraIndex) - { - _colorCorrectionCameraIndex = sheet.targetCameraIndex; - flag = true; - } - if (nextKey != null && _oldFrame >= nextKey.frame) - { - flag = true; - } - if (flag) - { - ColorCorrectionUpdateInfo updateInfo = default(ColorCorrectionUpdateInfo); - updateInfo._enable = liveTimelineKeyColorCorrectionData.enable; - updateInfo._saturation = liveTimelineKeyColorCorrectionData.saturation; - updateInfo._redCurve = liveTimelineKeyColorCorrectionData.redCurve; - updateInfo._greenCurve = liveTimelineKeyColorCorrectionData.greenCurve; - updateInfo._blueCurve = liveTimelineKeyColorCorrectionData.blueCurve; - updateInfo._selective = liveTimelineKeyColorCorrectionData.selective; - updateInfo._keyColor = liveTimelineKeyColorCorrectionData.keyColor; - updateInfo._targetColor = liveTimelineKeyColorCorrectionData.targetColor; - updateInfo._cameraIndex = sheet.targetCameraIndex; - this.OnColorCorrection(ref updateInfo); - } - } - } - } - - private void AlterUpdate_SweatLocator(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateSweatLocator == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.sweatLocatorList.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineSweatLocatorData liveTimelineSweatLocatorData = sheet.sweatLocatorList[i]; - if (liveTimelineSweatLocatorData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineSweatLocatorData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineSweatLocatorData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey == null) - { - continue; - } - liveTimelineKey2 = liveTimelineSweatLocatorData.keys.At(findKeyResult.index + 1); - LiveTimelineKeySweatLocatorData liveTimelineKeySweatLocatorData = liveTimelineKey as LiveTimelineKeySweatLocatorData; - LiveTimelineKeySweatLocatorData liveTimelineKeySweatLocatorData2 = liveTimelineKey2 as LiveTimelineKeySweatLocatorData; - if (liveTimelineKeySweatLocatorData2 != null && liveTimelineKeySweatLocatorData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeySweatLocatorData, liveTimelineKeySweatLocatorData2, currentFrame); - _sweatLocatorUpdateInfo.alpha = LerpWithoutClamp(liveTimelineKeySweatLocatorData.alpha, liveTimelineKeySweatLocatorData2.alpha, t); - _sweatLocatorUpdateInfo.locatorInfo[0].offset = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator0_offset, liveTimelineKeySweatLocatorData2.locator0_offset, t); - _sweatLocatorUpdateInfo.locatorInfo[0].offsetAngle = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator0_offsetAngle, liveTimelineKeySweatLocatorData2.locator0_offsetAngle, t); - _sweatLocatorUpdateInfo.locatorInfo[1].offset = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator1_offset, liveTimelineKeySweatLocatorData2.locator1_offset, t); - _sweatLocatorUpdateInfo.locatorInfo[1].offsetAngle = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator1_offsetAngle, liveTimelineKeySweatLocatorData2.locator1_offsetAngle, t); - _sweatLocatorUpdateInfo.locatorInfo[2].offset = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator2_offset, liveTimelineKeySweatLocatorData2.locator2_offset, t); - _sweatLocatorUpdateInfo.locatorInfo[2].offsetAngle = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator2_offsetAngle, liveTimelineKeySweatLocatorData2.locator2_offsetAngle, t); - _sweatLocatorUpdateInfo.locatorInfo[3].offset = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator3_offset, liveTimelineKeySweatLocatorData2.locator3_offset, t); - _sweatLocatorUpdateInfo.locatorInfo[3].offsetAngle = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator3_offsetAngle, liveTimelineKeySweatLocatorData2.locator3_offsetAngle, t); - _sweatLocatorUpdateInfo.locatorInfo[4].offset = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator4_offset, liveTimelineKeySweatLocatorData2.locator4_offset, t); - _sweatLocatorUpdateInfo.locatorInfo[4].offsetAngle = LerpWithoutClamp(liveTimelineKeySweatLocatorData.locator4_offsetAngle, liveTimelineKeySweatLocatorData2.locator4_offsetAngle, t); - } - else - { - _sweatLocatorUpdateInfo.alpha = liveTimelineKeySweatLocatorData.alpha; - _sweatLocatorUpdateInfo.locatorInfo[0].offset = liveTimelineKeySweatLocatorData.locator0_offset; - _sweatLocatorUpdateInfo.locatorInfo[0].offsetAngle = liveTimelineKeySweatLocatorData.locator0_offsetAngle; - _sweatLocatorUpdateInfo.locatorInfo[1].offset = liveTimelineKeySweatLocatorData.locator1_offset; - _sweatLocatorUpdateInfo.locatorInfo[1].offsetAngle = liveTimelineKeySweatLocatorData.locator1_offsetAngle; - _sweatLocatorUpdateInfo.locatorInfo[2].offset = liveTimelineKeySweatLocatorData.locator2_offset; - _sweatLocatorUpdateInfo.locatorInfo[2].offsetAngle = liveTimelineKeySweatLocatorData.locator2_offsetAngle; - _sweatLocatorUpdateInfo.locatorInfo[3].offset = liveTimelineKeySweatLocatorData.locator3_offset; - _sweatLocatorUpdateInfo.locatorInfo[3].offsetAngle = liveTimelineKeySweatLocatorData.locator3_offsetAngle; - _sweatLocatorUpdateInfo.locatorInfo[4].offset = liveTimelineKeySweatLocatorData.locator4_offset; - _sweatLocatorUpdateInfo.locatorInfo[4].offsetAngle = liveTimelineKeySweatLocatorData.locator4_offsetAngle; - } - _sweatLocatorUpdateInfo.owner = liveTimelineKeySweatLocatorData.owner; - _sweatLocatorUpdateInfo.locatorInfo[0].isVisible = liveTimelineKeySweatLocatorData.locator0_isVisible; - _sweatLocatorUpdateInfo.locatorInfo[1].isVisible = liveTimelineKeySweatLocatorData.locator1_isVisible; - _sweatLocatorUpdateInfo.locatorInfo[2].isVisible = liveTimelineKeySweatLocatorData.locator2_isVisible; - _sweatLocatorUpdateInfo.locatorInfo[3].isVisible = liveTimelineKeySweatLocatorData.locator3_isVisible; - _sweatLocatorUpdateInfo.locatorInfo[4].isVisible = liveTimelineKeySweatLocatorData.locator4_isVisible; - if (liveTimelineSweatLocatorData.randomVisibleIndex.Count < liveTimelineKeySweatLocatorData.randomVisibleCount) - { - _sweatLocatorRandomIndex.Clear(); - for (int j = 0; j < _sweatLocatorUpdateInfo.locatorInfo.Length; j++) - { - _sweatLocatorRandomIndex.Add(j); - } - do - { - int index = UnityEngine.Random.Range(0, _sweatLocatorRandomIndex.Count); - int item = _sweatLocatorRandomIndex[index]; - if (!liveTimelineSweatLocatorData.randomVisibleIndex.Contains(item)) - { - liveTimelineSweatLocatorData.randomVisibleIndex.Add(item); - } - _sweatLocatorRandomIndex.RemoveAt(index); - } - while (liveTimelineSweatLocatorData.randomVisibleIndex.Count < liveTimelineKeySweatLocatorData.randomVisibleCount && 0 < _sweatLocatorRandomIndex.Count); - } - else if (liveTimelineKeySweatLocatorData.randomVisibleCount < liveTimelineSweatLocatorData.randomVisibleIndex.Count) - { - do - { - int index2 = UnityEngine.Random.Range(0, liveTimelineSweatLocatorData.randomVisibleIndex.Count); - liveTimelineSweatLocatorData.randomVisibleIndex.RemoveAt(index2); - } - while (liveTimelineKeySweatLocatorData.randomVisibleCount < liveTimelineSweatLocatorData.randomVisibleIndex.Count); - } - if (0 < liveTimelineSweatLocatorData.randomVisibleIndex.Count) - { - for (int k = 0; k < _sweatLocatorUpdateInfo.locatorInfo.Length; k++) - { - _sweatLocatorUpdateInfo.locatorInfo[k].isVisible = false; - _sweatLocatorUpdateInfo.locatorInfo[k].offset = Vector3.zero; - _sweatLocatorUpdateInfo.locatorInfo[k].offsetAngle = Vector3.zero; - } - for (int l = 0; l < liveTimelineSweatLocatorData.randomVisibleIndex.Count; l++) - { - _sweatLocatorUpdateInfo.locatorInfo[liveTimelineSweatLocatorData.randomVisibleIndex[l]].isVisible = true; - } - } - this.OnUpdateSweatLocator(ref _sweatLocatorUpdateInfo); - } - } - - /// - /// ƒŒƒ“ƒYƒtƒŒƒA‚̃pƒ‰ƒ��[ƒ^‚ð�X�V‚·‚é - /// - public void AlterUpdate_LensFlare(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateLensFlare == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.lensFlareList.Count; - LensFlareUpdateInfo updateInfo = default(LensFlareUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineLensFlareData liveTimelineLensFlareData = sheet.lensFlareList[i]; - if (liveTimelineLensFlareData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineLensFlareData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineLensFlareData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineLensFlareData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyLensFlareData liveTimelineKeyLensFlareData = liveTimelineKey as LiveTimelineKeyLensFlareData; - LiveTimelineKeyLensFlareData liveTimelineKeyLensFlareData2 = liveTimelineKey2 as LiveTimelineKeyLensFlareData; - if (liveTimelineKeyLensFlareData2 != null && liveTimelineKeyLensFlareData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyLensFlareData, liveTimelineKeyLensFlareData2, currentFrame); - updateInfo.color = LerpWithoutClamp(liveTimelineKeyLensFlareData.color, liveTimelineKeyLensFlareData2.color, t); - updateInfo.offset = LerpWithoutClamp(liveTimelineKeyLensFlareData.offset, liveTimelineKeyLensFlareData2.offset, t); - updateInfo.brightness = LerpWithoutClamp(liveTimelineKeyLensFlareData.brightness, liveTimelineKeyLensFlareData2.brightness, t); - updateInfo.fadeSpeed = LerpWithoutClamp(liveTimelineKeyLensFlareData.fadeSpeed, liveTimelineKeyLensFlareData2.fadeSpeed, t); - } - else - { - updateInfo.color = liveTimelineKeyLensFlareData.color; - updateInfo.offset = liveTimelineKeyLensFlareData.offset; - updateInfo.brightness = liveTimelineKeyLensFlareData.brightness; - updateInfo.fadeSpeed = liveTimelineKeyLensFlareData.fadeSpeed; - } - updateInfo.data = liveTimelineLensFlareData; - this.OnUpdateLensFlare(ref updateInfo); - } - } - } - - private void AlterUpdate_A2UConfig(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateA2UConfig == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - A2UConfigUpdateInfo updateInfo = default(A2UConfigUpdateInfo); - float num = 0.0166666675f; - for (int i = 0; i < sheet.a2uConfigList.Count; i++) - { - LiveTimelineA2UConfigData liveTimelineA2UConfigData = sheet.a2uConfigList[i]; - if (!liveTimelineA2UConfigData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - FindTimelineKey(out curKey, out nextKey, liveTimelineA2UConfigData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyA2UConfigData liveTimelineKeyA2UConfigData = curKey as LiveTimelineKeyA2UConfigData; - updateInfo.blend = liveTimelineKeyA2UConfigData.blend; - updateInfo.order = liveTimelineKeyA2UConfigData.order; - updateInfo.enable = liveTimelineKeyA2UConfigData.enable; - updateInfo.data = liveTimelineA2UConfigData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyA2UConfigData.frame) * num; - this.OnUpdateA2UConfig(ref updateInfo); - } - } - } - } - - private void AlterUpdate_A2U(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateA2U == null) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - A2UUpdateInfo updateInfo = default(A2UUpdateInfo); - float num = 0.0166666675f; - for (int i = 0; i < sheet.a2uList.Count; i++) - { - LiveTimelineA2UData liveTimelineA2UData = sheet.a2uList[i]; - if (liveTimelineA2UData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - continue; - } - FindTimelineKey(out curKey, out nextKey, liveTimelineA2UData.keys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyA2UData liveTimelineKeyA2UData = curKey as LiveTimelineKeyA2UData; - LiveTimelineKeyA2UData liveTimelineKeyA2UData2 = nextKey as LiveTimelineKeyA2UData; - if (liveTimelineKeyA2UData2 != null && liveTimelineKeyA2UData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyA2UData, liveTimelineKeyA2UData2, currentFrame); - updateInfo.position = LerpWithoutClamp(liveTimelineKeyA2UData.position, liveTimelineKeyA2UData2.position, t); - updateInfo.scale = LerpWithoutClamp(liveTimelineKeyA2UData.scale, liveTimelineKeyA2UData2.scale, t); - updateInfo.rotationZ = LerpWithoutClamp(liveTimelineKeyA2UData.rotationZ, liveTimelineKeyA2UData2.rotationZ, t); - updateInfo.spriteScale = LerpWithoutClamp(liveTimelineKeyA2UData.spriteScale, liveTimelineKeyA2UData2.spriteScale, t); - updateInfo.spriteOpacity = LerpWithoutClamp(liveTimelineKeyA2UData.spriteOpacity, liveTimelineKeyA2UData2.spriteOpacity, t); - updateInfo.speed = LerpWithoutClamp(liveTimelineKeyA2UData.speed, liveTimelineKeyA2UData2.speed, t); - } - else - { - updateInfo.position = liveTimelineKeyA2UData.position; - updateInfo.scale = liveTimelineKeyA2UData.scale; - updateInfo.rotationZ = liveTimelineKeyA2UData.rotationZ; - updateInfo.spriteScale = liveTimelineKeyA2UData.spriteScale; - updateInfo.spriteOpacity = liveTimelineKeyA2UData.spriteOpacity; - updateInfo.speed = liveTimelineKeyA2UData.speed; - } - updateInfo.spriteColor = liveTimelineKeyA2UData.spriteColor; - updateInfo.textureIndex = (uint)Math.Max(0, liveTimelineKeyA2UData.textureIndex); - updateInfo.appearanceRandomSeed = liveTimelineKeyA2UData.appearanceRandomSeed; - updateInfo.spriteAppearance = liveTimelineKeyA2UData.spriteAppearance; - updateInfo.slopeRandomSeed = liveTimelineKeyA2UData.slopeRandomSeed; - updateInfo.spriteMinSlope = liveTimelineKeyA2UData.spriteMinSlope; - updateInfo.spriteMaxSlope = liveTimelineKeyA2UData.spriteMaxSlope; - updateInfo.startSec = Mathf.Max(0f, liveTimelineKeyA2UData.startSec); - updateInfo.isFlick = liveTimelineKeyA2UData.isFlick; - updateInfo.enable = liveTimelineKeyA2UData.enable; - updateInfo.data = liveTimelineA2UData; - updateInfo.progressTime = (float)(currentFrame - liveTimelineKeyA2UData.frame) * num; - this.OnUpdateA2U(ref updateInfo); - } - } - } - - public void InitializeCrossFadeCamera(CacheCamera camera) - { - _crossFadeCameraCache = camera; - } - - public Quaternion GetCrossCameraWorldRotation() - { - if (_crossFadeCameraCache == null) - { - return Quaternion.identity; - } - return _crossFadeCameraCache.cacheTransform.rotation; - } - - public CacheCamera GetCrossFadeCameraCache() - { - return _crossFadeCameraCache; - } - - public bool CalculateCrossFadeCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, int currentFrame) - { - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - config.lookAtKeys = null; - config.posKeys = sheet.crossFadeCameraPosKeys; - config.extraCameraIndex = 0; - CacheCamera crossFadeCameraCache = _crossFadeCameraCache; - return CalculateCameraPos(out pos, sheet, currentFrame, crossFadeCameraCache, ref config, ref fnGetCameraPosValue); - } - - public bool CalculateCrossFadeCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, LiveTimelineKey curKey, LiveTimelineKey nextKey, int currentFrame) - { - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = curKey; - config.nextKey = nextKey; - config.keyType = FindTimelineConfig.KeyType.KeyDirect; - config.posKeys = sheet.crossFadeCameraPosKeys; - config.lookAtKeys = null; - CacheCamera crossFadeCameraCache = _crossFadeCameraCache; - config.extraCameraIndex = 0; - return CalculateCameraPos(out pos, sheet, currentFrame, crossFadeCameraCache, ref config, ref fnGetCameraPosValue); - } - - public bool CalculateCrossFadeCameraLookAt(out Vector3 lookAtPos, LiveTimelineWorkSheet sheet, int currentFrame) - { - CacheCamera crossFadeCameraCache = GetCrossFadeCameraCache(); - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - config.posKeys = sheet.crossFadeCameraPosKeys; - config.lookAtKeys = sheet.crossFadeCameraLookAtKeys; - config.extraCameraIndex = 0; - return CalculateCameraLookAt(out lookAtPos, sheet, currentFrame, crossFadeCameraCache, ref config, ref fnGetCameraLookAtValue, ref fnGetCameraPosValue); - } - - private void AlterUpdate_CrossFadeCameraPosition(CacheCamera cam, LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateCrossFadeCamera == null) - { - return; - } - CrossFadeCameraUpdateInfo updateInfo = default(CrossFadeCameraUpdateInfo); - updateInfo.isEnable = false; - updateInfo.alpha = 0f; - if (sheet.crossFadeCameraPosKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - this.OnUpdateCrossFadeCamera(ref updateInfo); - return; - } - if (!sheet.crossFadeCameraPosKeys.EnablePlayModeTimeline(_playMode)) - { - this.OnUpdateCrossFadeCamera(ref updateInfo); - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.crossFadeCameraPosKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCrossFadeCameraPositionData liveTimelineKeyCrossFadeCameraPositionData = curKey as LiveTimelineKeyCrossFadeCameraPositionData; - AlterUpdate_CrossFadeCameraAlpha(cam, sheet, currentFrame, out var alpha); - updateInfo.isEnable = liveTimelineKeyCrossFadeCameraPositionData.isEnable; - updateInfo.alpha = alpha; - this.OnUpdateCrossFadeCamera(ref updateInfo); - if (updateInfo.isEnable) - { - cam.camera.nearClipPlane = liveTimelineKeyCrossFadeCameraPositionData.nearClip; - cam.camera.farClipPlane = liveTimelineKeyCrossFadeCameraPositionData.farClip; - if (CalculateCrossFadeCameraPos(out var pos, sheet, curKey, nextKey, currentFrame)) - { - cam.cacheTransform.position = pos; - int cullingMask = liveTimelineKeyCrossFadeCameraPositionData.GetCullingMask(); - cam.camera.cullingMask = cullingMask; - } - } - } - - private void AlterUpdate_CrossFadeCameraAlpha(CacheCamera cam, LiveTimelineWorkSheet sheet, int currentFrame, out float alpha) - { - alpha = 0f; - if (sheet.crossFadeCameraAlphaKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.crossFadeCameraAlphaKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.crossFadeCameraAlphaKeys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyCrossFadeCameraAlphaData liveTimelineKeyCrossFadeCameraAlphaData = curKey as LiveTimelineKeyCrossFadeCameraAlphaData; - LiveTimelineKeyCrossFadeCameraAlphaData liveTimelineKeyCrossFadeCameraAlphaData2 = nextKey as LiveTimelineKeyCrossFadeCameraAlphaData; - if (liveTimelineKeyCrossFadeCameraAlphaData2 != null && liveTimelineKeyCrossFadeCameraAlphaData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCrossFadeCameraAlphaData, liveTimelineKeyCrossFadeCameraAlphaData2, currentFrame); - alpha = LerpWithoutClamp(liveTimelineKeyCrossFadeCameraAlphaData.alpha, liveTimelineKeyCrossFadeCameraAlphaData2.alpha, t); - } - else - { - alpha = liveTimelineKeyCrossFadeCameraAlphaData.alpha; - } - } - } - - private void AlterUpdate_CrossFadeCameraLookAt(CacheCamera cam, LiveTimelineWorkSheet sheet, int currentFrame, ref Vector3 outLookAt) - { - if (!sheet.crossFadeCameraLookAtKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && sheet.crossFadeCameraLookAtKeys.EnablePlayModeTimeline(_playMode) && CalculateCrossFadeCameraLookAt(out var lookAtPos, sheet, currentFrame)) - { - cam.cacheTransform.LookAt(lookAtPos, Vector3.up); - outLookAt = lookAtPos; - } - } - - private void AlterUpdate_CrossFadeCameraFov(CacheCamera cam, LiveTimelineWorkSheet sheet, int currentFrame) - { - if (sheet.crossFadeCameraFovKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.crossFadeCameraFovKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.crossFadeCameraFovKeys, currentFrame); - if (curKey == null) - { - return; - } - LiveTimelineKeyCrossFadeCameraFovData liveTimelineKeyCrossFadeCameraFovData = curKey as LiveTimelineKeyCrossFadeCameraFovData; - LiveTimelineKeyCrossFadeCameraFovData liveTimelineKeyCrossFadeCameraFovData2 = nextKey as LiveTimelineKeyCrossFadeCameraFovData; - float num = 80f; - if (liveTimelineKeyCrossFadeCameraFovData2 != null && liveTimelineKeyCrossFadeCameraFovData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCrossFadeCameraFovData, liveTimelineKeyCrossFadeCameraFovData2, currentFrame); - num = LerpWithoutClamp(liveTimelineKeyCrossFadeCameraFovData.fov, liveTimelineKeyCrossFadeCameraFovData2.fov, t); - } - else if (liveTimelineKeyCrossFadeCameraFovData.fovType == LiveCameraFovType.Direct) - { - num = liveTimelineKeyCrossFadeCameraFovData.fov; - } - if (_limitFovForWidth) - { - float num2 = (float)cam.camera.pixelWidth / (float)cam.camera.pixelHeight; - if (num2 > _baseCameraAspectRatio) - { - float num3 = num2 / _baseCameraAspectRatio; - num /= num3; - } - } - cam.camera.fieldOfView = num; - } - - private void AlterUpdate_CrossFadeCameraRoll(CacheCamera cam, LiveTimelineWorkSheet sheet, int currentFrame) - { - if (sheet.crossFadeCameraRollKeys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !sheet.crossFadeCameraRollKeys.EnablePlayModeTimeline(_playMode)) - { - return; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.crossFadeCameraRollKeys, currentFrame); - if (curKey != null) - { - LiveTimelineKeyCameraRollData liveTimelineKeyCameraRollData = curKey as LiveTimelineKeyCameraRollData; - LiveTimelineKeyCameraRollData liveTimelineKeyCameraRollData2 = nextKey as LiveTimelineKeyCameraRollData; - float num = 80f; - if (liveTimelineKeyCameraRollData2 != null && liveTimelineKeyCameraRollData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyCameraRollData, liveTimelineKeyCameraRollData2, currentFrame); - num = LerpWithoutClamp(liveTimelineKeyCameraRollData.degree, liveTimelineKeyCameraRollData2.degree, t); - } - else - { - num = liveTimelineKeyCameraRollData.degree; - } - cam.cacheTransform.Rotate(0f, 0f, num); - } - } - - private void AlterUpdate_CrossFadeCamera(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_crossFadeCameraCache != null) - { - AlterUpdate_CrossFadeCameraPosition(_crossFadeCameraCache, sheet, currentFrame); - if (_crossFadeCameraCache.camera.enabled) - { - Vector3 outLookAt = Vector3.zero; - AlterUpdate_CrossFadeCameraLookAt(_crossFadeCameraCache, sheet, currentFrame, ref outLookAt); - AlterUpdate_CrossFadeCameraFov(_crossFadeCameraCache, sheet, currentFrame); - AlterUpdate_CrossFadeCameraRoll(_crossFadeCameraCache, sheet, currentFrame); - } - } - } - - public Quaternion GetMonitorCameraWorldRotation(int index) - { - if (_arrMonitorCameraCache == null || _arrMonitorCameraCache.Length <= index) - { - return Quaternion.identity; - } - return _arrMonitorCameraCache[index].cacheTransform.rotation; - } - - public bool ExistsMonitroCamera(int index) - { - if (_arrMonitorCameraCache != null && index < _arrMonitorCameraCache.Length) - { - return _arrMonitorCameraCache[index] != null; - } - return false; - } - - /// - /// ƒ‚ƒjƒ^�[ƒJƒ�ƒ‰‚ðƒZƒbƒg‚·‚é - /// - public void SetMonitorCameras(MonitorCamera[] monitorCameras) - { - if (monitorCameras != null && monitorCameras.Length != 0) - { - int num = monitorCameras.Length; - _arrMonitorCameraCache = new CacheCamera[num]; - _arrMonitorCameraRoll = new float[num]; - for (int i = 0; i < num; i++) - { - _arrMonitorCameraCache[i] = new CacheCamera(monitorCameras[i].targetCamera); - _arrMonitorCameraRoll[i] = 0f; - } - } - else - { - _arrMonitorCameraCache = null; - } - } - - /// - /// ƒ‚ƒjƒ^�[ƒJƒ�ƒ‰‚ð�X�V‚·‚é - /// - private void AlterUpdate_MonitorCamera(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length != 0) - { - AlterUpdate_MonitorCameraPosition(sheet, currentFrame); - AlterUpdate_MonitorCameraLookAt(sheet, currentFrame); - for (int i = 0; i < _arrMonitorCameraCache.Length; i++) - { - float zAngle = _arrMonitorCameraRoll[i]; - _arrMonitorCameraCache[i].cacheTransform.Rotate(0f, 0f, zAngle); - } - } - } - - private static Vector3 GetMonitorCameraPositionValue(LiveTimelineKeyCameraPositionData keyData, LiveTimelineControl timelineControl, FindTimelineConfig config) - { - return (keyData as LiveTimelineKeyMonitorCameraPositionData).GetValue(timelineControl, config.extraCameraIndex); - } - - public bool CalculateMonitorCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, int currentFrame, int timelineIndex = 0) - { - if (sheet.monitorCameraPosKeys.Count <= timelineIndex || _arrMonitorCameraCache == null || (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length <= timelineIndex)) - { - pos = Vector3.zero; - return false; - } - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - config.lookAtKeys = null; - config.posKeys = sheet.monitorCameraPosKeys[timelineIndex].keys; - config.extraCameraIndex = timelineIndex; - return CalculateCameraPos(out pos, sheet, currentFrame, _arrMonitorCameraCache[timelineIndex], ref config, ref fnGetMonitorCameraPositionValue); - } - - public bool CalculateMonitorCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, int currentFrame, LiveTimelineKey curKey, LiveTimelineKey nextKey, int timelineIndex = 0) - { - if (sheet.monitorCameraPosKeys.Count <= timelineIndex || _arrMonitorCameraCache == null || (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length <= timelineIndex)) - { - pos = Vector3.zero; - return false; - } - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = curKey; - config.nextKey = nextKey; - config.keyType = FindTimelineConfig.KeyType.KeyDirect; - config.lookAtKeys = null; - config.posKeys = sheet.monitorCameraPosKeys[timelineIndex].keys; - config.extraCameraIndex = timelineIndex; - return CalculateCameraPos(out pos, sheet, currentFrame, _arrMonitorCameraCache[timelineIndex], ref config, ref fnGetMonitorCameraPositionValue); - } - - /// - /// ƒ‚ƒjƒ^�[ƒJƒ�ƒ‰‚̃|ƒWƒVƒ‡ƒ“‚ð�X�V‚·‚é - /// ƒJƒ�ƒ‰‚̃pƒ‰ƒ��[ƒ^‚à‚±‚±‚ōX�V - /// - private void AlterUpdate_MonitorCameraPosition(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_arrMonitorCameraCache == null || (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length == 0)) - { - return; - } - int count = sheet.monitorCameraPosKeys.Count; - for (int i = 0; i < count; i++) - { - DereLiveTimelineKeyMonitorCameraPositionDataList keys = sheet.monitorCameraPosKeys[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode) || _arrMonitorCameraCache.Length <= i) - { - continue; - } - CacheCamera cacheCamera = _arrMonitorCameraCache[i]; - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (curKey != null) - { - if (CalculateMonitorCameraPos(out var pos, sheet, currentFrame, curKey, nextKey, i)) - { - cacheCamera.cacheTransform.position = pos; - } - LiveTimelineKeyMonitorCameraPositionData liveTimelineKeyMonitorCameraPositionData = curKey as LiveTimelineKeyMonitorCameraPositionData; - LiveTimelineKeyMonitorCameraPositionData liveTimelineKeyMonitorCameraPositionData2 = nextKey as LiveTimelineKeyMonitorCameraPositionData; - float num = 80f; - float num2 = 0f; - if (liveTimelineKeyMonitorCameraPositionData2 != null && liveTimelineKeyMonitorCameraPositionData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMonitorCameraPositionData, liveTimelineKeyMonitorCameraPositionData2, currentFrame); - num = LerpWithoutClamp(liveTimelineKeyMonitorCameraPositionData.fov, liveTimelineKeyMonitorCameraPositionData2.fov, t); - num2 = LerpWithoutClamp(liveTimelineKeyMonitorCameraPositionData.roll, liveTimelineKeyMonitorCameraPositionData2.roll, t); - } - else - { - num = liveTimelineKeyMonitorCameraPositionData.fov; - num2 = liveTimelineKeyMonitorCameraPositionData.roll; - } - _arrMonitorCameraRoll[i] = num2; - cacheCamera.camera.fieldOfView = num; - cacheCamera.camera.nearClipPlane = liveTimelineKeyMonitorCameraPositionData.nearClip; - cacheCamera.camera.farClipPlane = liveTimelineKeyMonitorCameraPositionData.farClip; - if (liveTimelineKeyMonitorCameraPositionData.enable) - { - cacheCamera.camera.cullingMask = liveTimelineKeyMonitorCameraPositionData.GetCullingMask(); - } - if (this.OnUpdateMonitorCamera != null) - { - MonitorCameraUpdateInfo updateInfo = default(MonitorCameraUpdateInfo); - updateInfo.index = i; - updateInfo.enable = liveTimelineKeyMonitorCameraPositionData.enable; - updateInfo.visibleCharaFlag = liveTimelineKeyMonitorCameraPositionData.visibleCharaPositionFlag; - this.OnUpdateMonitorCamera(ref updateInfo); - } - } - } - } - - private static Vector3 GetMonitorCameraLookAtValue(LiveTimelineKeyCameraLookAtData keyData, LiveTimelineControl timelineControl, Vector3 camPos, FindTimelineConfig config) - { - return (keyData as LiveTimelineKeyMonitorCameraLookAtData).GetValue(timelineControl, camPos, config.extraCameraIndex); - } - - /// - /// ƒ‚ƒjƒ^�[ƒJƒ�ƒ‰‚̎‹“_‚ðŒvŽZ‚·‚é - /// - public bool CalculateMonitorCameraLookAt(out Vector3 lookAtPos, LiveTimelineWorkSheet sheet, int currentFrame, int timelineIndex = 0) - { - if (sheet.monitorLookAtPosKeys.Count <= timelineIndex || _arrMonitorCameraCache == null || (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length <= timelineIndex)) - { - lookAtPos = Vector3.zero; - return false; - } - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = null; - config.nextKey = null; - config.keyType = FindTimelineConfig.KeyType.CurrentFrame; - if (sheet.monitorCameraPosKeys.Count <= timelineIndex || sheet.monitorLookAtPosKeys.Count <= timelineIndex) - { - lookAtPos = Vector3.zero; - return false; - } - config.posKeys = sheet.monitorCameraPosKeys[timelineIndex].keys; - config.lookAtKeys = sheet.monitorLookAtPosKeys[timelineIndex].keys; - config.extraCameraIndex = timelineIndex; - return CalculateCameraLookAt(out lookAtPos, sheet, currentFrame, _arrMonitorCameraCache[timelineIndex], ref config, ref fnGetMonitorCameraLookAtValue, ref fnGetMonitorCameraPositionValue); - } - - /// - /// ƒ‚ƒjƒ^�[ƒJƒ�ƒ‰‚̎‹“_‚ð�X�V‚·‚é - /// - private void AlterUpdate_MonitorCameraLookAt(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_arrMonitorCameraCache == null || (_arrMonitorCameraCache != null && _arrMonitorCameraCache.Length == 0)) - { - return; - } - int count = sheet.monitorLookAtPosKeys.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineKeyMonitorCameraLookAtDataList keys = sheet.monitorLookAtPosKeys[i].keys; - if (!keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && keys.EnablePlayModeTimeline(_playMode) && _arrMonitorCameraCache.Length > i) - { - CacheCamera cacheCamera = _arrMonitorCameraCache[i]; - if (!CalculateMonitorCameraLookAt(out var lookAtPos, sheet, currentFrame, i)) - { - break; - } - cacheCamera.cacheTransform.LookAt(lookAtPos); - } - } - } - - public MultiCameraManager GetMultiCameraManager() - { - return _multiCameraManager; - } - - public Quaternion GetMultiCameraWorldRotation(int index) - { - if (_multiCameraCache == null || _multiCameraCache.Length <= index) - { - return Quaternion.identity; - } - return _multiCameraCache[index].cacheTransform.rotation; - } - - public bool ExistsMultiCamera(int index) - { - if (_multiCameraCache != null && index < _multiCameraCache.Length) - { - return _multiCameraCache[index] != null; - } - return false; - } - - public void SetMultiCamera(MultiCameraManager manager, MultiCamera[] multiCamera) - { - _multiCamera = multiCamera; - _multiCameraManager = manager; - if (multiCamera != null) - { - _multiCameraCache = new CacheCamera[multiCamera.Length]; - for (int i = 0; i < multiCamera.Length; i++) - { - _multiCameraCache[i] = new CacheCamera(multiCamera[i].GetCamera()); - } - } - } - - private static Vector3 GetMultiCameraPositionValue(LiveTimelineKeyCameraPositionData keyData, LiveTimelineControl timelineControl, FindTimelineConfig config) - { - return (keyData as LiveTimelineKeyMultiCameraPositionData).GetValue(timelineControl, config.extraCameraIndex); - } - - public bool CalculateMultiCameraPos(out Vector3 pos, LiveTimelineWorkSheet sheet, LiveTimelineKey curKey, LiveTimelineKey nextKey, int currentFrame, int timelineIndex) - { - if (sheet.multiCameraPositionKeys.Count <= timelineIndex) - { - pos = Vector3.zero; - return false; - } - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = curKey; - config.nextKey = nextKey; - config.keyType = FindTimelineConfig.KeyType.KeyDirect; - config.posKeys = sheet.multiCameraPositionKeys[timelineIndex].keys; - config.lookAtKeys = null; - config.extraCameraIndex = timelineIndex; - return CalculateCameraPos(out pos, sheet, currentFrame, _multiCameraCache[timelineIndex], ref config, ref fnGetMultiCameraPositionValueFunc); - } - - private void AlterUpdate_MultiCameraPosition(LiveTimelineWorkSheet sheet, int currentFrame) - { - int count = sheet.multiCameraPositionKeys.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineKeyMultiCameraPositionDataList keys = sheet.multiCameraPositionKeys[i].keys; - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode) || i >= _multiCameraCache.Length) - { - continue; - } - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, keys, currentFrame); - if (!CalculateMultiCameraPos(out var pos, sheet, curKey, nextKey, currentFrame, i)) - { - continue; - } - CacheCamera cacheCamera = _multiCameraCache[i]; - Camera camera = cacheCamera.camera; - if (curKey == null) - { - continue; - } - LiveTimelineKeyMultiCameraPositionData liveTimelineKeyMultiCameraPositionData = curKey as LiveTimelineKeyMultiCameraPositionData; - LiveTimelineKeyMultiCameraPositionData liveTimelineKeyMultiCameraPositionData2 = nextKey as LiveTimelineKeyMultiCameraPositionData; - camera.enabled = liveTimelineKeyMultiCameraPositionData.enableMultiCamera; - if (liveTimelineKeyMultiCameraPositionData.enableMultiCamera) - { - _isMultiCameraEnable = true; - camera.cullingMask = 0x10000000 | liveTimelineKeyMultiCameraPositionData.GetCullingMask(); - float fieldOfView; - Vector3 maskPosition; - Quaternion maskRotation; - Vector3 maskScale; - if (liveTimelineKeyMultiCameraPositionData2 != null && liveTimelineKeyMultiCameraPositionData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMultiCameraPositionData, liveTimelineKeyMultiCameraPositionData2, currentFrame); - fieldOfView = LerpWithoutClamp(liveTimelineKeyMultiCameraPositionData.fov, liveTimelineKeyMultiCameraPositionData2.fov, t); - maskPosition = LerpWithoutClamp(liveTimelineKeyMultiCameraPositionData.maskPosition, liveTimelineKeyMultiCameraPositionData2.maskPosition, t); - maskRotation = Quaternion.Lerp(liveTimelineKeyMultiCameraPositionData.maskRotation, liveTimelineKeyMultiCameraPositionData2.maskRotation, t); - maskScale = LerpWithoutClamp(liveTimelineKeyMultiCameraPositionData.maskScale, liveTimelineKeyMultiCameraPositionData2.maskScale, t); - } - else - { - fieldOfView = liveTimelineKeyMultiCameraPositionData.fov; - maskPosition = liveTimelineKeyMultiCameraPositionData.maskPosition; - maskRotation = liveTimelineKeyMultiCameraPositionData.maskRotation; - maskScale = liveTimelineKeyMultiCameraPositionData.maskScale; - } - camera.nearClipPlane = liveTimelineKeyMultiCameraPositionData.nearClip; - camera.farClipPlane = liveTimelineKeyMultiCameraPositionData.farClip; - camera.fieldOfView = fieldOfView; - cacheCamera.cacheTransform.localPosition = pos; - if (_multiCamera[i].maskIndex != liveTimelineKeyMultiCameraPositionData.maskIndex) - { - _multiCameraManager.AttachMask(i, liveTimelineKeyMultiCameraPositionData.maskIndex); - } - if (_multiCamera[i].maskIndex >= 0) - { - _multiCamera[i].maskPosition = maskPosition; - _multiCamera[i].maskRotation = maskRotation; - _multiCamera[i].maskScale = maskScale; - } - } - } - } - - private static Vector3 GetMultiCameraLookAtValue(LiveTimelineKeyCameraLookAtData keyData, LiveTimelineControl timelineControl, Vector3 camPos, FindTimelineConfig config) - { - return (keyData as LiveTimelineKeyMultiCameraLookAtData).GetValue(timelineControl, camPos, config.extraCameraIndex); - } - - public bool CalculateMultiCameraLookAt(out Vector3 pos, LiveTimelineWorkSheet sheet, LiveTimelineKey curKey, LiveTimelineKey nextKey, int currentFrame, int timelineIndex = 0) - { - if (sheet.multiCameraPositionKeys.Count <= timelineIndex || sheet.multiCameraLookAtKeys.Count <= timelineIndex) - { - pos = Vector3.zero; - return false; - } - FindTimelineConfig config = default(FindTimelineConfig); - config.curKey = curKey; - config.nextKey = nextKey; - config.keyType = FindTimelineConfig.KeyType.KeyDirect; - config.posKeys = sheet.multiCameraPositionKeys[timelineIndex].keys; - config.lookAtKeys = sheet.multiCameraLookAtKeys[timelineIndex].keys; - config.extraCameraIndex = timelineIndex; - return CalculateCameraLookAt(out pos, sheet, currentFrame, _multiCameraCache[timelineIndex], ref config, ref fnGetMultiCameraLookAtValueFunc, ref fnGetMultiCameraPositionValueFunc); - } - - - private void AlterUpdate_MultiCameraLookAt(LiveTimelineWorkSheet sheet, int currentFrame) - { - int count = sheet.multiCameraLookAtKeys.Count; - for (int i = 0; i < count; i++) - { - LiveTimelineKeyMultiCameraLookAtDataList keys = sheet.multiCameraLookAtKeys[i].keys; - if (i >= _multiCameraCache.Length) - { - break; - } - if (keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindTimelineKey(out var curKey, out var nextKey, keys, currentFrame); - if (curKey != null && CalculateMultiCameraLookAt(out var pos, sheet, curKey, nextKey, currentFrame, i)) - { - LiveTimelineKeyMultiCameraLookAtData liveTimelineKeyMultiCameraLookAtData = curKey as LiveTimelineKeyMultiCameraLookAtData; - LiveTimelineKeyMultiCameraLookAtData liveTimelineKeyMultiCameraLookAtData2 = nextKey as LiveTimelineKeyMultiCameraLookAtData; - float zAngle; - if (liveTimelineKeyMultiCameraLookAtData2 != null && liveTimelineKeyMultiCameraLookAtData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyMultiCameraLookAtData, liveTimelineKeyMultiCameraLookAtData2, currentFrame); - zAngle = LerpWithoutClamp(liveTimelineKeyMultiCameraLookAtData.roll, liveTimelineKeyMultiCameraLookAtData2.roll, t); - } - else - { - zAngle = liveTimelineKeyMultiCameraLookAtData.roll; - } - Transform cacheTransform = _multiCameraCache[i].cacheTransform; - cacheTransform.LookAt(pos); - cacheTransform.Rotate(0f, 0f, zAngle); - } - } - } - - private void AlterUpdate_MultiCamera(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (_multiCameraCache != null && !(_multiCameraManager == null) && _multiCameraManager.isInitialize) - { - AlterUpdate_MultiCameraPosition(sheet, currentFrame); - AlterUpdate_MultiCameraLookAt(sheet, currentFrame); - } - } - - - /// - /// Glass—pAlterUpdate - /// - public void AlterUpdate_Glass(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateGlass == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.glassList.Count; - GlassUpdateInfo updateInfo = default(GlassUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineGlassData liveTimelineGlassData = sheet.glassList[i]; - if (liveTimelineGlassData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineGlassData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineGlassData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineGlassData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyGlassData liveTimelineKeyGlassData = liveTimelineKey as LiveTimelineKeyGlassData; - LiveTimelineKeyGlassData liveTimelineKeyGlassData2 = liveTimelineKey2 as LiveTimelineKeyGlassData; - if (liveTimelineKeyGlassData2 != null && liveTimelineKeyGlassData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyGlassData, liveTimelineKeyGlassData2, currentFrame); - updateInfo.transparent = LerpWithoutClamp(liveTimelineKeyGlassData.transparent, liveTimelineKeyGlassData2.transparent, t); - updateInfo.specularColor = LerpWithoutClamp(liveTimelineKeyGlassData.specularColor, liveTimelineKeyGlassData2.specularColor, t); - updateInfo.specularPower = LerpWithoutClamp(liveTimelineKeyGlassData.specularPower, liveTimelineKeyGlassData2.specularPower, t); - updateInfo.specularColor = LerpWithoutClamp(liveTimelineKeyGlassData.specularColor, liveTimelineKeyGlassData2.specularColor, t); - updateInfo.lightPosition = LerpWithoutClamp(liveTimelineKeyGlassData.lightPosition, liveTimelineKeyGlassData2.lightPosition, t); - } - else - { - updateInfo.transparent = liveTimelineKeyGlassData.transparent; - updateInfo.specularColor = liveTimelineKeyGlassData.specularColor; - updateInfo.specularPower = liveTimelineKeyGlassData.specularPower; - updateInfo.specularColor = liveTimelineKeyGlassData.specularColor; - updateInfo.lightPosition = liveTimelineKeyGlassData.lightPosition; - } - updateInfo.data = liveTimelineGlassData; - updateInfo.sortOrderOffset = liveTimelineKeyGlassData.sortOrderOffset; - this.OnUpdateGlass(ref updateInfo); - } - } - } - - public void AlterUpdate_ShaderControl(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (this.OnUpdateShaderControl == null) - { - return; - } - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = sheet.shdCtrlList.Count; - ShaderControlUpdateInfo updateInfo = default(ShaderControlUpdateInfo); - for (int i = 0; i < count; i++) - { - LiveTimelineShaderControlData liveTimelineShaderControlData = sheet.shdCtrlList[i]; - if (liveTimelineShaderControlData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable) || !liveTimelineShaderControlData.keys.EnablePlayModeTimeline(_playMode)) - { - continue; - } - FindKeyResult findKeyResult = liveTimelineShaderControlData.keys.FindKeyCached(currentFrame, availableFindKeyCache); - liveTimelineKey = findKeyResult.key; - if (liveTimelineKey != null) - { - liveTimelineKey2 = liveTimelineShaderControlData.keys.At(findKeyResult.index + 1); - LiveTimelineKeyShaderControlData liveTimelineKeyShaderControlData = liveTimelineKey as LiveTimelineKeyShaderControlData; - LiveTimelineKeyShaderControlData liveTimelineKeyShaderControlData2 = liveTimelineKey2 as LiveTimelineKeyShaderControlData; - if (liveTimelineShaderControlData.updatedKeyFrame == liveTimelineKeyShaderControlData.frame) - { - break; - } - liveTimelineShaderControlData.updatedKeyFrame = liveTimelineKeyShaderControlData.frame; - updateInfo.condition = liveTimelineKeyShaderControlData.condition; - updateInfo.conditionParam = liveTimelineKeyShaderControlData.conditionParam; - updateInfo.targetFlags = liveTimelineKeyShaderControlData.targetFlags; - updateInfo.behaviorFlags = liveTimelineKeyShaderControlData.behaviorFlags; - updateInfo.useVtxClrB = liveTimelineKeyShaderControlData.useVtxClrB; - if (liveTimelineKeyShaderControlData2 != null && liveTimelineKeyShaderControlData2.interpolateType != 0) - { - float t = CalculateInterpolationValue(liveTimelineKeyShaderControlData, liveTimelineKeyShaderControlData2, currentFrame); - updateInfo.lerpDiffuse = LerpWithoutClamp(liveTimelineKeyShaderControlData.lerpDiffuse, liveTimelineKeyShaderControlData2.lerpDiffuse, t); - updateInfo.lerpGradation = LerpWithoutClamp(liveTimelineKeyShaderControlData.lerpGradetion, liveTimelineKeyShaderControlData2.lerpGradetion, t); - } - else - { - updateInfo.lerpDiffuse = liveTimelineKeyShaderControlData.lerpDiffuse; - updateInfo.lerpGradation = liveTimelineKeyShaderControlData.lerpGradetion; - } - updateInfo.data = liveTimelineShaderControlData; - this.OnUpdateShaderControl(ref updateInfo); - } - } - } - - public void AlterUpdate_DressChange(LiveTimelineWorkSheet sheet, int currentFrame) - { - if (!sheet.dressChangeDataList.HasAttribute(LiveTimelineKeyDataListAttr.Disable) && sheet.dressChangeDataList.EnablePlayModeTimeline(_playMode) && this.OnUpdateDressChange != null) - { - LiveTimelineKey curKey = null; - LiveTimelineKey nextKey = null; - FindTimelineKey(out curKey, out nextKey, sheet.dressChangeDataList, currentFrame); - if (curKey != null) - { - DressChangeUpdateInfo updateInfo = default(DressChangeUpdateInfo); - LiveTimelineKeyDressChangeData liveTimelineKeyDressChangeData = curKey as LiveTimelineKeyDressChangeData; - updateInfo.targetFlags = liveTimelineKeyDressChangeData.targetFlags; - updateInfo.dressType = liveTimelineKeyDressChangeData.dressType; - this.OnUpdateDressChange(ref updateInfo); - } - } - } - - public void CreateIgnoreLaserHashDic() - { - int count = data.GetWorkSheetList().Count; - _ignoreLaserHashDic = new Dictionary[count]; - for (int i = 0; i < count; i++) - { - int[] controlledGameObjectHashes = GetControlledGameObjectHashes(i); - Dictionary dictionary = new Dictionary(); - for (int j = 0; j < controlledGameObjectHashes.Length; j++) - { - dictionary[controlledGameObjectHashes[j]] = true; - } - _ignoreLaserHashDic[i] = dictionary; - } - } - - private int[] GetControlledGameObjectHashes(int sheetIdx) - { - if (data == null || data.GetWorkSheetList().Count <= sheetIdx) - { - return new int[0]; - } - List list = new List(); - LiveTimelineWorkSheet workSheet = data.GetWorkSheet(sheetIdx); - for (int i = 0; i < workSheet.objectList.Count; i++) - { - LiveTimelineObjectData liveTimelineObjectData = workSheet.objectList[i]; - if (!liveTimelineObjectData.keys.HasAttribute(LiveTimelineKeyDataListAttr.Disable)) - { - list.Add(liveTimelineObjectData.nameHash); - } - } - return list.ToArray(); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs.meta deleted file mode 100644 index 20c70a9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineControl.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d2bd0179ec46454986d5b2a9e8c51dd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey.meta deleted file mode 100644 index 98fa44b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b3e0f282d81cc4b4aa00363af08be538 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data.meta deleted file mode 100644 index d13db15..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c74218988bd227e4499028da4355dbb4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs deleted file mode 100644 index 5a19044..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyA2UConfigData : LiveTimelineKeyWithInterpolate - { - public A2U.Blend blend; - - public A2U.Order order = A2U.Order.PostImageEffect; - - public bool enable = true; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.A2UConfig; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs.meta deleted file mode 100644 index 8d2cc9a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UConfigData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 33fad29d6c07d7b4f97bf4da7aa5467c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs deleted file mode 100644 index 156496e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyA2UData : LiveTimelineKeyWithInterpolate - { - public Color spriteColor = Color.white; - - public Vector2 position = new Vector2(0f, 0f); - - public Vector2 scale = new Vector2(1f, 1f); - - public float rotationZ; - - public int textureIndex; - - public int appearanceRandomSeed = 123456789; - - public float spriteAppearance = 1f; - - public int slopeRandomSeed = 123456789; - - public float spriteMinSlope; - - public float spriteMaxSlope; - - public float spriteScale = 1f; - - public float spriteOpacity = 1f; - - public float startSec; - - public float speed = 1f; - - public bool isFlick = true; - - public bool enable = true; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.A2U; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs.meta deleted file mode 100644 index 5c0ea24..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyA2UData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a7c29a547b964a04e9784a5641557a0c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs deleted file mode 100644 index 0f24b1f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyAnimationData : LiveTimelineKeyWithInterpolate - { - public int animationID; - - public WrapMode wrapMode; - - public float speed = 1f; - - public float offsetTime; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Animation; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs.meta deleted file mode 100644 index e778e5f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyAnimationData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c8e4ae8798d65df4abb4260f7dc4c832 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs deleted file mode 100644 index 1d50f6a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor1Data : LiveTimelineKeyWithInterpolate - { - public Color color = Color.white; - - public float f32; - - public int flags; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor1; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs.meta deleted file mode 100644 index b1aee5f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor1Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: de99f5da6e50a1646921ff7da284ec2b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs deleted file mode 100644 index 4d886d0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor2Data : LiveTimelineKeyWithInterpolate - { - public Color color1 = Color.white; - - public Color color2 = Color.white; - - public float f32; - - public bool manualAngle; - - public Vector3 angle = Vector3.zero; - - [NonSerialized] - public Quaternion manualRotation = Quaternion.identity; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor2; - - public int RandomTableIndex() - { - return attribute.GetHighWord(); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs.meta deleted file mode 100644 index 8339b4d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor2Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b69330ec7cf2b2047a78de5d30ee6fa4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs deleted file mode 100644 index f06790c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor3Data : LiveTimelineKeyWithInterpolate - { - public Color[] _colorArray; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.BgColor3; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs.meta deleted file mode 100644 index 5ef28dd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyBgColor3Data.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d695a37db9cf3ea49a5195a10874c05d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs deleted file mode 100644 index cdb507f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraFovData : LiveTimelineKeyWithInterpolate - { - public LiveCameraFovType fovType; - - public float fov = 30f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraFov; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs.meta deleted file mode 100644 index 1135fcc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraFovData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3d8e6fc3d67909a4a9818b399fcbdf31 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs deleted file mode 100644 index ccc01a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraLayerData : LiveTimelineKeyWithInterpolate - { - public Vector3 layerOffset = Vector3.zero; - - public bool extraCamera; - - public Vector3 extraCameraLayerOffset = Vector3.zero; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraLayer; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs.meta deleted file mode 100644 index 70ae664..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLayerData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ed87a68140578b428c691a0cc0b2dd9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs deleted file mode 100644 index c18db5d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraLookAtData : LiveTimelineKeyWithInterpolate - { - public LiveCameraLookAtType lookAtType; - - public LiveCharaPositionFlag lookAtCharaPos = LiveCharaPositionFlag.Center; - - public LiveCameraLookAtCharaParts lookAtCharaParts = LiveCameraLookAtCharaParts.ConstHeightFace; - - [NonSerialized] - public Transform lookAtTransform; - - public string lookAtTransformName = ""; - - public Vector3 rotation = Vector3.forward; - - public float eyeLength = 10f; - - public Vector3 offset = Vector3.zero; - - public Vector3[] bezierPoints; - - public float traceSpeed = 0.1f; - - public bool newBezierCalcMethod; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraLookAt; - - public bool necessaryToUseNewBezierCalcMethod - { - get - { - if (!newBezierCalcMethod) - { - return GetBezierPointCount() > 3; - } - return true; - } - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - if (lookAtType == LiveCameraLookAtType.Locator && !string.IsNullOrEmpty(lookAtTransformName)) - { - lookAtTransform = timelineControl.FindLookAtLocator(lookAtTransformName); - _ = lookAtTransform == null; - } - } - - public bool IsDelay() - { - return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable); - } - - public bool IsDelayContinuous() - { - return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit); - } - - public bool HasBezier() - { - if (bezierPoints != null) - { - return bezierPoints.Length != 0; - } - return false; - } - - public int GetBezierPointCount() - { - if (!HasBezier()) - { - return 0; - } - return bezierPoints.Length; - } - - public Vector3 GetBezierPoint(int index, LiveTimelineControl timelineControl, Vector3 camPos) - { - if (HasBezier() && index < bezierPoints.Length) - { - return GetValue(timelineControl, camPos) + bezierPoints[index]; - } - return GetValue(timelineControl, camPos) + Vector3.zero; - } - - public void GetBezierPoints(LiveTimelineControl timelineControl, Vector3 camPos, Vector3[] outPoints, int startIndex) - { - if (HasBezier()) - { - int num = Mathf.Min(outPoints.Length, bezierPoints.Length); - Vector3 value = GetValue(timelineControl, camPos); - for (int i = 0; i < num; i++) - { - outPoints[startIndex + i] = value + bezierPoints[i]; - } - } - } - - public virtual Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos) - { - return GetValue(timelineControl, lookAtType, camPos, containOffset: true); - } - - protected virtual Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraLookAtType.Locator: - if (lookAtTransform != null) - { - vector = lookAtTransform.position; - } - break; - case LiveCameraLookAtType.Character: - vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts); - break; - case LiveCameraLookAtType.Rotation: - { - Vector3 vector2 = Quaternion.Euler(rotation) * Vector3.forward * eyeLength; - vector = camPos + vector2; - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs.meta deleted file mode 100644 index 4eb67c0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: dddd2012f3c352842a8e377ee5d271ed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs deleted file mode 100644 index dac67b9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs +++ /dev/null @@ -1,288 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraPositionData : LiveTimelineKeyWithInterpolate - { - public enum CullingLayer - { - TransparentFX = 1, - Background3D_NotReflect = 2, - Background3d = 4, - Character3d = 8, - Character3d_0 = 0x10, - Character3d_1 = 0x20, - Character3d_2 = 0x40, - Character3d_3 = 0x80, - Character3d_4 = 0x100, - Character3D_NotReflect = 0x200, - Background3D_Other = 0x400 - } - - public enum CharacterLOD - { - Outline_0 = 1, - Outline_1 = 2, - Outline_2 = 4, - Outline_3 = 8, - Outline_4 = 0x10, - Outline_5 = 0x20, - Outline_6 = 0x40, - Outline_7 = 0x80, - Outline_8 = 0x100, - Outline_9 = 0x200, - Shader_0 = 0x8000, - Shader_1 = 0x10000, - Shader_2 = 0x20000, - Shader_3 = 0x40000, - Shader_4 = 0x80000, - Shader_5 = 0x100000, - Shader_6 = 0x200000, - Shader_7 = 0x400000, - Shader_8 = 0x800000, - Shader_9 = 0x1000000 - } - - public static readonly float defaultNearClip = 1f; - - public static readonly float defaultFarClip = 100f; - - public static readonly float minClipValue = 0.001f; - - protected const CullingLayer allCullingLayer = (CullingLayer)0x7FF; - - protected const CullingLayer defCameraCullingLayer = (CullingLayer)0x7FE; - - protected const CharacterLOD outlineLODMask = (CharacterLOD)0x3FF; - - protected const CharacterLOD shaderLODMask = (CharacterLOD)0x1FF8000; - - public LiveCameraPositionType setType = LiveCameraPositionType.Direct; - - public Vector3 posDirect = Vector3.zero; - - [NonSerialized] - public Transform posTransform; - - public string posTransformName = ""; - - public Vector3 offset = Vector3.zero; - - public Vector3[] bezierPoints; - - public LiveCharaPositionFlag charaRelativeBase = LiveCharaPositionFlag.Center; - - public LiveCameraLookAtCharaParts charaRelativeParts = LiveCameraLookAtCharaParts.ConstHeightFace; - - public float traceSpeed = 0.1f; - - public float nearClip = defaultNearClip; - - public float farClip = defaultFarClip; - - public float outlineZOffset = 1f; - - public CullingLayer cullingMask = defCameraCullingLayer; - - public CharacterLOD characterLODMask = (CharacterLOD)((uint)outlineLODMask + (uint)shaderLODMask); - - public bool newBezierCalcMethod; - - public bool necessaryToUseNewBezierCalcMethod - { - get - { - if (!newBezierCalcMethod) - { - return GetBezierPointCount() > 3; - } - return true; - } - } - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraPos; - - protected static int GetCullingMask(CullingLayer layer) - { - int num = 257; - if ((layer & CullingLayer.TransparentFX) != 0) - { - num |= 2; - } - if ((layer & CullingLayer.Background3D_NotReflect) != 0) - { - num |= 0x80000; - } - if ((layer & CullingLayer.Background3d) != 0) - { - num |= 0x100000; - } - if ((layer & CullingLayer.Character3d) != 0) - { - num |= 0x200000; - } - if ((layer & CullingLayer.Character3d_0) != 0) - { - num |= 0x400000; - } - if ((layer & CullingLayer.Character3d_1) != 0) - { - num |= 0x800000; - } - if ((layer & CullingLayer.Character3d_2) != 0) - { - num |= 0x1000000; - } - if ((layer & CullingLayer.Character3d_3) != 0) - { - num |= 0x2000000; - } - if ((layer & CullingLayer.Character3d_4) != 0) - { - num |= 0x4000000; - } - if ((layer & CullingLayer.Character3D_NotReflect) != 0) - { - num |= 0x8000000; - } - if ((layer & CullingLayer.Background3D_Other) != 0) - { - num |= 0x40000; - } - return num; - - /* - uint bittest = (uint)layer; - - uint result = (uint)LayerMask.GetMask("Default"); - - if ((bittest & (uint)CullingLayer.TransparentFX) > 0) - result |= (uint)LayerMask.GetMask("TransparentFX"); - if ((bittest & (uint)CullingLayer.Background3D_NotReflect) > 0) - result |= (uint)LayerMask.GetMask("background_NotReflect"); - if ((bittest & (uint)CullingLayer.Background3d) > 0) - result |= (uint)LayerMask.GetMask("background"); - if ((bittest & (uint)CullingLayer.Character3d) > 0) - result |= (uint)LayerMask.GetMask("charas"); - if ((bittest & (uint)CullingLayer.Character3d_0) > 0) - result |= (uint)LayerMask.GetMask("chara1"); - if ((bittest & (uint)CullingLayer.Character3d_1) > 0) - result |= (uint)LayerMask.GetMask("chara2"); - if ((bittest & (uint)CullingLayer.Character3d_2) > 0) - result |= (uint)LayerMask.GetMask("chara3"); - if ((bittest & (uint)CullingLayer.Character3d_3) > 0) - result |= (uint)LayerMask.GetMask("chara4"); - if ((bittest & (uint)CullingLayer.Character3d_4) > 0) - result |= (uint)LayerMask.GetMask("chara5"); - if ((bittest & (uint)CullingLayer.Character3D_NotReflect) > 0) - result |= (uint)LayerMask.GetMask("otherChara"); - if ((bittest & (uint)CullingLayer.Background3D_Other) > 0) - result |= (uint)LayerMask.GetMask("background_Other"); - return (int)result; - */ - } - - public static int GetDefaultCullingMask() - { - return GetCullingMask(defCameraCullingLayer); - } - - public static int GetAllCullingMask() - { - return GetCullingMask(allCullingLayer); - } - - public int GetCullingMask() - { - return GetCullingMask(cullingMask); - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - if (setType == LiveCameraPositionType.Locator && !string.IsNullOrEmpty(posTransformName)) - { - posTransform = timelineControl.FindPositionLocator(posTransformName); - } - } - - public bool IsDelay() - { - return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayEnable); - } - - public bool IsDelayContinuous() - { - return attribute.hasFlag(LiveTimelineKeyAttribute.CameraDelayInherit); - } - - public bool HasBezier() - { - if (bezierPoints != null) - { - return bezierPoints.Length != 0; - } - return false; - } - - public int GetBezierPointCount() - { - if (!HasBezier()) - { - return 0; - } - return bezierPoints.Length; - } - - public Vector3 GetBezierPoint(int index, LiveTimelineControl timelineControl) - { - if (HasBezier() && index < bezierPoints.Length) - { - return GetValue(timelineControl) + bezierPoints[index]; - } - return GetValue(timelineControl) + Vector3.zero; - } - - public void GetBezierPoints(LiveTimelineControl timelineControl, Vector3[] outPoints, int startIndex) - { - if (HasBezier()) - { - for (int i = 0; i < bezierPoints.Length; i++) - { - outPoints[startIndex + i] = GetValue(timelineControl) + bezierPoints[i]; - } - } - } - - public virtual Vector3 GetValue(LiveTimelineControl timelineControl) - { - return GetValue(timelineControl, setType, containOffset: true); - } - - protected virtual Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraPositionType.Direct: - vector = posDirect; - break; - case LiveCameraPositionType.Locator: - if (posTransform != null) - { - vector = posTransform.position; - } - break; - case LiveCameraPositionType.Character: - vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts); - break; - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs.meta deleted file mode 100644 index 6bdf9f1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 16268e4915ee59643aee835097985eb7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs deleted file mode 100644 index 932593a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraRollData : LiveTimelineKeyWithInterpolate - { - public float degree; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraRoll; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs.meta deleted file mode 100644 index fd1cb97..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraRollData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44bf220de200a1e4b977ebf006a54bfe -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs deleted file mode 100644 index f3e1547..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraSwitcherData : LiveTimelineKey - { - public int cameraIndex; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CameraSwitcher; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs.meta deleted file mode 100644 index 8310a63..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCameraSwitcherData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8e25b0a1cf327d64e98a33dfce41caca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs deleted file mode 100644 index ba2496d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaCySpring : LiveTimelineKey - { - public enum ParameterType - { - Reset, - Soft, - Usually, - Hard, - SuperHard, - Suppression - } - - private const float DefaultAccSitffness = 0.03f; - - public LiveCharaPositionFlag _resetCySpringFlag; - - public LiveCharaPositionFlag _overrideParameterCySpringFlag; - - public ParameterType[] _overrideParameterType; - - public bool[] _overrideAllBone; - - public bool[] _overrideAccBone; - - public float[] _overrideAccStiffness; - - public bool[] _overrideFurisodeBone; - - public float[] _overrideFurisodeStiffness; - - [NonSerialized] - public bool _isExecute; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaCySpring; - - public void AddResetCharaPositionFlag(LiveCharaPositionFlag flag) - { - _resetCySpringFlag |= flag; - } - - public void RemoveResetCharaPositionFlag(LiveCharaPositionFlag flag) - { - _resetCySpringFlag &= ~flag; - } - - public bool IsResetCharaPositionFlag(LiveCharaPositionFlag flag) - { - return (_resetCySpringFlag & flag) != 0; - } - - public bool IsResetCharaFlag(LiveCharaPosition flag) - { - LiveCharaPositionFlag flag2 = (LiveCharaPositionFlag)(1 << (int)flag); - return IsResetCharaPositionFlag(flag2); - } - - public void SetResetCharaPositionFlag(LiveCharaPositionFlag flag, bool enable) - { - if (enable) - { - AddResetCharaPositionFlag(flag); - } - else - { - RemoveResetCharaPositionFlag(flag); - } - } - - public void AddOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag) - { - _overrideParameterCySpringFlag |= flag; - } - - public void RemoveOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag) - { - _overrideParameterCySpringFlag &= ~flag; - } - - public bool IsOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag) - { - return (_overrideParameterCySpringFlag & flag) != 0; - } - - public bool IsOverrideParameterCharaFlag(LiveCharaPosition flag) - { - LiveCharaPositionFlag flag2 = (LiveCharaPositionFlag)(1 << (int)flag); - return IsOverrideParameterCharaPositionFlag(flag2); - } - - public void SetOverrideParameterCharaPositionFlag(LiveCharaPositionFlag flag, bool enable) - { - if (enable) - { - AddOverrideParameterCharaPositionFlag(flag); - } - else - { - RemoveOverrideParameterCharaPositionFlag(flag); - } - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - if (_overrideParameterType == null || _overrideParameterType.Length < 15) - { - _overrideParameterType = new ParameterType[15]; - } - if (_overrideAllBone == null || _overrideAllBone.Length < 15) - { - _overrideAllBone = new bool[15]; - } - if (_overrideAccBone == null || _overrideAccBone.Length < 15) - { - _overrideAccBone = new bool[15]; - } - if (_overrideAccStiffness == null || _overrideAccStiffness.Length < 15) - { - _overrideAccStiffness = new float[15]; - for (int i = 0; i < _overrideAccStiffness.Length; i++) - { - _overrideAccStiffness[i] = 0.03f; - } - } - if (_overrideFurisodeBone == null || _overrideFurisodeBone.Length < 15) - { - _overrideFurisodeBone = new bool[15]; - } - if (_overrideFurisodeStiffness == null || _overrideFurisodeStiffness.Length < 15) - { - _overrideFurisodeStiffness = new float[15]; - for (int j = 0; j < _overrideFurisodeStiffness.Length; j++) - { - _overrideFurisodeStiffness[j] = 0.03f; - } - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs.meta deleted file mode 100644 index 4b41cc3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaCySpring.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 204aadd4619e75544be31a0eaaeffc96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs deleted file mode 100644 index 2b9deb9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaFootLightData : LiveTimelineKeyWithInterpolate - { - public LiveCharaPositionFlag positionFlag; - - public float[] hightMax = new float[15]; - - public Color[] lightColor = new Color[15]; - - public bool[] alphaBlend = new bool[15]; - - public bool[] inverseAlpha = new bool[15]; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaFootLight; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs.meta deleted file mode 100644 index 50ed3ed..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaFootLightData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bd48075d3b161eb40a9cd511874d1dea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs deleted file mode 100644 index 3223087..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaHeightMotionData : LiveTimelineKeyCharaMotionData - { - public enum BlendType - { - Self, - Target, - SelfFix, - TargetParts - } - - [Serializable] - public struct PartsMotion - { - public AnimationClip baseMotion; - - public AnimationClip blendMotion; - - public LiveCharaPosition targetPosition; - - public LiveTimelineKeyCharaIKData.IKPart positionOffset; - } - - public bool interpolate; - - public float blendRate = 1f; - - public BlendType blendType; - - public LiveCharaPosition targetPosition; - - public LiveTimelineKeyCharaIKData.IKPart positionOffset; - - public PartsMotion[] partsMotion; - - public LiveCharaPosition target2Position; - - public float targetBlendRate; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaHeightMotion; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs.meta deleted file mode 100644 index 50cb775..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaHeightMotionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 38be576219eb9be4da5c33a1df22090e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs deleted file mode 100644 index 8c0be94..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaIKData : LiveTimelineKeyWithInterpolate - { - public enum IKPart - { - Leg_L, - Leg_R, - Arm_L, - Arm_R, - Max - } - - private const int IKPartNum = 4; - - public float[] blendRate = new float[IKPartNum]; - - public bool[] enableIk = new bool[IKPartNum]; - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaIK; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs.meta deleted file mode 100644 index 74fd9d0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaIKData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d80a86e3d788d27408cb42f8b2719da8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs deleted file mode 100644 index 8069ef1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaMotionData : LiveTimelineKey - { - public string motionName = ""; - - public AnimationClip clip; - - public float motionHeadTime; - - public float playLength = 1f; - - public float playSpeed = 1f; - - public bool loop; - - [NonSerialized] - public int motionNameHash; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionSequecne; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - MotionNameChangeOnLoad(timelineControl); - } - - protected virtual void MotionNameChangeOnLoad(LiveTimelineControl timelineControl) - { - motionNameHash = FNVHash.FNV_OFFSET_BASIS_I32; - - if (string.IsNullOrEmpty(motionName)) - { - return; - } - MotionNameChangeAlt(timelineControl); - if (!Director.instance || (!Director.instance.IsExtendMotionLoadForConditionMotionChange() && !Director.instance.IsSwapMotionNameForConditionMotionChange(motionName))) - { - clip = timelineControl.LoadAnimationClip(this); - if (clip == null && motionName.EndsWith("_alt_legacy", StringComparison.Ordinal)) - { - motionName = motionName.Replace("_alt", string.Empty); - clip = timelineControl.LoadAnimationClip(this); - } - motionNameHash = FNVHash.Generate(motionName); - } - } - - - protected virtual void MotionNameChangeAlt(LiveTimelineControl timelineControl) - { - if (motionName.EndsWith("_alt_legacy", StringComparison.Ordinal)) - { - motionName = motionName.Replace("_alt", string.Empty); - } - bool flag = false; - if (timelineControl.data.alterAnimationMode == LiveTimelineData.AlterAnimationMode.LeftHanded) - { - int num = -1; - List charaMotSeqList = timelineControl.data.GetWorkSheetList()[0].charaMotSeqList; - for (int i = 0; i < charaMotSeqList.Count; i++) - { - if (charaMotSeqList[i].keys.thisList.IndexOf(this) >= 0) - { - num = i; - break; - } - } - if (num >= 0) - { - num = Array.IndexOf(timelineControl.data.characterSettings.motionSequenceIndices, num); - int num2 = num; - int charaId = Director.instance.GetCharacterData(num2 + 1).charaId; - if ((int)MasterDBManager.instance.masterCharaData.Get(charaId).hand == 3002) - { - flag = true; - } - } - } - if (flag) - { - motionName = motionName.Replace("_legacy", "_alt_legacy"); - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs.meta deleted file mode 100644 index cdb52a9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8a20b141f3f7a6b49a26c22bcde4404b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs deleted file mode 100644 index d8969e3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaMotionNoiseData : LiveTimelineKey - { - private const int kAttrDisable = 65536; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionNoise; - - public bool IsNoiseDisable() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisable); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs.meta deleted file mode 100644 index 9289109..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaMotionNoiseData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 415837d639d199545b0e26012b5772b2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs deleted file mode 100644 index 6a25d6e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaOverrideMotionData : LiveTimelineKeyCharaMotionData - { - public bool enableRandomPlay; - - public int randomCount; - - public AnimationClip[] randomClips; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaMotionOverwrite; - - protected override void MotionNameChangeOnLoad(LiveTimelineControl timelineControl) - { - motionNameHash = FNVHash.FNV_OFFSET_BASIS_I32; - - if (string.IsNullOrEmpty(motionName)) - { - return; - } - MotionNameChangeAlt(timelineControl); - MotionNameChangeRandomPlay(); - if (!Director.instance || (!Director.instance.IsExtendMotionLoadForConditionMotionChange() && !Director.instance.IsSwapMotionNameForConditionMotionChange(motionName))) - { - clip = timelineControl.LoadAnimationClip(this); - if (clip == null && motionName.EndsWith("_alt_legacy", StringComparison.Ordinal)) - { - motionName = motionName.Replace("_alt", string.Empty); - clip = timelineControl.LoadAnimationClip(this); - } - motionNameHash = FNVHash.Generate(motionName); - } - } - - protected override void MotionNameChangeAlt(LiveTimelineControl timelineControl) - { - if (motionName.EndsWith("_alt_legacy", StringComparison.Ordinal)) - { - motionName = motionName.Replace("_alt", string.Empty); - } - bool flag = false; - if (timelineControl.data.alterAnimationMode == LiveTimelineData.AlterAnimationMode.LeftHanded) - { - int num = -1; - List charaMotOverwriteList = timelineControl.data.GetWorkSheetList()[0].charaMotOverwriteList; - for (int i = 0; i < charaMotOverwriteList.Count; i++) - { - if (charaMotOverwriteList[i].keys.thisList.IndexOf(this) >= 0) - { - num = i; - break; - } - } - if (num >= 0) - { - num = Array.IndexOf(timelineControl.data.characterSettings.motionOverwriteIndices, num); - int num2 = num; - int charaId = Director.instance.GetCharacterData(num2 + 1).charaId; - if ((int)MasterDBManager.instance.masterCharaData.Get(charaId).hand == 3002) - { - flag = true; - } - } - } - if (flag) - { - motionName = motionName.Replace("_legacy", "_alt_legacy"); - } - } - - private void MotionNameChangeRandomPlay() - { - if (enableRandomPlay) - { - int num = UnityEngine.Random.Range(0, randomCount); - AnimationClip animationClip = randomClips[num]; - if (animationClip != null) - { - motionName = animationClip.name; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs.meta deleted file mode 100644 index 365a572..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaOverrideMotionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 58ac944c4417f1643b7a2bb1732996c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs deleted file mode 100644 index cac5799..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaWindData : LiveTimelineKeyWithInterpolate - { - public enum WindMode - { - None, - Sin, - Wind - } - - public bool enable; - - public Vector3 cySpringForceScale = Vector3.one; - - public Vector3 windPower; - - public float loopTime = 1f; - - public WindMode windMode = WindMode.Sin; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CharaWind; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs.meta deleted file mode 100644 index 44e930a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCharaWindData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d5c6fa62825d5148b14aa45284cab2c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs deleted file mode 100644 index 69e3223..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyColorCorrectionData : LiveTimelineKey - { - public bool enable = true; - - public float saturation = 1f; - - public AnimationCurve redCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f); - - public AnimationCurve greenCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f); - - public AnimationCurve blueCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f); - - public bool selective; - - public Color keyColor = Color.white; - - public Color targetColor = Color.white; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.ColorCorrection; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs.meta deleted file mode 100644 index f992b7e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyColorCorrectionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c449f12782149e448b96740c29cee38 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs deleted file mode 100644 index b490852..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraAlphaData : LiveTimelineKeyWithInterpolate - { - public float alpha = 1f; - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraAlpha; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs.meta deleted file mode 100644 index abdd0da..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraAlphaData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d4db783c6ff628e40be9aa74a1f03957 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs deleted file mode 100644 index fa1bf3c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraFovData : LiveTimelineKeyCameraFovData - { - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraFov; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs.meta deleted file mode 100644 index 433ef73..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraFovData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 94f4c94eb408d69469007b507bb0074a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs deleted file mode 100644 index d09a0f2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraLookAtData : LiveTimelineKeyCameraLookAtData - { - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraLookAt; - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraLookAtType.Locator: - case LiveCameraLookAtType.Rotation: - return base.GetValue(timelineControl, type, camPos, containOffset); - case LiveCameraLookAtType.Character: - { - Quaternion crossCameraWorldRotation = timelineControl.GetCrossCameraWorldRotation(); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(crossCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs.meta deleted file mode 100644 index 8da9082..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 51b17c45b224f9741a0b6285dc4b2fed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs deleted file mode 100644 index bcf5e0a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraPositionData : LiveTimelineKeyCameraPositionData - { - public bool isEnable; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraPos; - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraPositionType.Locator: - case LiveCameraPositionType.Direct: - return base.GetValue(timelineControl, type, containOffset); - case LiveCameraPositionType.Character: - { - Quaternion crossCameraWorldRotation = timelineControl.GetCrossCameraWorldRotation(); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(crossCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs.meta deleted file mode 100644 index b82dcde..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d8b6a30450ea34343bfe5fcf9a557363 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs deleted file mode 100644 index aab8089..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraRollData : LiveTimelineKeyCameraRollData - { - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CrossFadeCameraRoll; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs.meta deleted file mode 100644 index 08e9268..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCrossFadeCameraRollData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da8669f1c428c054388a40fed5eb6078 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs deleted file mode 100644 index 88154fa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCuttNumberData : LiveTimelineKey - { - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.CuttNumber; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs.meta deleted file mode 100644 index ec9b839..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyCuttNumberData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f14d0b25fff3804991069ad370e3f52 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs deleted file mode 100644 index 3923c92..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyDressChangeData : LiveTimelineKey - { - public enum eTarget - { - Center = 0, - Left1 = 1, - Right1 = 2, - Left2 = 3, - Right2 = 4, - Left3 = 5, - Right3 = 6, - Left4 = 7, - Right4 = 8, - Left5 = 9, - Right5 = 10, - Left6 = 11, - Right6 = 12, - Left7 = 13, - Right7 = 14, - MAX = 0xF, - INVALID = 0xF - } - - public enum eTargetFlag - { - Center = 1, - Left1 = 2, - Right1 = 4, - Left2 = 8, - Right2 = 0x10, - Left3 = 0x20, - Right3 = 0x40, - Left4 = 0x80, - Right4 = 0x100, - Left5 = 0x200, - Right5 = 0x400, - Left6 = 0x800, - Right6 = 0x1000, - Left7 = 0x2000, - Right7 = 0x4000, - MainUnit = 0x1F, - ExtUnit = 32736, - AllUnit = 0x7FFF - } - - public enum eDressType - { - DressA, - DressB, - DressC - } - - [SerializeField] - private int _targetFlags; - - [SerializeField] - private eDressType[] _dressType = new eDressType[15]; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.DressChange; - - public eTargetFlag targetFlags => (eTargetFlag)_targetFlags; - - public eDressType[] dressType => _dressType; - - protected int GetTargetFlag(eTarget target) - { - return 1 << (int)target; - } - - public bool CheckTargetFlag(eTarget target) - { - int targetFlag = GetTargetFlag(target); - return (_targetFlags & targetFlag) == targetFlag; - } - - public void SetTargetFlag(eTarget target, bool sw) - { - int targetFlag = GetTargetFlag(target); - _targetFlags |= targetFlag; - if (!sw) - { - _targetFlags ^= targetFlag; - } - } - - public eDressType GetDressType(eTarget target) - { - return _dressType[(int)target]; - } - - public eDressType[] GetCloneDressTypeArray() - { - eDressType[] array = new eDressType[15]; - for (int i = 0; i < _dressType.Length; i++) - { - array[i] = _dressType[i]; - } - return array; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs.meta deleted file mode 100644 index dc33fda..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyDressChangeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d68b20e063419744c99c9d5362c7965c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs deleted file mode 100644 index 8d96f55..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyEffectData : LiveTimelineKeyWithInterpolate - { - private enum eEffectStatus - { - Play, - Stop - } - - private const int FLAG_LOOP = 262144; - - private const int FLAG_PLAY = 524288; - - private const int FLAG_CLEAR = 1048576; - - private const int FLAG_STAY_PRS = 2097152; - - public eEffectBlendMode blendMode; - - public Color color = Color.white; - - public float colorPower = 1f; - - public eEffectOwner owner = eEffectOwner.World; - - public eEffectOccurrenceSpot occurrenceSpot = eEffectOccurrenceSpot.Hand_Attach_L; - - public Vector3 offset = Vector3.zero; - - public Vector3 offsetAngle = Vector3.zero; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Effect; - - public bool IsPlay() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_PLAY); - } - - public bool IsLoop() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_LOOP); - } - - public bool IsClear() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_CLEAR); - } - - public bool IsStayPRS() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)FLAG_STAY_PRS); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs.meta deleted file mode 100644 index 3109a10..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEffectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 21684ac4d7c53fb4ea1fbb73a3f09edc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs deleted file mode 100644 index e439d7f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyEventData : LiveTimelineKey - { - [Serializable] - public class EventData - { - public LiveTimelineEventID eventId; - - private CuttEventParamBase eventParam; - - public string serializedParamter = ""; - - public TypeValue GetParameter() where TypeValue : CuttEventParamBase - { - return eventParam as TypeValue; - } - - public void OnLoad() - { - if (!string.IsNullOrEmpty(serializedParamter) && LiveTimelineEventPublisher.paramGeneratorDict.TryGetValue(eventId, out var value)) - { - eventParam = null; - if (value != null) - { - eventParam = value.ToObject(serializedParamter); - } - } - } - } - - public List eventList = new List(); - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Event; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - foreach (EventData @event in eventList) - { - @event.OnLoad(); - } - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs.meta deleted file mode 100644 index f100742..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyEventData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9311331591d7d4448363cab942088b0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs deleted file mode 100644 index 68d5eb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialEyeData : LiveTimelineKey - { - public int eyeRFlag; - - public int eyeLFlag; - - public int eyeSpeed; - - public const int kAttrNop = 65536; - - public const int kAttrBlink = 131072; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialEye; - - public bool IsNop() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop); - } - - public bool IsBlink() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrBlink); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs.meta deleted file mode 100644 index a693c7b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e2e1c9aaf5397a47aa1132244427d5e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs deleted file mode 100644 index 5c934fc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialEyeTrackData : LiveTimelineKeyWithInterpolate - { - private const int kAttrUp = 65536; - - private const int kAttrDown = 131072; - - private const int kAttrNop = 262144; - - private const int kAttrWorld = 524288; - - private const int kAttrDisableAvertEye = 1048576; - - private const int kAttrDisableAvertEyeFace = 2097152; - - private const int kAttrForceAvertEye = 4194304; - - private const int kAttrForceAvertEyeFace = 8388608; - - public FacialEyeTrackTarget target; - - public float speed = 1f; - - public float upOffset = 3f; - - public float downOffset = 3f; - - public int[] targetCharaIds; - - public Vector3 position; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialEyeTrack; - - public bool IsUp() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUp); - } - - public bool IsDown() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDown); - } - - public bool IsNop() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop); - } - public bool IsWorldPosition() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrWorld); - } - - public bool IsDisableAvertEye() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisableAvertEye); - } - - public bool IsDisableAvertEyeFace() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisableAvertEyeFace); - } - - public bool IsForceAvertEye() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrForceAvertEye); - } - - public bool IsForceAvertEyeFace() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrForceAvertEyeFace); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs.meta deleted file mode 100644 index 266c42f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialEyeTrackData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e0033ff9852d59244bbf879accede43d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs deleted file mode 100644 index b7c8338..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialFaceData : LiveTimelineKey - { - private enum eCheekControl - { - ControlEnable = 1, - CheekEnable - } - - private const int kAttrCheek = 65536; - - private const int kAttrEyeNop = 131072; - - private const int CHR_ID_FIRST_INDEX = 100; - - public int faceFlag; - - public int faceSlotIdx; - - [SerializeField] - private int _cheekControl; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialFace; - - public bool IsCheek() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrCheek); - } - - public bool IsEyeNop() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrEyeNop); - } - - public static bool isChrSpecialFace(int flg) - { - return CHR_ID_FIRST_INDEX < flg; - } - - private void SetCheekControlFlag(eCheekControl flag, bool enable) - { - if (enable) - { - _cheekControl |= (int)flag; - } - else - { - _cheekControl &= (int)(~flag); - } - } - - private bool CheckCheekControlFlag(eCheekControl flag) - { - return ((uint)_cheekControl & (uint)flag) != 0; - } - - public bool IsCheekControlEnable() - { - return CheckCheekControlFlag(eCheekControl.ControlEnable); - } - - public bool IsCheekEnable() - { - return CheckCheekControlFlag(eCheekControl.CheekEnable); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs.meta deleted file mode 100644 index f826832..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialFaceData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7535f74835f3544e8713dad1489a1cc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs deleted file mode 100644 index 605901f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialMouthData : LiveTimelineKey, ILiveTimelineKeyHasMouthType - { - public const int kAttrNop = 65536; - - public int mouthFlag; - - public int mouthSizeFlag; - - public int mouthSpeed; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialMouth; - - public bool IsNop() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrNop); - } - - public LiveTimelineDefine.MouthType GetMouthType() - { - return (LiveTimelineDefine.MouthType)mouthFlag; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs.meta deleted file mode 100644 index 561dc95..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialMouthData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d603da646dcdfd4db0b4704c33d7744 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs deleted file mode 100644 index f1d2242..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialNoiseData : LiveTimelineKey - { - private const int kAttrDisable = 65536; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FacialNoise; - - public bool IsNoiseDisable() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisable); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs.meta deleted file mode 100644 index 5bcce2f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFacialNoiseData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 77f0bf261a5accc4e87195eabf4f2da4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs deleted file mode 100644 index 629d743..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFormationOffsetData : LiveTimelineKeyWithInterpolate - { - private const int kAttrResetCloth = 65536; - - private const int kAttrEffectClear = 131072; - - public Vector2 posXZ = Vector2.zero; - - public float posY; - - public float rotY; - - public Vector3 charaAxisRotate = Vector3.zero; - - public bool visible = true; - - public bool useLateRotate; - - public Vector3 lateCharaRotate = Vector3.zero; - - public bool isWorldSpace; - - public Vector3 worldSpaceOrigin = Vector3.zero; - - public float worldRotationY; - - public bool isLookAtWorldOrigin; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.FormationOffset; - - public bool IsResetCloth() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrResetCloth); - } - - public bool IsEffectClear() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrEffectClear); - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs.meta deleted file mode 100644 index efec6d4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyFormationOffsetData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 780150f5e6200d1458b610897d16a398 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs deleted file mode 100644 index cf80011..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGazingObjectData : LiveTimelineKeyWithInterpolate - { - public LiveCharaPositionFlag lookAtCharaFlags; - - public LiveCameraLookAtCharaParts lookAtCharaParts = LiveCameraLookAtCharaParts.Waist; - - public Vector3 lookAtOffset = Vector3.zero; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GazingObject; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs.meta deleted file mode 100644 index cb9b6bf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGazingObjectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80f5eac442125694e8ea541076a0ee00 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs deleted file mode 100644 index eeb8913..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlassData : LiveTimelineKeyWithInterpolate - { - public float transparent; - - public float specularPower = 5f; - - public Color specularColor = Color.white; - - public Vector3 lightPosition = Vector3.zero; - - public int sortOrderOffset; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Glass; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs.meta deleted file mode 100644 index 0eb994e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlassData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c41d5d9489edacb44b522c0fb0a40d64 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs deleted file mode 100644 index 33bdc7c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlobalFogData : LiveTimelineKeyWithInterpolate - { - public bool isDistance; - - public float startDistance; - - public bool isHeight; - - public float height = 2f; - - public float heightDensity = 1f; - - public Color color; - - public FogMode fogMode = FogMode.ExponentialSquared; - - public float expDensity = 0.01f; - - public float start; - - public float end = 300f; - - public bool useRadialDistance; - - public Vector4 heightOption = new Vector4(1f, 0f, 0f, 0f); - - public Vector4 distanceOption = new Vector4(1f, 0f, 1f, 0f); - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GlobalFog; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs.meta deleted file mode 100644 index ec51038..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalFogData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ce971cd80ed9ae546a12fe08aa223232 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs deleted file mode 100644 index 7e0f151..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlobalLightData : LiveTimelineKeyWithInterpolate - { - public Vector3 lightDir = new Vector3(-75f, 0f, 0f); - - public float globalRimRate = 1f; - - public float globalRimShadowRate; - - public float globalRimSpecularRate = 1f; - - public float globalToonRate = 1f; - - public bool cameraFollow; - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.GlobalLight; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs.meta deleted file mode 100644 index 8e4d88c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyGlobalLightData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: efa25a33f21c75d4ab33cd67ea820c1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs deleted file mode 100644 index 40e1a74..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyHdrBloomData : LiveTimelineKeyWithInterpolate - { - public float intensity; - - public float blurSpread; - - public bool enable = true; - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.HdrBloom; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs.meta deleted file mode 100644 index 7e9b726..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyHdrBloomData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 99fb9d44f544a0540848986e5b7bd834 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs deleted file mode 100644 index 1ceb390..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLaserData : LiveTimelineKeyWithInterpolate - { - [Serializable] - public class PartsTransform - { - [NonSerialized] - public bool disp = false; - - public Vector3 localPos = Vector3.zero; - - public Vector3 localRot = Vector3.zero; - - public Vector3 localScale = Vector3.one; - - public void SetLerp(PartsTransform p0, PartsTransform p1, float t) - { - localPos = Vector3.Lerp(p0.localPos, p1.localPos, t); - localRot = Vector3.Lerp(p0.localRot, p1.localRot, t); - localScale = Vector3.Lerp(p0.localScale, p1.localScale, t); - } - - public void CopyTo(PartsTransform dst) - { - dst.localPos = localPos; - dst.localRot = localRot; - dst.localScale = localScale; - } - } - - public const int kAttrBlink = 65536; - - public eLaserForm formation; - - public float degRootYaw; - - public float degLaserPitch; - - public float posInterval; - - public float blinkPeriod; - - public PartsTransform rootTransform = new PartsTransform(); - - public PartsTransform[] joints = new PartsTransform[5] - { - new PartsTransform(), - new PartsTransform(), - new PartsTransform(), - new PartsTransform(), - new PartsTransform() - }; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Laser; - - public bool IsBlink() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrBlink); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs.meta deleted file mode 100644 index 8a20fcb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLaserData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 80fb16c149fb3dc4fa7e2c8bf068b1bb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs deleted file mode 100644 index 07a96ba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLensFlareData : LiveTimelineKeyWithInterpolate - { - public Vector3 offset = Vector3.zero; - - public Color color = Color.white; - - public float brightness = 1f; - - public float fadeSpeed = 1f; - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.LensFlare; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs.meta deleted file mode 100644 index 6420aba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLensFlareData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2c73a1e5f5f023148ac1d1c99c164977 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs deleted file mode 100644 index cb94f30..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLightShuftData : LiveTimelineKeyWithInterpolate - { - public bool enabled = true; - - public Vector4 speed = new Vector4(-60f, -30f, -120f, -30f); - - public Vector4 angle = new Vector4(0f, 0f, 30f, 0f); - - public Vector4 offset; - - public Vector4 alpha = new Vector4(1f, 1f, 1f, 1f); - - public Vector4 alpha2 = new Vector4(1f, 1f, 1f, 1f); - - public Vector4 maskAlpha = new Vector4(1f, 1f, 1f, 1f); - - public float maskAnimeTime = 0.75f; - - public Vector2 maskAlphaRange = new Vector2(0f, 1f); - - public float scale = 1f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.LightShuft; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs.meta deleted file mode 100644 index bb31013..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyLightShuftData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a7cc362991c7d1b4fbb50a29c090daf2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs deleted file mode 100644 index aa7190f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DBloomData : LiveTimelineKeyWithInterpolate - { - public const float DEFAULT_HORIZONTAL_OFFSET = 2.4f; - - public const float DEFAULT_VERTICAL_OFFSET = 0.6f; - - public const float DEFAULT_THRESHOLD = 1f; - - public const float DEFAULT_GROW_POWER = 1.4f; - - public float horizontalOffset = 2.4f; - - public float verticalOffset = 0.6f; - - public float threshold = 1f; - - public float growPower = 1.4f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DBloom; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs.meta deleted file mode 100644 index 2f160b5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DBloomData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e50354149a0bfeb45903b64b525e752e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs deleted file mode 100644 index 4d29998..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DColorData : LiveTimelineKeyWithInterpolate - { - public List colorList = new List { Color.white }; - - public LiveMobCyalume3DColorPreset preset; - - public bool isEditDetails = true; - - public bool isDevideByGroup; - - public int[] colorIndex_1_0 = new int[1] { -1 }; - - public int[] colorIndex_3_0 = new int[3] { -1, -1, -1 }; - - public int[] colorIndex_1_1 = new int[2] { -1, -1 }; - - public int[] colorIndex_3_3 = new int[6] { -1, -1, -1, -1, -1, -1 }; - - public bool isAvoidDuplicateColor; - - public bool isSameCombinationColor; - - private static string _resultString = string.Empty; - - private static string _resultDetailString = string.Empty; - - private const int COLOR_COUNT_MIN = 1; - - private const int COLOR_COUNT_MAX = 10; - - private const int SECTION_INTERVAL = 8; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DColor; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs.meta deleted file mode 100644 index 815336d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DColorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f682c3bf7763ce948bde08702c888793 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs deleted file mode 100644 index cd0311f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLightingData : LiveTimelineKeyWithInterpolate - { - public const float DEFAULT_GRADIATION = 0.05f; - - public const float DEFAULT_RIMLIGHT = 6f; - - public const float DEFAULT_BLEND_RANGE = 20f; - - public float gradiation = 0.05f; - - public float rimlight = 6f; - - public float blendRange = 20f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLighting; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs.meta deleted file mode 100644 index de59e24..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLightingData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1525e0bd21720154480c5442e6d6d595 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs deleted file mode 100644 index 278c3c8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLookAtModeData : LiveTimelineKeyWithInterpolate - { - public LiveMobCyalume3DLookAtMode lookAtMode = LiveMobCyalume3DLookAtMode.Locator; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLookAtMode; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs.meta deleted file mode 100644 index 8135546..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtModeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f381fed1ce15064a8d931ff3b7b6ce5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs deleted file mode 100644 index 2d5cc42..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLookAtPositionData : LiveTimelineKeyWithInterpolate - { - public Vector3 translate = Vector3.zero; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DLookAtPosition; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs.meta deleted file mode 100644 index 832a624..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DLookAtPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d3fdf46bb4eab0d4d9c8af48a558221e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs deleted file mode 100644 index 3f3ec92..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DPositionData : LiveTimelineKeyWithInterpolate - { - public Vector3 translate = Vector3.zero; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DPosition; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs.meta deleted file mode 100644 index 003e755..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b672eca15d5da8342a1d824509d8a81f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs deleted file mode 100644 index 2eb02a9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DRootData : LiveTimelineKeyWithInterpolate - { - public const float DEFAULT_MOTION_TIME_INTERVAL = 1f; - - public const LiveMobCyalume3DWaveMode DEFAULT_WAVE_MODE = LiveMobCyalume3DWaveMode.None; - - public const float DEFAULT_WAVE_WIDTH = 5f; - - public const float DEFAULT_WAVE_HEIGHT = 1f; - - public Vector3 translate = Vector3.zero; - - public Vector3 rotate = Vector3.zero; - - public Vector3 scale = Vector3.one; - - public bool isVisibleMob = true; - - public bool isVisibleCyalume = true; - - public bool isEnableMotionMultiSample; - - public float motionTimeOffset; - - public float motionTimeInterval = 1f; - - public LiveMobCyalume3DWaveMode waveMode; - - public Vector3 waveBasePosition = Vector3.zero; - - public float waveWidth = 5f; - - public float waveHeight = 1f; - - public float waveRoughness; - - public float waveProgress; - - public float waveColorBasePower = 1f; - - public float waveColorGainPower; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume3DRoot; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs.meta deleted file mode 100644 index 0aec4df..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalume3DRootData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6f0dd885e66ebd2499be58558a15b40a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs deleted file mode 100644 index 282211e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalumeData : LiveTimelineKeyWithInterpolate - { - public Vector3 translate = Vector3.zero; - - public Vector3 rotate = Vector3.zero; - - public Vector3 scale = Vector3.one; - - public bool isMobVisible = true; - - public bool isCyalumeVisible = true; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MobCyalume; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs.meta deleted file mode 100644 index 82e20ac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMobCyalumeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a3d8a28f87ba3a54aabf278f0a164f55 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs deleted file mode 100644 index 9bb27b7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMonitorCameraLookAtData : LiveTimelineKeyCameraLookAtData - { - [NonSerialized] - private int _monitorCameraNo; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MonitorCameraLookAt; - - public override Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos) - { - return GetValue(timelineControl, lookAtType, camPos, containOffset: true); - } - - public Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos, int monitorCameraNo) - { - _monitorCameraNo = monitorCameraNo; - return GetValue(timelineControl, lookAtType, camPos, containOffset: true); - } - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraLookAtType.Locator: - case LiveCameraLookAtType.Rotation: - return base.GetValue(timelineControl, type, camPos, containOffset); - case LiveCameraLookAtType.Character: - { - Quaternion monitorCameraWorldRotation = timelineControl.GetMonitorCameraWorldRotation(_monitorCameraNo); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(monitorCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs.meta deleted file mode 100644 index 8294dc6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b0fcdc1cce49e9c41b09a7d7dcfec045 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs deleted file mode 100644 index e40beb2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMonitorCameraPositionData : LiveTimelineKeyCameraPositionData - { - public bool enable; - - public float fov = 30f; - - public float roll; - - public LiveCharaPositionFlag visibleCharaPositionFlag = LiveCharaPositionFlag.All; - - [NonSerialized] - private int _monitorCameraNo; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MonitorCameraPos; - - public override Vector3 GetValue(LiveTimelineControl timelineControl) - { - return GetValue(timelineControl, setType, containOffset: true); - } - - public Vector3 GetValue(LiveTimelineControl timelineControl, int monitorCameraNo) - { - _monitorCameraNo = monitorCameraNo; - return GetValue(timelineControl, setType, containOffset: true); - } - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraPositionType.Locator: - case LiveCameraPositionType.Direct: - return base.GetValue(timelineControl, type, containOffset); - case LiveCameraPositionType.Character: - { - Quaternion monitorCameraWorldRotation = timelineControl.GetMonitorCameraWorldRotation(_monitorCameraNo); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(monitorCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs.meta deleted file mode 100644 index 3b78b13..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a689c906c689d00498de71c6637ed1b6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs deleted file mode 100644 index 3b3d655..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMonitorControlData : LiveTimelineKeyWithInterpolate - { - public enum eInputSource - { - Default, - MonitorCamera, - MultiCamera - } - - [Flags] - public enum Attr - { - MultiFlag = 0x10000, - ReversePlayFlag = 0x20000 - } - - public Vector2 position = Vector2.zero; - - public Vector2 size = Vector2.one; - - public int dispID; - - public int subDispID; - - public float speed = 1f; - - public string outputTextureLabel = ""; - - public int playStartOffsetFrame; - - public float blendFactor = 1f; - - public float colorPower = 2f; - - public eInputSource inputSource; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MonitorControl; - - private bool IsMultiFlag() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)Attr.MultiFlag); - } - - private bool IsReversePlayFlag() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)Attr.ReversePlayFlag); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs.meta deleted file mode 100644 index ebb33d3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMonitorControlData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0f6bdc56733abcd4699009cc1487eee7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs deleted file mode 100644 index 7095346..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMultiCameraLookAtData : LiveTimelineKeyCameraLookAtData - { - public float roll; - - [NonSerialized] - private int _multiCameraNo; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MultiCameraLookAt; - - public override Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos) - { - return GetValue(timelineControl, lookAtType, camPos, containOffset: true); - } - - public Vector3 GetValue(LiveTimelineControl timelineControl, Vector3 camPos, int multiCameraNo) - { - _multiCameraNo = multiCameraNo; - return GetValue(timelineControl, lookAtType, camPos, containOffset: true); - } - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraLookAtType type, Vector3 camPos, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraLookAtType.Locator: - case LiveCameraLookAtType.Rotation: - return base.GetValue(timelineControl, type, camPos, containOffset); - case LiveCameraLookAtType.Character: - { - Quaternion multiCameraWorldRotation = timelineControl.GetMultiCameraWorldRotation(_multiCameraNo); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(multiCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(lookAtCharaPos, lookAtCharaParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs.meta deleted file mode 100644 index 391da83..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraLookAtData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 430671f2b6d4cc8478d240c44ec9191b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs deleted file mode 100644 index c9fc5e1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMultiCameraPositionData : LiveTimelineKeyCameraPositionData - { - public bool enableMultiCamera; - - public float fov = 20f; - - public int maskIndex; - - public Vector3 maskPosition; - - public Vector3 maskAngle; - - public Vector3 maskScale = Vector3.one; - - [NonSerialized] - private int _multiCameraNo; - - [NonSerialized] - public Quaternion maskRotation; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.MultiCameraPos; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - maskRotation = Quaternion.Euler(maskAngle); - } - - public override Vector3 GetValue(LiveTimelineControl timelineControl) - { - return GetValue(timelineControl, setType, containOffset: true); - } - - public Vector3 GetValue(LiveTimelineControl timelineControl, int multiCameraNo) - { - _multiCameraNo = multiCameraNo; - return GetValue(timelineControl, setType, containOffset: true); - } - - protected override Vector3 GetValue(LiveTimelineControl timelineControl, LiveCameraPositionType type, bool containOffset) - { - Vector3 vector = Vector3.zero; - switch (type) - { - case LiveCameraPositionType.Locator: - case LiveCameraPositionType.Direct: - return base.GetValue(timelineControl, type, containOffset); - case LiveCameraPositionType.Character: - { - Quaternion multiCameraWorldRotation = timelineControl.GetMultiCameraWorldRotation(_multiCameraNo); - Vector3 extraCameraLayerOffset = timelineControl.GetExtraCameraLayerOffset(multiCameraWorldRotation); - vector = timelineControl.GetPositionWithCharacters(charaRelativeBase, charaRelativeParts, extraCameraLayerOffset); - break; - } - } - if (!containOffset) - { - return vector; - } - return vector + offset; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs.meta deleted file mode 100644 index b9f8d34..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyMultiCameraPositionData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 31e16970f70be4144a9cd52555c939eb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs deleted file mode 100644 index d8b2ed6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyObjectData : LiveTimelineKeyWithInterpolate - { - public Vector3 position = Vector3.zero; - - public Vector3 rotate = Vector3.zero; - - public Vector3 scale = Vector3.one; - - public bool renderEnable = true; - - public bool reflectionEnable = true; - - public bool colorEnable; - - public Color color = Color.white; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Object; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs.meta deleted file mode 100644 index fdb92ea..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyObjectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a6a4d244e3126854a97536f7418674a2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs deleted file mode 100644 index be1bbf5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyParticleData : LiveTimelineKeyWithInterpolate - { - public float emissionRate = 4.5f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Particle; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs.meta deleted file mode 100644 index 89f0e6a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9f81be8409952274994cf1c2db1b84d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs deleted file mode 100644 index 2e60962..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyParticleGroupData : LiveTimelineKeyWithInterpolate - { - public Color lerpColor = Color.white; - - public float colorLerpRate; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.ParticleGroup; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs.meta deleted file mode 100644 index e803a2a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyParticleGroupData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e916b608c661b754ea1f7be1f0133990 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs deleted file mode 100644 index 4fac40c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPostEffectData : LiveTimelineKeyWithInterpolate - { - public const int kAttrUseLookAt = 65536; - - public const int kAttrUseFocalPoint = 131072; - - public const int kAttrDisableDOFBlur = 262144; - - public float forcalSize = 10f; - - public float blurSpread = 1.75f; - - public float bloomDofWeight = 0.3f; - - public float threshold = 0.25f; - - public float intensity = 0.75f; - - public LiveCharaPositionFlag charactor = LiveCharaPositionFlag.Center; - - public PostEffectLive3D.DofBlurType dofBlurType; - - public PostEffectLive3D.DofQuality dofQuality = PostEffectLive3D.DofQuality.OnlyBackground; - - public float dofForegroundSize = 0.1f; - - public float dofFgBlurSpread = 1f; - - public float dofFocalPoint = 1f; - - public PostEffectLive3D.eDofMVFilterType dofMVFilterType; - - public float dofMVFilterSpd = 1f; - - public int dofMVFilterResId; - - public float dofMVFilterIntensity = 1f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.PostEffect; - - public bool IsUseFocalPoint() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUseFocalPoint); - } - - public bool IsUseLookAt() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUseLookAt); - } - - public bool IsDisableDOFBlur() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDisableDOFBlur); - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs.meta deleted file mode 100644 index 4524a3a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostEffectData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2d334483ce1160347b58bf31717eb5d6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs deleted file mode 100644 index 5f4fc4c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPostFilmData : LiveTimelineKeyWithInterpolate - { - public enum eLayerMode - { - Color, - UVMovie - } - - public enum eColorBlend - { - None, - Lerp, - Additive, - Multiply - } - - public PostFilmMode filmMode; - - public PostColorType colorType; - - public float filmPower; - - public Vector2 filmOffsetParam = Vector2.zero; - - public Vector4 filmOptionParam = Vector4.zero; - - public Color color0 = Color.black; - - public Color color1 = Color.black; - - public Color color2 = Color.black; - - public Color color3 = Color.black; - - public bool isScreenCircle; - - public Vector2 screenCircleDir = Vector2.one; - - private const int kAttrUseAlphaMask = 0x40000; - - private const int kAttrReverseUVMovie = 0x80000; - - private const int kAttrInverseVignette = 0x100000; - - public eLayerMode layerMode; - - public int movieResId; - - public int movieFrameOffset; - - public float movieSpeed = 1f; - - public eColorBlend colorBlend; - - public float colorBlendFactor; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.PostFilm; - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - - public bool isUseTexMask() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUseAlphaMask); - } - - public bool isReverseUVMovie() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrReverseUVMovie); - } - - public bool isInverseVignette() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrInverseVignette); - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs.meta deleted file mode 100644 index ae42b33..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPostFilmData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 82aa94e446ba1ee44ab0ed194bfcf2b5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs deleted file mode 100644 index 15eac78..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyProjectorData : LiveTimelineKeyWithInterpolate - { - public int motionID; - - public int materialID; - - public float speed = 1f; - - public Color color1 = Color.white; - - public float power = 1f; - - public Vector3 position = Vector3.zero; - - public float rotate; - - public Vector2 rotateXZ = Vector2.zero; - - public Vector2 size = Vector2.one; - - private const int kAttrAnimContinuous = 65536; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Projector; - - public bool IsAnimContinuous() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrAnimContinuous); - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs.meta deleted file mode 100644 index 683d2ac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyProjectorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 018faa7e41cbdda41997a2b52ffd1cb1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs deleted file mode 100644 index 9b87199..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPropsAttachData : LiveTimelineKeyWithInterpolate - { - public string attachJointName = ""; - - public int attachJointHash; - - public int settingFlags; - - public int propsID = -1; - - public Vector3 offsetPosition = Vector3.zero; - - public Vector3 rotation = Vector3.zero; - - public bool isAnimationChange; - - public int animationId; - - public float animationSpeed = 1f; - - public float animationOffset; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.PropsAttach; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs.meta deleted file mode 100644 index 77c2e99..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsAttachData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a8b360eadcd80bf4f9df4802dd2884bb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs deleted file mode 100644 index 9a42a1f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPropsData : LiveTimelineKeyWithInterpolate - { - public const int kAttrDrawAfterImage = 1048576; - - public const int kAttrDrawLighting = 2097152; - - public const int kAttrUseLocalAxis = 4194304; - - public int settingFlags; - - public int propsID = -1; - - public bool rendererEnable = true; - - public Color color = Color.white; - - public Color rootColor = Color.white; - - public Color tipColor = Color.white; - - public float colorPower = 1f; - - public Vector3 lightPos = Vector3.zero; - - public float specularPower = 5f; - - public Color specularColor = Color.white; - - public Color luminousColor = new Color(1f, 1f, 1f, 0f); - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Props; - - public bool IsDrawAfterImage() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrDrawAfterImage); - } - - public bool IsUseLocalAxis() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)kAttrUseLocalAxis); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs.meta deleted file mode 100644 index 9d07cdc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyPropsData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8da46dfa468b7cc44a3a2c010ace77ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs deleted file mode 100644 index cf0e3aa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyRendererData : LiveTimelineKeyWithInterpolate - { - public bool renderEnable = true; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Renderer; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs.meta deleted file mode 100644 index 9233840..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRendererData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 836689053687b3e49a59b8dabebf0de7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs deleted file mode 100644 index 3f786ad..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyRipSyncData : LiveTimelineKey, ILiveTimelineKeyHasMouthType - { - private enum Attr - { - SmallMouth = 0x10000 - } - - public LiveCharaPositionFlag character = LiveCharaPositionFlag_Helper.Default5; - - public LiveTimelineDefine.MouthType vowel = LiveTimelineDefine.MouthType.N; - - public int mouthSpeed; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.LipSync; - - public bool IsSmallMouth() - { - return attribute.hasFlag((LiveTimelineKeyAttribute)Attr.SmallMouth); - } - - public override void OnLoad(LiveTimelineControl timelineControl) - { - base.OnLoad(timelineControl); - } - - public LiveTimelineDefine.MouthType GetMouthType() - { - return vowel; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs.meta deleted file mode 100644 index 3672649..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyRipSyncData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05e9a19cf9c15f144ac5ff10b21bc734 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs deleted file mode 100644 index dead21b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyScreenFadeData : LiveTimelineKeyWithInterpolate - { - public bool onlyQuality3DLight; - - public Color color; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.ScreenFade; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs.meta deleted file mode 100644 index 6d0f474..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyScreenFadeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 829442be35579aa4f9f283257655662c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs deleted file mode 100644 index dc38c8b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs +++ /dev/null @@ -1,128 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyShaderControlData : LiveTimelineKeyWithInterpolate - { - public enum eTarget - { - Center, - Left1, - Right1, - Left2, - Right2, - Left3, - Right3, - Left4, - Right4, - Left5, - Right5, - Left6, - Right6, - Left7, - Right7, - StageGimmick - } - - public enum eTargetFlag - { - Center = 1, - Left1 = 2, - Right1 = 4, - Left2 = 8, - Right2 = 0x10, - Left3 = 0x20, - Right3 = 0x40, - Left4 = 0x80, - Right4 = 0x100, - Left5 = 0x200, - Right5 = 0x400, - Left6 = 0x800, - Right6 = 0x1000, - Left7 = 0x2000, - Right7 = 0x4000, - StageGimmick = 0x8000, - MainUnit = 0x1F, - ExtUnit = 32736, - AllUnit = 0x7FFF - } - - public enum eCondition - { - None, - CharaId, - DressId - } - - public enum eBehavior - { - Luminous - } - - public enum eBehaviorFlag - { - None = 0, - Luminous = 1, - Invalid = 0x40000000 - } - - public eCondition condition; - - public int conditionParam; - - public int targetFlags; - - public int behaviorFlags; - - public bool useVtxClrB = true; - - public float lerpDiffuse; - - public float lerpGradetion = 5f; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.ShaderControl; - - protected int GetBehaviorFlag(eBehavior behavior) - { - return 1 << (int)behavior; - } - - protected int GetTargetFlag(eTarget target) - { - return 1 << (int)target; - } - - public bool CheckTargetFlag(eTarget target) - { - int targetFlag = GetTargetFlag(target); - return (targetFlags & targetFlag) == targetFlag; - } - - public void SetTargetFlag(eTarget target, bool sw) - { - int targetFlag = GetTargetFlag(target); - targetFlags |= targetFlag; - if (!sw) - { - targetFlags ^= targetFlag; - } - } - - public bool CheckBehaviorFlag(eBehavior behavior) - { - int behaviorFlag = GetBehaviorFlag(behavior); - return (behaviorFlags & behaviorFlag) == behaviorFlag; - } - - public void SetBehaviorFlag(eBehavior behavior, bool sw) - { - int behaviorFlag = GetBehaviorFlag(behavior); - behaviorFlags |= behaviorFlag; - if (!sw) - { - behaviorFlags ^= behaviorFlag; - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs.meta deleted file mode 100644 index eaa171e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyShaderControlData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9f55fbad43d35134baeb04224531646d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs deleted file mode 100644 index 8a6ddcd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyStageEnvironmentData : LiveTimelineKey - { - public LiveCharaPositionFlag characterShadow = LiveCharaPositionFlag_Helper.Default5; - - public bool mirror = true; - - public float mirrorReflectionRate = 1f; - - public bool softShadow; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Environment; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs.meta deleted file mode 100644 index 78e82f1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageEnvironmentData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a8ca26a2599cebc43999c6b9545fb4b7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs deleted file mode 100644 index 7033130..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyStageGazeData : LiveTimelineKeyWithInterpolate - { - public bool isEnable; - - public Vector3 targetPosition; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.StageGaze; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs.meta deleted file mode 100644 index bd96600..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyStageGazeData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 14cdf7caaab0c944286109465be368e8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs deleted file mode 100644 index b8465a7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeySweatLocatorData : LiveTimelineKeyWithInterpolate - { - public struct LocatorInfo - { - public bool isVisible; - - public Vector3 offset; - - public Vector3 offsetAngle; - } - - public eSweatLocatorOwner owner; - - public float alpha = 1f; - - public int randomVisibleCount; - - public bool locator0_isVisible; - - public Vector3 locator0_offset; - - public Vector3 locator0_offsetAngle; - - public bool locator1_isVisible; - - public Vector3 locator1_offset; - - public Vector3 locator1_offsetAngle; - - public bool locator2_isVisible; - - public Vector3 locator2_offset; - - public Vector3 locator2_offsetAngle; - - public bool locator3_isVisible; - - public Vector3 locator3_offset; - - public Vector3 locator3_offsetAngle; - - public bool locator4_isVisible; - - public Vector3 locator4_offset; - - public Vector3 locator4_offsetAngle; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.SweatLocator; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs.meta deleted file mode 100644 index 443fe2c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeySweatLocatorData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c2b57154917acfc45a4cd61acfb7b9a0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs deleted file mode 100644 index 081da67..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTextureAnimationData : LiveTimelineKeyWithInterpolate - { - public string textureName = ""; - - public bool textureNameEmpty = true; - - public Vector2 offset; - - public Vector2 tiling = Vector2.one; - - public Vector2 scrollSpeed; - - public float scrollInterval = 1f; - - public int textureID = -1; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.TextureAnimation; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs.meta deleted file mode 100644 index f4f63c4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTextureAnimationData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aefd57dcb0d130a478319fd239f07484 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs deleted file mode 100644 index 5f1bb39..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTiltShiftData : LiveTimelineKeyWithInterpolate - { - public enum Mode - { - None, - TiltShiftMode, - IrisMode, - Circle - } - - public enum Quality - { - Preview, - Normal, - High - } - - public Mode mode = Mode.IrisMode; - - public Quality quality = Quality.High; - - public float blurArea = 1f; - - public float maxBlurSize = 5f; - - public int downsample; - - public Vector2 offset; - - public float roll; - - public Vector2 blurDir = Vector2.one; - - public Vector2 blurAreaDir = Vector2.one; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.TiltShift; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs.meta deleted file mode 100644 index 045809f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTiltShiftData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1a534ad9edb594343a105c6781d9b9c4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs deleted file mode 100644 index 49e4e79..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTransformData : LiveTimelineKeyWithInterpolate - { - public Vector3 position = Vector3.zero; - - public Vector3 rotate = Vector3.zero; - - public Vector3 scale = Vector3.one; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.Transform; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs.meta deleted file mode 100644 index a1b85f6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyTransformData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 44a468b99cf88d745bc737e5d1a6a340 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs deleted file mode 100644 index bf8bd07..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyVolumeLightData : LiveTimelineKeyWithInterpolate, ILiveTimelineKeyHasColor - { - public Vector3 sunPosition = Vector3.zero; - - public Color color1 = Color.white; - - public float power; - - public float komorebi; - - public float blurRadius; - - public bool enable = true; - - public bool isEnabledBorderClear; - - public override LiveTimelineKeyDataType dataType => LiveTimelineKeyDataType.VolumeLight; - - public Color GetRepresentativeColor() - { - return color1; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs.meta deleted file mode 100644 index 789325d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/Data/LiveTimelineKeyVolumeLightData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: de27fcb5428ccef41a8b20005e9659a3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs deleted file mode 100644 index a91b49e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs +++ /dev/null @@ -1,49 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public interface ILiveTimelineCharactorLocator - { - LiveCharaPosition liveCharaStandingPosition { get; set; } - - Vector3 liveCharaInitialPosition { get; set; } - - Vector3 liveCharaHeadPosition { get; } - - Vector3 liveCharaWaistPosition { get; } - - Vector3 liveCharaLeftHandWristPosition { get; } - - Vector3 liveCharaLeftHandAttachPosition { get; } - - Vector3 liveCharaRightHandAttachPosition { get; } - - Vector3 liveCharaRightHandWristPosition { get; } - - Vector3 liveCharaChestPosition { get; } - - Vector3 liveCharaFootPosition { get; } - - Vector3 liveCharaConstHeightHeadPosition { get; } - - Vector3 liveCharaConstHeightWaistPosition { get; } - - Vector3 liveCharaConstHeightChestPosition { get; } - - Animation liveAnimationComponent { get; } - - Transform liveParentTransform { get; set; } - - Transform liveRootTransform { get; } - - int liveCharaHeightLevel { get; set; } - - float liveCharaHeightValue { get; } - - float liveCharaHeightRatio { get; set; } - - bool liveCharaVisible { get; set; } - - void LiveTimeline_OnResetCloth(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs.meta deleted file mode 100644 index ac04e75..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineCharactorLocator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bc8d653dd75c48143a44d047ec6b56d5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs deleted file mode 100644 index 415c0e0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System.Collections.Generic; - -namespace Cutt -{ - public interface ILiveTimelineKeyDataList - { - LiveTimelineKey this[int index] { get; set; } - - int Count { get; } - - LiveTimelineKeyDataListAttr attribute { get; set; } - - TimelineKeyPlayMode playMode { get; set; } - - int depthCounter { get; } - - void Insert(int index, LiveTimelineKey item); - - IEnumerator GetEnumerator(); - - void Add(LiveTimelineKey item); - - void Clear(); - - bool Remove(LiveTimelineKey item); - - void RemoveAt(int index); - - IEnumerable ToEnumerable(); - - LiveTimelineKey At(int index); - - LiveTimelineKey[] ToArray(); - - List ToList(); - - bool HasAttribute(LiveTimelineKeyDataListAttr attr); - - bool EnablePlayModeTimeline(TimelinePlayerMode playerMode); - - FindKeyResult FindKeyCached(int frame, bool ignoreCache); - - FindKeyResult FindCurrentKey(int frame); - - FindKeyResult FindCurrentKeyNeighbor(int frame, int baseIndex); - - List GetRange(int index, int count); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs.meta deleted file mode 100644 index 9974269..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b2d24932be47a934ba4e58a645144d20 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs deleted file mode 100644 index 9a09196..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs +++ /dev/null @@ -1,9 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public interface ILiveTimelineKeyHasColor - { - Color GetRepresentativeColor(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs.meta deleted file mode 100644 index ecba5f0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasColor.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7202801ff30466e4ca6a67dc2c3b8d1f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs deleted file mode 100644 index 5fc8de7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Cutt -{ - public interface ILiveTimelineKeyHasMouthType - { - LiveTimelineDefine.MouthType GetMouthType(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs.meta deleted file mode 100644 index aa88402..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineKeyHasMouthType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ff9ba41ba42f181418f52c251974aca3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs deleted file mode 100644 index 48c1a8b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public interface ILiveTimelineMSQTarget - { - Animation liveMSQAnimation { get; } - - bool liveMSQControlled { get; set; } - - AnimationState liveMSQCurrentAnimState { get; set; } - - float liveMSQCurrentAnimStartTime { get; set; } - - ILiveTimelineMSQTarget[] spareTarget { get; } - - void OnMotionChange(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs.meta deleted file mode 100644 index 15b9f72..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineMSQTarget.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8dc4fd2088b17314a856a1045f32d21c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs deleted file mode 100644 index 0516337..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public interface ILiveTimelineSetData - { - ILiveTimelineKeyDataList GetKeyList(int index); - - ILiveTimelineKeyDataList[] GetKeyListArray(); - - LiveTimelineKeyDataType[] GetKeyTypeArray(); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs.meta deleted file mode 100644 index 5481fac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/ILiveTimelineSetData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b91e4726e7f2bd44283e9a1a78aa3e75 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List.meta deleted file mode 100644 index 15b0de1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ae21ffa11d1f66948a2fe3779f703f46 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs deleted file mode 100644 index 0a48774..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class DereLiveTimelineKeyMonitorCameraPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs.meta deleted file mode 100644 index 1d0a154..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/DereLiveTimelineKeyMonitorCameraPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e6bbff07b1213054ba1ed3601fb77097 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs deleted file mode 100644 index f2fbf54..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyA2UConfigDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs.meta deleted file mode 100644 index 9fab93d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UConfigDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0024fbedfc52a2346b66fc55feef66cc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs deleted file mode 100644 index ae6677d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyA2UDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs.meta deleted file mode 100644 index c8b76ef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyA2UDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7e860f0282922d04ebf866cae8c931c6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs deleted file mode 100644 index 269e988..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyAnimationDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs.meta deleted file mode 100644 index f1548f4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyAnimationDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c328a2e9333a8aa44b66eeabd318fea2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs deleted file mode 100644 index f59a63e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor1DataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs.meta deleted file mode 100644 index 5d9e2fa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor1DataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0237e4090d8e7cf45b4703b3ac5cf6a7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs deleted file mode 100644 index f92d8db..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor2DataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs.meta deleted file mode 100644 index 60a370e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor2DataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d28bd1e593d464e40b3f8dfce2ca7a99 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs deleted file mode 100644 index 32f6b5d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyBgColor3DataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs.meta deleted file mode 100644 index 1131b12..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyBgColor3DataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 210f7691fbc448046b73939505f25c96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs deleted file mode 100644 index 353c0f7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraFovDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs.meta deleted file mode 100644 index b3e0e27..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraFovDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: be0f535da1987b04d9f2f09154b7d741 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs deleted file mode 100644 index 8b7952c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraLayerDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs.meta deleted file mode 100644 index 4690792..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLayerDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0d7367159798c34ba99240164249875 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs deleted file mode 100644 index 0841f22..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraLookAtDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs.meta deleted file mode 100644 index 299d70a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraLookAtDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6353f006d8eb32148bb004a803e372c2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs deleted file mode 100644 index 50a31c9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs.meta deleted file mode 100644 index 36ee977..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c122f0249397fd84483dff7ac1efca3a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs deleted file mode 100644 index bd9a2b7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraRollDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs.meta deleted file mode 100644 index 09a0e60..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraRollDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6e481d142eaef894395e5e7cd962164d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs deleted file mode 100644 index a4c4be1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCameraSwitcherDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs.meta deleted file mode 100644 index 9467cfa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCameraSwitcherDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6408ef493ec865348ad337a902a858de -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs deleted file mode 100644 index dc5f0a1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaCySpringDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs.meta deleted file mode 100644 index 0086f1e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaCySpringDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c58d91c21ac6b60429f074c4de0ba6c2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs deleted file mode 100644 index dea6c45..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaFootLightDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs.meta deleted file mode 100644 index e6cac73..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaFootLightDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9f558fa250de9dc44aa14cf7cb20b43a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs deleted file mode 100644 index 8ab9b31..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaHeightMotionSeqDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs.meta deleted file mode 100644 index 2d9f8fd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaHeightMotionSeqDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3745cdb4bf356404390be66cc24a6fbf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs deleted file mode 100644 index 3a2e733..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaIKDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs.meta deleted file mode 100644 index eb0b1b0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaIKDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: db7ea31cfb6475946af2ad1a301d55b3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs deleted file mode 100644 index 4d7d212..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaMotionNoiseDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs.meta deleted file mode 100644 index 7d104ac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionNoiseDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f8c94426fcff53c429d0d379fadee7c1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs deleted file mode 100644 index c6ffef4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaMotionSeqDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs.meta deleted file mode 100644 index 409c901..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaMotionSeqDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 68464d6766ddea1498c808fa70bd524d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs deleted file mode 100644 index c4a3131..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaOverrideMotionSeqDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs.meta deleted file mode 100644 index e783277..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaOverrideMotionSeqDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ae77affcb2a105041a4d9091cf9699fa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs deleted file mode 100644 index 4dc338e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCharaWindDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs.meta deleted file mode 100644 index c62aa27..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCharaWindDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e51ca473a5c1aef4483e3be0c279cdfb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs deleted file mode 100644 index 5fb681a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyColorCorrectionDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs.meta deleted file mode 100644 index a5118d0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyColorCorrectionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0fd46a8e6bac5334a9e7800395c62f2b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs deleted file mode 100644 index 08c4564..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraAlphaDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs.meta deleted file mode 100644 index be1421c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraAlphaDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b34da223fd16ee34294d3c078ee3315b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs deleted file mode 100644 index 5d6e65b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraFovDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs.meta deleted file mode 100644 index dd1a7d6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraFovDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1054ae4e8e849274897cd20d0b026b8a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs deleted file mode 100644 index bed9a30..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraLookAtDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs.meta deleted file mode 100644 index 09d9e3c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraLookAtDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 62864ceedccc2a045abbd8591b48107d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs deleted file mode 100644 index 1e38805..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs.meta deleted file mode 100644 index 804da7b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b787d0a3f1b7674c8d5cf9184a557da -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs deleted file mode 100644 index d406a87..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCrossFadeCameraRollDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs.meta deleted file mode 100644 index 1135a50..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCrossFadeCameraRollDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5e0d813ff3e1bbd4f9a033affedb5954 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs deleted file mode 100644 index fe049e4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyCuttNumberDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs.meta deleted file mode 100644 index d9b9cb0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyCuttNumberDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: edb03baf80b02bc4188cf15c9be11f54 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs deleted file mode 100644 index 1d4ec02..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Cutt -{ - - [Serializable] - public class LiveTimelineKeyDressChangeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs.meta deleted file mode 100644 index 6b8216f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyDressChangeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 145382c150e07f34cbcf56d7de531785 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs deleted file mode 100644 index 72452f6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyEffectDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs.meta deleted file mode 100644 index ea38ecd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEffectDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 76b1d169cadadfe438c7a8e71b17f405 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs deleted file mode 100644 index 5008026..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyEventDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs.meta deleted file mode 100644 index 782ecf5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyEventDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 526e1f8ecfac72c44987890662cf269c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs deleted file mode 100644 index 7a01db5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialEyeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs.meta deleted file mode 100644 index 6b22bb8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: be74ba081ef08724aa8d766443e1b85c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs deleted file mode 100644 index 0699a27..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialEyeTrackDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs.meta deleted file mode 100644 index b2d5b76..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialEyeTrackDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f80803db7bca1364f9d033ccccc3c475 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs deleted file mode 100644 index 1c6deb4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialFaceDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs.meta deleted file mode 100644 index a9967d9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6ce1f99d08ffad418bd0417e63ab6f3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs deleted file mode 100644 index 6704722..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialFaceMouthList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs.meta deleted file mode 100644 index 96c7921..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialFaceMouthList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: edfbfd047b9b53340802881a3be80af0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs deleted file mode 100644 index afc28ea..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFacialNoiseDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs.meta deleted file mode 100644 index 7eac578..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFacialNoiseDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 45438b6c683acb949a2e78c74af3b4ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs deleted file mode 100644 index 6c90e86..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyFormationOffsetDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs.meta deleted file mode 100644 index 966eec1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyFormationOffsetDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05eb58d0c3381244784db32b6bfac20e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs deleted file mode 100644 index 4509ffe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGazingObjectDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs.meta deleted file mode 100644 index 5921370..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGazingObjectDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 46e6ffdd21e35974c9050b8897378ed9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs deleted file mode 100644 index d870b87..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlassDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs.meta deleted file mode 100644 index a89dafc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlassDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 00a12737e8a6b53438374c07f6eb75f4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs deleted file mode 100644 index 4bdf5ee..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlobalFogDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs.meta deleted file mode 100644 index 5101096..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalFogDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4f14f9a113c26cc42bc94a2b99ec524d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs deleted file mode 100644 index 01210a5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyGlobalLightDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs.meta deleted file mode 100644 index e366101..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyGlobalLightDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 21ea00d22f2b50343bda4adf91ff62db -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs deleted file mode 100644 index fa48c43..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyHdrBloomDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs.meta deleted file mode 100644 index 233d3c9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyHdrBloomDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1cc82f74cf32716478fd1af76298a026 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs deleted file mode 100644 index 7c15a89..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLaserDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs.meta deleted file mode 100644 index e872eb3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLaserDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9d3aa6b2a75cc554985397c9a0a5fa81 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs deleted file mode 100644 index 7715488..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLensFlareDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs.meta deleted file mode 100644 index 359cebe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLensFlareDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 97a10be51e058d34498c03225eab0041 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs deleted file mode 100644 index a5a7e67..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyLightShuftDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs.meta deleted file mode 100644 index b8ae035..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyLightShuftDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ee0b134a1a785c146a3fe36741bf26f2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs deleted file mode 100644 index d772f33..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DBloomDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs.meta deleted file mode 100644 index 3afa888..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DBloomDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1388bff298e8b1438a12d2ad82b265b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs deleted file mode 100644 index 0ee4eba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DColorDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs.meta deleted file mode 100644 index 52df22a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DColorDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7e7cfd287749a3c4fbd1a1ba686e91c9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs deleted file mode 100644 index 7526c79..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLightingDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs.meta deleted file mode 100644 index 4a31aef..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLightingDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2e1107cc1e52bdd4792c651fbedaea9f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs deleted file mode 100644 index c7effc3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLookAtModeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs.meta deleted file mode 100644 index e129dda..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtModeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f3ab6e174dee84843877fbb362bf67a5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs deleted file mode 100644 index b96601d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DLookAtPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs.meta deleted file mode 100644 index 696041c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DLookAtPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9240899bd83e0ca4f9a7c734bebf056e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs deleted file mode 100644 index b7bc236..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs.meta deleted file mode 100644 index 32c227b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a9f7b265e4be405499131af3ed9bfb2a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs deleted file mode 100644 index 1ad26c8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalume3DRootDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs.meta deleted file mode 100644 index 6c69836..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalume3DRootDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: baf11dcf14380b54cbb4fd08cfdad043 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs deleted file mode 100644 index 314ada4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMobCyalumeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs.meta deleted file mode 100644 index 5a93af9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMobCyalumeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e69a59202ce10344aa8f91ff98225125 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs deleted file mode 100644 index f154dd6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMonitorCameraLookAtDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs.meta deleted file mode 100644 index f74f977..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorCameraLookAtDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ef10ffdfd370af44b82e2d6c2c9b0fe9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs deleted file mode 100644 index 51df581..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMonitorControlDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs.meta deleted file mode 100644 index 9b88c7a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMonitorControlDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2a307649c7e4dad4faf2295acfd516da -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs deleted file mode 100644 index cd4950c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMultiCameraLookAtDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs.meta deleted file mode 100644 index 35da3ed..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraLookAtDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e2ffb3adbfd87614ca4a3506d280920c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs deleted file mode 100644 index 55c4b48..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyMultiCameraPositionDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs.meta deleted file mode 100644 index 4facac5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyMultiCameraPositionDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 806b403b3880c454b9f295d0427be9be -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs deleted file mode 100644 index 1fff6a3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyObjectDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs.meta deleted file mode 100644 index 3ac7363..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyObjectDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3f81213d41294bf428e6def5fa2a7926 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs deleted file mode 100644 index 2e6a543..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyParticleDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs.meta deleted file mode 100644 index f575c6c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: feaa8c2232e5d6d4f94cc15b209769d7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs deleted file mode 100644 index 18c0941..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyParticleGroupDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs.meta deleted file mode 100644 index efe6f8a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyParticleGroupDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 04ae7cab69d148d4496fe99a497ab12b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs deleted file mode 100644 index a27e7c1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPostEffectDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs.meta deleted file mode 100644 index dc1e2eb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostEffectDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 71083c9a6bae34c4ca57d17a0c26f335 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs deleted file mode 100644 index 83b01c2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPostFilmDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs.meta deleted file mode 100644 index ad2c437..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPostFilmDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 113aa81a74e73ff42ada7fc685689046 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs deleted file mode 100644 index 2e4dbc8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyProjectorDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs.meta deleted file mode 100644 index b757891..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyProjectorDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: caad16403aedd1b4382ee52eec99cde7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs deleted file mode 100644 index 39df76a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPropsAttachDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs.meta deleted file mode 100644 index e6f4526..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsAttachDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 99aa87e35f2274541b36d2d769a428ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs deleted file mode 100644 index a593766..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyPropsDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs.meta deleted file mode 100644 index 950607e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyPropsDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0c3fe76379ddb0847abb6704502eeaf4 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs deleted file mode 100644 index 238ebfb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyRendererDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs.meta deleted file mode 100644 index b1ea635..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRendererDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b4f8d8cecd8a4fc4a94d5171dfeb0da9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs deleted file mode 100644 index 29aecca..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyRipSyncDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs.meta deleted file mode 100644 index 8b0ef5c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyRipSyncDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3ce5e02160a221b46a9ec4cddb32d371 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs deleted file mode 100644 index fca55ce..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyScreenFadeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs.meta deleted file mode 100644 index 62b840b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyScreenFadeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8ab3853a5d5f93e4b8c051c2c7ca09ef -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs deleted file mode 100644 index c345d35..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyShaderControlDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs.meta deleted file mode 100644 index 56b8395..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyShaderControlDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8f7c2667f8e780949ba9a5d2b66ff549 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs deleted file mode 100644 index ca0df0a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyStageEnvironmentDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs.meta deleted file mode 100644 index 7597046..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageEnvironmentDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 57389b10c7e661b4fb87790d933e2a4d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs deleted file mode 100644 index 7b5291b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyStageGazeDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs.meta deleted file mode 100644 index 6ec5042..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyStageGazeDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f2787efacc3c19e439132ba67f423e4c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs deleted file mode 100644 index cd71ee6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeySweatLocatorDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs.meta deleted file mode 100644 index 8742ee8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeySweatLocatorDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4ef2bad1348847d48bb6de89ef3f1086 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs deleted file mode 100644 index d1fc346..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTextureAnimationDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs.meta deleted file mode 100644 index f8e7dbc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTextureAnimationDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 83d4d8f36f2d4b24598ec19e41340aa3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs deleted file mode 100644 index 2d32ab2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTiltShiftDataList : LiveTimelineKeyDataListTemplate - { - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs.meta deleted file mode 100644 index ff903f1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTiltShiftDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c28cdd31888055a43bea49208f9feb3a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs deleted file mode 100644 index 7f7cab1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyTransformDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs.meta deleted file mode 100644 index bf5a8f5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyTransformDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b79be3a63ca973445bc56e70817cdf64 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs deleted file mode 100644 index 73c8beb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyVolumeLightDataList : LiveTimelineKeyDataListTemplate - { - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs.meta deleted file mode 100644 index 05c730c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/List/LiveTimelineKeyVolumeLightDataList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6efe77871f4c6664ea995ecf384d3c16 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs deleted file mode 100644 index 535dabb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace Cutt -{ - [Serializable] - public abstract class LiveTimelineKey - { - public int frame; - - public LiveTimelineKeyAttribute attribute; - - public abstract LiveTimelineKeyDataType dataType { get; } - - public virtual bool IsInterpolateKey() - { - return false; - } - - public virtual void OnLoad(LiveTimelineControl timelineControl) - { - } - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs.meta deleted file mode 100644 index feac297..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKey.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3d444b0ebbd31d84c9653a48be3c3cba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs deleted file mode 100644 index b2bea40..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs +++ /dev/null @@ -1,334 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public class LiveTimelineKeyDataListTemplate : ILiveTimelineKeyDataList where T : LiveTimelineKey - { - [SerializeField] - private LiveTimelineKeyDataListAttr _attribute; - - [SerializeField] - private TimelineKeyPlayMode _playMode; - - public List thisList = new List(); - - private int _lastFindIndex = -1; - - public LiveTimelineKeyDataListAttr attribute - { - get - { - return _attribute; - } - set - { - _attribute = value; - } - } - - public TimelineKeyPlayMode playMode - { - get - { - return _playMode; - } - set - { - _playMode = value; - } - } - - public LiveTimelineKey this[int index] - { - get - { - return thisList[index]; - } - set - { - thisList[index] = value as T; - } - } - - public int Count => thisList.Count; - - public int depthCounter => 0; - - public bool HasAttribute(LiveTimelineKeyDataListAttr attr) - { - return (attribute & attr) == attr; - } - - public bool EnablePlayModeTimeline(TimelinePlayerMode playerMode) - { - return _playMode switch - { - TimelineKeyPlayMode.Always => true, - TimelineKeyPlayMode.LightOnly => playerMode == TimelinePlayerMode.Light, - TimelineKeyPlayMode.DefaultOver => playerMode != TimelinePlayerMode.Light, - _ => true, - }; - } - - public void Insert(int index, LiveTimelineKey item) - { - thisList.Insert(index, item as T); - } - - public void Add(LiveTimelineKey item) - { - thisList.Add(item as T); - } - - public void Clear() - { - thisList.Clear(); - } - - public bool Remove(LiveTimelineKey item) - { - return thisList.Remove(item as T); - } - - public void RemoveAt(int index) - { - thisList.RemoveAt(index); - } - public IEnumerator GetEnumerator() - { - return ToEnumerable().GetEnumerator(); - } - - public List GetRange(int index, int count) - { - return thisList.GetRange(index, count).ConvertAll((Converter)((T x) => x)); - } - - public IEnumerable ToEnumerable() - { - for (int i = 0; i < Count; i++) - { - yield return this[i]; - } - } - - public LiveTimelineKey At(int index) - { - return (index >= 0 && index < thisList.Count) ? thisList[index] : null; - } - - public LiveTimelineKey[] ToArray() - { - return thisList.ToArray(); - } - - public List ToList() - { - return thisList.ConvertAll((Converter)((T x) => x)); - } - - public bool Contains(LiveTimelineKey key) - { - return FindIndex(key) >= 0; - } - - public int FindIndex(LiveTimelineKey key) - { - BinSearch(out var ret, out var _, key.frame, 0, Count - 1, Count); - return ret.index; - } - - public FindKeyResult FindKeyCached(int frame, bool forceRefind) - { - FindKeyCached(frame, forceRefind, out var current, out var _); - return current; - } - - public void FindKeyCached(int frame, bool forceRefind, out FindKeyResult current, out FindKeyResult next) - { - if (forceRefind || _lastFindIndex < 0) - { - FindKey(out current, out next, frame); - } - else - { - FindCurrentKeyNeighbor(frame, _lastFindIndex, out current, out next); - } - _lastFindIndex = current.index; - } - - public FindKeyResult FindCurrentKey(int frame) - { - FindKey(out var ret, out var _, frame); - return ret; - } - - public void FindKey(out FindKeyResult ret, out FindKeyResult next, int frame) - { - int count = thisList.Count; - if (count == 0) - { - ret.index = -1; - ret.key = null; - next.index = -1; - next.key = null; - } - else - { - BinSearch(out ret, out next, frame, 0, count - 1, count); - } - } - - private void BinSearch(out FindKeyResult ret, out FindKeyResult next, int frame, int indexS, int indexE, int listSize) - { - int num = (indexE - indexS >> 1) + indexS; - T val = thisList[num]; - if (num + 1 < listSize) - { - T val2 = thisList[num + 1]; - if (val.frame <= frame && frame < val2.frame) - { - ret.key = val; - ret.index = num; - next.key = val2; - next.index = num + 1; - return; - } - if (frame < val.frame) - { - indexE = num; - if (indexE > indexS) - { - BinSearch(out ret, out next, frame, indexS, indexE, listSize); - return; - } - } - else - { - indexS = num + 1; - if (indexS <= indexE) - { - BinSearch(out ret, out next, frame, indexS, indexE, listSize); - return; - } - } - } - else if (val.frame <= frame) - { - ret.key = val; - ret.index = num; - next.key = null; - next.index = -1; - return; - } - ret.key = null; - ret.index = -1; - next.key = null; - next.index = -1; - } - - public void FindKeyLinear(out LiveTimelineKey curKey, out LiveTimelineKey nextKey, int curFrame) - { - curKey = null; - nextKey = null; - int count = thisList.Count; - for (int i = 0; i < count; i++) - { - if (thisList[i].frame > curFrame) - { - nextKey = thisList[i]; - break; - } - curKey = thisList[i]; - } - } - - public FindKeyResult FindCurrentKeyNeighbor(int frame, int baseIndex) - { - FindCurrentKeyNeighbor(frame, baseIndex, out var ret, out var _); - return ret; - } - - public void FindCurrentKeyNeighbor(int frame, int baseIndex, out FindKeyResult ret, out FindKeyResult next) - { - ret.key = null; - ret.index = -1; - next.key = null; - next.index = -1; - LiveTimelineKey liveTimelineKey = null; - LiveTimelineKey liveTimelineKey2 = null; - int count = thisList.Count; - int num = 0; - bool flag = false; - while (!flag) - { - flag = true; - int num2 = baseIndex + num; - int num3 = num2 + 1; - if (num2 < count) - { - liveTimelineKey = thisList[num2]; - liveTimelineKey2 = null; - if (num3 < count) - { - liveTimelineKey2 = thisList[num3]; - } - if (liveTimelineKey.frame <= frame) - { - if (liveTimelineKey2 == null) - { - ret.key = liveTimelineKey; - ret.index = num2; - break; - } - if (frame < liveTimelineKey2.frame) - { - ret.key = liveTimelineKey; - ret.index = num2; - next.key = liveTimelineKey2; - next.index = num3; - break; - } - } - flag = false; - } - if (num > 0) - { - num2 = baseIndex - num; - num3 = num2 + 1; - if (num2 >= 0) - { - liveTimelineKey = thisList[num2]; - liveTimelineKey2 = null; - if (num3 < count) - { - liveTimelineKey2 = thisList[num3]; - } - if (liveTimelineKey.frame <= frame) - { - if (liveTimelineKey2 == null) - { - ret.key = liveTimelineKey; - ret.index = num2; - break; - } - if (frame < liveTimelineKey2.frame) - { - ret.key = liveTimelineKey; - ret.index = num2; - next.key = liveTimelineKey2; - next.index = num3; - break; - } - } - flag = false; - } - } - num++; - } - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs.meta deleted file mode 100644 index 8cd37d6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyDataListTemplate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d2b1ccaae0c6784ab5c68f5da5bb23b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs deleted file mode 100644 index d60aa13..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - [Serializable] - public abstract class LiveTimelineKeyWithInterpolate : LiveTimelineKey - { - public LiveCameraInterpolateType interpolateType; - - public AnimationCurve curve; - - public LiveTimelineEasing.Type easingType; - - public override bool IsInterpolateKey() - { - return interpolateType != LiveCameraInterpolateType.None; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs.meta deleted file mode 100644 index 9bbea33..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/LiveTimelineKey/LiveTimelineKeyWithInterpolate.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9038a0d2ed1b1ac42b137bef1221edd2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo.meta deleted file mode 100644 index 689dbd5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e91bbc5e1bbc31d40917b009f253954b -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs deleted file mode 100644 index 7007e87..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Cutt -{ - public struct A2UConfigUpdateInfo - { - public float progressTime; - - public LiveTimelineA2UConfigData data; - - public A2U.Blend blend; - - public A2U.Order order; - - public bool enable; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs.meta deleted file mode 100644 index 585095a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UConfigUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a28aecce4b58b584b83856ce2d4baf2e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs deleted file mode 100644 index dbbd492..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct A2UUpdateInfo - { - public float progressTime; - - public LiveTimelineA2UData data; - - public Color spriteColor; - - public Vector2 position; - - public Vector2 scale; - - public float rotationZ; - - public uint textureIndex; - - public int appearanceRandomSeed; - - public float spriteAppearance; - - public int slopeRandomSeed; - - public float spriteMinSlope; - - public float spriteMaxSlope; - - public float spriteScale; - - public float spriteOpacity; - - public float startSec; - - public float speed; - - public A2U.Blend blend; - - public bool isFlick; - - public bool enable; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs.meta deleted file mode 100644 index 7b45119..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/A2UUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 398afa8c703a0f8468dbde1ac3efcbf7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs deleted file mode 100644 index db1124e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct AnimationUpdateInfo - { - public float progressTime; - - public LiveTimelineAnimationData data; - - public int animationID; - - public WrapMode wrapMode; - - public float speed; - - public float offsetTime; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs.meta deleted file mode 100644 index 49cdee3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/AnimationUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8408458df7988074b97ea40bca6427bb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs deleted file mode 100644 index 78994c8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct BgColor1UpdateInfo - { - public float progressTime; - - public LiveTimelineBgColor1Data data; - - public Color color; - - public float value; - - public int flags; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs.meta deleted file mode 100644 index 358f50f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor1UpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 35a45c960f176cc499cb886d25095043 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs deleted file mode 100644 index 70a60d3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct BgColor2UpdateInfo - { - public float progressTime; - - public LiveTimelineBgColor2Data data; - - public Color color1; - - public Color color2; - - public float value; - - public int rndValueIdx; - - public bool enableManualAngle; - - public Quaternion manualRotation; - - public int groupIndex; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs.meta deleted file mode 100644 index 3d0f6d1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor2UpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d2b5f79df2fbf34e8d55782415904ba -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs deleted file mode 100644 index 744b400..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct BgColor3UpdateInfo - { - public float progressTime; - - public LiveTimelineBgColor3Data data; - - public Color[] colorArray; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs.meta deleted file mode 100644 index 66bd95f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/BgColor3UpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 555a3cc39c5df2645b3a75e3a6d2c036 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs deleted file mode 100644 index f5e564f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct CameraPosUpdateInfo - { - public float outlineZOffset; - - public int characterLODMask; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs.meta deleted file mode 100644 index f547d04..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CameraPosUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c58291f48cf37c24097e90ba5cfbb29f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs deleted file mode 100644 index 6830ebb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct CharaFootLightUpdateInfo - { - public LiveCharaPosition position; - - public float hightMax; - - public bool alphaBlend; - - public bool inverseAlpha; - - public Color lightColor; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs.meta deleted file mode 100644 index f76d9a8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaFootLightUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8fe38aba5f46ffd42a4909b942f1ecaa -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs deleted file mode 100644 index 6a1f55b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs +++ /dev/null @@ -1,21 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct CharaHeightMotionUpdateInfo - { - public LiveCharaPosition selfPosition; - - public LiveTimelineKeyCharaHeightMotionData.BlendType blendType; - - public LiveTimelineKeyCharaIKData.IKPart offsetPositionEffector; - - public Vector3 offsetRate; - - public int extendNum; - - public Vector3[] offsetRateExtend; - - public LiveTimelineKeyCharaIKData.IKPart[] offsetPositionEffectorExtend; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs.meta deleted file mode 100644 index 42108c7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaHeightMotionUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b2584e79856c8b44b28d68e854ec052 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs deleted file mode 100644 index 11539be..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs +++ /dev/null @@ -1,26 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct CharaIKUpdateInfo - { - public struct PartUpdateInfo - { - public StageTwoBoneIK.TargetType targetPositionType; - - public Vector3 targetPosition; - - public float blendRate; - } - - public LiveCharaPosition position; - - public PartUpdateInfo leg_Left; - - public PartUpdateInfo leg_Right; - - public PartUpdateInfo arm_Right; - - public PartUpdateInfo arm_Left; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs.meta deleted file mode 100644 index 14c784b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaIKUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eb2c070808a79ac43a1e964ffbfc652e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs deleted file mode 100644 index c635bae..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct CharaWindUpdateInfo - { - public LiveCharaPosition selfPosition; - - public Vector3 cySpringForceScale; - - public Vector3 windPower; - - public float loopTime; - - public bool enable; - - public LiveTimelineKeyCharaWindData.WindMode windMode; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs.meta deleted file mode 100644 index 995e5a4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CharaWindUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 10785f414bc3f2744873481035c25623 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs deleted file mode 100644 index 6c23bff..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct ColorCorrectionUpdateInfo - { - public bool _enable; - - public float _saturation; - - public AnimationCurve _redCurve; - - public AnimationCurve _greenCurve; - - public AnimationCurve _blueCurve; - - public bool _selective; - - public Color _keyColor; - - public Color _targetColor; - - public int _cameraIndex; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs.meta deleted file mode 100644 index 8895ca1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ColorCorrectionUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 434e7d0e690bb4d4f8305a277f05e6f7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs deleted file mode 100644 index fb2b500..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Cutt -{ - public struct CrossFadeCameraUpdateInfo - { - public bool isEnable; - - public float alpha; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs.meta deleted file mode 100644 index 089e240..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CrossFadeCameraUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 61f3f877552625d4b81b3aaf6eb31b1b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs deleted file mode 100644 index 4ce8e3e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Cutt -{ - public struct CySpringUpdateInfo - { - public LiveCharaPosition position; - - public bool resetCySpring; - - public bool overrideParameter; - - public bool overrideParameterAllBone; - - public bool overrideParameterAcc; - - public float overrideParameterAccSitffness; - - public bool overrideParameterFurisode; - - public float overrideParameterFurisodeStiffness; - - public LiveTimelineKeyCharaCySpring.ParameterType overrideType; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs.meta deleted file mode 100644 index 52e4230..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/CySpringUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 825881ea56cfb4f41a64a8b3786dc714 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs deleted file mode 100644 index fa765fc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct DressChangeUpdateInfo - { - public LiveTimelineKeyDressChangeData.eTargetFlag targetFlags; - - public LiveTimelineKeyDressChangeData.eDressType[] dressType; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs.meta deleted file mode 100644 index 5f18c14..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/DressChangeUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 575797320332f144abcee8105d5b117e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs deleted file mode 100644 index 91a4319..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct EffectUpdateInfo - { - public LiveTimelineEffectData data; - - public bool isEnable; - - public bool isPlay; - - public bool isLoop; - - public bool isClear; - - public eEffectOwner owner; - - public eEffectOccurrenceSpot occurrenceSpot; - - public Vector3 offset; - - public bool isStayPRS; - - public eEffectBlendMode blendMode; - - public Color color; - - public float colorPower; - - public Vector3 offsetAngle; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs.meta deleted file mode 100644 index 53a4e70..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EffectUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a4be2add9950b8945a0fddd4b5946c86 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs deleted file mode 100644 index c80a704..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct EnvironmentCharacterShadowUpdateInfo - { - public LiveCharaPositionFlag positionFlag; - - public bool softShadow; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs.meta deleted file mode 100644 index b18de06..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentCharacterShadowUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 25c470c5875758a448adb6ec0eb17994 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs deleted file mode 100644 index 24ea0b8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct EnvironmentGlobalLightUpdateInfo - { - public LiveTimelineGlobalLightData data; - - public Vector3 lightDirection; - - public float globalRimRate; - - public float globalRimShadowRate; - - public float globalRimSpecularRate; - - public float globalToonRate; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs.meta deleted file mode 100644 index ba810e4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentGlobalLightUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ed199c372d944cc4cadc0daf73a99fff -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs deleted file mode 100644 index 8d3841f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct EnvironmentMirrorUpdateInfo - { - public bool mirror; - - public float mirrorReflectionRate; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs.meta deleted file mode 100644 index 31137f6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/EnvironmentMirrorUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 738bc5d5dbe4cfa4ea7e9a1a93eaeecc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs deleted file mode 100644 index 97a3139..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct FacialDataUpdateInfo - { - public LiveTimelineKeyFacialFaceData face; - - public LiveTimelineKeyFacialMouthData mouth; - - public LiveTimelineKeyFacialEyeData eyeCur; - - public LiveTimelineKeyFacialEyeData eyeNext; - - public LiveTimelineKeyFacialEyeTrackData eyeTrack; - - public Vector3 eyeTrackOffset; - - public int faceKeyIndex; - - public int mouthKeyIndex; - - public int eyeKeyIndex; - - public int eyeTrackKeyIndex; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs.meta deleted file mode 100644 index 228948f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FacialDataUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d522c8738fb7c7f4d83b57468e493a19 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs deleted file mode 100644 index 7543169..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public struct FormationOffsetUpdateInfo - { - public int characterPosition; - - public bool isVisible; - - public bool isEffectClear; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs.meta deleted file mode 100644 index 2323a9e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/FormationOffsetUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6650c4165c55c3e4db39dc09f3dad3d5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs deleted file mode 100644 index 8702356..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct GazingObjectUpdateInfo - { - public float progressTime; - - public LiveTimelineGazingObjectData data; - - public Vector3 lookAtPos; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs.meta deleted file mode 100644 index b463df0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GazingObjectUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cc29a2a3f11f0ee4190538179add6c88 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs deleted file mode 100644 index dff88e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct GlassUpdateInfo - { - public float transparent; - - public float specularPower; - - public Color specularColor; - - public Vector3 lightPosition; - - public int sortOrderOffset; - - public LiveTimelineGlassData data; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs.meta deleted file mode 100644 index 9181ba0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlassUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a6de2eba675044e45a1a2fbb0a0729ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs deleted file mode 100644 index 32adb30..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct GlobalFogUpdateInfo - { - public bool isDistance; - - public float startDistance; - - public bool isHeight; - - public float height; - - public float heightDensity; - - public Color color; - - public FogMode fogMode; - - public float expDensity; - - public float start; - - public float end; - - public bool useRadialDistance; - - public Vector4 heightOption; - - public Vector4 distanceOption; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs.meta deleted file mode 100644 index f02b299..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/GlobalFogUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0d35dab48fa007b4bbc2e93c6bd0c35b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs deleted file mode 100644 index 7d57be2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Cutt -{ - public struct HdrBloomUpdateInfo - { - public float progressTime; - - public LiveTimelineHdrBloomData data; - - public float intensity; - - public float blurSpread; - - public bool enable; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs.meta deleted file mode 100644 index b2a8291..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/HdrBloomUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3197359c30b8e2141b0a6adc67c2e068 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs deleted file mode 100644 index b4aac2f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct LaserUpdateInfo - { - public LiveTimelineLaserData data; - - public eLaserForm formation; - - public float degRootYaw; - - public float degLaserPitch; - - public float posInterval; - - public float blinkPeroid; - - public bool isBlink; - - public Vector3 rootPos; - - public Vector3 rootRot; - - public Vector3 rootScale; - - public Vector3[] localPos; - - public Vector3[] localRot; - - public Vector3[] localScale; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs.meta deleted file mode 100644 index 9df634c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LaserUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 67fe429bc9c252846aafa6cbe8c4a5f2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs deleted file mode 100644 index ba2898c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct LensFlareUpdateInfo - { - public LiveTimelineLensFlareData data; - - public Vector3 offset; - - public Color color; - - public float brightness; - - public float fadeSpeed; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs.meta deleted file mode 100644 index 67a4efc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LensFlareUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ab6b32ff30b5b1a46bc1e1b17c7f435d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs deleted file mode 100644 index 6729bfd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct LightShuftUpdateInfo - { - public bool _enable; - - public Vector4 _speed; - - public Vector4 _offset; - - public Vector4 _angle; - - public Vector4 _alpha; - - public Vector4 _alpha2; - - public Vector4 _maskAlpha; - - public float _scale; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs.meta deleted file mode 100644 index 9abab12..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/LightShuftUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f43217f429881da4c8b59a4d6a935400 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs deleted file mode 100644 index 35031bd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs +++ /dev/null @@ -1,65 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct MobCyalume3DUpdateInfo - { - public Vector3 rootTranslate; - - public Vector3 rootRotate; - - public Vector3 rootScale; - - public bool isVisibleMob; - - public bool isVisibleCyalume; - - public bool isEnableMotionMultiSample; - - public float motionTimeOffset; - - public float motionTimeInterval; - - public LiveMobCyalume3DWaveMode waveMode; - - public Vector3 waveBasePosition; - - public float waveWidth; - - public float waveHeight; - - public float waveRoughness; - - public float waveProgress; - - public float waveColorBasePower; - - public float waveColorGainPower; - - public float gradiation; - - public float rimlight; - - public float blendRange; - - public float paletteScrollSection; - - public float horizontalOffset; - - public float verticalOffset; - - public float threshold; - - public float growPower; - - public LiveMobCyalume3DLookAtMode lookAtMode; - - public int lookAtPositionCount; - - public Vector3[] lookAtPositionList; - - public int positionCount; - - public Vector3[] positionList; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs.meta deleted file mode 100644 index 1fdd19c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalume3DUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2d3c53fa75bb6924393da6b29bc66286 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs deleted file mode 100644 index 17cb5ab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct MobCyalumeUpdateInfo - { - public Vector3 translate; - - public Vector3 rotate; - - public Vector3 scale; - - public int groupNo; - - public bool isVisibleMob; - - public bool isVisibleCyalume; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs.meta deleted file mode 100644 index 2b990a6..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MobCyalumeUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9bb1ade508011c64eaf92ed83d1f6956 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs deleted file mode 100644 index 149b797..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public struct MonitorCameraUpdateInfo - { - public int index; - - public bool enable; - - public LiveCharaPositionFlag visibleCharaFlag; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs.meta deleted file mode 100644 index 3383458..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorCameraUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e7c1c1e47c9098e41b438068917fe1ce -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs deleted file mode 100644 index 998e24f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct MonitorControlUpdateInfo - { - public float progressTime; - - public LiveTimelineMonitorControlData data; - - public Vector2 pos; - - public Vector2 size; - - public bool multiFlag; - - public LiveTimelineKeyMonitorControlData.eInputSource inputSource; - - public int dispID; - - public int subDispID; - - public float speed; - - public string textureLabel; - - public bool reversePlayFlag; - - public int playStartOffsetFrame; - - public float blendFactor; - - public float colorPower; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs.meta deleted file mode 100644 index 1847c1a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MonitorControlUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 576655d1f4f95b24ead1a250891c3235 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs deleted file mode 100644 index 3cfefc9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Cutt -{ - public struct MultiCameraUpdateInfo - { - public bool isEnable; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs.meta deleted file mode 100644 index 10369f5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/MultiCameraUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d2b9c9ff57dfcea46baec7b218ecd563 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs deleted file mode 100644 index 327204c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs +++ /dev/null @@ -1,21 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct ObjectUpdateInfo - { - public float progressTime; - - public LiveTimelineObjectData data; - - public LiveTimelineTransformData.TransformBaseData updateData; - - public bool renderEnable; - - public bool reflectionEnable; - - public bool colorEnable; - - public Color color; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs.meta deleted file mode 100644 index 568fc9d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ObjectUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: fe14db88708f4234892a6f43a7eee9cf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs deleted file mode 100644 index 110ddb7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct ParticleGroupUpdateInfo - { - public LiveTimelineParticleGroupData data; - - public Color lerpColor; - - public float lerpColorRate; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs.meta deleted file mode 100644 index fbbacae..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleGroupUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d9cdee52cff85e149b2aa551292b688e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs deleted file mode 100644 index 8760efa..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Cutt -{ - public struct ParticleUpdateInfo - { - public LiveTimelineParticleData data; - - public float emissionRate; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs.meta deleted file mode 100644 index 14ffb0f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ParticleUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3a65a6505d8648c478195f8a188ecf96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs deleted file mode 100644 index 8d51d38..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct PostEffectUpdateInfo - { - public float forcalSize; - - public float blurSpread; - - public float bloomDofWeight; - - public float threshold; - - public float intensity; - - public Vector3 forcalPosition; - - public PostEffectLive3D.DofQuality dofQuality; - - public PostEffectLive3D.DofBlurType dofBlurType; - - public float dofForegroundSize; - - public float dofFocalPoint; - - public bool isUseFocalPoint; - - public PostEffectLive3D.eDofMVFilterType dofMVFilterType; - - public int filterResId; - - public float filterIntensity; - - public float filterTime; - - public bool disableDOFBlur; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs.meta deleted file mode 100644 index 2a974ba..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostEffectUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3bfba3d7df4df5446b22544c7ca7a1b0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs deleted file mode 100644 index cce3e89..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs +++ /dev/null @@ -1,45 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct PostFilmUpdateInfo - { - public PostFilmMode filmMode; - - public PostColorType colorType; - - public float filmPower; - - public Vector2 filmOffsetParam; - - public Vector4 filmOptionParam; - - public Color color0; - - public Color color1; - - public Color color2; - - public Color color3; - - public LiveTimelineKeyPostFilmData.eLayerMode layerMode; - - public LiveTimelineKeyPostFilmData.eColorBlend colorBlend; - - public bool inverseVignette; - - public float colorBlendFactor; - - public int movieResId; - - public int movieFrameOffset; - - public float movieTime; - - public bool movieReverse; - - public bool screenCircle; - - public Vector2 screenCircleDir; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs.meta deleted file mode 100644 index 1c2a790..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PostFilmUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da5b734f7dc300245b1999e33fb5235a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs deleted file mode 100644 index 6924062..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct ProjectorUpdateInfo - { - public float progressTime; - - public LiveTimelineProjectorData data; - - public int motionID; - - public int materialID; - - public float speed; - - public Color color1; - - public float power; - - public Vector3 position; - - public float rotate; - - public Vector2 rotateXZ; - - public Vector2 size; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs.meta deleted file mode 100644 index 1a9ec8c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ProjectorUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9cd97960d3dac54469f45ad9779cbd3a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs deleted file mode 100644 index 14160dd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs +++ /dev/null @@ -1,29 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct PropsAttachUpdateInfo - { - public float progressTime; - - public LiveTimelinePropsAttachData data; - - public Vector3 offsetPosition; - - public Vector3 rotation; - - public int settingFlags; - - public int propsID; - - public int attachJointHash; - - public int animationId; - - public float animationSpeed; - - public float animationOffset; - - public bool changeAnimation; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs.meta deleted file mode 100644 index bcb267c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsAttachUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 055178a8b11613c48bb3421d71eeb0bd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs deleted file mode 100644 index 22326b3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct PropsUpdateInfo - { - public float progressTime; - - public float currentTime; - - public LiveTimelinePropsData data; - - public int settingFlags; - - public int propsID; - - public bool renderEnable; - - public Color color; - - public float colorPower; - - public bool drawAfterImage; - - public Color rootColor; - - public Color tipColor; - - public Vector3 lightPosition; - - public bool useLocalAxis; - - public float specularPower; - - public Color specularColor; - - public Color luminousColor; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs.meta deleted file mode 100644 index aa5e9a3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/PropsUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6887b9744dfdec44cb01b55c75473af8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs deleted file mode 100644 index 3468380..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public struct RendererUpdateInfo - { - public float progressTime; - - public LiveTimelineRendererData data; - - public bool renderEnable; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs.meta deleted file mode 100644 index d3a5503..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/RendererUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6339321f41fb64b458ef80a3bb020951 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs deleted file mode 100644 index 6514123..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using UnityEngine; - -namespace Cutt -{ - public struct ScreenFadeUpdateInfo - { - public bool enable; - - public Color color; - - public bool onlyQuality3DLight; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs.meta deleted file mode 100644 index e45ab10..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ScreenFadeUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d80502e0842cd6b418a339e16099c457 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs deleted file mode 100644 index cc05c77..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Cutt -{ - public struct ShaderControlUpdateInfo - { - public LiveTimelineKeyShaderControlData.eCondition condition; - - public int conditionParam; - - public int targetFlags; - - public int behaviorFlags; - - public bool useVtxClrB; - - public float lerpDiffuse; - - public float lerpGradation; - - public LiveTimelineShaderControlData data; - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs.meta deleted file mode 100644 index 8611abe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/ShaderControlUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 046eefb773735ed4ab738705181b9b1a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs deleted file mode 100644 index 3715f62..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs +++ /dev/null @@ -1,13 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct StageGazeControlUpdateInfo - { - public int groupNo; - - public bool isEnable; - - public Vector3 targetPosition; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs.meta deleted file mode 100644 index 854dbf4..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/StageGazeControlUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f03b0355d9eb7614d864c2b8dd01399e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs deleted file mode 100644 index ca671f9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Cutt -{ - public class SweatLocatorUpdateInfo - { - public eSweatLocatorOwner owner; - - public float alpha; - - public LiveTimelineKeySweatLocatorData.LocatorInfo[] locatorInfo; - - public SweatLocatorUpdateInfo(int arrayNum) - { - owner = eSweatLocatorOwner.Center; - locatorInfo = new LiveTimelineKeySweatLocatorData.LocatorInfo[arrayNum]; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs.meta deleted file mode 100644 index 027dddf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/SweatLocatorUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 05ef32cc9ce5da640b239470e70802ea -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs deleted file mode 100644 index 27aa68f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct TextureAnimationUpdateInfo - { - public float progressTime; - - public LiveTimelineTextureAnimationData data; - - public string textureName; - - public bool textureNameEmpty; - - public Vector2 offset; - - public Vector2 tiling; - - public Vector2 scrollSpeed; - - public float scrollInterval; - - public int textureID; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs.meta deleted file mode 100644 index 018884c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TextureAnimationUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: eb1b161bf51561743947d6678976474d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs deleted file mode 100644 index 4661a1a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct TilsShiftUpdateInfo - { - public LiveTimelineKeyTiltShiftData.Mode mode; - - public LiveTimelineKeyTiltShiftData.Quality quality; - - public float blurArea; - - public float maxBlurSize; - - public int downsample; - - public Vector2 offset; - - public float roll; - - public Vector2 blurDir; - - public Vector2 blurAreaDir; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs.meta deleted file mode 100644 index 6941b56..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TilsShiftUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e1d146e0864896f439b74252400048e5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs deleted file mode 100644 index e599f48..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Cutt -{ - public struct TransformUpdateInfo - { - public float progressTime; - - public LiveTimelineTransformData data; - - public LiveTimelineTransformData.TransformBaseData updateData; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs.meta deleted file mode 100644 index 0dd3988..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/TransformUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 99f5c8d005bbd8648a1dc248840180d3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs deleted file mode 100644 index 6030013..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public struct VolumeLightUpdateInfo - { - public float progressTime; - - public LiveTimelineVolumeLightData data; - - public Vector3 sunPosition; - - public Color color1; - - public float power; - - public float komorebi; - - public float blurRadius; - - public bool enable; - - public bool isEnabledBorderClear; - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs.meta deleted file mode 100644 index ea48b6d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/UpdateInfo/VolumeLightUpdateInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f876efae720234241bb0f086b5a327d3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs deleted file mode 100644 index beb018b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs +++ /dev/null @@ -1,161 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; -using UnityEngine; - -namespace Cutt -{ - internal class WaveForm - { - private const string kWavFolder = "//cygames-fas02/100_projects/083_stage/31_sound/05_SONG/マスター音源/オフセット調整済"; - - private const float kAdjust = 10f; - - private FmtInfo _fmtInfo = new FmtInfo(); - - private DataInfo _dataInfo = new DataInfo(); - - private Dictionary> _pointsMap = new Dictionary>(); - - private bool _isLoaded; - - public bool IsLoaded - { - get - { - return _isLoaded; - } - } - - public void LoadWav(string SongCueName) - { - if (!string.IsNullOrEmpty(SongCueName)) - { - string path = Path.Combine("//cygames-fas02/100_projects/083_stage/31_sound/05_SONG/マスター音源/オフセット調整済", SongCueName + ".wav"); - if (File.Exists(path)) - { - FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read); - Encoding encoding = Encoding.GetEncoding("Shift_JIS"); - byte[] array = new byte[4]; - fileStream.Read(array, 0, 4); - fileStream.Read(array, 0, 4); - fileStream.Read(array, 0, 4); - bool flag = true; - while (flag) - { - fileStream.Read(array, 0, 4); - switch (encoding.GetString(array)) - { - case "fmt ": - fileStream.Read(array, 0, 4); - _fmtInfo.headFMTsize = BitConverter.ToInt32(array, 0); - fileStream.Read(array, 0, 2); - _fmtInfo.formatID = BitConverter.ToInt32(array, 0); - fileStream.Read(array, 0, 2); - _fmtInfo.ch = (int)BitConverter.ToUInt32(array, 0); - fileStream.Read(array, 0, 4); - _fmtInfo.sampleRate = BitConverter.ToInt32(array, 0); - fileStream.Read(array, 0, 4); - _fmtInfo.dataBytePerSec = BitConverter.ToInt32(array, 0); - fileStream.Read(array, 0, 2); - _fmtInfo.blockSize = BitConverter.ToInt16(array, 0); - fileStream.Read(array, 0, 2); - _fmtInfo.bitPerSample = BitConverter.ToUInt16(array, 0); - break; - case "data": - { - fileStream.Read(array, 0, 4); - _dataInfo.dataSize = BitConverter.ToInt32(array, 0); - byte[] array2 = new byte[_dataInfo.dataSize]; - fileStream.Read(array2, 0, _dataInfo.dataSize); - if (_dataInfo.waveBuff != null) - { - _dataInfo.waveBuff = null; - } - _dataInfo.waveBuff = new short[GetSampleLength()]; - int num = 0; - for (int i = 0; i < GetSampleLength(); i++) - { - _dataInfo.waveBuff[i] = (short)(array2[num++] + array2[num++] * 256); - } - flag = false; - break; - } - } - } - fileStream.Close(); - _isLoaded = true; - } - } - } - - public int GetSampleLength() - { - if (_dataInfo == null || _fmtInfo == null) - { - return 0; - } - return _dataInfo.dataSize / _fmtInfo.ch; - } - - public void CreateWave(Rect area, int fps, int totalFrame, float oneFramePerPixel, int viewFrameCount) - { - if (_dataInfo != null && _isLoaded) - { - _pointsMap.Clear(); - int num = frameToByte(1, fps); - int num2 = (int)((float)num / oneFramePerPixel / 10f); - float num3 = area.y + area.height / 2f; - for (int i = 0; i < totalFrame; i++) - { - float x = area.x + (float)i * oneFramePerPixel; - float num4 = num3; - int num5 = frameToByte(i, fps); - int num6 = frameToByte(i + 1, fps); - List list = new List(); - if (num6 < _dataInfo.waveBuff.Length) - { - for (int j = num5; j < num6; j += num2) - { - float num7 = (float)_dataInfo.waveBuff[j] / 32767f; - num4 = num3 + area.height / 2f * num7; - list.Add(new Vector3(x, num4)); - } - _pointsMap.Add(i, list); - } - } - } - } - - public Vector3[] GetWavePoint(int startFrame, int visibleFrameCount, float oneFramePerPixel, float offsetPixelY) - { - if (_pointsMap.Count == 0 || !_isLoaded) - { - return null; - } - List list = new List(); - float num = oneFramePerPixel * (float)startFrame; - int num2 = startFrame + visibleFrameCount; - for (int i = startFrame; i < num2; i++) - { - if (_pointsMap.ContainsKey(i)) - { - foreach (Vector3 item2 in _pointsMap[i]) - { - Vector3 item = item2; - item.x -= num; - item.y += offsetPixelY; - list.Add(item); - } - } - } - return list.ToArray(); - } - - private int frameToByte(int frame, int fps) - { - return (int)((float)frame / (float)fps * (float)_fmtInfo.sampleRate * (float)_fmtInfo.ch); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs.meta deleted file mode 100644 index 4c59d39..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/WaveForm.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6d5f561252b1a6148bdf440db36c9858 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs deleted file mode 100644 index 142a816..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Cutt -{ - internal static class eEffectOwnerUtil - { - public static int ToCharaPosIndex(eEffectOwner owner) - { - if (eEffectOwner.World == owner) - { - return 0; - } - if (owner < eEffectOwner.World) - { - return (int)owner; - } - return (int)(owner - 1); - } - - public static eEffectOwner FromLiveCharaPosition(LiveCharaPosition charaPos) - { - if (charaPos <= LiveCharaPosition.Right2) - { - return (eEffectOwner)charaPos; - } - return (eEffectOwner)(charaPos + 1); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs.meta deleted file mode 100644 index 36522e5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/eEffectOwnerUtil.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: bd75b2a478183884993b2f71da9126e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension.meta deleted file mode 100644 index a01a322..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7549f27f3e59a0049a9e7e5c964c9314 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs deleted file mode 100644 index f697ca2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs +++ /dev/null @@ -1,43 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public static class CuttRect_Helper - { - public static Rect Extend(this Rect rect, float extendVal) - { - float num = extendVal / 2f; - rect.x -= num; - rect.y -= num; - rect.width += extendVal; - rect.height += extendVal; - return rect; - } - - public static Rect GetTopEdge(this Rect rect, float width) - { - rect.height = width; - return rect; - } - - public static Rect GetLeftEdge(this Rect rect, float width) - { - rect.width = width; - return rect; - } - - public static Rect GetRightEdge(this Rect rect, float width) - { - rect.x = rect.x + rect.width - width; - rect.width = width; - return rect; - } - - public static Rect GetBottomEdge(this Rect rect, float width) - { - rect.y = rect.y + rect.height - width; - rect.height = width; - return rect; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs.meta deleted file mode 100644 index f76c679..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttRect_Helper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 79254c471421daf448c0e5d580d65b07 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs deleted file mode 100644 index 2fccd05..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs +++ /dev/null @@ -1,16 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public static class CuttVector3_Helper - { - public static Vector3 Round(this Vector3 This) - { - float num = 1000f; - This.x = Mathf.Round(This.x * num) / num; - This.y = Mathf.Round(This.y * num) / num; - This.z = Mathf.Round(This.z * num) / num; - return This; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs.meta deleted file mode 100644 index 30736f0..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/CuttVector3_Helper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 96f3df45728d55d458f7dd7dc1313f96 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs deleted file mode 100644 index cfba09f..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace Cutt -{ - public static class LiveCharaPositionFlag_Helper - { - public static LiveCharaPositionFlag Default5 => LiveCharaPositionFlag.Center | LiveCharaPositionFlag.Left1 | LiveCharaPositionFlag.Right1 | LiveCharaPositionFlag.Left2 | LiveCharaPositionFlag.Right2; - - public static LiveCharaPositionFlag Everyone => LiveCharaPositionFlag.All; - - public static bool hasFlag(this LiveCharaPositionFlag This, LiveCharaPosition pos) - { - return This.hasFlag((LiveCharaPositionFlag)(1 << (int)pos)); - } - - public static bool hasFlag(this LiveCharaPositionFlag This, int bit) - { - return This.hasFlag((LiveCharaPositionFlag)bit); - } - - public static bool hasFlag(this LiveCharaPositionFlag This, LiveCharaPositionFlag bit) - { - return (This & bit) != 0; - } - } - -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs.meta deleted file mode 100644 index 4bb8499..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveCharaPositionFlag_Helper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f222535d176e7dc45b3dcd966ce60a94 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs deleted file mode 100644 index 944a8f7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace Cutt -{ - public static class LiveTimelineKeyAttribute_Ext - { - public static bool hasFlag(this LiveTimelineKeyAttribute This, LiveTimelineKeyAttribute bit) - { - return (This & bit) != (LiveTimelineKeyAttribute)0; - } - - public static LiveTimelineKeyAttribute addFlag(this LiveTimelineKeyAttribute This, LiveTimelineKeyAttribute bit, bool on) - { - if (on) - { - return This | bit; - } - return This & ~bit; - } - - public static int GetHighWord(this LiveTimelineKeyAttribute This) - { - return (int)This >> 16; - } - - public static LiveTimelineKeyAttribute SetHighWord(this LiveTimelineKeyAttribute This, int val) - { - LiveTimelineKeyAttribute liveTimelineKeyAttribute = (LiveTimelineKeyAttribute)(val << 16); - return liveTimelineKeyAttribute | (This & LiveTimelineKeyAttribute.KeyCommonBitMask); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs.meta deleted file mode 100644 index f6596a1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineKeyAttribute_Ext.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7db579bdf3b10e04cb6fbb400a4b0b71 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs deleted file mode 100644 index 6d45355..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs +++ /dev/null @@ -1,85 +0,0 @@ -using UnityEngine; - -namespace Cutt -{ - public static class LiveTimelineVector3_Extend - { - public static Vector3 Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp, ref float t) - { - Vector3 v; - start.Bezier(ref end, ref cp, ref t, out v); - return v; - } - - public static void Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp, ref float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t; - float num3 = 2f * t * num; - float num4 = num * num; - v3.x = num2 * end.x + num3 * cp.x + num4 * start.x; - v3.y = num2 * end.y + num3 * cp.y + num4 * start.y; - v3.z = num2 * end.z + num3 * cp.z + num4 * start.z; - } - - public static Vector3 Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref float t) - { - Vector3 v; - start.Bezier(ref end, ref cp1, ref cp2, ref t, out v); - return v; - } - - public static void Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t; - float num3 = 3f * t * t * num; - float num4 = 3f * t * num * num; - float num5 = num * num * num; - v3.x = num2 * end.x + num3 * cp2.x + num4 * cp1.x + num5 * start.x; - v3.y = num2 * end.y + num3 * cp2.y + num4 * cp1.y + num5 * start.y; - v3.z = num2 * end.z + num3 * cp2.z + num4 * cp1.z + num5 * start.z; - } - - public static Vector3 Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, ref float t) - { - Vector3 v; - start.Bezier(ref end, ref cp1, ref cp2, ref cp3, ref t, out v); - return v; - } - - public static void Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, ref float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t * t; - float num3 = 4f * t * t * t * num; - float num4 = 4f * t * t * num * num; - float num5 = 4f * t * num * num * num; - float num6 = num * num * num * num; - v3.x = num2 * end.x + num3 * cp3.x + num4 * cp2.x + num5 * cp1.x + num6 * start.x; - v3.y = num2 * end.y + num3 * cp3.y + num4 * cp2.y + num5 * cp1.y + num6 * start.y; - v3.z = num2 * end.z + num3 * cp3.z + num4 * cp2.z + num5 * cp1.z + num6 * start.z; - } - - public static Vector3 Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, ref Vector3 cp4, ref float t) - { - Vector3 v; - start.Bezier(ref end, ref cp1, ref cp2, ref cp3, ref cp4, ref t, out v); - return v; - } - - public static void Bezier(this Vector3 start, ref Vector3 end, ref Vector3 cp1, ref Vector3 cp2, ref Vector3 cp3, ref Vector3 cp4, ref float t, out Vector3 v3) - { - float num = 1f - t; - float num2 = t * t * t * t * t; - float num3 = 5f * t * t * t * t * num; - float num4 = 5f * t * t * t * num * num; - float num5 = 5f * t * t * num * num * num; - float num6 = 5f * t * num * num * num * num; - float num7 = num * num * num * num * num; - v3.x = num2 * end.x + num3 * cp4.x + num4 * cp3.x + num5 * cp2.x + num6 * cp1.x + num7 * start.x; - v3.y = num2 * end.y + num3 * cp4.y + num4 * cp3.y + num5 * cp2.y + num6 * cp1.y + num7 * start.y; - v3.z = num2 * end.z + num3 * cp4.z + num4 * cp3.z + num5 * cp2.z + num6 * cp1.z + num7 * start.z; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs.meta deleted file mode 100644 index db727fe..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/Cutt/extension/LiveTimelineVector3_Extend.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0b87d30506225644ba75613620ac3ed -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs b/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs deleted file mode 100644 index 85b35c1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class ExitManage : MonoBehaviour -{ - - // Use this for initialization - void Start() - { - - } - - // Update is called once per frame - void Update() - { - - if (Input.GetButtonDown("ReturnMenu")) - { -#if UNITY_EDITOR - UnityEditor.EditorApplication.isPlaying = false; -#elif UNITY_STANDALONE - UnityEngine.Application.Quit(); -#endif - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs.meta deleted file mode 100644 index 4cba107..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/ExitManage.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 6adffe7febdbcee42a7d81a4e4bbb421 -timeCreated: 1535544451 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/IK.meta b/Assets/Scripts/umamusume/Gallop/DereScript/IK.meta deleted file mode 100644 index 1072732..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/IK.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cdcaebeba8a7a0c4aaa19fe5e035efce -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs deleted file mode 100644 index 9271968..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs +++ /dev/null @@ -1,62 +0,0 @@ -using UnityEngine; - -namespace IK -{ - public static class Helper - { - public static readonly Vector3 AxisRight = Vector3.right; - - public static readonly Vector3 AxisUp = Vector3.up; - - public static readonly Vector3 AxisForward = Vector3.forward; - - public const float SqrEpsilon = 1E-12f; - - public const float DotSmall = 0.999999f; - - public static readonly Quaternion QuaternionIdentity = Quaternion.identity; - - public static Quaternion MakeQuaternion(float x, float y, float z) - { - float w = Mathf.Cos(x / 2f); - float x2 = Mathf.Sin(x / 2f); - float w2 = Mathf.Cos(y / 2f); - float y2 = Mathf.Sin(y / 2f); - float w3 = Mathf.Cos(z / 2f); - float z2 = Mathf.Sin(z / 2f); - Quaternion quaternion = default(Quaternion); - quaternion.x = x2; - quaternion.y = 0f; - quaternion.z = 0f; - quaternion.w = w; - Quaternion quaternion2 = default(Quaternion); - quaternion2.x = 0f; - quaternion2.y = y2; - quaternion2.z = 0f; - quaternion2.w = w2; - Quaternion quaternion3 = default(Quaternion); - quaternion3.x = 0f; - quaternion3.y = 0f; - quaternion3.z = z2; - quaternion3.w = w3; - return quaternion2 * quaternion * quaternion3; - } - - public static void FindBestAxisVectors(Vector3 dir, out Vector3 axis1, out Vector3 axis2) - { - float num = Mathf.Abs(dir.x); - float num2 = Mathf.Abs(dir.y); - float num3 = Mathf.Abs(dir.z); - if (num2 > num && num2 > num3) - { - axis1 = AxisRight; - } - else - { - axis1 = AxisUp; - } - axis1 = Vector3.Normalize(axis1 - dir * Vector3.Dot(axis1, dir)); - axis2 = Vector3.Cross(axis1, dir); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs.meta deleted file mode 100644 index a39099d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/IK/Helper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 1b27d042375ac7449b30435c60d9b91c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs b/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs deleted file mode 100644 index 62f957a..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs +++ /dev/null @@ -1,172 +0,0 @@ -using UnityEngine; - -namespace IK -{ - public class TwoBoneIK - { - private class JointInfo - { - public Transform transform; - - public float distance; - } - - public enum EffectorRotationType - { - None, - World, - Local - } - - private const int JointNum = 3; - - private const int Root = 0; - - private const int Center = 1; - - private const int EndEffector = 2; - - private JointInfo[] _joint; - - public Vector3 TargetPosition { get; set; } - - public Vector3 JointTargetPosition { get; set; } - - public Transform EndEffectorTransform => _joint[EndEffector].transform; - - public float BlendAlpha { get; set; } - - public Quaternion EndEffectorRotation { get; set; } - - public EffectorRotationType EndEffectorRotationType { get; set; } - - public void Initialize(Transform endEffector) - { - Transform transform = endEffector; - _joint = new JointInfo[JointNum]; - - _joint[EndEffector] = new JointInfo(); - _joint[EndEffector].transform = transform; - transform = transform.parent; - - _joint[Center] = new JointInfo(); - _joint[Center].transform = transform; - transform = transform.parent; - - _joint[Root] = new JointInfo(); - _joint[Root].transform = transform; - for (int i = 0; i < 2; i++) - { - _joint[i].distance = Vector3.Distance(_joint[i].transform.position, _joint[i + 1].transform.position); - } - } - - public void Solve() - { - float blendAlpha = BlendAlpha; - if (blendAlpha <= 0f) - { - return; - } - Vector3 positionRoot = _joint[Root].transform.position; - Vector3 positionCenter = _joint[Center].transform.position; - Vector3 positionEndEffector = _joint[EndEffector].transform.position; - float distanceRoot = _joint[Root].distance; - float distanceCenter = _joint[Center].distance; - - Vector3 vector = TargetPosition - positionRoot; - float num = vector.magnitude; - if (num < 1E-06f) - { - num = 1E-06f; - vector = Helper.AxisUp; - } - else - { - vector /= num; - } - Vector3 vector2 = JointTargetPosition - positionRoot; - Vector3 axis; - if (vector2.sqrMagnitude < 1E-12f) - { - axis = Helper.AxisUp; - } - else - { - Vector3 axis2 = Vector3.Cross(vector, vector2); - if (axis2.sqrMagnitude < 1E-12f) - { - Helper.FindBestAxisVectors(axis2, out axis2, out axis); - } - else - { - axis = Vector3.Normalize(vector2 - vector * Vector3.Dot(vector2, vector)); - } - } - Vector3 vector3 = TargetPosition; - Vector3 vector4 = positionCenter; - float num2 = distanceRoot + distanceCenter; - if (num > num2) - { - vector3 = positionRoot + num2 * vector; - vector4 = positionRoot + distanceRoot * vector; - } - else - { - float num3 = 2f * distanceRoot * num; - float num4 = ((num3 != 0f) ? ((distanceRoot * distanceRoot + num * num - distanceCenter * distanceCenter) / num3) : 0f); - if (num4 > 1f || num4 < -1f) - { - if (distanceRoot > distanceCenter) - { - vector4 = positionRoot + distanceRoot * vector; - vector3 = vector4 - distanceCenter * vector; - } - else - { - vector4 = positionRoot - distanceRoot * vector; - vector3 = vector4 + distanceCenter * vector; - } - } - else - { - float f = Mathf.Acos(num4); - bool num5 = num4 < 0f; - float num6 = distanceRoot * Mathf.Sin(f); - float num7 = distanceRoot * distanceRoot - num6 * num6; - float num8 = ((num7 > 0f) ? Mathf.Sqrt(num7) : 0f); - if (num5) - { - num8 *= -1f; - } - vector4 = positionRoot + num8 * vector + num6 * axis; - } - } - Vector3 vector5 = Vector3.Normalize(vector4 - positionRoot); - Vector3 vector6 = Vector3.Normalize(positionCenter - positionRoot); - if (Vector3.Dot(vector6, vector5) < 0.999999f) - { - Quaternion quaternion = Quaternion.Lerp(Helper.QuaternionIdentity, Quaternion.FromToRotation(vector6, vector5), blendAlpha); - _joint[Root].transform.rotation = quaternion * _joint[Root].transform.rotation; - positionCenter = _joint[Center].transform.position; - positionEndEffector = _joint[EndEffector].transform.position; - } - Vector3 vector7 = Vector3.Normalize(vector3 - positionCenter); - Vector3 vector8 = Vector3.Normalize(positionEndEffector - positionCenter); - if (Vector3.Dot(vector8, vector7) < 0.999999f) - { - Quaternion quaternion2 = Quaternion.Lerp(Helper.QuaternionIdentity, Quaternion.FromToRotation(vector8, vector7), blendAlpha); - _joint[Center].transform.rotation = quaternion2 * _joint[Center].transform.rotation; - } - switch (EndEffectorRotationType) - { - case EffectorRotationType.Local: - _joint[EndEffector].transform.localRotation = Quaternion.Lerp(_joint[EndEffector].transform.localRotation, EndEffectorRotation, blendAlpha); - break; - case EffectorRotationType.World: - _joint[EndEffector].transform.rotation = Quaternion.Lerp(_joint[EndEffector].transform.rotation, EndEffectorRotation, blendAlpha); - break; - } - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs.meta deleted file mode 100644 index 0ef5fb5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/IK/TwoBoneIK.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 59546c1f7e89ff7448898b1f2fea2943 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs b/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs deleted file mode 100644 index 3f414ab..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs +++ /dev/null @@ -1,39 +0,0 @@ -using UnityEngine; - -[CreateAssetMenu(menuName = "MyGame/Create InitializerTable", fileName = "InitializerTable")] -public class InitializerTable : ScriptableObject -{ - private static readonly string RESOURCE_PATH = "InitializerTable"; - - private static InitializerTable s_instance = null; - public static InitializerTable Instance - { - get - { - if (s_instance == null) - { - var asset = Resources.Load(RESOURCE_PATH) as InitializerTable; - if (asset == null) - { - Debug.AssertFormat(false, "Missing ParameterTable! path={0}", RESOURCE_PATH); - asset = CreateInstance(); - } - - s_instance = asset; - } - - return s_instance; - } - } - - [SerializeField] - public GameObject AssetManager; - [SerializeField] - public GameObject ViewLauncher; - [SerializeField] - public GameObject UIManager; - [SerializeField] - public GameObject ResourcesManager; - -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs.meta deleted file mode 100644 index 8d9a496..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/InitializerTable.cs.meta +++ /dev/null @@ -1,21 +0,0 @@ -fileFormatVersion: 2 -guid: 1cdb289ecc211924c936029453553d2f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: - - AssetManager: {fileID: 1424761278294006, guid: 225830c6b4446534b9aaa2774fdf0f66, - type: 3} - - ViewLauncher: {fileID: 1017709163172154, guid: ffbeaf1343e9f124bbf305c0f577fef6, - type: 3} - - UIManager: {fileID: 1000252722014012, guid: 72968037c972e664eb72b462a87073d3, - type: 3} - - ResourcesManager: {fileID: 1919624044972194, guid: d3b21f3230f8bfd4bb14758c92b0c5c7, - type: 3} - - VRManager: {fileID: 2554907083772881043, guid: bf8c1dc0a03b3524797be98cb5f35bd5, - type: 3} - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4.meta deleted file mode 100644 index d42168c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8eaf4d3b9ce42954f9395f10cdb9a039 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs deleted file mode 100644 index 7b55e92..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs +++ /dev/null @@ -1,757 +0,0 @@ -#region license - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -using System; -using System.Diagnostics; - -// ReSharper disable CheckNamespace -// ReSharper disable InconsistentNaming - -namespace LZ4ps -{ - /// Safe LZ4 codec. - public static partial class LZ4Codec - { - #region Helper - - // ReSharper disable UnusedParameter.Local - - [Conditional("DEBUG")] - private static void Assert(bool condition, string errorMessage) - { - if (!condition) throw new ArgumentException(errorMessage); - Debug.Assert(condition, errorMessage); - } - - // ReSharper restore UnusedParameter.Local - - #endregion - - #region Byte manipulation - - // ReSharper disable RedundantCast - - internal static void Poke2(byte[] buffer, int offset, ushort value) - { - buffer[offset] = (byte)value; - buffer[offset + 1] = (byte)(value >> 8); - } - - internal static ushort Peek2(byte[] buffer, int offset) - { - // NOTE: It's faster than BitConverter.ToUInt16 (suprised? me too) - return (ushort)(((uint)buffer[offset]) | ((uint)buffer[offset + 1] << 8)); - } - - internal static uint Peek4(byte[] buffer, int offset) - { - // NOTE: It's faster than BitConverter.ToUInt32 (suprised? me too) - return - ((uint)buffer[offset]) | - ((uint)buffer[offset + 1] << 8) | - ((uint)buffer[offset + 2] << 16) | - ((uint)buffer[offset + 3] << 24); - } - - private static uint Xor4(byte[] buffer, int offset1, int offset2) - { - // return Peek4(buffer, offset1) ^ Peek4(buffer, offset2); - var value1 = - ((uint)buffer[offset1]) | - ((uint)buffer[offset1 + 1] << 8) | - ((uint)buffer[offset1 + 2] << 16) | - ((uint)buffer[offset1 + 3] << 24); - var value2 = - ((uint)buffer[offset2]) | - ((uint)buffer[offset2 + 1] << 8) | - ((uint)buffer[offset2 + 2] << 16) | - ((uint)buffer[offset2 + 3] << 24); - return value1 ^ value2; - } - - private static ulong Xor8(byte[] buffer, int offset1, int offset2) - { - // return Peek8(buffer, offset1) ^ Peek8(buffer, offset2); - var value1 = - ((ulong)buffer[offset1]) | - ((ulong)buffer[offset1 + 1] << 8) | - ((ulong)buffer[offset1 + 2] << 16) | - ((ulong)buffer[offset1 + 3] << 24) | - ((ulong)buffer[offset1 + 4] << 32) | - ((ulong)buffer[offset1 + 5] << 40) | - ((ulong)buffer[offset1 + 6] << 48) | - ((ulong)buffer[offset1 + 7] << 56); - var value2 = - ((ulong)buffer[offset2]) | - ((ulong)buffer[offset2 + 1] << 8) | - ((ulong)buffer[offset2 + 2] << 16) | - ((ulong)buffer[offset2 + 3] << 24) | - ((ulong)buffer[offset2 + 4] << 32) | - ((ulong)buffer[offset2 + 5] << 40) | - ((ulong)buffer[offset2 + 6] << 48) | - ((ulong)buffer[offset2 + 7] << 56); - return value1 ^ value2; - } - - private static bool Equal2(byte[] buffer, int offset1, int offset2) - { - // return Peek2(buffer, offset1) == Peek2(buffer, offset2); - if (buffer[offset1] != buffer[offset2]) return false; - return buffer[offset1 + 1] == buffer[offset2 + 1]; - } - - private static bool Equal4(byte[] buffer, int offset1, int offset2) - { - // return Peek4(buffer, offset1) == Peek4(buffer, offset2); - if (buffer[offset1] != buffer[offset2]) return false; - if (buffer[offset1 + 1] != buffer[offset2 + 1]) return false; - if (buffer[offset1 + 2] != buffer[offset2 + 2]) return false; - return buffer[offset1 + 3] == buffer[offset2 + 3]; - } - - // ReSharper restore RedundantCast - - #endregion - - #region Byte block copy - - private static void Copy4(byte[] buf, int src, int dst) - { - Assert(dst > src, "Copying backwards is not implemented"); - buf[dst + 3] = buf[src + 3]; - buf[dst + 2] = buf[src + 2]; - buf[dst + 1] = buf[src + 1]; - buf[dst] = buf[src]; - } - - private static void Copy8(byte[] buf, int src, int dst) - { - Assert(dst > src, "Copying backwards is not implemented"); - buf[dst + 7] = buf[src + 7]; - buf[dst + 6] = buf[src + 6]; - buf[dst + 5] = buf[src + 5]; - buf[dst + 4] = buf[src + 4]; - buf[dst + 3] = buf[src + 3]; - buf[dst + 2] = buf[src + 2]; - buf[dst + 1] = buf[src + 1]; - buf[dst] = buf[src]; - } - - private static void BlockCopy(byte[] src, int src_0, byte[] dst, int dst_0, int len) - { - Assert(src != dst, "BlockCopy does not handle copying to the same buffer"); - - if (len >= BLOCK_COPY_LIMIT) - { - Buffer.BlockCopy(src, src_0, dst, dst_0, len); - } - else - { - while (len >= 8) - { - dst[dst_0] = src[src_0]; - dst[dst_0 + 1] = src[src_0 + 1]; - dst[dst_0 + 2] = src[src_0 + 2]; - dst[dst_0 + 3] = src[src_0 + 3]; - dst[dst_0 + 4] = src[src_0 + 4]; - dst[dst_0 + 5] = src[src_0 + 5]; - dst[dst_0 + 6] = src[src_0 + 6]; - dst[dst_0 + 7] = src[src_0 + 7]; - len -= 8; - src_0 += 8; - dst_0 += 8; - } - - while (len >= 4) - { - dst[dst_0] = src[src_0]; - dst[dst_0 + 1] = src[src_0 + 1]; - dst[dst_0 + 2] = src[src_0 + 2]; - dst[dst_0 + 3] = src[src_0 + 3]; - len -= 4; - src_0 += 4; - dst_0 += 4; - } - - while (len-- > 0) - { - dst[dst_0++] = src[src_0++]; - } - } - } - - private static int WildCopy(byte[] src, int src_0, byte[] dst, int dst_0, int dst_end) - { - var len = dst_end - dst_0; - - Assert(src != dst, "BlockCopy does not handle copying to the same buffer"); - Assert(len > 0, "Length have to be greater than 0"); - - if (len >= BLOCK_COPY_LIMIT) - { - Buffer.BlockCopy(src, src_0, dst, dst_0, len); - } - else - { - // apparently (tested) this is an overkill - // it seems to be faster without this 8-byte loop - //while (len >= 8) - //{ - // dst[dst_0] = src[src_0]; - // dst[dst_0 + 1] = src[src_0 + 1]; - // dst[dst_0 + 2] = src[src_0 + 2]; - // dst[dst_0 + 3] = src[src_0 + 3]; - // dst[dst_0 + 4] = src[src_0 + 4]; - // dst[dst_0 + 5] = src[src_0 + 5]; - // dst[dst_0 + 6] = src[src_0 + 6]; - // dst[dst_0 + 7] = src[src_0 + 7]; - // len -= 8; src_0 += 8; dst_0 += 8; - //} - - while (len >= 4) - { - dst[dst_0] = src[src_0]; - dst[dst_0 + 1] = src[src_0 + 1]; - dst[dst_0 + 2] = src[src_0 + 2]; - dst[dst_0 + 3] = src[src_0 + 3]; - len -= 4; - src_0 += 4; - dst_0 += 4; - } - - while (len-- > 0) - { - dst[dst_0++] = src[src_0++]; - } - } - - return len; - } - - private static int SecureCopy(byte[] buffer, int src, int dst, int dst_end) - { - var diff = dst - src; - var length = dst_end - dst; - var len = length; - - Assert(diff >= 4, "Target must be at least 4 bytes further than source"); - Assert(BLOCK_COPY_LIMIT > 4, "This method requires BLOCK_COPY_LIMIT > 4"); - Assert(len > 0, "Length have to be greater than 0"); - - if (diff >= BLOCK_COPY_LIMIT) - { - if (diff >= length) - { - Buffer.BlockCopy(buffer, src, buffer, dst, length); - return length; // done - } - - do - { - Buffer.BlockCopy(buffer, src, buffer, dst, diff); - src += diff; - dst += diff; - len -= diff; - } while (len >= diff); - } - - // apparently (tested) this is an overkill - // it seems to be faster without this 8-byte loop - //while (len >= 8) - //{ - // buffer[dst] = buffer[src]; - // buffer[dst + 1] = buffer[src + 1]; - // buffer[dst + 2] = buffer[src + 2]; - // buffer[dst + 3] = buffer[src + 3]; - // buffer[dst + 4] = buffer[src + 4]; - // buffer[dst + 5] = buffer[src + 5]; - // buffer[dst + 6] = buffer[src + 6]; - // buffer[dst + 7] = buffer[src + 7]; - // dst += 8; src += 8; len -= 8; - //} - - while (len >= 4) - { - buffer[dst] = buffer[src]; - buffer[dst + 1] = buffer[src + 1]; - buffer[dst + 2] = buffer[src + 2]; - buffer[dst + 3] = buffer[src + 3]; - dst += 4; - src += 4; - len -= 4; - } - - while (len-- > 0) - { - buffer[dst++] = buffer[src++]; - } - - return length; // done - } - - #endregion - - #region Encode32 - - /// Encodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Number of bytes written. - public static int Encode32( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength) - { - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - if (outputLength == 0) return 0; - - if (inputLength < LZ4_64KLIMIT) - { - var hashTable = new ushort[HASH64K_TABLESIZE]; - return LZ4_compress64kCtx_safe32(hashTable, input, output, inputOffset, outputOffset, inputLength, outputLength); - } - else - { - var hashTable = new int[HASH_TABLESIZE]; - return LZ4_compressCtx_safe32(hashTable, input, output, inputOffset, outputOffset, inputLength, outputLength); - } - } - - /// Encodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// Compressed buffer. - public static byte[] Encode32(byte[] input, int inputOffset, int inputLength) - { - if (inputLength < 0) inputLength = input.Length - inputOffset; - - if (input == null) throw new ArgumentNullException("input"); - if (inputOffset < 0 || inputOffset + inputLength > input.Length) - throw new ArgumentException("inputOffset and inputLength are invalid for given input"); - - var result = new byte[MaximumOutputLength(inputLength)]; - var length = Encode32(input, inputOffset, inputLength, result, 0, result.Length); - - if (length != result.Length) - { - if (length < 0) - throw new InvalidOperationException("Compression has been corrupted"); - var buffer = new byte[length]; - Buffer.BlockCopy(result, 0, buffer, 0, length); - return buffer; - } - return result; - } - - #endregion - - #region Encode64 - - /// Encodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Number of bytes written. - public static int Encode64( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength) - { - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - if (outputLength == 0) return 0; - - if (inputLength < LZ4_64KLIMIT) - { - var hashTable = new ushort[HASH64K_TABLESIZE]; - return LZ4_compress64kCtx_safe64(hashTable, input, output, inputOffset, outputOffset, inputLength, outputLength); - } - else - { - var hashTable = new int[HASH_TABLESIZE]; - return LZ4_compressCtx_safe64(hashTable, input, output, inputOffset, outputOffset, inputLength, outputLength); - } - } - - /// Encodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// Compressed buffer. - public static byte[] Encode64(byte[] input, int inputOffset, int inputLength) - { - if (inputLength < 0) inputLength = input.Length - inputOffset; - - if (input == null) throw new ArgumentNullException("input"); - if (inputOffset < 0 || inputOffset + inputLength > input.Length) - throw new ArgumentException("inputOffset and inputLength are invalid for given input"); - - var result = new byte[MaximumOutputLength(inputLength)]; - var length = Encode64(input, inputOffset, inputLength, result, 0, result.Length); - - if (length != result.Length) - { - if (length < 0) - throw new InvalidOperationException("Compression has been corrupted"); - var buffer = new byte[length]; - Buffer.BlockCopy(result, 0, buffer, 0, length); - return buffer; - } - return result; - } - - #endregion - - #region Decode32 - - /// Decodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Set it to true if output length is known. - /// Number of bytes written. - public static int Decode32( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength, - bool knownOutputLength) - { - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - - if (outputLength == 0) return 0; - - if (knownOutputLength) - { - var length = LZ4_uncompress_safe32(input, output, inputOffset, outputOffset, outputLength); - if (length != inputLength) - throw new ArgumentException("LZ4 block is corrupted, or invalid length has been given."); - return outputLength; - } - else - { - var length = LZ4_uncompress_unknownOutputSize_safe32(input, output, inputOffset, outputOffset, inputLength, outputLength); - if (length < 0) - throw new ArgumentException("LZ4 block is corrupted, or invalid length has been given."); - return length; - } - } - - /// Decodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// Length of the output. - /// Decompressed buffer. - public static byte[] Decode32(byte[] input, int inputOffset, int inputLength, int outputLength) - { - if (inputLength < 0) inputLength = input.Length - inputOffset; - - if (input == null) throw new ArgumentNullException("input"); - if (inputOffset < 0 || inputOffset + inputLength > input.Length) - throw new ArgumentException("inputOffset and inputLength are invalid for given input"); - - var result = new byte[outputLength]; - var length = Decode32(input, inputOffset, inputLength, result, 0, outputLength, true); - if (length != outputLength) - throw new ArgumentException("outputLength is not valid"); - return result; - } - - #endregion - - #region Decode64 - - /// Decodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Set it to true if output length is known. - /// Number of bytes written. - public static int Decode64( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength, - bool knownOutputLength) - { - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - - if (outputLength == 0) return 0; - - if (knownOutputLength) - { - var length = LZ4_uncompress_safe64(input, output, inputOffset, outputOffset, outputLength); - if (length != inputLength) - throw new ArgumentException("LZ4 block is corrupted, or invalid length has been given."); - return outputLength; - } - else - { - var length = LZ4_uncompress_unknownOutputSize_safe64(input, output, inputOffset, outputOffset, inputLength, outputLength); - if (length < 0) - throw new ArgumentException("LZ4 block is corrupted, or invalid length has been given."); - return length; - } - } - - /// Decodes the specified input. - /// The input. - /// The input offset. - /// Length of the input. - /// Length of the output. - /// Decompressed buffer. - public static byte[] Decode64(byte[] input, int inputOffset, int inputLength, int outputLength) - { - if (inputLength < 0) inputLength = input.Length - inputOffset; - - if (input == null) throw new ArgumentNullException("input"); - if (inputOffset < 0 || inputOffset + inputLength > input.Length) - throw new ArgumentException("inputOffset and inputLength are invalid for given input"); - - var result = new byte[outputLength]; - var length = Decode64(input, inputOffset, inputLength, result, 0, outputLength, true); - if (length != outputLength) - throw new ArgumentException("outputLength is not valid"); - return result; - } - - #endregion - - #region HC utilities - - // ReSharper disable InconsistentNaming - - private class LZ4HC_Data_Structure - { - public byte[] src; - public int src_base; - public int src_end; - public int src_LASTLITERALS; - public byte[] dst; - public int dst_base; - public int dst_len; - public int dst_end; - public int[] hashTable; - public ushort[] chainTable; - public int nextToUpdate; - }; - - // ReSharper restore InconsistentNaming - - - private static LZ4HC_Data_Structure LZ4HC_Create(byte[] src, int src_0, int src_len, byte[] dst, int dst_0, int dst_len) - { - var hc4 = new LZ4HC_Data_Structure { - src = src, - src_base = src_0, - src_end = src_0 + src_len, - src_LASTLITERALS = (src_0 + src_len - LASTLITERALS), - dst = dst, - dst_base = dst_0, - dst_len = dst_len, - dst_end = dst_0 + dst_len, - hashTable = new int[HASHHC_TABLESIZE], - chainTable = new ushort[MAXD], - nextToUpdate = src_0 + 1, - }; - - var ct = hc4.chainTable; - for (var i = ct.Length - 1; i >= 0; i--) ct[i] = unchecked((ushort)-1); - - return hc4; - } - - #endregion - - #region Encode32HC - - private static int LZ4_compressHC_32( - byte[] input, int inputOffset, int inputLength, - byte[] output, int outputOffset, int outputLength) - { - return LZ4_compressHCCtx_32( - LZ4HC_Create( - input, inputOffset, inputLength, output, outputOffset, outputLength)); - } - - /// Encodes the specified input using HC codec. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Number of bytes written. NOTE: when output buffer is too small it returns negative value. - public static int Encode32HC( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength) - { - if (inputLength == 0) return 0; - - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - - var length = LZ4_compressHC_32(input, inputOffset, inputLength, output, outputOffset, outputLength); - // NOTE: there is a potential problem here as original implementation returns 0 not -1 - return length <= 0 ? -1 : length; - } - - /// Encodes the specified input using HC codec. - /// The input. - /// The input offset. - /// Length of the input. - /// Buffer with compressed data (NOTE: it can be bigger than input). - public static byte[] Encode32HC( - byte[] input, int inputOffset, int inputLength) - { - if (inputLength == 0) return new byte[0]; - var outputLength = MaximumOutputLength(inputLength); - var result = new byte[outputLength]; - var length = Encode32HC(input, inputOffset, inputLength, result, 0, outputLength); - - if (length < 0) - throw new ArgumentException("Provided data seems to be corrupted."); - - if (length != outputLength) - { - var buffer = new byte[length]; - Buffer.BlockCopy(result, 0, buffer, 0, length); - result = buffer; - } - - return result; - } - - #endregion - - #region Encode64HC - - private static int LZ4_compressHC_64( - byte[] input, int inputOffset, int inputLength, - byte[] output, int outputOffset, int outputLength) - { - return LZ4_compressHCCtx_64( - LZ4HC_Create( - input, inputOffset, inputLength, output, outputOffset, outputLength)); - } - - /// Encodes the specified input using HC codec. - /// The input. - /// The input offset. - /// Length of the input. - /// The output. - /// The output offset. - /// Length of the output. - /// Number of bytes written. NOTE: when output buffer is too small it returns negative value. - public static int Encode64HC( - byte[] input, - int inputOffset, - int inputLength, - byte[] output, - int outputOffset, - int outputLength) - { - if (inputLength == 0) return 0; - - CheckArguments( - input, inputOffset, ref inputLength, - output, outputOffset, ref outputLength); - - var length = LZ4_compressHC_64(input, inputOffset, inputLength, output, outputOffset, outputLength); - // NOTE: there is a potential problem here as original implementation returns 0 not -1 - return length <= 0 ? -1 : length; - } - - /// Encodes the specified input using HC codec. - /// The input. - /// The input offset. - /// Length of the input. - /// Buffer with compressed data (NOTE: it can be bigger than input). - public static byte[] Encode64HC( - byte[] input, int inputOffset, int inputLength) - { - if (inputLength == 0) return new byte[0]; - var outputLength = MaximumOutputLength(inputLength); - var result = new byte[outputLength]; - var length = Encode64HC(input, inputOffset, inputLength, result, 0, outputLength); - - if (length < 0) - throw new ArgumentException("Provided data seems to be corrupted."); - - if (length != outputLength) - { - var buffer = new byte[length]; - Buffer.BlockCopy(result, 0, buffer, 0, length); - result = buffer; - } - - return result; - } - - #endregion - } -} - -// ReSharper restore InconsistentNaming -// ReSharper restore CheckNamespace diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs.meta deleted file mode 100644 index c5fc009..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a2f5d2c7e152d8f43ab710530107c9ff -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs deleted file mode 100644 index 85e7c49..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs +++ /dev/null @@ -1,795 +0,0 @@ -#region LZ4 original - -/* - LZ4 - Fast LZ compression algorithm - Copyright (C) 2011-2012, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - You can contact the author at : - - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html - - LZ4 source repository : http://code.google.com/p/lz4/ -*/ - -#endregion - -#region LZ4 port - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -// ReSharper disable CheckNamespace -// ReSharper disable InconsistentNaming -// ReSharper disable TooWideLocalVariableScope -// ReSharper disable JoinDeclarationAndInitializer -// ReSharper disable RedundantIfElseBlock - -namespace LZ4ps -{ - public static partial class LZ4Codec - { - #region LZ4_compressCtx - - private static int LZ4_compressCtx_safe32( - int[] hash_table, - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var debruijn32 = DEBRUIJN_TABLE_32; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_base = src_0; - var src_anchor = src_p; - var src_end = src_p + src_len; - var src_mflimit = src_end - MFLIMIT; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - - var src_LASTLITERALS = src_end - LASTLITERALS; - var src_LASTLITERALS_1 = src_LASTLITERALS - 1; - - var src_LASTLITERALS_STEPSIZE_1 = src_LASTLITERALS - (STEPSIZE_32 - 1); - var dst_LASTLITERALS_1 = dst_end - (1 + LASTLITERALS); - var dst_LASTLITERALS_3 = dst_end - (2 + 1 + LASTLITERALS); - - int length; - - uint h, h_fwd; - - // Init - if (src_len < MINLENGTH) goto _last_literals; - - // First Byte - hash_table[(((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST)] = (src_p - src_base); - src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - - // Main Loop - while (true) - { - var findMatchAttempts = (1 << SKIPSTRENGTH) + 3; - var src_p_fwd = src_p; - int src_ref; - int dst_token; - - // Find a match - do - { - h = h_fwd; - var step = findMatchAttempts++ >> SKIPSTRENGTH; - src_p = src_p_fwd; - src_p_fwd = src_p + step; - - if (src_p_fwd > src_mflimit) goto _last_literals; - - h_fwd = (((Peek4(src, src_p_fwd)) * 2654435761u) >> HASH_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (src_p - src_base); - } while ((src_ref < src_p - MAX_DISTANCE) || (!Equal4(src, src_ref, src_p))); - - // Catch up - while ((src_p > src_anchor) && (src_ref > src_0) && (src[src_p - 1] == src[src_ref - 1])) - { - src_p--; - src_ref--; - } - - // Encode Literal length - length = (src_p - src_anchor); - dst_token = dst_p++; - - if (dst_p + length + (length >> 8) > dst_LASTLITERALS_3) return 0; // Check output limit - - if (length >= RUN_MASK) - { - var len = length - RUN_MASK; - dst[dst_token] = (RUN_MASK << ML_BITS); - if (len > 254) - { - do - { - dst[dst_p++] = 255; - len -= 255; - } while (len > 254); - dst[dst_p++] = (byte)len; - BlockCopy(src, src_anchor, dst, dst_p, length); - dst_p += length; - goto _next_match; - } - else - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) - { - _i = dst_p + length; - WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - _next_match: - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Start Counting - src_p += MINMATCH; - src_ref += MINMATCH; // MinMatch already verified - src_anchor = src_p; - - while (src_p < src_LASTLITERALS_STEPSIZE_1) - { - var diff = (int)Xor4(src, src_ref, src_p); - if (diff == 0) - { - src_p += STEPSIZE_32; - src_ref += STEPSIZE_32; - continue; - } - src_p += debruijn32[((uint)((diff) & -(diff)) * 0x077CB531u) >> 27]; - goto _endCount; - } - - if ((src_p < src_LASTLITERALS_1) && (Equal2(src, src_ref, src_p))) - { - src_p += 2; - src_ref += 2; - } - if ((src_p < src_LASTLITERALS) && (src[src_ref] == src[src_p])) src_p++; - - _endCount: - // Encode MatchLength - length = (src_p - src_anchor); - - if (dst_p + (length >> 8) > dst_LASTLITERALS_1) return 0; // Check output limit - - if (length >= ML_MASK) - { - dst[dst_token] += ML_MASK; - length -= ML_MASK; - for (; length > 509; length -= 510) - { - dst[dst_p++] = 255; - dst[dst_p++] = 255; - } - if (length > 254) - { - length -= 255; - dst[dst_p++] = 255; - } - dst[dst_p++] = (byte)length; - } - else - { - dst[dst_token] += (byte)length; - } - - // Test end of chunk - if (src_p > src_mflimit) - { - src_anchor = src_p; - break; - } - - // Fill table - hash_table[(((Peek4(src, src_p - 2)) * 2654435761u) >> HASH_ADJUST)] = (src_p - 2 - src_base); - - // Test next position - - h = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (src_p - src_base); - - if ((src_ref > src_p - (MAX_DISTANCE + 1)) && (Equal4(src, src_ref, src_p))) - { - dst_token = dst_p++; - dst[dst_token] = 0; - goto _next_match; - } - - // Prepare next loop - src_anchor = src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - } - - _last_literals: - // Encode Last Literals - { - var lastRun = (src_end - src_anchor); - - if (dst_p + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > dst_end) return 0; - - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else dst[dst_p++] = (byte)(lastRun << ML_BITS); - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - } - - // End - return ((dst_p) - dst_0); - } - - #endregion - - #region LZ4_compress64kCtx - - private static int LZ4_compress64kCtx_safe32( - ushort[] hash_table, - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var debruijn32 = DEBRUIJN_TABLE_32; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_anchor = src_p; - var src_base = src_p; - var src_end = src_p + src_len; - var src_mflimit = src_end - MFLIMIT; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - - var src_LASTLITERALS = src_end - LASTLITERALS; - var src_LASTLITERALS_1 = src_LASTLITERALS - 1; - - var src_LASTLITERALS_STEPSIZE_1 = src_LASTLITERALS - (STEPSIZE_32 - 1); - var dst_LASTLITERALS_1 = dst_end - (1 + LASTLITERALS); - var dst_LASTLITERALS_3 = dst_end - (2 + 1 + LASTLITERALS); - - int len, length; - - uint h, h_fwd; - - // Init - if (src_len < MINLENGTH) goto _last_literals; - - // First Byte - src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - - // Main Loop - while (true) - { - var findMatchAttempts = (1 << SKIPSTRENGTH) + 3; - var src_p_fwd = src_p; - int src_ref; - int dst_token; - - // Find a match - do - { - h = h_fwd; - var step = findMatchAttempts++ >> SKIPSTRENGTH; - src_p = src_p_fwd; - src_p_fwd = src_p + step; - - if (src_p_fwd > src_mflimit) goto _last_literals; - - h_fwd = (((Peek4(src, src_p_fwd)) * 2654435761u) >> HASH64K_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (ushort)(src_p - src_base); - } while (!Equal4(src, src_ref, src_p)); - - // Catch up - while ((src_p > src_anchor) && (src_ref > src_0) && (src[src_p - 1] == src[src_ref - 1])) - { - src_p--; - src_ref--; - } - - // Encode Literal length - length = (src_p - src_anchor); - dst_token = dst_p++; - - if (dst_p + length + (length >> 8) > dst_LASTLITERALS_3) return 0; // Check output limit - - if (length >= RUN_MASK) - { - len = length - RUN_MASK; - dst[dst_token] = (RUN_MASK << ML_BITS); - if (len > 254) - { - do - { - dst[dst_p++] = 255; - len -= 255; - } while (len > 254); - dst[dst_p++] = (byte)len; - BlockCopy(src, src_anchor, dst, dst_p, length); - dst_p += length; - goto _next_match; - } - else - { - dst[dst_p++] = (byte)len; - } - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) - { - _i = dst_p + length; - WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - _next_match: - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Start Counting - src_p += MINMATCH; - src_ref += MINMATCH; // MinMatch verified - src_anchor = src_p; - - while (src_p < src_LASTLITERALS_STEPSIZE_1) - { - var diff = (int)Xor4(src, src_ref, src_p); - if (diff == 0) - { - src_p += STEPSIZE_32; - src_ref += STEPSIZE_32; - continue; - } - src_p += debruijn32[((uint)((diff) & -(diff)) * 0x077CB531u) >> 27]; - goto _endCount; - } - - if ((src_p < src_LASTLITERALS_1) && (Equal2(src, src_ref, src_p))) - { - src_p += 2; - src_ref += 2; - } - if ((src_p < src_LASTLITERALS) && (src[src_ref] == src[src_p])) src_p++; - - _endCount: - - // Encode MatchLength - len = (src_p - src_anchor); - - if (dst_p + (len >> 8) > dst_LASTLITERALS_1) return 0; // Check output limit - - if (len >= ML_MASK) - { - dst[dst_token] += ML_MASK; - len -= ML_MASK; - for (; len > 509; len -= 510) - { - dst[dst_p++] = 255; - dst[dst_p++] = 255; - } - if (len > 254) - { - len -= 255; - dst[dst_p++] = 255; - } - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] += (byte)len; - } - - // Test end of chunk - if (src_p > src_mflimit) - { - src_anchor = src_p; - break; - } - - // Fill table - hash_table[(((Peek4(src, src_p - 2)) * 2654435761u) >> HASH64K_ADJUST)] = (ushort)(src_p - 2 - src_base); - - // Test next position - - h = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (ushort)(src_p - src_base); - - if (Equal4(src, src_ref, src_p)) - { - dst_token = dst_p++; - dst[dst_token] = 0; - goto _next_match; - } - - // Prepare next loop - src_anchor = src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - } - - _last_literals: - // Encode Last Literals - var lastRun = (src_end - src_anchor); - if (dst_p + lastRun + 1 + (lastRun - RUN_MASK + 255) / 255 > dst_end) return 0; - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else - { - dst[dst_p++] = (byte)(lastRun << ML_BITS); - } - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - - // End - return ((dst_p) - dst_0); - } - - #endregion - - #region LZ4_uncompress - - private static int LZ4_uncompress_safe32( - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int dst_len) - { - var dec32table = DECODER_TABLE_32; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - int dst_ref; - - var dst_p = dst_0; - var dst_end = dst_p + dst_len; - int dst_cpy; - - var dst_LASTLITERALS = dst_end - LASTLITERALS; - var dst_COPYLENGTH = dst_end - COPYLENGTH; - var dst_COPYLENGTH_STEPSIZE_4 = dst_end - COPYLENGTH - (STEPSIZE_32 - 4); - - byte token; - - // Main Loop - while (true) - { - int length; - - // get runlength - token = src[src_p++]; - if ((length = (token >> ML_BITS)) == RUN_MASK) - { - int len; - for (; (len = src[src_p++]) == 255; length += 255) - { - /* do nothing */ - } - length += len; - } - - // copy literals - dst_cpy = dst_p + length; - - if (dst_cpy > dst_COPYLENGTH) - { - if (dst_cpy != dst_end) goto _output_error; // Error : not enough place for another match (min 4) + 5 literals - BlockCopy(src, src_p, dst, dst_p, length); - src_p += length; - break; // EOF - } - if (dst_p < dst_cpy) - { - _i = WildCopy(src, src_p, dst, dst_p, dst_cpy); - src_p += _i; - dst_p += _i; - } - src_p -= (dst_p - dst_cpy); - dst_p = dst_cpy; - - // get offset - dst_ref = (dst_cpy) - Peek2(src, src_p); - src_p += 2; - if (dst_ref < dst_0) goto _output_error; // Error : offset outside destination buffer - - // get matchlength - if ((length = (token & ML_MASK)) == ML_MASK) - { - for (; src[src_p] == 255; length += 255) src_p++; - length += src[src_p++]; - } - - // copy repeated sequence - if ((dst_p - dst_ref) < STEPSIZE_32) - { - const int dec64 = 0; - dst[dst_p + 0] = dst[dst_ref + 0]; - dst[dst_p + 1] = dst[dst_ref + 1]; - dst[dst_p + 2] = dst[dst_ref + 2]; - dst[dst_p + 3] = dst[dst_ref + 3]; - dst_p += 4; - dst_ref += 4; - dst_ref -= dec32table[dst_p - dst_ref]; - Copy4(dst, dst_ref, dst_p); - dst_p += STEPSIZE_32 - 4; - dst_ref -= dec64; - } - else - { - Copy4(dst, dst_ref, dst_p); - dst_p += 4; - dst_ref += 4; - } - dst_cpy = dst_p + length - (STEPSIZE_32 - 4); - - if (dst_cpy > dst_COPYLENGTH_STEPSIZE_4) - { - if (dst_cpy > dst_LASTLITERALS) goto _output_error; // Error : last 5 bytes must be literals - if (dst_p < dst_COPYLENGTH) - { - _i = SecureCopy(dst, dst_ref, dst_p, dst_COPYLENGTH); - dst_ref += _i; - dst_p += _i; - } - - while (dst_p < dst_cpy) dst[dst_p++] = dst[dst_ref++]; - dst_p = dst_cpy; - continue; - } - - if (dst_p < dst_cpy) - { - SecureCopy(dst, dst_ref, dst_p, dst_cpy); - } - dst_p = dst_cpy; // correction - } - - // end of decoding - return ((src_p) - src_0); - - // write overflow error detected - _output_error: - return (-((src_p) - src_0)); - } - - #endregion - - #region LZ4_uncompress_unknownOutputSize - - private static int LZ4_uncompress_unknownOutputSize_safe32( - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var dec32table = DECODER_TABLE_32; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_end = src_p + src_len; - int dst_ref; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - int dst_cpy; - - var src_LASTLITERALS_3 = (src_end - (2 + 1 + LASTLITERALS)); - var src_LASTLITERALS_1 = (src_end - (LASTLITERALS + 1)); - var dst_COPYLENGTH = (dst_end - COPYLENGTH); - var dst_COPYLENGTH_STEPSIZE_4 = (dst_end - (COPYLENGTH + (STEPSIZE_32 - 4))); - var dst_LASTLITERALS = (dst_end - LASTLITERALS); - var dst_MFLIMIT = (dst_end - MFLIMIT); - - // Special case - if (src_p == src_end) goto _output_error; // A correctly formed null-compressed LZ4 must have at least one byte (token=0) - - // Main Loop - while (true) - { - byte token; - int length; - - // get runlength - token = src[src_p++]; - if ((length = (token >> ML_BITS)) == RUN_MASK) - { - var s = 255; - while ((src_p < src_end) && (s == 255)) length += (s = src[src_p++]); - } - - // copy literals - dst_cpy = dst_p + length; - - if ((dst_cpy > dst_MFLIMIT) || (src_p + length > src_LASTLITERALS_3)) - { - if (dst_cpy > dst_end) goto _output_error; // Error : writes beyond output buffer - if (src_p + length != src_end) goto _output_error; // Error : LZ4 format requires to consume all input at this stage (no match within the last 11 bytes, and at least 8 remaining input bytes for another match+literals) - BlockCopy(src, src_p, dst, dst_p, length); - dst_p += length; - break; // Necessarily EOF, due to parsing restrictions - } - if (dst_p < dst_cpy) - { - _i = WildCopy(src, src_p, dst, dst_p, dst_cpy); - src_p += _i; - dst_p += _i; - } - src_p -= (dst_p - dst_cpy); - dst_p = dst_cpy; - - // get offset - dst_ref = (dst_cpy) - Peek2(src, src_p); - src_p += 2; - if (dst_ref < dst_0) goto _output_error; // Error : offset outside of destination buffer - - // get matchlength - if ((length = (token & ML_MASK)) == ML_MASK) - { - while (src_p < src_LASTLITERALS_1) // Error : a minimum input bytes must remain for LASTLITERALS + token - { - int s = src[src_p++]; - length += s; - if (s == 255) continue; - break; - } - } - - // copy repeated sequence - if (dst_p - dst_ref < STEPSIZE_32) - { - const int dec64 = 0; - dst[dst_p + 0] = dst[dst_ref + 0]; - dst[dst_p + 1] = dst[dst_ref + 1]; - dst[dst_p + 2] = dst[dst_ref + 2]; - dst[dst_p + 3] = dst[dst_ref + 3]; - dst_p += 4; - dst_ref += 4; - dst_ref -= dec32table[dst_p - dst_ref]; - Copy4(dst, dst_ref, dst_p); - dst_p += STEPSIZE_32 - 4; - dst_ref -= dec64; - } - else - { - Copy4(dst, dst_ref, dst_p); - dst_p += 4; - dst_ref += 4; - } - dst_cpy = dst_p + length - (STEPSIZE_32 - 4); - - if (dst_cpy > dst_COPYLENGTH_STEPSIZE_4) - { - if (dst_cpy > dst_LASTLITERALS) goto _output_error; // Error : last 5 bytes must be literals - if (dst_p < dst_COPYLENGTH) - { - _i = SecureCopy(dst, dst_ref, dst_p, dst_COPYLENGTH); - dst_ref += _i; - dst_p += _i; - } - - while (dst_p < dst_cpy) dst[dst_p++] = dst[dst_ref++]; - dst_p = dst_cpy; - continue; - } - - if (dst_p < dst_cpy) - { - SecureCopy(dst, dst_ref, dst_p, dst_cpy); - } - dst_p = dst_cpy; // correction - } - - // end of decoding - return ((dst_p) - dst_0); - - // write overflow error detected - _output_error: - return (-((src_p) - src_0)); - } - - #endregion - } -} - -// ReSharper restore RedundantIfElseBlock -// ReSharper restore JoinDeclarationAndInitializer -// ReSharper restore TooWideLocalVariableScope -// ReSharper restore InconsistentNaming -// ReSharper restore CheckNamespace diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs.meta deleted file mode 100644 index 7086673..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32.Dirty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8c5dc5c9f2a382b4db836cf150c3a176 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs deleted file mode 100644 index 446bbfd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs +++ /dev/null @@ -1,524 +0,0 @@ -#region LZ4 original - -/* - LZ4 - Fast LZ compression algorithm - Copyright (C) 2011-2012, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - You can contact the author at : - - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html - - LZ4 source repository : http://code.google.com/p/lz4/ -*/ - -#endregion - -#region LZ4 port - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -// ReSharper disable InconsistentNaming - -namespace LZ4ps -{ - public static partial class LZ4Codec - { - // Update chains up to ip (excluded) - private static void LZ4HC_Insert_32(LZ4HC_Data_Structure ctx, int src_p) - { - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var nextToUpdate = ctx.nextToUpdate; - var src = ctx.src; - var src_base = ctx.src_base; - - while (nextToUpdate < src_p) - { - var p = nextToUpdate; - var delta = (p) - (hashTable[(((Peek4(src, p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - if (delta > MAX_DISTANCE) delta = MAX_DISTANCE; - chainTable[(p) & MAXD_MASK] = (ushort)delta; - hashTable[(((Peek4(src, p)) * 2654435761u) >> HASHHC_ADJUST)] = ((p) - src_base); - nextToUpdate++; - } - - ctx.nextToUpdate = nextToUpdate; - } - - private static int LZ4HC_CommonLength_32(LZ4HC_Data_Structure ctx, int p1, int p2) - { - var debruijn32 = DEBRUIJN_TABLE_32; - var src = ctx.src; - var src_LASTLITERALS = ctx.src_LASTLITERALS; - - var p1t = p1; - - while (p1t < src_LASTLITERALS - (STEPSIZE_32 - 1)) - { - var diff = (int)Xor4(src, p2, p1t); - if (diff == 0) - { - p1t += STEPSIZE_32; - p2 += STEPSIZE_32; - continue; - } - p1t += debruijn32[((uint)((diff) & -(diff)) * 0x077CB531u) >> 27]; - return (p1t - p1); - } - if ((p1t < (src_LASTLITERALS - 1)) && (Equal2(src, p2, p1t))) - { - p1t += 2; - p2 += 2; - } - if ((p1t < src_LASTLITERALS) && (src[p2] == src[p1t])) p1t++; - return (p1t - p1); - } - - private static int LZ4HC_InsertAndFindBestMatch_32(LZ4HC_Data_Structure ctx, int src_p, ref int src_match) - { - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var src = ctx.src; - var src_base = ctx.src_base; - - var nbAttempts = MAX_NB_ATTEMPTS; - int repl = 0, ml = 0; - ushort delta = 0; - - // HC4 match finder - LZ4HC_Insert_32(ctx, src_p); - var src_ref = (hashTable[(((Peek4(src, src_p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - - - // Detect repetitive sequences of length <= 4 - if (src_ref >= src_p - 4) // potential repetition - { - if (Equal4(src, src_ref, src_p)) // confirmed - { - delta = (ushort)(src_p - src_ref); - repl = ml = LZ4HC_CommonLength_32(ctx, src_p + MINMATCH, src_ref + MINMATCH) + MINMATCH; - src_match = src_ref; - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - while ((src_ref >= src_p - MAX_DISTANCE) && (nbAttempts != 0)) - { - nbAttempts--; - if (src[(src_ref + ml)] == src[(src_p + ml)]) - { - if (Equal4(src, src_ref, src_p)) - { - var mlt = LZ4HC_CommonLength_32(ctx, src_p + MINMATCH, src_ref + MINMATCH) + MINMATCH; - if (mlt > ml) - { - ml = mlt; - src_match = src_ref; - } - } - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - - // Complete table - if (repl != 0) - { - var src_ptr = src_p; - - var end = src_p + repl - (MINMATCH - 1); - while (src_ptr < end - delta) - { - chainTable[(src_ptr) & MAXD_MASK] = delta; // Pre-Load - src_ptr++; - } - do - { - chainTable[(src_ptr) & MAXD_MASK] = delta; - hashTable[(((Peek4(src, src_ptr)) * 2654435761u) >> HASHHC_ADJUST)] = ((src_ptr) - src_base); // Head of chain - src_ptr++; - } while (src_ptr < end); - ctx.nextToUpdate = end; - } - - return ml; - } - - private static int LZ4HC_InsertAndGetWiderMatch_32( - LZ4HC_Data_Structure ctx, int src_p, int startLimit, int longest, ref int matchpos, ref int startpos) - { - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var src = ctx.src; - var src_base = ctx.src_base; - var src_LASTLITERALS = ctx.src_LASTLITERALS; - var debruijn32 = DEBRUIJN_TABLE_32; - var nbAttempts = MAX_NB_ATTEMPTS; - var delta = (src_p - startLimit); - - // First Match - LZ4HC_Insert_32(ctx, src_p); - var src_ref = (hashTable[(((Peek4(src, src_p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - - while ((src_ref >= src_p - MAX_DISTANCE) && (nbAttempts != 0)) - { - nbAttempts--; - if (src[(startLimit + longest)] == src[(src_ref - delta + longest)]) - { - if (Equal4(src, src_ref, src_p)) - { - var reft = src_ref + MINMATCH; - var ipt = src_p + MINMATCH; - var startt = src_p; - - while (ipt < src_LASTLITERALS - (STEPSIZE_32 - 1)) - { - var diff = (int)Xor4(src, reft, ipt); - if (diff == 0) - { - ipt += STEPSIZE_32; - reft += STEPSIZE_32; - continue; - } - ipt += debruijn32[((uint)((diff) & -(diff)) * 0x077CB531u) >> 27]; - goto _endCount; - } - if ((ipt < (src_LASTLITERALS - 1)) && (Equal2(src, reft, ipt))) - { - ipt += 2; - reft += 2; - } - if ((ipt < src_LASTLITERALS) && (src[reft] == src[ipt])) ipt++; - - _endCount: - reft = src_ref; - - while ((startt > startLimit) && (reft > src_base) && (src[startt - 1] == src[reft - 1])) - { - startt--; - reft--; - } - - if ((ipt - startt) > longest) - { - longest = (ipt - startt); - matchpos = reft; - startpos = startt; - } - } - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - return longest; - } - - private static int LZ4_encodeSequence_32( - LZ4HC_Data_Structure ctx, ref int src_p, ref int dst_p, ref int src_anchor, int matchLength, int src_ref, int dst_end) - { - int len; - var src = ctx.src; - var dst = ctx.dst; - - // Encode Literal length - var length = src_p - src_anchor; - var dst_token = dst_p++; - if ((dst_p + length + (2 + 1 + LASTLITERALS) + (length >> 8)) > dst_end) return 1; // Check output limit - if (length >= RUN_MASK) - { - dst[dst_token] = (RUN_MASK << ML_BITS); - len = length - RUN_MASK; - for (; len > 254; len -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) - { - var _i = dst_p + length; - src_anchor += WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Encode MatchLength - len = (matchLength - MINMATCH); - if (dst_p + (1 + LASTLITERALS) + (length >> 8) > dst_end) return 1; // Check output limit - if (len >= ML_MASK) - { - dst[dst_token] += ML_MASK; - len -= ML_MASK; - for (; len > 509; len -= 510) - { - dst[(dst_p)++] = 255; - dst[(dst_p)++] = 255; - } - if (len > 254) - { - len -= 255; - dst[(dst_p)++] = 255; - } - dst[(dst_p)++] = (byte)len; - } - else - { - dst[dst_token] += (byte)len; - } - - // Prepare next loop - src_p += matchLength; - src_anchor = src_p; - - return 0; - } - - private static int LZ4_compressHCCtx_32(LZ4HC_Data_Structure ctx) - { - var src = ctx.src; - var dst = ctx.dst; - var src_0 = ctx.src_base; - var src_end = ctx.src_end; - var dst_0 = ctx.dst_base; - var dst_len = ctx.dst_len; - var dst_end = ctx.dst_end; - - var src_p = src_0; - var src_anchor = src_p; - var src_mflimit = src_end - MFLIMIT; - - var dst_p = dst_0; - - var src_ref = 0; - var start2 = 0; - var ref2 = 0; - var start3 = 0; - var ref3 = 0; - - src_p++; - - // Main Loop - while (src_p < src_mflimit) - { - var ml = LZ4HC_InsertAndFindBestMatch_32(ctx, src_p, ref src_ref); - if (ml == 0) - { - src_p++; - continue; - } - - // saved, in case we would skip too much - var start0 = src_p; - var ref0 = src_ref; - var ml0 = ml; - - _Search2: - var ml2 = src_p + ml < src_mflimit - ? LZ4HC_InsertAndGetWiderMatch_32(ctx, src_p + ml - 2, src_p + 1, ml, ref ref2, ref start2) - : ml; - - if (ml2 == ml) // No better match - { - if (LZ4_encodeSequence_32(ctx, ref src_p, ref dst_p, ref src_anchor, ml, src_ref, dst_end) != 0) return 0; - continue; - } - - if (start0 < src_p) - { - if (start2 < src_p + ml0) // empirical - { - src_p = start0; - src_ref = ref0; - ml = ml0; - } - } - - // Here, start0==ip - if ((start2 - src_p) < 3) // First Match too small : removed - { - ml = ml2; - src_p = start2; - src_ref = ref2; - goto _Search2; - } - - _Search3: - // Currently we have : - // ml2 > ml1, and - // ip1+3 <= ip2 (usually < ip1+ml1) - if ((start2 - src_p) < OPTIMAL_ML) - { - var new_ml = ml; - if (new_ml > OPTIMAL_ML) new_ml = OPTIMAL_ML; - if (src_p + new_ml > start2 + ml2 - MINMATCH) new_ml = (start2 - src_p) + ml2 - MINMATCH; - var correction = new_ml - (start2 - src_p); - if (correction > 0) - { - start2 += correction; - ref2 += correction; - ml2 -= correction; - } - } - // Now, we have start2 = ip+new_ml, with new_ml=min(ml, OPTIMAL_ML=18) - - var ml3 = start2 + ml2 < src_mflimit - ? LZ4HC_InsertAndGetWiderMatch_32(ctx, start2 + ml2 - 3, start2, ml2, ref ref3, ref start3) - : ml2; - - if (ml3 == ml2) // No better match : 2 sequences to encode - { - // ip & ref are known; Now for ml - if (start2 < src_p + ml) ml = (start2 - src_p); - // Now, encode 2 sequences - if (LZ4_encodeSequence_32(ctx, ref src_p, ref dst_p, ref src_anchor, ml, src_ref, dst_end) != 0) return 0; - src_p = start2; - if (LZ4_encodeSequence_32(ctx, ref src_p, ref dst_p, ref src_anchor, ml2, ref2, dst_end) != 0) return 0; - continue; - } - - if (start3 < src_p + ml + 3) // Not enough space for match 2 : remove it - { - if (start3 >= (src_p + ml)) // can write Seq1 immediately ==> Seq2 is removed, so Seq3 becomes Seq1 - { - if (start2 < src_p + ml) - { - var correction = (src_p + ml - start2); - start2 += correction; - ref2 += correction; - ml2 -= correction; - if (ml2 < MINMATCH) - { - start2 = start3; - ref2 = ref3; - ml2 = ml3; - } - } - - if (LZ4_encodeSequence_32(ctx, ref src_p, ref dst_p, ref src_anchor, ml, src_ref, dst_end) != 0) return 0; - src_p = start3; - src_ref = ref3; - ml = ml3; - - start0 = start2; - ref0 = ref2; - ml0 = ml2; - goto _Search2; - } - - start2 = start3; - ref2 = ref3; - ml2 = ml3; - goto _Search3; - } - - // OK, now we have 3 ascending matches; let's write at least the first one - // ip & ref are known; Now for ml - if (start2 < src_p + ml) - { - if ((start2 - src_p) < ML_MASK) - { - if (ml > OPTIMAL_ML) ml = OPTIMAL_ML; - if (src_p + ml > start2 + ml2 - MINMATCH) ml = (start2 - src_p) + ml2 - MINMATCH; - var correction = ml - (start2 - src_p); - if (correction > 0) - { - start2 += correction; - ref2 += correction; - ml2 -= correction; - } - } - else - { - ml = (start2 - src_p); - } - } - if (LZ4_encodeSequence_32(ctx, ref src_p, ref dst_p, ref src_anchor, ml, src_ref, dst_end) != 0) return 0; - - src_p = start2; - src_ref = ref2; - ml = ml2; - - start2 = start3; - ref2 = ref3; - ml2 = ml3; - - goto _Search3; - } - - // Encode Last Literals - { - var lastRun = (src_end - src_anchor); - if ((dst_p - dst_0) + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > (uint)dst_len) return 0; // Check output limit - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else - { - dst[dst_p++] = (byte)(lastRun << ML_BITS); - } - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - } - - // End - return (dst_p - dst_0); - } - } -} - -// ReSharper restore InconsistentNaming diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs.meta deleted file mode 100644 index f1a35b3..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe32HC.Dirty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0cd0b555f5386b84b9fc6aea0b43418d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs deleted file mode 100644 index fbeee17..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs +++ /dev/null @@ -1,808 +0,0 @@ -#region LZ4 original - -/* - LZ4 - Fast LZ compression algorithm - Copyright (C) 2011-2012, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - You can contact the author at : - - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html - - LZ4 source repository : http://code.google.com/p/lz4/ -*/ - -#endregion - -#region LZ4 port - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -// ReSharper disable CheckNamespace -// ReSharper disable InconsistentNaming -// ReSharper disable TooWideLocalVariableScope -// ReSharper disable JoinDeclarationAndInitializer -// ReSharper disable RedundantIfElseBlock - -namespace LZ4ps -{ - public static partial class LZ4Codec - { - #region LZ4_compressCtx - - private static int LZ4_compressCtx_safe64( - int[] hash_table, - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var debruijn64 = DEBRUIJN_TABLE_64; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_base = src_0; - var src_anchor = src_p; - var src_end = src_p + src_len; - var src_mflimit = src_end - MFLIMIT; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - - var src_LASTLITERALS = src_end - LASTLITERALS; - var src_LASTLITERALS_1 = src_LASTLITERALS - 1; - - var src_LASTLITERALS_3 = src_LASTLITERALS - 3; - - var src_LASTLITERALS_STEPSIZE_1 = src_LASTLITERALS - (STEPSIZE_64 - 1); - var dst_LASTLITERALS_1 = dst_end - (1 + LASTLITERALS); - var dst_LASTLITERALS_3 = dst_end - (2 + 1 + LASTLITERALS); - - int length; - - uint h, h_fwd; - - // Init - if (src_len < MINLENGTH) goto _last_literals; - - // First Byte - hash_table[(((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST)] = (src_p - src_base); - src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - - // Main Loop - while (true) - { - var findMatchAttempts = (1 << SKIPSTRENGTH) + 3; - var src_p_fwd = src_p; - int src_ref; - int dst_token; - - // Find a match - do - { - h = h_fwd; - var step = findMatchAttempts++ >> SKIPSTRENGTH; - src_p = src_p_fwd; - src_p_fwd = src_p + step; - - if (src_p_fwd > src_mflimit) goto _last_literals; - - h_fwd = (((Peek4(src, src_p_fwd)) * 2654435761u) >> HASH_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (src_p - src_base); - } while ((src_ref < src_p - MAX_DISTANCE) || (!Equal4(src, src_ref, src_p))); - - // Catch up - while ((src_p > src_anchor) && (src_ref > src_0) && (src[src_p - 1] == src[src_ref - 1])) - { - src_p--; - src_ref--; - } - - // Encode Literal length - length = (src_p - src_anchor); - dst_token = dst_p++; - - if (dst_p + length + (length >> 8) > dst_LASTLITERALS_3) return 0; // Check output limit - - if (length >= RUN_MASK) - { - var len = length - RUN_MASK; - dst[dst_token] = (RUN_MASK << ML_BITS); - if (len > 254) - { - do - { - dst[dst_p++] = 255; - len -= 255; - } while (len > 254); - dst[dst_p++] = (byte)len; - BlockCopy(src, src_anchor, dst, dst_p, length); - dst_p += length; - goto _next_match; - } - else - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) - { - _i = dst_p + length; - WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - _next_match: - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Start Counting - src_p += MINMATCH; - src_ref += MINMATCH; // MinMatch already verified - src_anchor = src_p; - - while (src_p < src_LASTLITERALS_STEPSIZE_1) - { - var diff = (long)Xor8(src, src_ref, src_p); - if (diff == 0) - { - src_p += STEPSIZE_64; - src_ref += STEPSIZE_64; - continue; - } - src_p += debruijn64[((ulong)((diff) & -(diff)) * 0x0218A392CDABBD3FL) >> 58]; - goto _endCount; - } - - if ((src_p < src_LASTLITERALS_3) && (Equal4(src, src_ref, src_p))) - { - src_p += 4; - src_ref += 4; - } - if ((src_p < src_LASTLITERALS_1) && (Equal2(src, src_ref, src_p))) - { - src_p += 2; - src_ref += 2; - } - if ((src_p < src_LASTLITERALS) && (src[src_ref] == src[src_p])) src_p++; - - _endCount: - // Encode MatchLength - length = (src_p - src_anchor); - - if (dst_p + (length >> 8) > dst_LASTLITERALS_1) return 0; // Check output limit - - if (length >= ML_MASK) - { - dst[dst_token] += ML_MASK; - length -= ML_MASK; - for (; length > 509; length -= 510) - { - dst[dst_p++] = 255; - dst[dst_p++] = 255; - } - if (length > 254) - { - length -= 255; - dst[dst_p++] = 255; - } - dst[dst_p++] = (byte)length; - } - else - { - dst[dst_token] += (byte)length; - } - - // Test end of chunk - if (src_p > src_mflimit) - { - src_anchor = src_p; - break; - } - - // Fill table - hash_table[(((Peek4(src, src_p - 2)) * 2654435761u) >> HASH_ADJUST)] = (src_p - 2 - src_base); - - // Test next position - - h = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (src_p - src_base); - - if ((src_ref > src_p - (MAX_DISTANCE + 1)) && (Equal4(src, src_ref, src_p))) - { - dst_token = dst_p++; - dst[dst_token] = 0; - goto _next_match; - } - - // Prepare next loop - src_anchor = src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH_ADJUST); - } - - _last_literals: - // Encode Last Literals - { - var lastRun = (src_end - src_anchor); - - if (dst_p + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > dst_end) return 0; - - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else dst[dst_p++] = (byte)(lastRun << ML_BITS); - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - } - - // End - return (dst_p - dst_0); - } - - #endregion - - #region LZ4_compress64kCtx - - private static int LZ4_compress64kCtx_safe64( - ushort[] hash_table, - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var debruijn64 = DEBRUIJN_TABLE_64; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_anchor = src_p; - var src_base = src_p; - var src_end = src_p + src_len; - var src_mflimit = src_end - MFLIMIT; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - - var src_LASTLITERALS = src_end - LASTLITERALS; - var src_LASTLITERALS_1 = src_LASTLITERALS - 1; - - var src_LASTLITERALS_3 = src_LASTLITERALS - 3; - - var src_LASTLITERALS_STEPSIZE_1 = src_LASTLITERALS - (STEPSIZE_64 - 1); - var dst_LASTLITERALS_1 = dst_end - (1 + LASTLITERALS); - var dst_LASTLITERALS_3 = dst_end - (2 + 1 + LASTLITERALS); - - int len, length; - - uint h, h_fwd; - - // Init - if (src_len < MINLENGTH) goto _last_literals; - - // First Byte - src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - - // Main Loop - while (true) - { - var findMatchAttempts = (1 << SKIPSTRENGTH) + 3; - var src_p_fwd = src_p; - int src_ref; - int dst_token; - - // Find a match - do - { - h = h_fwd; - var step = findMatchAttempts++ >> SKIPSTRENGTH; - src_p = src_p_fwd; - src_p_fwd = src_p + step; - - if (src_p_fwd > src_mflimit) goto _last_literals; - - h_fwd = (((Peek4(src, src_p_fwd)) * 2654435761u) >> HASH64K_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (ushort)(src_p - src_base); - } while (!Equal4(src, src_ref, src_p)); - - // Catch up - while ((src_p > src_anchor) && (src_ref > src_0) && (src[src_p - 1] == src[src_ref - 1])) - { - src_p--; - src_ref--; - } - - // Encode Literal length - length = (src_p - src_anchor); - dst_token = dst_p++; - - if (dst_p + length + (length >> 8) > dst_LASTLITERALS_3) return 0; // Check output limit - - if (length >= RUN_MASK) - { - len = length - RUN_MASK; - dst[dst_token] = (RUN_MASK << ML_BITS); - if (len > 254) - { - do - { - dst[dst_p++] = 255; - len -= 255; - } while (len > 254); - dst[dst_p++] = (byte)len; - BlockCopy(src, src_anchor, dst, dst_p, length); - dst_p += length; - goto _next_match; - } - else - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) /*?*/ - { - _i = dst_p + length; - WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - _next_match: - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Start Counting - src_p += MINMATCH; - src_ref += MINMATCH; // MinMatch verified - src_anchor = src_p; - - while (src_p < src_LASTLITERALS_STEPSIZE_1) - { - var diff = (long)Xor8(src, src_ref, src_p); - if (diff == 0) - { - src_p += STEPSIZE_64; - src_ref += STEPSIZE_64; - continue; - } - src_p += debruijn64[((ulong)((diff) & -(diff)) * 0x0218A392CDABBD3FL) >> 58]; - goto _endCount; - } - - if ((src_p < src_LASTLITERALS_3) && (Equal4(src, src_ref, src_p))) - { - src_p += 4; - src_ref += 4; - } - if ((src_p < src_LASTLITERALS_1) && (Equal2(src, src_ref, src_p))) - { - src_p += 2; - src_ref += 2; - } - if ((src_p < src_LASTLITERALS) && (src[src_ref] == src[src_p])) src_p++; - - _endCount: - - // Encode MatchLength - len = (src_p - src_anchor); - - if (dst_p + (len >> 8) > dst_LASTLITERALS_1) return 0; // Check output limit - - if (len >= ML_MASK) - { - dst[dst_token] += ML_MASK; - len -= ML_MASK; - for (; len > 509; len -= 510) - { - dst[dst_p++] = 255; - dst[dst_p++] = 255; - } - if (len > 254) - { - len -= 255; - dst[dst_p++] = 255; - } - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] += (byte)len; - } - - // Test end of chunk - if (src_p > src_mflimit) - { - src_anchor = src_p; - break; - } - - // Fill table - hash_table[(((Peek4(src, src_p - 2)) * 2654435761u) >> HASH64K_ADJUST)] = (ushort)(src_p - 2 - src_base); - - // Test next position - - h = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - src_ref = src_base + hash_table[h]; - hash_table[h] = (ushort)(src_p - src_base); - - if (Equal4(src, src_ref, src_p)) - { - dst_token = dst_p++; - dst[dst_token] = 0; - goto _next_match; - } - - // Prepare next loop - src_anchor = src_p++; - h_fwd = (((Peek4(src, src_p)) * 2654435761u) >> HASH64K_ADJUST); - } - - _last_literals: - // Encode Last Literals - { - var lastRun = (src_end - src_anchor); - if (dst_p + lastRun + 1 + (lastRun - RUN_MASK + 255) / 255 > dst_end) return 0; - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else dst[dst_p++] = (byte)(lastRun << ML_BITS); - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - } - - // End - return (dst_p - dst_0); - } - - #endregion - - #region LZ4_uncompress - - private static int LZ4_uncompress_safe64( - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int dst_len) - { - var dec32table = DECODER_TABLE_32; - var dec64table = DECODER_TABLE_64; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - int dst_ref; - - var dst_p = dst_0; - var dst_end = dst_p + dst_len; - int dst_cpy; - - var dst_LASTLITERALS = dst_end - LASTLITERALS; - var dst_COPYLENGTH = dst_end - COPYLENGTH; - var dst_COPYLENGTH_STEPSIZE_4 = dst_end - COPYLENGTH - (STEPSIZE_64 - 4); - - uint token; - - // Main Loop - while (true) - { - int length; - - // get runlength - token = src[src_p++]; - if ((length = (byte)(token >> ML_BITS)) == RUN_MASK) - { - int len; - for (; (len = src[src_p++]) == 255; length += 255) - { - /* do nothing */ - } - length += len; - } - - // copy literals - dst_cpy = dst_p + length; - - if (dst_cpy > dst_COPYLENGTH) - { - if (dst_cpy != dst_end) goto _output_error; // Error : not enough place for another match (min 4) + 5 literals - BlockCopy(src, src_p, dst, dst_p, length); - src_p += length; - break; // EOF - } - if (dst_p < dst_cpy) /*?*/ - { - _i = WildCopy(src, src_p, dst, dst_p, dst_cpy); - src_p += _i; - dst_p += _i; - } - src_p -= (dst_p - dst_cpy); - dst_p = dst_cpy; - - // get offset - dst_ref = (dst_cpy) - Peek2(src, src_p); - src_p += 2; - if (dst_ref < dst_0) goto _output_error; // Error : offset outside destination buffer - - // get matchlength - if ((length = (byte)(token & ML_MASK)) == ML_MASK) - { - for (; src[src_p] == 255; length += 255) src_p++; - length += src[src_p++]; - } - - // copy repeated sequence - if ((dst_p - dst_ref) < STEPSIZE_64) - { - var dec64 = dec64table[dst_p - dst_ref]; - - dst[dst_p + 0] = dst[dst_ref + 0]; - dst[dst_p + 1] = dst[dst_ref + 1]; - dst[dst_p + 2] = dst[dst_ref + 2]; - dst[dst_p + 3] = dst[dst_ref + 3]; - dst_p += 4; - dst_ref += 4; - dst_ref -= dec32table[dst_p - dst_ref]; - Copy4(dst, dst_ref, dst_p); - dst_p += STEPSIZE_64 - 4; - dst_ref -= dec64; - } - else - { - Copy8(dst, dst_ref, dst_p); - dst_p += 8; - dst_ref += 8; - } - dst_cpy = dst_p + length - (STEPSIZE_64 - 4); - - if (dst_cpy > dst_COPYLENGTH_STEPSIZE_4) - { - if (dst_cpy > dst_LASTLITERALS) goto _output_error; // Error : last 5 bytes must be literals - if (dst_p < dst_COPYLENGTH) - { - _i = SecureCopy(dst, dst_ref, dst_p, dst_COPYLENGTH); - dst_ref += _i; - dst_p += _i; - } - - while (dst_p < dst_cpy) dst[dst_p++] = dst[dst_ref++]; - dst_p = dst_cpy; - continue; - } - - if (dst_p < dst_cpy) - { - SecureCopy(dst, dst_ref, dst_p, dst_cpy); - } - dst_p = dst_cpy; // correction - } - - // end of decoding - return ((src_p) - src_0); - - _output_error: - // write overflow error detected - return (-((src_p) - src_0)); - } - - #endregion - - #region LZ4_uncompress_unknownOutputSize - - private static int LZ4_uncompress_unknownOutputSize_safe64( - byte[] src, - byte[] dst, - int src_0, - int dst_0, - int src_len, - int dst_maxlen) - { - var dec32table = DECODER_TABLE_32; - var dec64table = DECODER_TABLE_64; - int _i; - - // ---- preprocessed source start here ---- - // r93 - var src_p = src_0; - var src_end = src_p + src_len; - int dst_ref; - - var dst_p = dst_0; - var dst_end = dst_p + dst_maxlen; - int dst_cpy; - - var src_LASTLITERALS_3 = (src_end - (2 + 1 + LASTLITERALS)); - var src_LASTLITERALS_1 = (src_end - (LASTLITERALS + 1)); - var dst_COPYLENGTH = (dst_end - COPYLENGTH); - var dst_COPYLENGTH_STEPSIZE_4 = (dst_end - (COPYLENGTH + (STEPSIZE_64 - 4))); - var dst_LASTLITERALS = (dst_end - LASTLITERALS); - var dst_MFLIMIT = (dst_end - MFLIMIT); - - // Special case - if (src_p == src_end) goto _output_error; // A correctly formed null-compressed LZ4 must have at least one byte (token=0) - - // Main Loop - while (true) - { - byte token; - int length; - - // get runlength - token = src[src_p++]; - if ((length = (token >> ML_BITS)) == RUN_MASK) - { - var s = 255; - while ((src_p < src_end) && (s == 255)) length += (s = src[src_p++]); - } - - // copy literals - dst_cpy = dst_p + length; - - if ((dst_cpy > dst_MFLIMIT) || (src_p + length > src_LASTLITERALS_3)) - { - if (dst_cpy > dst_end) goto _output_error; // Error : writes beyond output buffer - if (src_p + length != src_end) goto _output_error; // Error : LZ4 format requires to consume all input at this stage (no match within the last 11 bytes, and at least 8 remaining input bytes for another match+literals) - BlockCopy(src, src_p, dst, dst_p, length); - dst_p += length; - break; // Necessarily EOF, due to parsing restrictions - } - if (dst_p < dst_cpy) /*?*/ - { - _i = WildCopy(src, src_p, dst, dst_p, dst_cpy); - src_p += _i; - dst_p += _i; - } - src_p -= (dst_p - dst_cpy); - dst_p = dst_cpy; - - // get offset - dst_ref = (dst_cpy) - Peek2(src, src_p); - src_p += 2; - if (dst_ref < dst_0) goto _output_error; // Error : offset outside of destination buffer - - // get matchlength - if ((length = (token & ML_MASK)) == ML_MASK) - { - while (src_p < src_LASTLITERALS_1) // Error : a minimum input bytes must remain for LASTLITERALS + token - { - int s = src[src_p++]; - length += s; - if (s == 255) continue; - break; - } - } - - // copy repeated sequence - if (dst_p - dst_ref < STEPSIZE_64) - { - var dec64 = dec64table[dst_p - dst_ref]; - dst[dst_p + 0] = dst[dst_ref + 0]; - dst[dst_p + 1] = dst[dst_ref + 1]; - dst[dst_p + 2] = dst[dst_ref + 2]; - dst[dst_p + 3] = dst[dst_ref + 3]; - dst_p += 4; - dst_ref += 4; - dst_ref -= dec32table[dst_p - dst_ref]; - Copy4(dst, dst_ref, dst_p); - dst_p += STEPSIZE_64 - 4; - dst_ref -= dec64; - } - else - { - Copy8(dst, dst_ref, dst_p); - dst_p += 8; - dst_ref += 8; - } - dst_cpy = dst_p + length - (STEPSIZE_64 - 4); - - if (dst_cpy > dst_COPYLENGTH_STEPSIZE_4) - { - if (dst_cpy > dst_LASTLITERALS) goto _output_error; // Error : last 5 bytes must be literals - if (dst_p < dst_COPYLENGTH) - { - _i = SecureCopy(dst, dst_ref, dst_p, dst_COPYLENGTH); - dst_ref += _i; - dst_p += _i; - } - while (dst_p < dst_cpy) dst[dst_p++] = dst[dst_ref++]; - dst_p = dst_cpy; - continue; - } - - if (dst_p < dst_cpy) - { - SecureCopy(dst, dst_ref, dst_p, dst_cpy); - } - dst_p = dst_cpy; // correction - } - - // end of decoding - return ((dst_p) - dst_0); - - // write overflow error detected - _output_error: - return (-((src_p) - src_0)); - } - - #endregion - } -} - -// ReSharper restore RedundantIfElseBlock -// ReSharper restore JoinDeclarationAndInitializer -// ReSharper restore TooWideLocalVariableScope -// ReSharper restore InconsistentNaming -// ReSharper restore CheckNamespace diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs.meta deleted file mode 100644 index bb791e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64.Dirty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 04fd67d662c762548a89d1fe5bf6cfcc -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs deleted file mode 100644 index 8ff946c..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs +++ /dev/null @@ -1,526 +0,0 @@ -#region LZ4 original - -/* - LZ4 - Fast LZ compression algorithm - Copyright (C) 2011-2012, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - You can contact the author at : - - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html - - LZ4 source repository : http://code.google.com/p/lz4/ -*/ - -#endregion - -#region LZ4 port - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -// ReSharper disable InconsistentNaming - -namespace LZ4ps -{ - public static partial class LZ4Codec - { - private static void LZ4HC_Insert_64(LZ4HC_Data_Structure ctx, int src_p) - { - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var src = ctx.src; - var src_base = ctx.src_base; - var nextToUpdate = ctx.nextToUpdate; - - while (nextToUpdate < src_p) - { - var p = nextToUpdate; - var delta = (p) - (hashTable[(((Peek4(src, p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - if (delta > MAX_DISTANCE) delta = MAX_DISTANCE; - chainTable[(p) & MAXD_MASK] = (ushort)delta; - hashTable[(((Peek4(src, p)) * 2654435761u) >> HASHHC_ADJUST)] = ((p) - src_base); - nextToUpdate++; - } - - ctx.nextToUpdate = nextToUpdate; - } - - private static int LZ4HC_CommonLength_64(LZ4HC_Data_Structure ctx, int p1, int p2) - { - var debruijn64 = DEBRUIJN_TABLE_64; - var src = ctx.src; - var src_LASTLITERALS = ctx.src_LASTLITERALS; - var p1t = p1; - - while (p1t < src_LASTLITERALS - (STEPSIZE_64 - 1)) - { - var diff = (long)Xor8(src, p2, p1t); - if (diff == 0) - { - p1t += STEPSIZE_64; - p2 += STEPSIZE_64; - continue; - } - p1t += debruijn64[((ulong)((diff) & -(diff)) * 0x0218A392CDABBD3FL) >> 58]; - return (p1t - p1); - } - if ((p1t < (src_LASTLITERALS - 3)) && (Equal4(src, p2, p1t))) - { - p1t += 4; - p2 += 4; - } - if ((p1t < (src_LASTLITERALS - 1)) && (Equal2(src, p2, p1t))) - { - p1t += 2; - p2 += 2; - } - if ((p1t < src_LASTLITERALS) && (src[p2] == src[p1t])) p1t++; - return (p1t - p1); - } - - private static int LZ4HC_InsertAndFindBestMatch_64(LZ4HC_Data_Structure ctx, int src_p, ref int matchpos) - { - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var src = ctx.src; - var src_base = ctx.src_base; - var nbAttempts = MAX_NB_ATTEMPTS; - int repl = 0, ml = 0; - ushort delta = 0; - - // HC4 match finder - LZ4HC_Insert_64(ctx, src_p); - var src_ref = (hashTable[(((Peek4(src, src_p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - - // Detect repetitive sequences of length <= 4 - if (src_ref >= src_p - 4) // potential repetition - { - if (Equal4(src, src_ref, src_p)) // confirmed - { - delta = (ushort)(src_p - src_ref); - repl = ml = LZ4HC_CommonLength_64(ctx, src_p + MINMATCH, src_ref + MINMATCH) + MINMATCH; - matchpos = src_ref; - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - - while ((src_ref >= src_p - MAX_DISTANCE) && (nbAttempts != 0)) - { - nbAttempts--; - if (src[src_ref + ml] == src[src_p + ml]) - { - if (Equal4(src, src_ref, src_p)) - { - var mlt = LZ4HC_CommonLength_64(ctx, src_p + MINMATCH, src_ref + MINMATCH) + MINMATCH; - if (mlt > ml) - { - ml = mlt; - matchpos = src_ref; - } - } - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - - // Complete table - if (repl != 0) - { - var ptr = src_p; - - var end = src_p + repl - (MINMATCH - 1); - while (ptr < end - delta) - { - chainTable[(ptr) & MAXD_MASK] = delta; // Pre-Load - ptr++; - } - do - { - chainTable[(ptr) & MAXD_MASK] = delta; - hashTable[(((Peek4(src, ptr)) * 2654435761u) >> HASHHC_ADJUST)] = ((ptr) - src_base); // Head of chain - ptr++; - } while (ptr < end); - ctx.nextToUpdate = end; - } - - return ml; - } - - private static int LZ4HC_InsertAndGetWiderMatch_64(LZ4HC_Data_Structure ctx, int src_p, int startLimit, int longest, ref int matchpos, ref int startpos) - { - var debruijn64 = DEBRUIJN_TABLE_64; - var chainTable = ctx.chainTable; - var hashTable = ctx.hashTable; - var src = ctx.src; - var src_base = ctx.src_base; - var src_LASTLITERALS = ctx.src_LASTLITERALS; - var nbAttempts = MAX_NB_ATTEMPTS; - var delta = (src_p - startLimit); - - // First Match - LZ4HC_Insert_64(ctx, src_p); - var src_ref = (hashTable[(((Peek4(src, src_p)) * 2654435761u) >> HASHHC_ADJUST)] + src_base); - - while ((src_ref >= src_p - MAX_DISTANCE) && (nbAttempts != 0)) - { - nbAttempts--; - if (src[startLimit + longest] == src[src_ref - delta + longest]) - { - if (Equal4(src, src_ref, src_p)) - { - var reft = src_ref + MINMATCH; - var ipt = src_p + MINMATCH; - var startt = src_p; - - while (ipt < src_LASTLITERALS - (STEPSIZE_64 - 1)) - { - var diff = (long)Xor8(src, reft, ipt); - if (diff == 0) - { - ipt += STEPSIZE_64; - reft += STEPSIZE_64; - continue; - } - ipt += debruijn64[((ulong)((diff) & -(diff)) * 0x0218A392CDABBD3FL) >> 58]; - goto _endCount; - } - if ((ipt < (src_LASTLITERALS - 3)) && (Equal4(src, reft, ipt))) - { - ipt += 4; - reft += 4; - } - if ((ipt < (src_LASTLITERALS - 1)) && (Equal2(src, reft, ipt))) - { - ipt += 2; - reft += 2; - } - if ((ipt < src_LASTLITERALS) && (src[reft] == src[ipt])) ipt++; - - _endCount: - reft = src_ref; - - while ((startt > startLimit) && (reft > src_base) && (src[startt - 1] == src[reft - 1])) - { - startt--; - reft--; - } - - if ((ipt - startt) > longest) - { - longest = (ipt - startt); - matchpos = reft; - startpos = startt; - } - } - } - src_ref = ((src_ref) - chainTable[(src_ref) & MAXD_MASK]); - } - - return longest; - } - - private static int LZ4_encodeSequence_64(LZ4HC_Data_Structure ctx, ref int src_p, ref int dst_p, ref int src_anchor, int matchLength, int src_ref) - { - var src = ctx.src; - var dst = ctx.dst; - var dst_end = ctx.dst_end; - int len; - - // Encode Literal length - var length = (src_p - src_anchor); - var dst_token = (dst_p)++; - if ((dst_p + length + (2 + 1 + LASTLITERALS) + (length >> 8)) > dst_end) return 1; // Check output limit - if (length >= RUN_MASK) - { - dst[dst_token] = (RUN_MASK << ML_BITS); - len = length - RUN_MASK; - for (; len > 254; len -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] = (byte)(length << ML_BITS); - } - - // Copy Literals - if (length > 0) - { - var _i = dst_p + length; - src_anchor += WildCopy(src, src_anchor, dst, dst_p, _i); - dst_p = _i; - } - - // Encode Offset - Poke2(dst, dst_p, (ushort)(src_p - src_ref)); - dst_p += 2; - - // Encode MatchLength - len = (matchLength - MINMATCH); - if (dst_p + (1 + LASTLITERALS) + (length >> 8) > dst_end) return 1; // Check output limit - if (len >= ML_MASK) - { - dst[dst_token] += ML_MASK; - len -= ML_MASK; - for (; len > 509; len -= 510) - { - dst[dst_p++] = 255; - dst[dst_p++] = 255; - } - if (len > 254) - { - len -= 255; - dst[dst_p++] = 255; - } - dst[dst_p++] = (byte)len; - } - else - { - dst[dst_token] += (byte)len; - } - - // Prepare next loop - src_p += matchLength; - src_anchor = src_p; - - return 0; - } - - private static int LZ4_compressHCCtx_64(LZ4HC_Data_Structure ctx) - { - var src = ctx.src; - var src_p = ctx.src_base; - var src_end = ctx.src_end; - var dst_0 = ctx.dst_base; - var src_anchor = src_p; - var src_mflimit = src_end - MFLIMIT; - var dst = ctx.dst; - var dst_len = ctx.dst_len; - var dst_p = ctx.dst_base; - - var xxx_ref = 0; - var start2 = 0; - var ref2 = 0; - var start3 = 0; - var ref3 = 0; - - src_p++; - - // Main Loop - while (src_p < src_mflimit) - { - var ml = LZ4HC_InsertAndFindBestMatch_64(ctx, src_p, ref xxx_ref); - if (ml == 0) - { - src_p++; - continue; - } - - // saved, in case we would skip too much - var start0 = src_p; - var ref0 = xxx_ref; - var ml0 = ml; - - _Search2: - var ml2 = src_p + ml < src_mflimit - ? LZ4HC_InsertAndGetWiderMatch_64(ctx, src_p + ml - 2, src_p + 1, ml, ref ref2, ref start2) - : ml; - - if (ml2 == ml) // No better match - { - if (LZ4_encodeSequence_64(ctx, ref src_p, ref dst_p, ref src_anchor, ml, xxx_ref) != 0) return 0; - continue; - } - - if (start0 < src_p) - { - if (start2 < src_p + ml0) // empirical - { - src_p = start0; - xxx_ref = ref0; - ml = ml0; - } - } - - // Here, start0==ip - if ((start2 - src_p) < 3) // First Match too small : removed - { - ml = ml2; - src_p = start2; - xxx_ref = ref2; - goto _Search2; - } - - _Search3: - // Currently we have : - // ml2 > ml1, and - // ip1+3 <= ip2 (usually < ip1+ml1) - if ((start2 - src_p) < OPTIMAL_ML) - { - var new_ml = ml; - if (new_ml > OPTIMAL_ML) new_ml = OPTIMAL_ML; - if (src_p + new_ml > start2 + ml2 - MINMATCH) new_ml = (start2 - src_p) + ml2 - MINMATCH; - var correction = new_ml - (start2 - src_p); - if (correction > 0) - { - start2 += correction; - ref2 += correction; - ml2 -= correction; - } - } - // Now, we have start2 = ip+new_ml, with new_ml=min(ml, OPTIMAL_ML=18) - - var ml3 = start2 + ml2 < src_mflimit - ? LZ4HC_InsertAndGetWiderMatch_64(ctx, start2 + ml2 - 3, start2, ml2, ref ref3, ref start3) - : ml2; - - if (ml3 == ml2) // No better match : 2 sequences to encode - { - // ip & ref are known; Now for ml - if (start2 < src_p + ml) ml = (start2 - src_p); - // Now, encode 2 sequences - if (LZ4_encodeSequence_64(ctx, ref src_p, ref dst_p, ref src_anchor, ml, xxx_ref) != 0) return 0; - src_p = start2; - if (LZ4_encodeSequence_64(ctx, ref src_p, ref dst_p, ref src_anchor, ml2, ref2) != 0) return 0; - continue; - } - - if (start3 < src_p + ml + 3) // Not enough space for match 2 : remove it - { - if (start3 >= (src_p + ml)) // can write Seq1 immediately ==> Seq2 is removed, so Seq3 becomes Seq1 - { - if (start2 < src_p + ml) - { - var correction = (src_p + ml - start2); - start2 += correction; - ref2 += correction; - ml2 -= correction; - if (ml2 < MINMATCH) - { - start2 = start3; - ref2 = ref3; - ml2 = ml3; - } - } - - if (LZ4_encodeSequence_64(ctx, ref src_p, ref dst_p, ref src_anchor, ml, xxx_ref) != 0) return 0; - src_p = start3; - xxx_ref = ref3; - ml = ml3; - - start0 = start2; - ref0 = ref2; - ml0 = ml2; - goto _Search2; - } - - start2 = start3; - ref2 = ref3; - ml2 = ml3; - goto _Search3; - } - - // OK, now we have 3 ascending matches; let's write at least the first one - // ip & ref are known; Now for ml - if (start2 < src_p + ml) - { - if ((start2 - src_p) < ML_MASK) - { - if (ml > OPTIMAL_ML) ml = OPTIMAL_ML; - if (src_p + ml > start2 + ml2 - MINMATCH) ml = (start2 - src_p) + ml2 - MINMATCH; - var correction = ml - (start2 - src_p); - if (correction > 0) - { - start2 += correction; - ref2 += correction; - ml2 -= correction; - } - } - else - { - ml = (start2 - src_p); - } - } - if (LZ4_encodeSequence_64(ctx, ref src_p, ref dst_p, ref src_anchor, ml, xxx_ref) != 0) return 0; - - src_p = start2; - xxx_ref = ref2; - ml = ml2; - - start2 = start3; - ref2 = ref3; - ml2 = ml3; - - goto _Search3; - } - - // Encode Last Literals - { - var lastRun = (src_end - src_anchor); - if ((dst_p - dst_0) + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > (uint)dst_len) return 0; // Check output limit - if (lastRun >= RUN_MASK) - { - dst[dst_p++] = (RUN_MASK << ML_BITS); - lastRun -= RUN_MASK; - for (; lastRun > 254; lastRun -= 255) dst[dst_p++] = 255; - dst[dst_p++] = (byte)lastRun; - } - else - { - dst[dst_p++] = (byte)(lastRun << ML_BITS); - } - BlockCopy(src, src_anchor, dst, dst_p, src_end - src_anchor); - dst_p += src_end - src_anchor; - } - - // End - return (dst_p - dst_0); - } - } -} - -// ReSharper restore InconsistentNaming diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs.meta deleted file mode 100644 index e6f49e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.Safe64HC.Dirty.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c61e65caf96385a469be74084e2e1f00 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs deleted file mode 100644 index 5cdf315..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs +++ /dev/null @@ -1,176 +0,0 @@ -#region license - -/* -Copyright (c) 2013, Milosz Krajewski -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions - and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions - and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#endregion - -using System; - -/* -NOTE: - This file is shared between LZ4pn and LZ4ps. - If you would like to modify this file please keep in mind that your changes will - affect both projects. - Use 'UNSAFE' conditional define to differentiate -*/ - -// ReSharper disable InconsistentNaming - -#if UNSAFE -namespace LZ4pn -#else -namespace LZ4ps -#endif -{ - public static partial class LZ4Codec - { - #region configuration - - /// - /// Memory usage formula : N->2^N Bytes (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.) - /// Increasing memory usage improves compression ratio - /// Reduced memory usage can improve speed, due to cache effect - /// Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache - /// - private const int MEMORY_USAGE = 20; - - /// - /// Decreasing this value will make the algorithm skip faster data segments considered "incompressible" - /// This may decrease compression ratio dramatically, but will be faster on incompressible data - /// Increasing this value will make the algorithm search more before declaring a segment "incompressible" - /// This could improve compression a bit, but will be slower on incompressible data - /// The default value (6) is recommended - /// - private const int NOTCOMPRESSIBLE_DETECTIONLEVEL = 6; - -#if !UNSAFE - - /// Buffer length when Buffer.BlockCopy becomes faster than straight loop. - /// Please note that safe implementation REQUIRES it to be greater (not even equal) than 8. - private const int BLOCK_COPY_LIMIT = 16; - -#endif - - #endregion - - #region consts - - private const int MINMATCH = 4; - #pragma warning disable 162 - // ReSharper disable once UnreachableCode - private const int SKIPSTRENGTH = - NOTCOMPRESSIBLE_DETECTIONLEVEL > 2 - ? NOTCOMPRESSIBLE_DETECTIONLEVEL - : 2; - #pragma warning restore 162 - private const int COPYLENGTH = 8; - private const int LASTLITERALS = 5; - private const int MFLIMIT = COPYLENGTH + MINMATCH; - private const int MINLENGTH = MFLIMIT + 1; - private const int MAXD_LOG = 16; - private const int MAXD = 1 << MAXD_LOG; - private const int MAXD_MASK = MAXD - 1; - private const int MAX_DISTANCE = (1 << MAXD_LOG) - 1; - private const int ML_BITS = 4; - private const int ML_MASK = (1 << ML_BITS) - 1; - private const int RUN_BITS = 8 - ML_BITS; - private const int RUN_MASK = (1 << RUN_BITS) - 1; - private const int STEPSIZE_64 = 8; - private const int STEPSIZE_32 = 4; - - private const int LZ4_64KLIMIT = (1 << 16) + (MFLIMIT - 1); - - private const int HASH_LOG = MEMORY_USAGE - 2; - private const int HASH_TABLESIZE = 1 << HASH_LOG; - private const int HASH_ADJUST = (MINMATCH * 8) - HASH_LOG; - - private const int HASH64K_LOG = HASH_LOG + 1; - private const int HASH64K_TABLESIZE = 1 << HASH64K_LOG; - private const int HASH64K_ADJUST = (MINMATCH * 8) - HASH64K_LOG; - - private const int HASHHC_LOG = MAXD_LOG - 1; - private const int HASHHC_TABLESIZE = 1 << HASHHC_LOG; - private const int HASHHC_ADJUST = (MINMATCH * 8) - HASHHC_LOG; - //private const int HASHHC_MASK = HASHHC_TABLESIZE - 1; - - private static readonly int[] DECODER_TABLE_32 = { 0, 3, 2, 3, 0, 0, 0, 0 }; - private static readonly int[] DECODER_TABLE_64 = { 0, 0, 0, -1, 0, 1, 2, 3 }; - - private static readonly int[] DEBRUIJN_TABLE_32 = { - 0, 0, 3, 0, 3, 1, 3, 0, 3, 2, 2, 1, 3, 2, 0, 1, - 3, 3, 1, 2, 2, 2, 2, 0, 3, 1, 2, 0, 1, 0, 1, 1 - }; - - private static readonly int[] DEBRUIJN_TABLE_64 = { - 0, 0, 0, 0, 0, 1, 1, 2, 0, 3, 1, 3, 1, 4, 2, 7, - 0, 2, 3, 6, 1, 5, 3, 5, 1, 3, 4, 4, 2, 5, 6, 7, - 7, 0, 1, 2, 3, 3, 4, 6, 2, 6, 5, 5, 3, 4, 5, 6, - 7, 1, 2, 4, 6, 4, 4, 5, 7, 2, 6, 5, 7, 6, 7, 7 - }; - - private const int MAX_NB_ATTEMPTS = 256; - private const int OPTIMAL_ML = (ML_MASK - 1) + MINMATCH; - - #endregion - - #region public interface (common) - - /// Gets maximum the length of the output. - /// Length of the input. - /// Maximum number of bytes needed for compressed buffer. - public static int MaximumOutputLength(int inputLength) - { - return inputLength + (inputLength / 255) + 16; - } - - #endregion - - #region internal interface (common) - - internal static void CheckArguments( - byte[] input, int inputOffset, ref int inputLength, - byte[] output, int outputOffset, ref int outputLength) - { - if (inputLength < 0) inputLength = input.Length - inputOffset; - if (inputLength == 0) - { - outputLength = 0; - return; - } - - if (input == null) throw new ArgumentNullException("input"); - if (inputOffset < 0 || inputOffset + inputLength > input.Length) - throw new ArgumentException("inputOffset and inputLength are invalid for given input"); - - if (outputLength < 0) outputLength = output.Length - outputOffset; - if (output == null) throw new ArgumentNullException("output"); - if (outputOffset < 0 || outputOffset + outputLength > output.Length) - throw new ArgumentException("outputOffset and outputLength are invalid for given output"); - } - - #endregion - } -} - -// ReSharper restore InconsistentNaming \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs.meta deleted file mode 100644 index ea0b563..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LZ4/LZ4Codec.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 60265417a9a7cb346be1757b77ecdd37 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson.meta deleted file mode 100644 index 5a9723d..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d8af4fa8117696243b6eb6ea077c9767 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in deleted file mode 100644 index 2cd1f90..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; - - -[assembly: CLSCompliant (true)] - -[assembly: AssemblyTitle ("LitJson")] -[assembly: AssemblyDescription ("LitJSON library")] -[assembly: AssemblyConfiguration ("")] -[assembly: AssemblyCompany ("")] -[assembly: AssemblyProduct ("LitJSON")] -[assembly: AssemblyCopyright ( - "The authors disclaim copyright to this source code")] -[assembly: AssemblyTrademark ("")] -[assembly: AssemblyCulture ("")] - -[assembly: AssemblyVersion ("@ASSEMBLY_VERSION@")] diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in.meta deleted file mode 100644 index 31ea129..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/AssemblyInfo.cs.in.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 26d9c02a7b696574f89d1a5ee3f30686 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs deleted file mode 100644 index 9b7e2d1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs +++ /dev/null @@ -1,60 +0,0 @@ -#region Header -/** - * IJsonWrapper.cs - * Interface that represents a type capable of handling all kinds of JSON - * data. This is mainly used when mapping objects through JsonMapper, and - * it's implemented by JsonData. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System.Collections; -using System.Collections.Specialized; - - -namespace LitJson -{ - public enum JsonType - { - None, - - Object, - Array, - String, - Int, - Long, - Double, - Boolean - } - - public interface IJsonWrapper : IList, IOrderedDictionary - { - bool IsArray { get; } - bool IsBoolean { get; } - bool IsDouble { get; } - bool IsInt { get; } - bool IsLong { get; } - bool IsObject { get; } - bool IsString { get; } - - bool GetBoolean (); - double GetDouble (); - int GetInt (); - JsonType GetJsonType (); - long GetLong (); - string GetString (); - - void SetBoolean (bool val); - void SetDouble (double val); - void SetInt (int val); - void SetJsonType (JsonType type); - void SetLong (long val); - void SetString (string val); - - string ToJson (); - void ToJson (JsonWriter writer); - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs.meta deleted file mode 100644 index f2ed7db..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/IJsonWrapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: abfff456dbe045346b983faba1932ec5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs deleted file mode 100644 index e89e4b1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs +++ /dev/null @@ -1,1059 +0,0 @@ -#region Header -/** - * JsonData.cs - * Generic type to hold JSON data (objects, arrays, and so on). This is - * the default type returned by JsonMapper.ToObject(). - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.Specialized; -using System.IO; - - -namespace LitJson -{ - public class JsonData : IJsonWrapper, IEquatable - { - #region Fields - private IList inst_array; - private bool inst_boolean; - private double inst_double; - private int inst_int; - private long inst_long; - private IDictionary inst_object; - private string inst_string; - private string json; - private JsonType type; - - // Used to implement the IOrderedDictionary interface - private IList> object_list; - #endregion - - - #region Properties - public int Count { - get { return EnsureCollection ().Count; } - } - - public bool IsArray { - get { return type == JsonType.Array; } - } - - public bool IsBoolean { - get { return type == JsonType.Boolean; } - } - - public bool IsDouble { - get { return type == JsonType.Double; } - } - - public bool IsInt { - get { return type == JsonType.Int; } - } - - public bool IsLong { - get { return type == JsonType.Long; } - } - - public bool IsObject { - get { return type == JsonType.Object; } - } - - public bool IsString { - get { return type == JsonType.String; } - } - - public ICollection Keys { - get { EnsureDictionary (); return inst_object.Keys; } - } - - /// - /// Determines whether the json contains an element that has the specified key. - /// - /// The key to locate in the json. - /// true if the json contains an element that has the specified key; otherwise, false. - public Boolean ContainsKey(String key) { - EnsureDictionary(); - return this.inst_object.Keys.Contains(key); - } - #endregion - - - #region ICollection Properties - int ICollection.Count { - get { - return Count; - } - } - - bool ICollection.IsSynchronized { - get { - return EnsureCollection ().IsSynchronized; - } - } - - object ICollection.SyncRoot { - get { - return EnsureCollection ().SyncRoot; - } - } - #endregion - - - #region IDictionary Properties - bool IDictionary.IsFixedSize { - get { - return EnsureDictionary ().IsFixedSize; - } - } - - bool IDictionary.IsReadOnly { - get { - return EnsureDictionary ().IsReadOnly; - } - } - - ICollection IDictionary.Keys { - get { - EnsureDictionary (); - IList keys = new List (); - - foreach (KeyValuePair entry in - object_list) { - keys.Add (entry.Key); - } - - return (ICollection) keys; - } - } - - ICollection IDictionary.Values { - get { - EnsureDictionary (); - IList values = new List (); - - foreach (KeyValuePair entry in - object_list) { - values.Add (entry.Value); - } - - return (ICollection) values; - } - } - #endregion - - - - #region IJsonWrapper Properties - bool IJsonWrapper.IsArray { - get { return IsArray; } - } - - bool IJsonWrapper.IsBoolean { - get { return IsBoolean; } - } - - bool IJsonWrapper.IsDouble { - get { return IsDouble; } - } - - bool IJsonWrapper.IsInt { - get { return IsInt; } - } - - bool IJsonWrapper.IsLong { - get { return IsLong; } - } - - bool IJsonWrapper.IsObject { - get { return IsObject; } - } - - bool IJsonWrapper.IsString { - get { return IsString; } - } - #endregion - - - #region IList Properties - bool IList.IsFixedSize { - get { - return EnsureList ().IsFixedSize; - } - } - - bool IList.IsReadOnly { - get { - return EnsureList ().IsReadOnly; - } - } - #endregion - - - #region IDictionary Indexer - object IDictionary.this[object key] { - get { - return EnsureDictionary ()[key]; - } - - set { - if (! (key is String)) - throw new ArgumentException ( - "The key has to be a string"); - - JsonData data = ToJsonData (value); - - this[(string) key] = data; - } - } - #endregion - - - #region IOrderedDictionary Indexer - object IOrderedDictionary.this[int idx] { - get { - EnsureDictionary (); - return object_list[idx].Value; - } - - set { - EnsureDictionary (); - JsonData data = ToJsonData (value); - - KeyValuePair old_entry = object_list[idx]; - - inst_object[old_entry.Key] = data; - - KeyValuePair entry = - new KeyValuePair (old_entry.Key, data); - - object_list[idx] = entry; - } - } - #endregion - - - #region IList Indexer - object IList.this[int index] { - get { - return EnsureList ()[index]; - } - - set { - EnsureList (); - JsonData data = ToJsonData (value); - - this[index] = data; - } - } - #endregion - - - #region Public Indexers - public JsonData this[string prop_name] { - get { - EnsureDictionary (); - return inst_object[prop_name]; - } - - set { - EnsureDictionary (); - - KeyValuePair entry = - new KeyValuePair (prop_name, value); - - if (inst_object.ContainsKey (prop_name)) { - for (int i = 0; i < object_list.Count; i++) { - if (object_list[i].Key == prop_name) { - object_list[i] = entry; - break; - } - } - } else - object_list.Add (entry); - - inst_object[prop_name] = value; - - json = null; - } - } - - public JsonData this[int index] { - get { - EnsureCollection (); - - if (type == JsonType.Array) - return inst_array[index]; - - return object_list[index].Value; - } - - set { - EnsureCollection (); - - if (type == JsonType.Array) - inst_array[index] = value; - else { - KeyValuePair entry = object_list[index]; - KeyValuePair new_entry = - new KeyValuePair (entry.Key, value); - - object_list[index] = new_entry; - inst_object[entry.Key] = value; - } - - json = null; - } - } - #endregion - - - #region Constructors - public JsonData () - { - } - - public JsonData (bool boolean) - { - type = JsonType.Boolean; - inst_boolean = boolean; - } - - public JsonData (double number) - { - type = JsonType.Double; - inst_double = number; - } - - public JsonData (int number) - { - type = JsonType.Int; - inst_int = number; - } - - public JsonData (long number) - { - type = JsonType.Long; - inst_long = number; - } - - public JsonData (object obj) - { - if (obj is Boolean) { - type = JsonType.Boolean; - inst_boolean = (bool) obj; - return; - } - - if (obj is Double) { - type = JsonType.Double; - inst_double = (double) obj; - return; - } - - if (obj is Int32) { - type = JsonType.Int; - inst_int = (int) obj; - return; - } - - if (obj is Int64) { - type = JsonType.Long; - inst_long = (long) obj; - return; - } - - if (obj is String) { - type = JsonType.String; - inst_string = (string) obj; - return; - } - - throw new ArgumentException ( - "Unable to wrap the given object with JsonData"); - } - - public JsonData (string str) - { - type = JsonType.String; - inst_string = str; - } - #endregion - - - #region Implicit Conversions - public static implicit operator JsonData (Boolean data) - { - return new JsonData (data); - } - - public static implicit operator JsonData (Double data) - { - return new JsonData (data); - } - - public static implicit operator JsonData (Int32 data) - { - return new JsonData (data); - } - - public static implicit operator JsonData (Int64 data) - { - return new JsonData (data); - } - - public static implicit operator JsonData (String data) - { - return new JsonData (data); - } - #endregion - - - #region Explicit Conversions - public static explicit operator Boolean (JsonData data) - { - if (data.type != JsonType.Boolean) - throw new InvalidCastException ( - "Instance of JsonData doesn't hold a double"); - - return data.inst_boolean; - } - - public static explicit operator Double (JsonData data) - { - if (data.type != JsonType.Double) - throw new InvalidCastException ( - "Instance of JsonData doesn't hold a double"); - - return data.inst_double; - } - - public static explicit operator Int32(JsonData data) - { - if (data.type != JsonType.Int && data.type != JsonType.Long) - { - throw new InvalidCastException( - "Instance of JsonData doesn't hold an int"); - } - - // cast may truncate data... but that's up to the user to consider - return data.type == JsonType.Int ? data.inst_int : (int)data.inst_long; - } - - public static explicit operator Int64(JsonData data) - { - if (data.type != JsonType.Long && data.type != JsonType.Int) - { - throw new InvalidCastException( - "Instance of JsonData doesn't hold a long"); - } - - return data.type == JsonType.Long ? data.inst_long : data.inst_int; - } - - public static explicit operator String (JsonData data) - { - if (data.type != JsonType.String) - throw new InvalidCastException ( - "Instance of JsonData doesn't hold a string"); - - return data.inst_string; - } - #endregion - - - #region ICollection Methods - void ICollection.CopyTo (Array array, int index) - { - EnsureCollection ().CopyTo (array, index); - } - #endregion - - - #region IDictionary Methods - void IDictionary.Add (object key, object value) - { - JsonData data = ToJsonData (value); - - EnsureDictionary ().Add (key, data); - - KeyValuePair entry = - new KeyValuePair ((string) key, data); - object_list.Add (entry); - - json = null; - } - - void IDictionary.Clear () - { - EnsureDictionary ().Clear (); - object_list.Clear (); - json = null; - } - - bool IDictionary.Contains (object key) - { - return EnsureDictionary ().Contains (key); - } - - IDictionaryEnumerator IDictionary.GetEnumerator () - { - return ((IOrderedDictionary) this).GetEnumerator (); - } - - void IDictionary.Remove (object key) - { - EnsureDictionary ().Remove (key); - - for (int i = 0; i < object_list.Count; i++) { - if (object_list[i].Key == (string) key) { - object_list.RemoveAt (i); - break; - } - } - - json = null; - } - #endregion - - - #region IEnumerable Methods - IEnumerator IEnumerable.GetEnumerator () - { - return EnsureCollection ().GetEnumerator (); - } - #endregion - - - #region IJsonWrapper Methods - bool IJsonWrapper.GetBoolean () - { - if (type != JsonType.Boolean) - throw new InvalidOperationException ( - "JsonData instance doesn't hold a boolean"); - - return inst_boolean; - } - - double IJsonWrapper.GetDouble () - { - if (type != JsonType.Double) - throw new InvalidOperationException ( - "JsonData instance doesn't hold a double"); - - return inst_double; - } - - int IJsonWrapper.GetInt () - { - if (type != JsonType.Int) - throw new InvalidOperationException ( - "JsonData instance doesn't hold an int"); - - return inst_int; - } - - long IJsonWrapper.GetLong () - { - if (type != JsonType.Long) - throw new InvalidOperationException ( - "JsonData instance doesn't hold a long"); - - return inst_long; - } - - string IJsonWrapper.GetString () - { - if (type != JsonType.String) - throw new InvalidOperationException ( - "JsonData instance doesn't hold a string"); - - return inst_string; - } - - void IJsonWrapper.SetBoolean (bool val) - { - type = JsonType.Boolean; - inst_boolean = val; - json = null; - } - - void IJsonWrapper.SetDouble (double val) - { - type = JsonType.Double; - inst_double = val; - json = null; - } - - void IJsonWrapper.SetInt (int val) - { - type = JsonType.Int; - inst_int = val; - json = null; - } - - void IJsonWrapper.SetLong (long val) - { - type = JsonType.Long; - inst_long = val; - json = null; - } - - void IJsonWrapper.SetString (string val) - { - type = JsonType.String; - inst_string = val; - json = null; - } - - string IJsonWrapper.ToJson () - { - return ToJson (); - } - - void IJsonWrapper.ToJson (JsonWriter writer) - { - ToJson (writer); - } - #endregion - - - #region IList Methods - int IList.Add (object value) - { - return Add (value); - } - - void IList.Clear () - { - EnsureList ().Clear (); - json = null; - } - - bool IList.Contains (object value) - { - return EnsureList ().Contains (value); - } - - int IList.IndexOf (object value) - { - return EnsureList ().IndexOf (value); - } - - void IList.Insert (int index, object value) - { - EnsureList ().Insert (index, value); - json = null; - } - - void IList.Remove (object value) - { - EnsureList ().Remove (value); - json = null; - } - - void IList.RemoveAt (int index) - { - EnsureList ().RemoveAt (index); - json = null; - } - #endregion - - - #region IOrderedDictionary Methods - IDictionaryEnumerator IOrderedDictionary.GetEnumerator () - { - EnsureDictionary (); - - return new OrderedDictionaryEnumerator ( - object_list.GetEnumerator ()); - } - - void IOrderedDictionary.Insert (int idx, object key, object value) - { - string property = (string) key; - JsonData data = ToJsonData (value); - - this[property] = data; - - KeyValuePair entry = - new KeyValuePair (property, data); - - object_list.Insert (idx, entry); - } - - void IOrderedDictionary.RemoveAt (int idx) - { - EnsureDictionary (); - - inst_object.Remove (object_list[idx].Key); - object_list.RemoveAt (idx); - } - #endregion - - - #region Private Methods - private ICollection EnsureCollection () - { - if (type == JsonType.Array) - return (ICollection) inst_array; - - if (type == JsonType.Object) - return (ICollection) inst_object; - - throw new InvalidOperationException ( - "The JsonData instance has to be initialized first"); - } - - private IDictionary EnsureDictionary () - { - if (type == JsonType.Object) - return (IDictionary) inst_object; - - if (type != JsonType.None) - throw new InvalidOperationException ( - "Instance of JsonData is not a dictionary"); - - type = JsonType.Object; - inst_object = new Dictionary (); - object_list = new List> (); - - return (IDictionary) inst_object; - } - - private IList EnsureList () - { - if (type == JsonType.Array) - return (IList) inst_array; - - if (type != JsonType.None) - throw new InvalidOperationException ( - "Instance of JsonData is not a list"); - - type = JsonType.Array; - inst_array = new List (); - - return (IList) inst_array; - } - - private JsonData ToJsonData (object obj) - { - if (obj == null) - return null; - - if (obj is JsonData) - return (JsonData) obj; - - return new JsonData (obj); - } - - private static void WriteJson (IJsonWrapper obj, JsonWriter writer) - { - if (obj == null) { - writer.Write (null); - return; - } - - if (obj.IsString) { - writer.Write (obj.GetString ()); - return; - } - - if (obj.IsBoolean) { - writer.Write (obj.GetBoolean ()); - return; - } - - if (obj.IsDouble) { - writer.Write (obj.GetDouble ()); - return; - } - - if (obj.IsInt) { - writer.Write (obj.GetInt ()); - return; - } - - if (obj.IsLong) { - writer.Write (obj.GetLong ()); - return; - } - - if (obj.IsArray) { - writer.WriteArrayStart (); - foreach (object elem in (IList) obj) - WriteJson ((JsonData) elem, writer); - writer.WriteArrayEnd (); - - return; - } - - if (obj.IsObject) { - writer.WriteObjectStart (); - - foreach (DictionaryEntry entry in ((IDictionary) obj)) { - writer.WritePropertyName ((string) entry.Key); - WriteJson ((JsonData) entry.Value, writer); - } - writer.WriteObjectEnd (); - - return; - } - } - #endregion - - - public int Add (object value) - { - JsonData data = ToJsonData (value); - - json = null; - - return EnsureList ().Add (data); - } - - public bool Remove(object obj) - { - json = null; - if(IsObject) - { - JsonData value = null; - if (inst_object.TryGetValue((string)obj, out value)) - return inst_object.Remove((string)obj) && object_list.Remove(new KeyValuePair((string)obj, value)); - else - throw new KeyNotFoundException("The specified key was not found in the JsonData object."); - } - if(IsArray) - { - return inst_array.Remove(ToJsonData(obj)); - } - throw new InvalidOperationException ( - "Instance of JsonData is not an object or a list."); - } - - public void Clear () - { - if (IsObject) { - ((IDictionary) this).Clear (); - return; - } - - if (IsArray) { - ((IList) this).Clear (); - return; - } - } - - public bool Equals (JsonData x) - { - if (x == null) - return false; - - if (x.type != this.type) - { - // further check to see if this is a long to int comparison - if ((x.type != JsonType.Int && x.type != JsonType.Long) - || (this.type != JsonType.Int && this.type != JsonType.Long)) - { - return false; - } - } - - switch (this.type) { - case JsonType.None: - return true; - - case JsonType.Object: - return this.inst_object.Equals (x.inst_object); - - case JsonType.Array: - return this.inst_array.Equals (x.inst_array); - - case JsonType.String: - return this.inst_string.Equals (x.inst_string); - - case JsonType.Int: - { - if (x.IsLong) - { - if (x.inst_long < Int32.MinValue || x.inst_long > Int32.MaxValue) - return false; - return this.inst_int.Equals((int)x.inst_long); - } - return this.inst_int.Equals(x.inst_int); - } - - case JsonType.Long: - { - if (x.IsInt) - { - if (this.inst_long < Int32.MinValue || this.inst_long > Int32.MaxValue) - return false; - return x.inst_int.Equals((int)this.inst_long); - } - return this.inst_long.Equals(x.inst_long); - } - - case JsonType.Double: - return this.inst_double.Equals (x.inst_double); - - case JsonType.Boolean: - return this.inst_boolean.Equals (x.inst_boolean); - } - - return false; - } - - public JsonType GetJsonType () - { - return type; - } - - public void SetJsonType (JsonType type) - { - if (this.type == type) - return; - - switch (type) { - case JsonType.None: - break; - - case JsonType.Object: - inst_object = new Dictionary (); - object_list = new List> (); - break; - - case JsonType.Array: - inst_array = new List (); - break; - - case JsonType.String: - inst_string = default (String); - break; - - case JsonType.Int: - inst_int = default (Int32); - break; - - case JsonType.Long: - inst_long = default (Int64); - break; - - case JsonType.Double: - inst_double = default (Double); - break; - - case JsonType.Boolean: - inst_boolean = default (Boolean); - break; - } - - this.type = type; - } - - public string ToJson () - { - if (json != null) - return json; - - StringWriter sw = new StringWriter (); - JsonWriter writer = new JsonWriter (sw); - writer.Validate = false; - - WriteJson (this, writer); - json = sw.ToString (); - - return json; - } - - public void ToJson (JsonWriter writer) - { - bool old_validate = writer.Validate; - - writer.Validate = false; - - WriteJson (this, writer); - - writer.Validate = old_validate; - } - - public override string ToString () - { - switch (type) { - case JsonType.Array: - return "JsonData array"; - - case JsonType.Boolean: - return inst_boolean.ToString (); - - case JsonType.Double: - return inst_double.ToString (); - - case JsonType.Int: - return inst_int.ToString (); - - case JsonType.Long: - return inst_long.ToString (); - - case JsonType.Object: - return "JsonData object"; - - case JsonType.String: - return inst_string; - } - - return "Uninitialized JsonData"; - } - } - - - internal class OrderedDictionaryEnumerator : IDictionaryEnumerator - { - IEnumerator> list_enumerator; - - - public object Current { - get { return Entry; } - } - - public DictionaryEntry Entry { - get { - KeyValuePair curr = list_enumerator.Current; - return new DictionaryEntry (curr.Key, curr.Value); - } - } - - public object Key { - get { return list_enumerator.Current.Key; } - } - - public object Value { - get { return list_enumerator.Current.Value; } - } - - - public OrderedDictionaryEnumerator ( - IEnumerator> enumerator) - { - list_enumerator = enumerator; - } - - - public bool MoveNext () - { - return list_enumerator.MoveNext (); - } - - public void Reset () - { - list_enumerator.Reset (); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs.meta deleted file mode 100644 index 873e0c7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonData.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 715f67b612b906f41804f75448110c69 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs deleted file mode 100644 index 4efd890..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs +++ /dev/null @@ -1,65 +0,0 @@ -#region Header -/** - * JsonException.cs - * Base class throwed by LitJSON when a parsing error occurs. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; - - -namespace LitJson -{ - public class JsonException : -#if NETSTANDARD1_5 - Exception -#else - ApplicationException -#endif - { - public JsonException () : base () - { - } - - internal JsonException (ParserToken token) : - base (String.Format ( - "Invalid token '{0}' in input string", token)) - { - } - - internal JsonException (ParserToken token, - Exception inner_exception) : - base (String.Format ( - "Invalid token '{0}' in input string", token), - inner_exception) - { - } - - internal JsonException (int c) : - base (String.Format ( - "Invalid character '{0}' in input string", (char) c)) - { - } - - internal JsonException (int c, Exception inner_exception) : - base (String.Format ( - "Invalid character '{0}' in input string", (char) c), - inner_exception) - { - } - - - public JsonException (string message) : base (message) - { - } - - public JsonException (string message, Exception inner_exception) : - base (message, inner_exception) - { - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs.meta deleted file mode 100644 index a5744e8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonException.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 487577489b626994ea0c710fead4a72d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs deleted file mode 100644 index 99946cf..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs +++ /dev/null @@ -1,987 +0,0 @@ -#region Header -/** - * JsonMapper.cs - * JSON to .Net object and object to JSON conversions. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Globalization; -using System.IO; -using System.Reflection; - - -namespace LitJson -{ - internal struct PropertyMetadata - { - public MemberInfo Info; - public bool IsField; - public Type Type; - } - - - internal struct ArrayMetadata - { - private Type element_type; - private bool is_array; - private bool is_list; - - - public Type ElementType { - get { - if (element_type == null) - return typeof (JsonData); - - return element_type; - } - - set { element_type = value; } - } - - public bool IsArray { - get { return is_array; } - set { is_array = value; } - } - - public bool IsList { - get { return is_list; } - set { is_list = value; } - } - } - - - internal struct ObjectMetadata - { - private Type element_type; - private bool is_dictionary; - - private IDictionary properties; - - - public Type ElementType { - get { - if (element_type == null) - return typeof (JsonData); - - return element_type; - } - - set { element_type = value; } - } - - public bool IsDictionary { - get { return is_dictionary; } - set { is_dictionary = value; } - } - - public IDictionary Properties { - get { return properties; } - set { properties = value; } - } - } - - - internal delegate void ExporterFunc (object obj, JsonWriter writer); - public delegate void ExporterFunc (T obj, JsonWriter writer); - - internal delegate object ImporterFunc (object input); - public delegate TValue ImporterFunc (TJson input); - - public delegate IJsonWrapper WrapperFactory (); - - - public class JsonMapper - { - #region Fields - private static readonly int max_nesting_depth; - - private static readonly IFormatProvider datetime_format; - - private static readonly IDictionary base_exporters_table; - private static readonly IDictionary custom_exporters_table; - - private static readonly IDictionary> base_importers_table; - private static readonly IDictionary> custom_importers_table; - - private static readonly IDictionary array_metadata; - private static readonly object array_metadata_lock = new Object (); - - private static readonly IDictionary> conv_ops; - private static readonly object conv_ops_lock = new Object (); - - private static readonly IDictionary object_metadata; - private static readonly object object_metadata_lock = new Object (); - - private static readonly IDictionary> type_properties; - private static readonly object type_properties_lock = new Object (); - - private static readonly JsonWriter static_writer; - private static readonly object static_writer_lock = new Object (); - #endregion - - - #region Constructors - static JsonMapper () - { - max_nesting_depth = 100; - - array_metadata = new Dictionary (); - conv_ops = new Dictionary> (); - object_metadata = new Dictionary (); - type_properties = new Dictionary> (); - - static_writer = new JsonWriter (); - - datetime_format = DateTimeFormatInfo.InvariantInfo; - - base_exporters_table = new Dictionary (); - custom_exporters_table = new Dictionary (); - - base_importers_table = new Dictionary> (); - custom_importers_table = new Dictionary> (); - - RegisterBaseExporters (); - RegisterBaseImporters (); - } - #endregion - - - #region Private Methods - private static void AddArrayMetadata (Type type) - { - if (array_metadata.ContainsKey (type)) - return; - - ArrayMetadata data = new ArrayMetadata (); - - data.IsArray = type.IsArray; - - if (type.GetInterface ("System.Collections.IList") != null) - data.IsList = true; - - foreach (PropertyInfo p_info in type.GetProperties ()) { - if (p_info.Name != "Item") - continue; - - ParameterInfo[] parameters = p_info.GetIndexParameters (); - - if (parameters.Length != 1) - continue; - - if (parameters[0].ParameterType == typeof (int)) - data.ElementType = p_info.PropertyType; - } - - lock (array_metadata_lock) { - try { - array_metadata.Add (type, data); - } catch (ArgumentException) { - return; - } - } - } - - private static void AddObjectMetadata (Type type) - { - if (object_metadata.ContainsKey (type)) - return; - - ObjectMetadata data = new ObjectMetadata (); - - if (type.GetInterface ("System.Collections.IDictionary") != null) - data.IsDictionary = true; - - data.Properties = new Dictionary (); - - foreach (PropertyInfo p_info in type.GetProperties ()) { - if (p_info.Name == "Item") { - ParameterInfo[] parameters = p_info.GetIndexParameters (); - - if (parameters.Length != 1) - continue; - - if (parameters[0].ParameterType == typeof (string)) - data.ElementType = p_info.PropertyType; - - continue; - } - - PropertyMetadata p_data = new PropertyMetadata (); - p_data.Info = p_info; - p_data.Type = p_info.PropertyType; - - data.Properties.Add (p_info.Name, p_data); - } - - foreach (FieldInfo f_info in type.GetFields ()) { - PropertyMetadata p_data = new PropertyMetadata (); - p_data.Info = f_info; - p_data.IsField = true; - p_data.Type = f_info.FieldType; - - data.Properties.Add (f_info.Name, p_data); - } - - lock (object_metadata_lock) { - try { - object_metadata.Add (type, data); - } catch (ArgumentException) { - return; - } - } - } - - private static void AddTypeProperties (Type type) - { - if (type_properties.ContainsKey (type)) - return; - - IList props = new List (); - - foreach (PropertyInfo p_info in type.GetProperties ()) { - if (p_info.Name == "Item") - continue; - - PropertyMetadata p_data = new PropertyMetadata (); - p_data.Info = p_info; - p_data.IsField = false; - props.Add (p_data); - } - - foreach (FieldInfo f_info in type.GetFields ()) { - PropertyMetadata p_data = new PropertyMetadata (); - p_data.Info = f_info; - p_data.IsField = true; - - props.Add (p_data); - } - - lock (type_properties_lock) { - try { - type_properties.Add (type, props); - } catch (ArgumentException) { - return; - } - } - } - - private static MethodInfo GetConvOp (Type t1, Type t2) - { - lock (conv_ops_lock) { - if (! conv_ops.ContainsKey (t1)) - conv_ops.Add (t1, new Dictionary ()); - } - - if (conv_ops[t1].ContainsKey (t2)) - return conv_ops[t1][t2]; - - MethodInfo op = t1.GetMethod ( - "op_Implicit", new Type[] { t2 }); - - lock (conv_ops_lock) { - try { - conv_ops[t1].Add (t2, op); - } catch (ArgumentException) { - return conv_ops[t1][t2]; - } - } - - return op; - } - - private static object ReadValue (Type inst_type, JsonReader reader) - { - reader.Read (); - - if (reader.Token == JsonToken.ArrayEnd) - return null; - - Type underlying_type = Nullable.GetUnderlyingType(inst_type); - Type value_type = underlying_type ?? inst_type; - - if (reader.Token == JsonToken.Null) { - #if NETSTANDARD1_5 - if (inst_type.IsClass() || underlying_type != null) { - return null; - } - #else - if (inst_type.IsClass || underlying_type != null) { - return null; - } - #endif - - throw new JsonException (String.Format ( - "Can't assign null to an instance of type {0}", - inst_type)); - } - - if (reader.Token == JsonToken.Double || - reader.Token == JsonToken.Int || - reader.Token == JsonToken.Long || - reader.Token == JsonToken.String || - reader.Token == JsonToken.Boolean) { - - Type json_type = reader.Value.GetType (); - - if (value_type.IsAssignableFrom (json_type)) - return reader.Value; - - // If there's a custom importer that fits, use it - if (custom_importers_table.ContainsKey (json_type) && - custom_importers_table[json_type].ContainsKey ( - value_type)) { - - ImporterFunc importer = - custom_importers_table[json_type][value_type]; - - return importer (reader.Value); - } - - // Maybe there's a base importer that works - if (base_importers_table.ContainsKey (json_type) && - base_importers_table[json_type].ContainsKey ( - value_type)) { - - ImporterFunc importer = - base_importers_table[json_type][value_type]; - - return importer (reader.Value); - } - - // Maybe it's an enum - #if NETSTANDARD1_5 - if (value_type.IsEnum()) - return Enum.ToObject (value_type, reader.Value); - #else - if (value_type.IsEnum) - return Enum.ToObject (value_type, reader.Value); - #endif - // Try using an implicit conversion operator - MethodInfo conv_op = GetConvOp (value_type, json_type); - - if (conv_op != null) - return conv_op.Invoke (null, - new object[] { reader.Value }); - - // No luck - throw new JsonException (String.Format ( - "Can't assign value '{0}' (type {1}) to type {2}", - reader.Value, json_type, inst_type)); - } - - object instance = null; - - if (reader.Token == JsonToken.ArrayStart) { - - AddArrayMetadata (inst_type); - ArrayMetadata t_data = array_metadata[inst_type]; - - if (! t_data.IsArray && ! t_data.IsList) - throw new JsonException (String.Format ( - "Type {0} can't act as an array", - inst_type)); - - IList list; - Type elem_type; - - if (! t_data.IsArray) { - list = (IList) Activator.CreateInstance (inst_type); - elem_type = t_data.ElementType; - } else { - list = new ArrayList (); - elem_type = inst_type.GetElementType (); - } - - list.Clear(); - - while (true) { - object item = ReadValue (elem_type, reader); - if (item == null && reader.Token == JsonToken.ArrayEnd) - break; - - list.Add (item); - } - - if (t_data.IsArray) { - int n = list.Count; - instance = Array.CreateInstance (elem_type, n); - - for (int i = 0; i < n; i++) - ((Array) instance).SetValue (list[i], i); - } else - instance = list; - - } else if (reader.Token == JsonToken.ObjectStart) { - AddObjectMetadata (value_type); - ObjectMetadata t_data = object_metadata[value_type]; - - instance = Activator.CreateInstance (value_type); - - while (true) { - reader.Read (); - - if (reader.Token == JsonToken.ObjectEnd) - break; - - string property = (string) reader.Value; - - if (t_data.Properties.ContainsKey (property)) { - PropertyMetadata prop_data = - t_data.Properties[property]; - - if (prop_data.IsField) { - ((FieldInfo) prop_data.Info).SetValue ( - instance, ReadValue (prop_data.Type, reader)); - } else { - PropertyInfo p_info = - (PropertyInfo) prop_data.Info; - - if (p_info.CanWrite) - p_info.SetValue ( - instance, - ReadValue (prop_data.Type, reader), - null); - else - ReadValue (prop_data.Type, reader); - } - - } else { - if (! t_data.IsDictionary) { - - if (! reader.SkipNonMembers) { - throw new JsonException (String.Format ( - "The type {0} doesn't have the " + - "property '{1}'", - inst_type, property)); - } else { - ReadSkip (reader); - continue; - } - } - - ((IDictionary) instance).Add ( - property, ReadValue ( - t_data.ElementType, reader)); - } - - } - - } - - return instance; - } - - private static IJsonWrapper ReadValue (WrapperFactory factory, - JsonReader reader) - { - reader.Read (); - - if (reader.Token == JsonToken.ArrayEnd || - reader.Token == JsonToken.Null) - return null; - - IJsonWrapper instance = factory (); - - if (reader.Token == JsonToken.String) { - instance.SetString ((string) reader.Value); - return instance; - } - - if (reader.Token == JsonToken.Double) { - instance.SetDouble ((double) reader.Value); - return instance; - } - - if (reader.Token == JsonToken.Int) { - instance.SetInt ((int) reader.Value); - return instance; - } - - if (reader.Token == JsonToken.Long) { - instance.SetLong ((long) reader.Value); - return instance; - } - - if (reader.Token == JsonToken.Boolean) { - instance.SetBoolean ((bool) reader.Value); - return instance; - } - - if (reader.Token == JsonToken.ArrayStart) { - instance.SetJsonType (JsonType.Array); - - while (true) { - IJsonWrapper item = ReadValue (factory, reader); - if (item == null && reader.Token == JsonToken.ArrayEnd) - break; - - ((IList) instance).Add (item); - } - } - else if (reader.Token == JsonToken.ObjectStart) { - instance.SetJsonType (JsonType.Object); - - while (true) { - reader.Read (); - - if (reader.Token == JsonToken.ObjectEnd) - break; - - string property = (string) reader.Value; - - ((IDictionary) instance)[property] = ReadValue ( - factory, reader); - } - - } - - return instance; - } - - private static void ReadSkip (JsonReader reader) - { - ToWrapper ( - delegate { return new JsonMockWrapper (); }, reader); - } - - private static void RegisterBaseExporters () - { - base_exporters_table[typeof (byte)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToInt32 ((byte) obj)); - }; - - base_exporters_table[typeof (char)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToString ((char) obj)); - }; - - base_exporters_table[typeof (DateTime)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToString ((DateTime) obj, - datetime_format)); - }; - - base_exporters_table[typeof (decimal)] = - delegate (object obj, JsonWriter writer) { - writer.Write ((decimal) obj); - }; - - base_exporters_table[typeof (sbyte)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToInt32 ((sbyte) obj)); - }; - - base_exporters_table[typeof (short)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToInt32 ((short) obj)); - }; - - base_exporters_table[typeof (ushort)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToInt32 ((ushort) obj)); - }; - - base_exporters_table[typeof (uint)] = - delegate (object obj, JsonWriter writer) { - writer.Write (Convert.ToUInt64 ((uint) obj)); - }; - - base_exporters_table[typeof (ulong)] = - delegate (object obj, JsonWriter writer) { - writer.Write ((ulong) obj); - }; - - base_exporters_table[typeof(DateTimeOffset)] = - delegate (object obj, JsonWriter writer) { - writer.Write(((DateTimeOffset)obj).ToString("yyyy-MM-ddTHH:mm:ss.fffffffzzz", datetime_format)); - }; - } - - private static void RegisterBaseImporters () - { - ImporterFunc importer; - - importer = delegate (object input) { - return Convert.ToByte ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (byte), importer); - - importer = delegate (object input) { - return Convert.ToUInt64 ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (ulong), importer); - - importer = delegate (object input) { - return Convert.ToInt64((int)input); - }; - RegisterImporter(base_importers_table, typeof(int), - typeof(long), importer); - - importer = delegate (object input) { - return Convert.ToSByte ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (sbyte), importer); - - importer = delegate (object input) { - return Convert.ToInt16 ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (short), importer); - - importer = delegate (object input) { - return Convert.ToUInt16 ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (ushort), importer); - - importer = delegate (object input) { - return Convert.ToUInt32 ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (uint), importer); - - importer = delegate (object input) { - return Convert.ToSingle ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (float), importer); - - importer = delegate (object input) { - return Convert.ToDouble ((int) input); - }; - RegisterImporter (base_importers_table, typeof (int), - typeof (double), importer); - - importer = delegate (object input) { - return Convert.ToDecimal ((double) input); - }; - RegisterImporter (base_importers_table, typeof (double), - typeof (decimal), importer); - - importer = delegate (object input) { - return Convert.ToSingle((double)input); - }; - RegisterImporter(base_importers_table, typeof(double), - typeof(float), importer); - - importer = delegate (object input) { - return Convert.ToUInt32 ((long) input); - }; - RegisterImporter (base_importers_table, typeof (long), - typeof (uint), importer); - - importer = delegate (object input) { - return Convert.ToChar ((string) input); - }; - RegisterImporter (base_importers_table, typeof (string), - typeof (char), importer); - - importer = delegate (object input) { - return Convert.ToDateTime ((string) input, datetime_format); - }; - RegisterImporter (base_importers_table, typeof (string), - typeof (DateTime), importer); - - importer = delegate (object input) { - return DateTimeOffset.Parse((string)input, datetime_format); - }; - RegisterImporter(base_importers_table, typeof(string), - typeof(DateTimeOffset), importer); - } - - private static void RegisterImporter ( - IDictionary> table, - Type json_type, Type value_type, ImporterFunc importer) - { - if (! table.ContainsKey (json_type)) - table.Add (json_type, new Dictionary ()); - - table[json_type][value_type] = importer; - } - - private static void WriteValue (object obj, JsonWriter writer, - bool writer_is_private, - int depth) - { - if (depth > max_nesting_depth) - throw new JsonException ( - String.Format ("Max allowed object depth reached while " + - "trying to export from type {0}", - obj.GetType ())); - - if (obj == null) { - writer.Write (null); - return; - } - - if (obj is IJsonWrapper) { - if (writer_is_private) - writer.TextWriter.Write (((IJsonWrapper) obj).ToJson ()); - else - ((IJsonWrapper) obj).ToJson (writer); - - return; - } - - if (obj is String) { - writer.Write ((string) obj); - return; - } - - if (obj is Double) { - writer.Write ((double) obj); - return; - } - - if (obj is Single) - { - writer.Write((float)obj); - return; - } - - if (obj is Int32) { - writer.Write ((int) obj); - return; - } - - if (obj is Boolean) { - writer.Write ((bool) obj); - return; - } - - if (obj is Int64) { - writer.Write ((long) obj); - return; - } - - if (obj is Array) { - writer.WriteArrayStart (); - - foreach (object elem in (Array) obj) - WriteValue (elem, writer, writer_is_private, depth + 1); - - writer.WriteArrayEnd (); - - return; - } - - if (obj is IList) { - writer.WriteArrayStart (); - foreach (object elem in (IList) obj) - WriteValue (elem, writer, writer_is_private, depth + 1); - writer.WriteArrayEnd (); - - return; - } - - if (obj is IDictionary dictionary) { - writer.WriteObjectStart (); - foreach (DictionaryEntry entry in dictionary) { - var propertyName = entry.Key is string key ? - key - : Convert.ToString(entry.Key, CultureInfo.InvariantCulture); - writer.WritePropertyName (propertyName); - WriteValue (entry.Value, writer, writer_is_private, - depth + 1); - } - writer.WriteObjectEnd (); - - return; - } - - Type obj_type = obj.GetType (); - - // See if there's a custom exporter for the object - if (custom_exporters_table.ContainsKey (obj_type)) { - ExporterFunc exporter = custom_exporters_table[obj_type]; - exporter (obj, writer); - - return; - } - - // If not, maybe there's a base exporter - if (base_exporters_table.ContainsKey (obj_type)) { - ExporterFunc exporter = base_exporters_table[obj_type]; - exporter (obj, writer); - - return; - } - - // Last option, let's see if it's an enum - if (obj is Enum) { - Type e_type = Enum.GetUnderlyingType (obj_type); - - if (e_type == typeof (long)) - writer.Write ((long) obj); - else if (e_type == typeof (uint)) - writer.Write ((uint) obj); - else if (e_type == typeof (ulong)) - writer.Write ((ulong) obj); - else if (e_type == typeof(ushort)) - writer.Write ((ushort)obj); - else if (e_type == typeof(short)) - writer.Write ((short)obj); - else if (e_type == typeof(byte)) - writer.Write ((byte)obj); - else if (e_type == typeof(sbyte)) - writer.Write ((sbyte)obj); - else - writer.Write ((int) obj); - - return; - } - - // Okay, so it looks like the input should be exported as an - // object - AddTypeProperties (obj_type); - IList props = type_properties[obj_type]; - - writer.WriteObjectStart (); - foreach (PropertyMetadata p_data in props) { - if (p_data.IsField) { - writer.WritePropertyName (p_data.Info.Name); - WriteValue (((FieldInfo) p_data.Info).GetValue (obj), - writer, writer_is_private, depth + 1); - } - else { - PropertyInfo p_info = (PropertyInfo) p_data.Info; - - if (p_info.CanRead) { - writer.WritePropertyName (p_data.Info.Name); - WriteValue (p_info.GetValue (obj, null), - writer, writer_is_private, depth + 1); - } - } - } - writer.WriteObjectEnd (); - } - #endregion - - - public static string ToJson (object obj) - { - lock (static_writer_lock) { - static_writer.Reset (); - - WriteValue (obj, static_writer, true, 0); - - return static_writer.ToString (); - } - } - - public static void ToJson (object obj, JsonWriter writer) - { - WriteValue (obj, writer, false, 0); - } - - public static JsonData ToObject (JsonReader reader) - { - return (JsonData) ToWrapper ( - delegate { return new JsonData (); }, reader); - } - - public static JsonData ToObject (TextReader reader) - { - JsonReader json_reader = new JsonReader (reader); - - return (JsonData) ToWrapper ( - delegate { return new JsonData (); }, json_reader); - } - - public static JsonData ToObject (string json) - { - return (JsonData) ToWrapper ( - delegate { return new JsonData (); }, json); - } - - public static T ToObject (JsonReader reader) - { - return (T) ReadValue (typeof (T), reader); - } - - public static T ToObject (TextReader reader) - { - JsonReader json_reader = new JsonReader (reader); - - return (T) ReadValue (typeof (T), json_reader); - } - - public static T ToObject (string json) - { - JsonReader reader = new JsonReader (json); - - return (T) ReadValue (typeof (T), reader); - } - - public static object ToObject(string json, Type ConvertType ) - { - JsonReader reader = new JsonReader(json); - - return ReadValue(ConvertType, reader); - } - - public static IJsonWrapper ToWrapper (WrapperFactory factory, - JsonReader reader) - { - return ReadValue (factory, reader); - } - - public static IJsonWrapper ToWrapper (WrapperFactory factory, - string json) - { - JsonReader reader = new JsonReader (json); - - return ReadValue (factory, reader); - } - - public static void RegisterExporter (ExporterFunc exporter) - { - ExporterFunc exporter_wrapper = - delegate (object obj, JsonWriter writer) { - exporter ((T) obj, writer); - }; - - custom_exporters_table[typeof (T)] = exporter_wrapper; - } - - public static void RegisterImporter ( - ImporterFunc importer) - { - ImporterFunc importer_wrapper = - delegate (object input) { - return importer ((TJson) input); - }; - - RegisterImporter (custom_importers_table, typeof (TJson), - typeof (TValue), importer_wrapper); - } - - public static void UnregisterExporters () - { - custom_exporters_table.Clear (); - } - - public static void UnregisterImporters () - { - custom_importers_table.Clear (); - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs.meta deleted file mode 100644 index cb216b8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a40e2bd52cd7ba5418002ad0e7429f2c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs deleted file mode 100644 index dfe7adb..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs +++ /dev/null @@ -1,105 +0,0 @@ -#region Header -/** - * JsonMockWrapper.cs - * Mock object implementing IJsonWrapper, to facilitate actions like - * skipping data more efficiently. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections; -using System.Collections.Specialized; - - -namespace LitJson -{ - public class JsonMockWrapper : IJsonWrapper - { - public bool IsArray { get { return false; } } - public bool IsBoolean { get { return false; } } - public bool IsDouble { get { return false; } } - public bool IsInt { get { return false; } } - public bool IsLong { get { return false; } } - public bool IsObject { get { return false; } } - public bool IsString { get { return false; } } - - public bool GetBoolean () { return false; } - public double GetDouble () { return 0.0; } - public int GetInt () { return 0; } - public JsonType GetJsonType () { return JsonType.None; } - public long GetLong () { return 0L; } - public string GetString () { return ""; } - - public void SetBoolean (bool val) {} - public void SetDouble (double val) {} - public void SetInt (int val) {} - public void SetJsonType (JsonType type) {} - public void SetLong (long val) {} - public void SetString (string val) {} - - public string ToJson () { return ""; } - public void ToJson (JsonWriter writer) {} - - - bool IList.IsFixedSize { get { return true; } } - bool IList.IsReadOnly { get { return true; } } - - object IList.this[int index] { - get { return null; } - set {} - } - - int IList.Add (object value) { return 0; } - void IList.Clear () {} - bool IList.Contains (object value) { return false; } - int IList.IndexOf (object value) { return -1; } - void IList.Insert (int i, object v) {} - void IList.Remove (object value) {} - void IList.RemoveAt (int index) {} - - - int ICollection.Count { get { return 0; } } - bool ICollection.IsSynchronized { get { return false; } } - object ICollection.SyncRoot { get { return null; } } - - void ICollection.CopyTo (Array array, int index) {} - - - IEnumerator IEnumerable.GetEnumerator () { return null; } - - - bool IDictionary.IsFixedSize { get { return true; } } - bool IDictionary.IsReadOnly { get { return true; } } - - ICollection IDictionary.Keys { get { return null; } } - ICollection IDictionary.Values { get { return null; } } - - object IDictionary.this[object key] { - get { return null; } - set {} - } - - void IDictionary.Add (object k, object v) {} - void IDictionary.Clear () {} - bool IDictionary.Contains (object key) { return false; } - void IDictionary.Remove (object key) {} - - IDictionaryEnumerator IDictionary.GetEnumerator () { return null; } - - - object IOrderedDictionary.this[int idx] { - get { return null; } - set {} - } - - IDictionaryEnumerator IOrderedDictionary.GetEnumerator () { - return null; - } - void IOrderedDictionary.Insert (int i, object k, object v) {} - void IOrderedDictionary.RemoveAt (int i) {} - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs.meta deleted file mode 100644 index cc986dd..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonMockWrapper.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a41e5db7e3084864f8ce2834e175d58a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs deleted file mode 100644 index e47eabc..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs +++ /dev/null @@ -1,478 +0,0 @@ -#region Header -/** - * JsonReader.cs - * Stream-like access to JSON text. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections.Generic; -using System.Globalization; -using System.IO; -using System.Text; - - -namespace LitJson -{ - public enum JsonToken - { - None, - - ObjectStart, - PropertyName, - ObjectEnd, - - ArrayStart, - ArrayEnd, - - Int, - Long, - Double, - - String, - - Boolean, - Null - } - - - public class JsonReader - { - #region Fields - private static readonly IDictionary> parse_table; - - private Stack automaton_stack; - private int current_input; - private int current_symbol; - private bool end_of_json; - private bool end_of_input; - private Lexer lexer; - private bool parser_in_string; - private bool parser_return; - private bool read_started; - private TextReader reader; - private bool reader_is_owned; - private bool skip_non_members; - private object token_value; - private JsonToken token; - #endregion - - - #region Public Properties - public bool AllowComments { - get { return lexer.AllowComments; } - set { lexer.AllowComments = value; } - } - - public bool AllowSingleQuotedStrings { - get { return lexer.AllowSingleQuotedStrings; } - set { lexer.AllowSingleQuotedStrings = value; } - } - - public bool SkipNonMembers { - get { return skip_non_members; } - set { skip_non_members = value; } - } - - public bool EndOfInput { - get { return end_of_input; } - } - - public bool EndOfJson { - get { return end_of_json; } - } - - public JsonToken Token { - get { return token; } - } - - public object Value { - get { return token_value; } - } - #endregion - - - #region Constructors - static JsonReader () - { - parse_table = PopulateParseTable (); - } - - public JsonReader (string json_text) : - this (new StringReader (json_text), true) - { - } - - public JsonReader (TextReader reader) : - this (reader, false) - { - } - - private JsonReader (TextReader reader, bool owned) - { - if (reader == null) - throw new ArgumentNullException ("reader"); - - parser_in_string = false; - parser_return = false; - - read_started = false; - automaton_stack = new Stack (); - automaton_stack.Push ((int) ParserToken.End); - automaton_stack.Push ((int) ParserToken.Text); - - lexer = new Lexer (reader); - - end_of_input = false; - end_of_json = false; - - skip_non_members = true; - - this.reader = reader; - reader_is_owned = owned; - } - #endregion - - - #region Static Methods - private static IDictionary> PopulateParseTable () - { - // See section A.2. of the manual for details - IDictionary> parse_table = new Dictionary> (); - - TableAddRow (parse_table, ParserToken.Array); - TableAddCol (parse_table, ParserToken.Array, '[', - '[', - (int) ParserToken.ArrayPrime); - - TableAddRow (parse_table, ParserToken.ArrayPrime); - TableAddCol (parse_table, ParserToken.ArrayPrime, '"', - (int) ParserToken.Value, - - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, '[', - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, ']', - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, '{', - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, (int) ParserToken.Number, - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, (int) ParserToken.True, - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, (int) ParserToken.False, - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - TableAddCol (parse_table, ParserToken.ArrayPrime, (int) ParserToken.Null, - (int) ParserToken.Value, - (int) ParserToken.ValueRest, - ']'); - - TableAddRow (parse_table, ParserToken.Object); - TableAddCol (parse_table, ParserToken.Object, '{', - '{', - (int) ParserToken.ObjectPrime); - - TableAddRow (parse_table, ParserToken.ObjectPrime); - TableAddCol (parse_table, ParserToken.ObjectPrime, '"', - (int) ParserToken.Pair, - (int) ParserToken.PairRest, - '}'); - TableAddCol (parse_table, ParserToken.ObjectPrime, '}', - '}'); - - TableAddRow (parse_table, ParserToken.Pair); - TableAddCol (parse_table, ParserToken.Pair, '"', - (int) ParserToken.String, - ':', - (int) ParserToken.Value); - - TableAddRow (parse_table, ParserToken.PairRest); - TableAddCol (parse_table, ParserToken.PairRest, ',', - ',', - (int) ParserToken.Pair, - (int) ParserToken.PairRest); - TableAddCol (parse_table, ParserToken.PairRest, '}', - (int) ParserToken.Epsilon); - - TableAddRow (parse_table, ParserToken.String); - TableAddCol (parse_table, ParserToken.String, '"', - '"', - (int) ParserToken.CharSeq, - '"'); - - TableAddRow (parse_table, ParserToken.Text); - TableAddCol (parse_table, ParserToken.Text, '[', - (int) ParserToken.Array); - TableAddCol (parse_table, ParserToken.Text, '{', - (int) ParserToken.Object); - - TableAddRow (parse_table, ParserToken.Value); - TableAddCol (parse_table, ParserToken.Value, '"', - (int) ParserToken.String); - TableAddCol (parse_table, ParserToken.Value, '[', - (int) ParserToken.Array); - TableAddCol (parse_table, ParserToken.Value, '{', - (int) ParserToken.Object); - TableAddCol (parse_table, ParserToken.Value, (int) ParserToken.Number, - (int) ParserToken.Number); - TableAddCol (parse_table, ParserToken.Value, (int) ParserToken.True, - (int) ParserToken.True); - TableAddCol (parse_table, ParserToken.Value, (int) ParserToken.False, - (int) ParserToken.False); - TableAddCol (parse_table, ParserToken.Value, (int) ParserToken.Null, - (int) ParserToken.Null); - - TableAddRow (parse_table, ParserToken.ValueRest); - TableAddCol (parse_table, ParserToken.ValueRest, ',', - ',', - (int) ParserToken.Value, - (int) ParserToken.ValueRest); - TableAddCol (parse_table, ParserToken.ValueRest, ']', - (int) ParserToken.Epsilon); - - return parse_table; - } - - private static void TableAddCol (IDictionary> parse_table, ParserToken row, int col, - params int[] symbols) - { - parse_table[(int) row].Add (col, symbols); - } - - private static void TableAddRow (IDictionary> parse_table, ParserToken rule) - { - parse_table.Add ((int) rule, new Dictionary ()); - } - #endregion - - - #region Private Methods - private void ProcessNumber (string number) - { - if (number.IndexOf ('.') != -1 || - number.IndexOf ('e') != -1 || - number.IndexOf ('E') != -1) { - - double n_double; - if (double.TryParse (number, NumberStyles.Any, CultureInfo.InvariantCulture, out n_double)) { - token = JsonToken.Double; - token_value = n_double; - - return; - } - } - - int n_int32; - if (int.TryParse (number, NumberStyles.Integer, CultureInfo.InvariantCulture, out n_int32)) { - token = JsonToken.Int; - token_value = n_int32; - - return; - } - - long n_int64; - if (long.TryParse (number, NumberStyles.Integer, CultureInfo.InvariantCulture, out n_int64)) { - token = JsonToken.Long; - token_value = n_int64; - - return; - } - - ulong n_uint64; - if (ulong.TryParse(number, NumberStyles.Integer, CultureInfo.InvariantCulture, out n_uint64)) - { - token = JsonToken.Long; - token_value = n_uint64; - - return; - } - - // Shouldn't happen, but just in case, return something - token = JsonToken.Int; - token_value = 0; - } - - private void ProcessSymbol () - { - if (current_symbol == '[') { - token = JsonToken.ArrayStart; - parser_return = true; - - } else if (current_symbol == ']') { - token = JsonToken.ArrayEnd; - parser_return = true; - - } else if (current_symbol == '{') { - token = JsonToken.ObjectStart; - parser_return = true; - - } else if (current_symbol == '}') { - token = JsonToken.ObjectEnd; - parser_return = true; - - } else if (current_symbol == '"') { - if (parser_in_string) { - parser_in_string = false; - - parser_return = true; - - } else { - if (token == JsonToken.None) - token = JsonToken.String; - - parser_in_string = true; - } - - } else if (current_symbol == (int) ParserToken.CharSeq) { - token_value = lexer.StringValue; - - } else if (current_symbol == (int) ParserToken.False) { - token = JsonToken.Boolean; - token_value = false; - parser_return = true; - - } else if (current_symbol == (int) ParserToken.Null) { - token = JsonToken.Null; - parser_return = true; - - } else if (current_symbol == (int) ParserToken.Number) { - ProcessNumber (lexer.StringValue); - - parser_return = true; - - } else if (current_symbol == (int) ParserToken.Pair) { - token = JsonToken.PropertyName; - - } else if (current_symbol == (int) ParserToken.True) { - token = JsonToken.Boolean; - token_value = true; - parser_return = true; - - } - } - - private bool ReadToken () - { - if (end_of_input) - return false; - - lexer.NextToken (); - - if (lexer.EndOfInput) { - Close (); - - return false; - } - - current_input = lexer.Token; - - return true; - } - #endregion - - - public void Close () - { - if (end_of_input) - return; - - end_of_input = true; - end_of_json = true; - - if (reader_is_owned) - { - using(reader){} - } - - reader = null; - } - - public bool Read () - { - if (end_of_input) - return false; - - if (end_of_json) { - end_of_json = false; - automaton_stack.Clear (); - automaton_stack.Push ((int) ParserToken.End); - automaton_stack.Push ((int) ParserToken.Text); - } - - parser_in_string = false; - parser_return = false; - - token = JsonToken.None; - token_value = null; - - if (! read_started) { - read_started = true; - - if (! ReadToken ()) - return false; - } - - - int[] entry_symbols; - - while (true) { - if (parser_return) { - if (automaton_stack.Peek () == (int) ParserToken.End) - end_of_json = true; - - return true; - } - - current_symbol = automaton_stack.Pop (); - - ProcessSymbol (); - - if (current_symbol == current_input) { - if (! ReadToken ()) { - if (automaton_stack.Peek () != (int) ParserToken.End) - throw new JsonException ( - "Input doesn't evaluate to proper JSON text"); - - if (parser_return) - return true; - - return false; - } - - continue; - } - - try { - - entry_symbols = - parse_table[current_symbol][current_input]; - - } catch (KeyNotFoundException e) { - throw new JsonException ((ParserToken) current_input, e); - } - - if (entry_symbols[0] == (int) ParserToken.Epsilon) - continue; - - for (int i = entry_symbols.Length - 1; i >= 0; i--) - automaton_stack.Push (entry_symbols[i]); - } - } - - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs.meta deleted file mode 100644 index bcb4cc8..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonReader.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6310a86e7220bcb419561af12d535bbd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs deleted file mode 100644 index 4bfaaac..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs +++ /dev/null @@ -1,484 +0,0 @@ -#region Header -/** - * JsonWriter.cs - * Stream-like facility to output JSON text. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections.Generic; -using System.Globalization; -using System.IO; -using System.Text; - - -namespace LitJson -{ - internal enum Condition - { - InArray, - InObject, - NotAProperty, - Property, - Value - } - - internal class WriterContext - { - public int Count; - public bool InArray; - public bool InObject; - public bool ExpectingValue; - public int Padding; - } - - public class JsonWriter - { - #region Fields - private static readonly NumberFormatInfo number_format; - - private WriterContext context; - private Stack ctx_stack; - private bool has_reached_end; - private char[] hex_seq; - private int indentation; - private int indent_value; - private StringBuilder inst_string_builder; - private bool pretty_print; - private bool validate; - private bool lower_case_properties; - private TextWriter writer; - #endregion - - - #region Properties - public int IndentValue { - get { return indent_value; } - set { - indentation = (indentation / indent_value) * value; - indent_value = value; - } - } - - public bool PrettyPrint { - get { return pretty_print; } - set { pretty_print = value; } - } - - public TextWriter TextWriter { - get { return writer; } - } - - public bool Validate { - get { return validate; } - set { validate = value; } - } - - public bool LowerCaseProperties { - get { return lower_case_properties; } - set { lower_case_properties = value; } - } - #endregion - - - #region Constructors - static JsonWriter () - { - number_format = NumberFormatInfo.InvariantInfo; - } - - public JsonWriter () - { - inst_string_builder = new StringBuilder (); - writer = new StringWriter (inst_string_builder); - - Init (); - } - - public JsonWriter (StringBuilder sb) : - this (new StringWriter (sb)) - { - } - - public JsonWriter (TextWriter writer) - { - if (writer == null) - throw new ArgumentNullException ("writer"); - - this.writer = writer; - - Init (); - } - #endregion - - - #region Private Methods - private void DoValidation (Condition cond) - { - if (! context.ExpectingValue) - context.Count++; - - if (! validate) - return; - - if (has_reached_end) - throw new JsonException ( - "A complete JSON symbol has already been written"); - - switch (cond) { - case Condition.InArray: - if (! context.InArray) - throw new JsonException ( - "Can't close an array here"); - break; - - case Condition.InObject: - if (! context.InObject || context.ExpectingValue) - throw new JsonException ( - "Can't close an object here"); - break; - - case Condition.NotAProperty: - if (context.InObject && ! context.ExpectingValue) - throw new JsonException ( - "Expected a property"); - break; - - case Condition.Property: - if (! context.InObject || context.ExpectingValue) - throw new JsonException ( - "Can't add a property here"); - break; - - case Condition.Value: - if (! context.InArray && - (! context.InObject || ! context.ExpectingValue)) - throw new JsonException ( - "Can't add a value here"); - - break; - } - } - - private void Init () - { - has_reached_end = false; - hex_seq = new char[4]; - indentation = 0; - indent_value = 4; - pretty_print = false; - validate = true; - lower_case_properties = false; - - ctx_stack = new Stack (); - context = new WriterContext (); - ctx_stack.Push (context); - } - - private static void IntToHex (int n, char[] hex) - { - int num; - - for (int i = 0; i < 4; i++) { - num = n % 16; - - if (num < 10) - hex[3 - i] = (char) ('0' + num); - else - hex[3 - i] = (char) ('A' + (num - 10)); - - n >>= 4; - } - } - - private void Indent () - { - if (pretty_print) - indentation += indent_value; - } - - - private void Put (string str) - { - if (pretty_print && ! context.ExpectingValue) - for (int i = 0; i < indentation; i++) - writer.Write (' '); - - writer.Write (str); - } - - private void PutNewline () - { - PutNewline (true); - } - - private void PutNewline (bool add_comma) - { - if (add_comma && ! context.ExpectingValue && - context.Count > 1) - writer.Write (','); - - if (pretty_print && ! context.ExpectingValue) - writer.Write (Environment.NewLine); - } - - private void PutString (string str) - { - Put (String.Empty); - - writer.Write ('"'); - - int n = str.Length; - for (int i = 0; i < n; i++) { - switch (str[i]) { - case '\n': - writer.Write ("\\n"); - continue; - - case '\r': - writer.Write ("\\r"); - continue; - - case '\t': - writer.Write ("\\t"); - continue; - - case '"': - case '\\': - writer.Write ('\\'); - writer.Write (str[i]); - continue; - - case '\f': - writer.Write ("\\f"); - continue; - - case '\b': - writer.Write ("\\b"); - continue; - } - - if ((int) str[i] >= 32 && (int) str[i] <= 126) { - writer.Write (str[i]); - continue; - } - - // Default, turn into a \uXXXX sequence - IntToHex ((int) str[i], hex_seq); - writer.Write ("\\u"); - writer.Write (hex_seq); - } - - writer.Write ('"'); - } - - private void Unindent () - { - if (pretty_print) - indentation -= indent_value; - } - #endregion - - - public override string ToString () - { - if (inst_string_builder == null) - return String.Empty; - - return inst_string_builder.ToString (); - } - - public void Reset () - { - has_reached_end = false; - - ctx_stack.Clear (); - context = new WriterContext (); - ctx_stack.Push (context); - - if (inst_string_builder != null) - inst_string_builder.Remove (0, inst_string_builder.Length); - } - - public void Write (bool boolean) - { - DoValidation (Condition.Value); - PutNewline (); - - Put (boolean ? "true" : "false"); - - context.ExpectingValue = false; - } - - public void Write (decimal number) - { - DoValidation (Condition.Value); - PutNewline (); - - Put (Convert.ToString (number, number_format)); - - context.ExpectingValue = false; - } - - public void Write (double number) - { - DoValidation (Condition.Value); - PutNewline (); - - string str = Convert.ToString (number, number_format); - Put (str); - - if (str.IndexOf ('.') == -1 && - str.IndexOf ('E') == -1) - writer.Write (".0"); - - context.ExpectingValue = false; - } - - public void Write(float number) - { - DoValidation(Condition.Value); - PutNewline(); - - string str = Convert.ToString(number, number_format); - Put(str); - - context.ExpectingValue = false; - } - - public void Write (int number) - { - DoValidation (Condition.Value); - PutNewline (); - - Put (Convert.ToString (number, number_format)); - - context.ExpectingValue = false; - } - - public void Write (long number) - { - DoValidation (Condition.Value); - PutNewline (); - - Put (Convert.ToString (number, number_format)); - - context.ExpectingValue = false; - } - - public void Write (string str) - { - DoValidation (Condition.Value); - PutNewline (); - - if (str == null) - Put ("null"); - else - PutString (str); - - context.ExpectingValue = false; - } - - [CLSCompliant(false)] - public void Write (ulong number) - { - DoValidation (Condition.Value); - PutNewline (); - - Put (Convert.ToString (number, number_format)); - - context.ExpectingValue = false; - } - - public void WriteArrayEnd () - { - DoValidation (Condition.InArray); - PutNewline (false); - - ctx_stack.Pop (); - if (ctx_stack.Count == 1) - has_reached_end = true; - else { - context = ctx_stack.Peek (); - context.ExpectingValue = false; - } - - Unindent (); - Put ("]"); - } - - public void WriteArrayStart () - { - DoValidation (Condition.NotAProperty); - PutNewline (); - - Put ("["); - - context = new WriterContext (); - context.InArray = true; - ctx_stack.Push (context); - - Indent (); - } - - public void WriteObjectEnd () - { - DoValidation (Condition.InObject); - PutNewline (false); - - ctx_stack.Pop (); - if (ctx_stack.Count == 1) - has_reached_end = true; - else { - context = ctx_stack.Peek (); - context.ExpectingValue = false; - } - - Unindent (); - Put ("}"); - } - - public void WriteObjectStart () - { - DoValidation (Condition.NotAProperty); - PutNewline (); - - Put ("{"); - - context = new WriterContext (); - context.InObject = true; - ctx_stack.Push (context); - - Indent (); - } - - public void WritePropertyName (string property_name) - { - DoValidation (Condition.Property); - PutNewline (); - string propertyName = (property_name == null || !lower_case_properties) - ? property_name - : property_name.ToLowerInvariant(); - - PutString (propertyName); - - if (pretty_print) { - if (propertyName.Length > context.Padding) - context.Padding = propertyName.Length; - - for (int i = context.Padding - propertyName.Length; - i >= 0; i--) - writer.Write (' '); - - writer.Write (": "); - } else - writer.Write (':'); - - context.ExpectingValue = true; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs.meta deleted file mode 100644 index d61625e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/JsonWriter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 66d7da3d133fcec45bdc6b5ac88dc915 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs deleted file mode 100644 index cb62d55..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs +++ /dev/null @@ -1,912 +0,0 @@ -#region Header -/** - * Lexer.cs - * JSON lexer implementation based on a finite state machine. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; - - -namespace LitJson -{ - internal class FsmContext - { - public bool Return; - public int NextState; - public Lexer L; - public int StateStack; - } - - - internal class Lexer - { - #region Fields - private delegate bool StateHandler (FsmContext ctx); - - private static readonly int[] fsm_return_table; - private static readonly StateHandler[] fsm_handler_table; - - private bool allow_comments; - private bool allow_single_quoted_strings; - private bool end_of_input; - private FsmContext fsm_context; - private int input_buffer; - private int input_char; - private TextReader reader; - private int state; - private StringBuilder string_buffer; - private string string_value; - private int token; - private int unichar; - #endregion - - - #region Properties - public bool AllowComments { - get { return allow_comments; } - set { allow_comments = value; } - } - - public bool AllowSingleQuotedStrings { - get { return allow_single_quoted_strings; } - set { allow_single_quoted_strings = value; } - } - - public bool EndOfInput { - get { return end_of_input; } - } - - public int Token { - get { return token; } - } - - public string StringValue { - get { return string_value; } - } - #endregion - - - #region Constructors - static Lexer () - { - PopulateFsmTables (out fsm_handler_table, out fsm_return_table); - } - - public Lexer (TextReader reader) - { - allow_comments = true; - allow_single_quoted_strings = true; - - input_buffer = 0; - string_buffer = new StringBuilder (128); - state = 1; - end_of_input = false; - this.reader = reader; - - fsm_context = new FsmContext (); - fsm_context.L = this; - } - #endregion - - - #region Static Methods - private static int HexValue (int digit) - { - switch (digit) { - case 'a': - case 'A': - return 10; - - case 'b': - case 'B': - return 11; - - case 'c': - case 'C': - return 12; - - case 'd': - case 'D': - return 13; - - case 'e': - case 'E': - return 14; - - case 'f': - case 'F': - return 15; - - default: - return digit - '0'; - } - } - - private static void PopulateFsmTables (out StateHandler[] fsm_handler_table, out int[] fsm_return_table) - { - // See section A.1. of the manual for details of the finite - // state machine. - fsm_handler_table = new StateHandler[28] { - State1, - State2, - State3, - State4, - State5, - State6, - State7, - State8, - State9, - State10, - State11, - State12, - State13, - State14, - State15, - State16, - State17, - State18, - State19, - State20, - State21, - State22, - State23, - State24, - State25, - State26, - State27, - State28 - }; - - fsm_return_table = new int[28] { - (int) ParserToken.Char, - 0, - (int) ParserToken.Number, - (int) ParserToken.Number, - 0, - (int) ParserToken.Number, - 0, - (int) ParserToken.Number, - 0, - 0, - (int) ParserToken.True, - 0, - 0, - 0, - (int) ParserToken.False, - 0, - 0, - (int) ParserToken.Null, - (int) ParserToken.CharSeq, - (int) ParserToken.Char, - 0, - 0, - (int) ParserToken.CharSeq, - (int) ParserToken.Char, - 0, - 0, - 0, - 0 - }; - } - - private static char ProcessEscChar (int esc_char) - { - switch (esc_char) { - case '"': - case '\'': - case '\\': - case '/': - return Convert.ToChar (esc_char); - - case 'n': - return '\n'; - - case 't': - return '\t'; - - case 'r': - return '\r'; - - case 'b': - return '\b'; - - case 'f': - return '\f'; - - default: - // Unreachable - return '?'; - } - } - - private static bool State1 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char == ' ' || - ctx.L.input_char >= '\t' && ctx.L.input_char <= '\r') - continue; - - if (ctx.L.input_char >= '1' && ctx.L.input_char <= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 3; - return true; - } - - switch (ctx.L.input_char) { - case '"': - ctx.NextState = 19; - ctx.Return = true; - return true; - - case ',': - case ':': - case '[': - case ']': - case '{': - case '}': - ctx.NextState = 1; - ctx.Return = true; - return true; - - case '-': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 2; - return true; - - case '0': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 4; - return true; - - case 'f': - ctx.NextState = 12; - return true; - - case 'n': - ctx.NextState = 16; - return true; - - case 't': - ctx.NextState = 9; - return true; - - case '\'': - if (! ctx.L.allow_single_quoted_strings) - return false; - - ctx.L.input_char = '"'; - ctx.NextState = 23; - ctx.Return = true; - return true; - - case '/': - if (! ctx.L.allow_comments) - return false; - - ctx.NextState = 25; - return true; - - default: - return false; - } - } - - return true; - } - - private static bool State2 (FsmContext ctx) - { - ctx.L.GetChar (); - - if (ctx.L.input_char >= '1' && ctx.L.input_char<= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 3; - return true; - } - - switch (ctx.L.input_char) { - case '0': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 4; - return true; - - default: - return false; - } - } - - private static bool State3 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char >= '0' && ctx.L.input_char <= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - continue; - } - - if (ctx.L.input_char == ' ' || - ctx.L.input_char >= '\t' && ctx.L.input_char <= '\r') { - ctx.Return = true; - ctx.NextState = 1; - return true; - } - - switch (ctx.L.input_char) { - case ',': - case ']': - case '}': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 1; - return true; - - case '.': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 5; - return true; - - case 'e': - case 'E': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 7; - return true; - - default: - return false; - } - } - return true; - } - - private static bool State4 (FsmContext ctx) - { - ctx.L.GetChar (); - - if (ctx.L.input_char == ' ' || - ctx.L.input_char >= '\t' && ctx.L.input_char <= '\r') { - ctx.Return = true; - ctx.NextState = 1; - return true; - } - - switch (ctx.L.input_char) { - case ',': - case ']': - case '}': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 1; - return true; - - case '.': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 5; - return true; - - case 'e': - case 'E': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 7; - return true; - - default: - return false; - } - } - - private static bool State5 (FsmContext ctx) - { - ctx.L.GetChar (); - - if (ctx.L.input_char >= '0' && ctx.L.input_char <= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 6; - return true; - } - - return false; - } - - private static bool State6 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char >= '0' && ctx.L.input_char <= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - continue; - } - - if (ctx.L.input_char == ' ' || - ctx.L.input_char >= '\t' && ctx.L.input_char <= '\r') { - ctx.Return = true; - ctx.NextState = 1; - return true; - } - - switch (ctx.L.input_char) { - case ',': - case ']': - case '}': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 1; - return true; - - case 'e': - case 'E': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 7; - return true; - - default: - return false; - } - } - - return true; - } - - private static bool State7 (FsmContext ctx) - { - ctx.L.GetChar (); - - if (ctx.L.input_char >= '0' && ctx.L.input_char<= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 8; - return true; - } - - switch (ctx.L.input_char) { - case '+': - case '-': - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - ctx.NextState = 8; - return true; - - default: - return false; - } - } - - private static bool State8 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char >= '0' && ctx.L.input_char<= '9') { - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - continue; - } - - if (ctx.L.input_char == ' ' || - ctx.L.input_char >= '\t' && ctx.L.input_char<= '\r') { - ctx.Return = true; - ctx.NextState = 1; - return true; - } - - switch (ctx.L.input_char) { - case ',': - case ']': - case '}': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - return true; - } - - private static bool State9 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'r': - ctx.NextState = 10; - return true; - - default: - return false; - } - } - - private static bool State10 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'u': - ctx.NextState = 11; - return true; - - default: - return false; - } - } - - private static bool State11 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'e': - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - private static bool State12 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'a': - ctx.NextState = 13; - return true; - - default: - return false; - } - } - - private static bool State13 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'l': - ctx.NextState = 14; - return true; - - default: - return false; - } - } - - private static bool State14 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 's': - ctx.NextState = 15; - return true; - - default: - return false; - } - } - - private static bool State15 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'e': - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - private static bool State16 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'u': - ctx.NextState = 17; - return true; - - default: - return false; - } - } - - private static bool State17 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'l': - ctx.NextState = 18; - return true; - - default: - return false; - } - } - - private static bool State18 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'l': - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - private static bool State19 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - switch (ctx.L.input_char) { - case '"': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 20; - return true; - - case '\\': - ctx.StateStack = 19; - ctx.NextState = 21; - return true; - - default: - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - continue; - } - } - - return true; - } - - private static bool State20 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case '"': - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - private static bool State21 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case 'u': - ctx.NextState = 22; - return true; - - case '"': - case '\'': - case '/': - case '\\': - case 'b': - case 'f': - case 'n': - case 'r': - case 't': - ctx.L.string_buffer.Append ( - ProcessEscChar (ctx.L.input_char)); - ctx.NextState = ctx.StateStack; - return true; - - default: - return false; - } - } - - private static bool State22 (FsmContext ctx) - { - int counter = 0; - int mult = 4096; - - ctx.L.unichar = 0; - - while (ctx.L.GetChar ()) { - - if (ctx.L.input_char >= '0' && ctx.L.input_char <= '9' || - ctx.L.input_char >= 'A' && ctx.L.input_char <= 'F' || - ctx.L.input_char >= 'a' && ctx.L.input_char <= 'f') { - - ctx.L.unichar += HexValue (ctx.L.input_char) * mult; - - counter++; - mult /= 16; - - if (counter == 4) { - ctx.L.string_buffer.Append ( - Convert.ToChar (ctx.L.unichar)); - ctx.NextState = ctx.StateStack; - return true; - } - - continue; - } - - return false; - } - - return true; - } - - private static bool State23 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - switch (ctx.L.input_char) { - case '\'': - ctx.L.UngetChar (); - ctx.Return = true; - ctx.NextState = 24; - return true; - - case '\\': - ctx.StateStack = 23; - ctx.NextState = 21; - return true; - - default: - ctx.L.string_buffer.Append ((char) ctx.L.input_char); - continue; - } - } - - return true; - } - - private static bool State24 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case '\'': - ctx.L.input_char = '"'; - ctx.Return = true; - ctx.NextState = 1; - return true; - - default: - return false; - } - } - - private static bool State25 (FsmContext ctx) - { - ctx.L.GetChar (); - - switch (ctx.L.input_char) { - case '*': - ctx.NextState = 27; - return true; - - case '/': - ctx.NextState = 26; - return true; - - default: - return false; - } - } - - private static bool State26 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char == '\n') { - ctx.NextState = 1; - return true; - } - } - - return true; - } - - private static bool State27 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char == '*') { - ctx.NextState = 28; - return true; - } - } - - return true; - } - - private static bool State28 (FsmContext ctx) - { - while (ctx.L.GetChar ()) { - if (ctx.L.input_char == '*') - continue; - - if (ctx.L.input_char == '/') { - ctx.NextState = 1; - return true; - } - - ctx.NextState = 27; - return true; - } - - return true; - } - #endregion - - - private bool GetChar () - { - if ((input_char = NextChar ()) != -1) - return true; - - end_of_input = true; - return false; - } - - private int NextChar () - { - if (input_buffer != 0) { - int tmp = input_buffer; - input_buffer = 0; - - return tmp; - } - - return reader.Read (); - } - - public bool NextToken () - { - StateHandler handler; - fsm_context.Return = false; - - while (true) { - handler = fsm_handler_table[state - 1]; - - if (! handler (fsm_context)) - throw new JsonException (input_char); - - if (end_of_input) - return false; - - if (fsm_context.Return) { - string_value = string_buffer.ToString (); - string_buffer.Remove (0, string_buffer.Length); - token = fsm_return_table[state - 1]; - - if (token == (int) ParserToken.Char) - token = input_char; - - state = fsm_context.NextState; - - return true; - } - - state = fsm_context.NextState; - } - } - - private void UngetChar () - { - input_buffer = input_char; - } - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs.meta deleted file mode 100644 index e2f541e..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Lexer.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 38512c4502c2fe44d883bcba36d602f5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs deleted file mode 100644 index 55b02a2..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs +++ /dev/null @@ -1,24 +0,0 @@ -#if NETSTANDARD1_5 -using System; -using System.Reflection; -namespace LitJson -{ - internal static class Netstandard15Polyfill - { - internal static Type GetInterface(this Type type, string name) - { - return type.GetTypeInfo().GetInterface(name); - } - - internal static bool IsClass(this Type type) - { - return type.GetTypeInfo().IsClass; - } - - internal static bool IsEnum(this Type type) - { - return type.GetTypeInfo().IsEnum; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs.meta deleted file mode 100644 index e093e4b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/Netstandard15Polyfill.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f21401741cb00e14ba6dd54878fd65a7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs deleted file mode 100644 index e23d477..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs +++ /dev/null @@ -1,44 +0,0 @@ -#region Header -/** - * ParserToken.cs - * Internal representation of the tokens used by the lexer and the parser. - * - * The authors disclaim copyright to this source code. For more details, see - * the COPYING file included with this distribution. - **/ -#endregion - - -namespace LitJson -{ - internal enum ParserToken - { - // Lexer tokens (see section A.1.1. of the manual) - None = System.Char.MaxValue + 1, - Number, - True, - False, - Null, - CharSeq, - // Single char - Char, - - // Parser Rules (see section A.2.1 of the manual) - Text, - Object, - ObjectPrime, - Pair, - PairRest, - Array, - ArrayPrime, - Value, - ValueRest, - String, - - // End of input - End, - - // The empty rule - Epsilon - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs.meta deleted file mode 100644 index 311ba64..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/ParserToken.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 616ae2d1348c7ef41ae17363996b59d8 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png deleted file mode 100644 index a4c15e5..0000000 Binary files a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png and /dev/null differ diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png.meta deleted file mode 100644 index 25e34a5..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LitJson/litjson.png.meta +++ /dev/null @@ -1,96 +0,0 @@ -fileFormatVersion: 2 -guid: de4b3742fe2fb3f408fea882ae0ae3a9 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 1 - aniso: 1 - mipBias: 0 - wrapU: 0 - wrapV: 0 - wrapW: 0 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs deleted file mode 100644 index 0dd2a51..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs +++ /dev/null @@ -1,382 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; -using Cutt; -using System; -using UnityEngine.SceneManagement; -using System.IO; - -public class LiveController : MonoBehaviour -{ - class TitleBG - { - GameObject baseObject; - - Image image; - - Image titleBG; - Text title; - Text lyricist; - Text composer; - - public TitleBG(GameObject game) - { - baseObject = game; - - image = baseObject.GetComponent(); - titleBG = baseObject.transform.Find("titleBG").GetComponent(); - title = game.transform.Find("title").GetComponent(); - lyricist = game.transform.Find("lyricist").GetComponent(); - composer = game.transform.Find("composer").GetComponent(); - } - - public void SetValue(SQMusicData data) - { - string disc = data.name; - disc = disc.Replace("\\n", ""); - title.text = disc; - lyricist.text = "作詞:" + data.lyricist; - composer.text = "作曲:" + data.composer; - } - public Color sourceColor() - { - return image.color; - } - - public void alpha(float alpha) - { - Color color = titleBG.color; - color.a = alpha; - - titleBG.color = color; - title.color = color; - lyricist.color = color; - composer.color = color; - } - - public void alphaBG(float alpha) - { - Color color = image.color; - - color.a = alpha; - image.color = color; - } - - public void SetDisable() - { - baseObject.SetActive(false); - } - } - - [SerializeField] - private GameObject _Music; - [SerializeField] - private GameObject _Director; - - private MusicManager musicManager; - private Director director; - - private float liveTotalTime = 0f; - - private GameObject loadingbg; - private TitleBG titleBG; - private PlaySeeker playSeeker; - private LiveDebug liveDebug; - - private ScreenShot screenShot; - - //自動でメニューへ戻る - private bool isAutoReturnMenu = false; - //タイトルを表示 - private bool isInitTitle = false; - - //生成が開始されているか - private bool isStart = false; - - private void Awake() - { - musicManager = _Music.GetComponent(); - - director = _Director.GetComponent(); - - loadingbg = GameObject.Find("Canvas/LoadingBG").gameObject; - var title = GameObject.Find("Canvas/TitleBG").gameObject; - titleBG = new TitleBG(title); - - playSeeker = GameObject.Find("Canvas/SeekBar").GetComponent(); - liveDebug = GameObject.Find("Canvas/Debug").GetComponent(); - - int ret = SaveManager.GetInt("ReturnTitleEndStage"); - if (ret == 1) - { - isAutoReturnMenu = true; - } - int inittitle = SaveManager.GetInt("InitTitle"); - if (inittitle == 1) - { - isInitTitle = true; - } - - screenShot = base.gameObject.GetComponent(); - - SQMusicData data = ViewLauncher.instance.liveDirector.sqMusicData; - titleBG.SetValue(data); - - if (!isInitTitle) - { - titleBG.SetDisable(); - } - } - - // Use this for initialization - void Start() - { - StartCoroutine(WaitStarting()); - } - - // Update is called once per frame - void Update() - { - if (isStart) - { - //Escapeキーが押されたら終了 - if (Input.GetButtonDown("ReturnMenu")) - { - StartCoroutine( DestroyViewScene()); - } - else if (Input.GetButtonDown("Pause")) - { - playSeeker.OnClickButton(); - } - else if (Input.GetButtonDown("SeekBar")) - { - playSeeker.ChangeVisible(); - liveDebug.ChangeVisible(); - } - else if (Input.GetButtonDown("ScreenShot")) - { - StartCoroutine(screenShot.GetScreenshot()); - } - else if (Input.GetButtonDown("VerticalScreenShot")) - { - StartCoroutine(screenShot.GetScreenshot(true)); - } - } - - //自動リターン - if (isAutoReturnMenu) - { - if (musicManager.currentTime > liveTotalTime + 4f) - { - StartCoroutine(DestroyViewScene()); - } - } - } - - /// - /// LiveViewが破棄されたら呼ばれる - /// - void OnDestroy() - { - if (ViewLauncher.instance != null) - { - ViewLauncher.instance.LiveEnd(); - } - if (ResourcesManager.instance != null) - { - ResourcesManager.instance.initResource(); - } - Resources.UnloadUnusedAssets(); - } - - /* - /// - /// スクリーンショットを撮影する - /// - /// - public IEnumerator ScreenShot() - { - //レンダリングが終わるまで待つ - yield return new WaitForEndOfFrame(); - - //メインカメラを確保 - Camera ArCam = director.mainCamera; - - // アクティブなレンダーテクスチャをキャッシュしておく - RenderTexture currentRT = RenderTexture.active; - - Vector2Int resolution = new Vector2Int(); - switch (screenshotSetting) - { - case 0: - resolution.x = Screen.width; - resolution.y = Screen.height; - break; - case 1: - resolution.x = 1920; - resolution.y = 1080; - break; - case 2: - resolution.x = 3840; - resolution.y = 2160; - break; - } - Texture2D screenShot = new Texture2D(resolution.x, resolution.y, TextureFormat.RGB24, false); - RenderTexture rt = new RenderTexture(screenShot.width, screenShot.height, 24); - RenderTexture prev = ArCam.targetTexture; - ArCam.targetTexture = rt; - ArCam.Render(); - ArCam.targetTexture = prev; - - RenderTexture.active = rt; - screenShot.ReadPixels(new Rect(0, 0, rt.width, rt.height), 0, 0); - screenShot.Apply(); - RenderTexture.active = currentRT; - - byte[] bytes = screenShot.EncodeToPNG(); - UnityEngine.Object.Destroy(screenShot); - - PathHandler instance = SingletonMonoBehaviour.instance; - string tmpdir = instance.screenshotPath; - string captureFileName = DateTime.Now.ToString("yyyyMMddHHmmss") + ".png"; - var capturePath = Path.Combine(tmpdir, captureFileName); - - print("ScreenShot:" + capturePath); - File.WriteAllBytes(capturePath, bytes); - /* - if (File.Exists(capturePath)) File.Delete(capturePath); - ScreenCapture.CaptureScreenshot(capturePath, 2); - yield return new WaitUntil(() => { return File.Exists(capturePath); }); - - } - */ - - private void LateUpdate() - { - } - - IEnumerator WaitStarting() - { - while (true) - { - if (musicManager.isLoad) - { - if (director.assetTaskState == Director.eAssetTaskState.Done) - { - break; - } - } - yield return null; - } - - liveTotalTime = musicManager.totalLength; - - yield return new WaitForSeconds(0.2f); - - yield return Play(); - } - - /// - /// ライブ開始 - /// - public IEnumerator Play() - { - if (isInitTitle) - { - yield return FadeoutBG(); - yield return TitleBGExec(); - } - else - { - yield return FadeoutBG(); - } - - isStart = true; - musicManager.PlaySong(); - } - - private IEnumerator FadeoutBG() - { - Image image = loadingbg.GetComponent(); - - while(image.color.a > 0) - { - Color color = image.color; - color.a = color.a - 0.2f; - if(color.a < 0) - { - color.a = 0; - } - image.color = color; - yield return null; - } - - //loadingbg.SetActive(false); - } - - /// - /// タイトルを表示する - /// - /// - private IEnumerator TitleBGExec() - { - - float colorAlpha = 0f; - - while (colorAlpha < 1f) - { - colorAlpha += 0.05f; - if (colorAlpha > 1) - { - colorAlpha = 1; - } - titleBG.alpha(colorAlpha); - - yield return null; - } - - yield return new WaitForSeconds(3f);//1秒 - - while (colorAlpha > 0f) - { - colorAlpha -= 0.05f; - if (colorAlpha < 0) - { - colorAlpha = 0; - } - titleBG.alpha(colorAlpha); - - yield return null; - } - //yield return new WaitForSeconds(0.2f); - - colorAlpha = titleBG.sourceColor().a; - while (colorAlpha > 0f) - { - colorAlpha -= 0.05f; - if (colorAlpha < 0) - { - colorAlpha = 0; - } - titleBG.alphaBG(colorAlpha); - - yield return null; - } - } - - public IEnumerator DestroyViewScene() - { - SceneManager.LoadScene("menu"); - yield return null; - /* 非同期で読み込むとなぜかToggleSwitchが7回読み込まれる - * - AsyncOperation asyncLoad = SceneManager.LoadSceneAsync("menu"); - - while (!asyncLoad.isDone) - { - yield return null; - } - */ - } -} diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs.meta deleted file mode 100644 index eabfd43..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveController.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 5c9344710b83dcf4d8031db316497277 -timeCreated: 1533173381 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs deleted file mode 100644 index a4c07f1..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs +++ /dev/null @@ -1,203 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; - -public class LiveDebug : MonoBehaviour -{ - private bool debugEnable = false; - - private GameObject rootObject = null; - - private Toggle postEffect = null; - private Toggle globalFog = null; - private Toggle sunShafts = null; - private Toggle tiltShift = null; - private Toggle indirectLightShafts = null; - private Toggle a2U = null; - private Toggle colorCorrection = null; - private Toggle bloom = null; - private Toggle dof = null; - private Toggle diffusion = null; - private Toggle screenOverlay = null; - private Toggle antiAliasing = null; - private Toggle depth = null; - - private bool isStart = false; - - private void Awake() - { - int tmp = SaveManager.GetInt("PostEffectDebug"); - int tmp2 = SaveManager.GetInt("PostEffectDebugPanel"); - - rootObject = base.transform.Find("BackGround").gameObject; - - if (tmp == 1 && tmp2 == 1) - { - debugEnable = true; - } - else - { - rootObject.SetActive(false); - debugEnable = false; - return; - } - - postEffect = base.transform.Find("BackGround/PostEffect_Chk").GetComponent(); - globalFog = base.transform.Find("BackGround/GlobalFog_Chk").GetComponent(); - sunShafts = base.transform.Find("BackGround/SunShafts_Chk").GetComponent(); - tiltShift = base.transform.Find("BackGround/TiltShift_Chk").GetComponent(); - indirectLightShafts = base.transform.Find("BackGround/IndirectLightShafts_Chk").GetComponent(); - a2U = base.transform.Find("BackGround/A2U_Chk").GetComponent(); - colorCorrection = base.transform.Find("BackGround/ColorCorrection_Chk").GetComponent(); - bloom = base.transform.Find("BackGround/Bloom_Chk").GetComponent(); - dof = base.transform.Find("BackGround/Dof_Chk").GetComponent(); - diffusion = base.transform.Find("BackGround/Diffusion_Chk").GetComponent(); - screenOverlay = base.transform.Find("BackGround/ScreenOverlay_Chk").GetComponent(); - antiAliasing = base.transform.Find("BackGround/AntiAliasing_Chk").GetComponent(); - depth = base.transform.Find("BackGround/Depth_Chk").GetComponent(); - - postEffect.isOn = PostEffectSetting.config_PostEffect; - globalFog.isOn = PostEffectSetting.config_Globalfog; - sunShafts.isOn = PostEffectSetting.config_SunShafts; - tiltShift.isOn = PostEffectSetting.config_TiltShift; - indirectLightShafts.isOn = PostEffectSetting.config_IndirectLightShafts; - a2U.isOn = PostEffectSetting.config_A2U; - colorCorrection.isOn = PostEffectSetting.config_ColorCorrection; - bloom.isOn = PostEffectSetting.config_Bloom; - dof.isOn = PostEffectSetting.config_Dof; - diffusion.isOn = PostEffectSetting.config_Diffusion; - screenOverlay.isOn = PostEffectSetting.config_screenOverlay; - antiAliasing.isOn = PostEffectSetting.config_AntiAliasing; - depth.isOn = PostEffectSetting.config_Depth; - - rootObject.SetActive(false); - isStart = true; - - } - public void ChangeVisible() - { - if (debugEnable) - { - if(rootObject != null) - { - //ひっくり返す - rootObject.SetActive(!rootObject.activeSelf); - } - } - } - - public void OnChangePostEffectToggle() - { - if (isStart) - { - PostEffectSetting.config_PostEffect = postEffect.isOn; - } - } - - public void OnChangeGlobalFogToggle() - { - if (isStart) - { - PostEffectSetting.config_Globalfog = globalFog.isOn; - } - } - public void OnChangeSunShaftsToggle() - { - if (isStart) - { - PostEffectSetting.config_SunShafts = sunShafts.isOn; - } - } - public void OnChangeTiltShiftToggle() - { - if (isStart) - { - PostEffectSetting.config_TiltShift = tiltShift.isOn; - } - } - public void OnChangeIndirectLightShaftsToggle() - { - if (isStart) - { - PostEffectSetting.config_IndirectLightShafts = indirectLightShafts.isOn; - } - } - public void OnChangeA2UToggle() - { - if (isStart) - { - PostEffectSetting.config_A2U = a2U.isOn; - } - } - public void OnChangeColorCorrectionToggle() - { - if (isStart) - { - PostEffectSetting.config_ColorCorrection = colorCorrection.isOn; - } - } - public void OnChangeBloomToggle() - { - if (isStart) - { - PostEffectSetting.config_Bloom = bloom.isOn; - //bloomをオフにした場合、DOFもオフになる - if (!bloom.isOn) - { - PostEffectSetting.config_Dof = dof.isOn = false; - } - } - } - public void OnChangeDofToggle() - { - if (isStart) - { - //bloomがオンのときだけ切り替えができる - if (bloom.isOn) - { - PostEffectSetting.config_Dof = dof.isOn; - } - else - { - dof.isOn = false; - } - } - } - - public void OnChangeDiffusionToggle() - { - if (isStart) - { - PostEffectSetting.config_Diffusion = diffusion.isOn; - if (!diffusion.isOn) - { - PostEffectSetting.config_Diffusion = diffusion.isOn = false; - } - } - } - - public void OnChangeScreenOverlayToggle() - { - if (isStart) - { - PostEffectSetting.config_screenOverlay = screenOverlay.isOn; - } - } - - public void OnChangeAntiAliasingToggle() - { - if (isStart) - { - PostEffectSetting.config_AntiAliasing = antiAliasing.isOn; - } - } - - public void OnChangeDepthToggle() - { - if (isStart) - { - PostEffectSetting.config_Depth = depth.isOn; - } - } -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs.meta deleted file mode 100644 index 0843524..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDebug.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: da51bc91003e57e4b9fc51c5c8d00de6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs deleted file mode 100644 index f08dfff..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Collections; -using Stage; - -/// -/// Liveで使用するアセットファイルを取りまとめるクラス -/// キャラクタ関係のアセットはCharaDirectorにて取りまとめる -/// -public interface LiveDirector -{ - ArrayList MusicScoreCyalumeArray - { - get; - } - - ArrayList MusicScoreLyricsArray - { - get; - } - - float musicLength - { - get; - } - - int MusicID - { - get; - } - - int LiveID - { - get; - } - - int StageID - { - get; - } - - int CyalumeType - { - get; - } - - Master3dLive.Live3dData live3DData - { - get; - } - - string musicScores - { - get; - } - - string cyalumeFile - { - get; - } - - string cuttFile - { - get; - } - - string cuttName - { - get; - } - - string stageFile - { - get; - } - - string stageName - { - get; - } - - string cameraFile - { - get; - } - - string cameraName - { - get; - } - - string musicFile - { - get; - } - - string autoLipFile - { - get; - } - - string autoLipName - { - get; - } - - int stageMemberNumber - { - get; - } - - string[] charaMotionFiles - { - get; - } - - SQMusicData sqMusicData - { - get; - } - - string[] uvMovieFiles - { - get; - } - - string[] uvMovieNames - { - get; - } - - string[] imgResourcesNames - { - get; - } - - string[] mirrorScanFiles - { - get; - } - - string[] mirrorScanMaterialNames - { - get; - } - - bool isHQ - { - get; - } - - bool isAnother - { - get; - } - - /// - /// 縦モード - /// - bool isVertical - { - get; - } - - string[] GetAssetFiles(); - - void LoadMusicScoreCyalume(); - - void LoadMusicScoreLyrics(); - - void LoadMusicScore(int level = 1); - - void SetIsSmartMode(bool isSmart); - - void SetAnotherMode(bool isAnother); - - void SetSoloCharaID(int charaID); -} \ No newline at end of file diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs.meta deleted file mode 100644 index fa26f43..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirector.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6643535778c40f14fbef6d3efab33fcd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs deleted file mode 100644 index cd6dc6b..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs +++ /dev/null @@ -1,727 +0,0 @@ -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; -using Stage; -using Cute; - -/*musicScore用*/ -using Sqlite3Plugin; - -public class LiveDirectorHQ : LiveDirector -{ - public const string StageMobCommon = "3d_stage_mob_common.unity3d"; - - public const string StageCommon = "3d_stage_common_hq.unity3d"; - public const string lightShuft1 = "3d_lightshuft_0001.unity3d"; - public const string lightShuft2 = "3d_lightshuft_0002.unity3d"; - public const string lightShuft3 = "3d_lightshuft_0003.unity3d"; - - public Master3dLive master3dLive = null; - - private SQMusicData liveData; - - private float _musicLength = 0f; - - private ArrayList _musicScoreCyalumeArray; - private ArrayList _musicScoreLyricsArray; - - private bool isSmartMode = false; - - private bool anotherMode = false; - - private int soloCharaID = -1; - - public bool isHQ - { - get - { - return true; - } - } - - public bool isAnother - { - get - { - if(liveData.chara_all_flag == 2) - { - return true; - } - return false; - } - } - - public bool isVertical - { - get - { - return isSmartMode; - } - } - - public ArrayList MusicScoreCyalumeArray - { - get - { - return _musicScoreCyalumeArray; - } - } - public ArrayList MusicScoreLyricsArray - { - get - { - return _musicScoreLyricsArray; - } - } - - public float musicLength - { - get - { - return _musicLength; - } - } - - public LiveDirectorHQ(SQMusicData data) - { - liveData = data; - if(master3dLive == null) - { - master3dLive = MasterDBManager.instance.master3dLive; - } - } - - /// - /// 曲ID - /// 音楽ファイル等のIDとして利用 - /// - public int MusicID - { - get - { - return liveData.music_data_id; - } - } - - /// - /// ライブID - /// cyalumeのIDとして利用 - /// - public int LiveID - { - get - { - return liveData.id; - } - } - - /// - /// ステージID - /// CuttファイルのID - /// - public int StageID - { - get - { - if (live3DData != null) - { - return live3DData.bg; - } - return 0; - } - } - - public int CyalumeType - { - get - { - return liveData.cyalume; - } - } - - public Master3dLive.Live3dData live3DData - { - get - { - if (master3dLive != null) - { - Master3dLive.Live3dData data = master3dLive.dictionary[liveData.id]; - return data; - } - else - { - return null; - } - } - } - - public string[] GetAssetFiles() - { - List filenames = new List(); - filenames.Add(StageCommon); - filenames.Add(StageMobCommon); - filenames.Add(lightShuft1); - filenames.Add(lightShuft2); - filenames.Add(lightShuft3); - if (musicScores != null) filenames.Add(musicScores); - if (cyalumeFile != null) filenames.Add(cyalumeFile); - if (cuttFile != null) filenames.Add(cuttFile); - if (stageFile != null) filenames.Add(stageFile); - if (cameraFile != null) filenames.Add(cameraFile); - if (musicFile != null) filenames.Add(musicFile); - if (autoLipFile != null) filenames.Add(autoLipFile); - if (uvMovieFiles != null) filenames.AddRange(uvMovieFiles); - if (mirrorScanFiles != null) filenames.AddRange(mirrorScanFiles); - - return filenames.ToArray(); - } - - public string musicScores - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("musicscores_m{0:d3}.bdb", live3DData.id); - filename = filename.ToLower(); - } - return filename; - } - } - - public string cyalumeFile - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("3d_cyalume_m{0:D03}_hq.unity3d", live3DData.id); - filename = filename.ToLower(); - } - return filename; - } - } - - public string cuttFile - { - get - { - string filename = ""; - if (live3DData != null) - { - if (isSmartMode) - { - filename = string.Format("3d_{0}_vertical.unity3d", live3DData.cutt); - filename = filename.ToLower(); - } - else - { - filename = string.Format("3d_{0}.unity3d", live3DData.cutt); - filename = filename.ToLower(); - } - } - return filename; - } - } - public string cuttName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (isSmartMode) - { - string cuttName = live3DData.cutt; - filename = string.Format("Cutt/{0}_vertical/{1}_vertical", cuttName, cuttName); - } - else - { - string cuttName = live3DData.cutt; - filename = string.Format("Cutt/{0}/{1}", cuttName, cuttName); - } - } - return filename; - } - } - - public string stageFile - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("3d_stage_{0:0000}_hq.unity3d", live3DData.bg); - } - filename = filename.ToLower(); - return filename; - } - } - public string stageName - { - get - { - string name = ""; - if (live3DData != null) - { - name = string.Format("3D/Stage/stg_{0:D3}/Prefab/Stage{0:D3}", live3DData.bg); - } - return name; - } - } - - public string cameraFile - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.camera.Length > 0) - { - filename = string.Format("3d_cutt_ac_{0}.unity3d", live3DData.camera); - filename = filename.ToLower(); - } - } - return filename; - } - } - public string cameraName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.camera.Length > 0) - { - filename = string.Format("3D/Camera/{0}/ac_{0}", live3DData.camera); - } - } - return filename; - } - } - - public string musicFile - { - get - { - string filename = null; - if (live3DData != null) - { - //int musicid = live3DData.debug_music_data_id; - - int musicid = MusicID; - if (anotherMode) - { - filename = string.Format("song_{0}_another.acb", musicid); - } - else if (soloCharaID > 0) - { - filename = string.Format("song_{0}_{1:D3}.acb", musicid, soloCharaID); - } - else - { - filename = string.Format("song_{0}.acb", musicid); - } - } - return filename; - } - } - - public string autoLipFile - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.autolip.Length > 0) - { - filename = "3d_cutt_" + live3DData.autolip + ".unity3d"; - } - } - return filename; - } - } - public string autoLipName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.autolip.Length > 0) - { - filename = "3D/Lip/" + live3DData.autolip; - } - } - return filename; - } - } - - public int stageMemberNumber - { - get - { - return liveData.member_number; - } - } - - public string[] charaMotionFiles - { - get - { - List filenames = new List(); - if (live3DData != null) - { - string filename = string.Format("3d_cutt_{0}.unity3d", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < liveData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - - if (isSmartMode) - { - - filename = string.Format("3d_cutt_{0}_vertical.unity3d", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < liveData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - } - - } - - List filenames2 = new List(); - - foreach (var tmp in filenames) - { - if (AssetManager.instance.CheckExistFileInManifest(tmp)) - { - filenames2.Add(tmp); - } - } - - return filenames2.ToArray(); - } - } - - /* - public string[] charaMotionNames - { - get - { - List filenames = new List(); - if (live3DData != null) - { - string filename = string.Format("3D/Chara/Legacy/{0}", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < musicData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - } - return filenames.ToArray(); - } - } - */ - - public string[] uvMovieFiles - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.uvMovies.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.uvMovies[i] != null) - { - if (live3DData.uvMovies[i].Length != 0) - { - string filename = string.Format("3d_uvm_{0}.unity3d", live3DData.uvMovies[i]); - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - public string[] uvMovieNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.uvMovies.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.uvMovies[i] != null) - { - if (live3DData.uvMovies[i].Length != 0) - { - string filename = live3DData.uvMovies[i]; - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - - public string[] imgResourcesNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.imgResources.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.imgResources[i] != null) - { - if (live3DData.imgResources[i].Length != 0) - { - string filename = "3D/UVMovie/Texture/" + live3DData.imgResources[i]; - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - - public string[] mirrorScanFiles - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - - int count = live3DData.mirrorScanMatNames.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.mirrorScanMatNames[i] != null) - { - if (live3DData.mirrorScanMatNames[i].Length != 0) - { - string filename = string.Format("3d_{0}.unity3d", live3DData.mirrorScanMatNames[i]); - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - public string[] mirrorScanMaterialNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - if (live3DData.mirrorScanMatIDs != null && live3DData.mirrorScanMatIDs.Length > 0) - { - int count = live3DData.mirrorScanMatIDs.Length; - for (int i = 0; i < count; i++) - { - string filename = string.Format("3D/Stage/stg_{0:0000}/Materials/mt_stg_{0:0000}_MirrorScanLight_{1:000}", live3DData.bg, live3DData.mirrorScanMatIDs[i]); - filenames.Add(filename); - } - } - else if (live3DData.mirrorScanMatNames != null && live3DData.mirrorScanMatNames.Length > 0) - { - int count = live3DData.mirrorScanMatNames.Length; - for (int i = 0; i < count; i++) - { - string filename = "3D/MirrorScanLight/Pattern/" + live3DData.mirrorScanMatNames[i] + "/mt_" + live3DData.mirrorScanMatNames[i]; - filenames.Add(filename); - } - } - } - return filenames.ToArray(); - } - } - - public SQMusicData sqMusicData - { - get - { - if (liveData != null) - { - return liveData; - } - return null; - } - } - - public void LoadMusicScoreCyalume() - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/m{0:d3}_cyalume%", id, id); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch (Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext == "" || csvtext == null) return; - _musicScoreCyalumeArray = Utility.ConvertCSV(csvtext); - - } - - public void LoadMusicScoreLyrics() - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/m{0:d3}_lyrics%", id, id); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch (Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext == "" || csvtext == null) return; - _musicScoreLyricsArray = Utility.ConvertCSV(csvtext); - } - - public void LoadMusicScore(int level = 1)//1=Easy - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/{0}_{1}%", id, level); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch (Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext != null && csvtext != "") - { - - MusicScore score = new MusicScore(); - score.LoadScore(id, level, csvtext); - - _musicLength = score.endTime; - } - else - { - _musicLength = -1f; - } - } - - public void SetIsSmartMode(bool isSmart) - { - isSmartMode = isSmart; - } - - public void SetAnotherMode(bool isAnother) - { - anotherMode = isAnother; - } - - public void SetSoloCharaID(int charaID) - { - soloCharaID = charaID; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs.meta deleted file mode 100644 index 4e5ebe9..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorHQ.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 6bf9b0a3da104d242b0c814e33f04df7 -timeCreated: 1529578568 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs deleted file mode 100644 index b90bb58..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs +++ /dev/null @@ -1,723 +0,0 @@ -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; -using Cute; -using Stage; - -/*musicScore用*/ -using Sqlite3Plugin; - -public class LiveDirectorNormal : LiveDirector -{ - public const string StageCommon = "3d_stage_common_hq.unity3d"; - - public const string lightShuft1 = "3d_lightshuft_0001.unity3d"; - public const string lightShuft2 = "3d_lightshuft_0002.unity3d"; - public const string lightShuft3 = "3d_lightshuft_0003.unity3d"; - - private static Master3dLive master3dLive = null; - - private SQMusicData liveData; - - private float _musicLength = 0f; - - private ArrayList _musicScoreCyalumeArray; - private ArrayList _musicScoreLyricsArray; - - private bool isSmartMode = false; - - private bool anotherMode = false; - - private int soloCharaID = -1; - - public bool isHQ - { - get - { - return false; - } - } - - public bool isAnother - { - get - { - if (liveData.chara_all_flag == 2) - { - return true; - } - return false; - } - } - - public bool isVertical - { - get - { - return isSmartMode; - } - } - - public ArrayList MusicScoreCyalumeArray - { - get - { - return _musicScoreCyalumeArray; - } - } - public ArrayList MusicScoreLyricsArray - { - get - { - return _musicScoreLyricsArray; - } - } - - public float musicLength - { - get - { - return _musicLength; - } - } - - public LiveDirectorNormal(SQMusicData data) - { - liveData = data; - if (master3dLive == null) - { - master3dLive = MasterDBManager.instance.master3dLive; - } - } - - /// - /// 曲ID - /// 音楽ファイル等のIDとして利用 - /// - public int MusicID - { - get - { - return liveData.music_data_id; - } - } - - /// - /// ライブID - /// cyalumeのIDとして利用 - /// - public int LiveID - { - get - { - return liveData.id; - } - } - - /// - /// ステージID - /// CuttファイルのID - /// - public int StageID - { - get - { - if (live3DData != null) - { - return live3DData.bg; - } - return 0; - } - } - - public int CyalumeType - { - get - { - return liveData.cyalume; - } - } - - public Master3dLive.Live3dData live3DData - { - get - { - if (master3dLive != null) - { - Master3dLive.Live3dData data = master3dLive.dictionary[liveData.id]; - return data; - } - else - { - return null; - } - } - } - - public string[] GetAssetFiles() - { - List filenames = new List(); - filenames.Add(StageCommon); - filenames.Add(lightShuft1); - filenames.Add(lightShuft2); - filenames.Add(lightShuft3); - if (musicScores != null) filenames.Add(musicScores); - if (cyalumeFile != null) filenames.Add(cyalumeFile); - if (cuttFile != null) filenames.Add(cuttFile); - if (stageFile != null) filenames.Add(stageFile); - if (cameraFile != null) filenames.Add(cameraFile); - if (musicFile != null) filenames.Add(musicFile); - if (autoLipFile != null) filenames.Add(autoLipFile); - if (uvMovieFiles != null) filenames.AddRange(uvMovieFiles); - if (mirrorScanFiles != null) filenames.AddRange(mirrorScanFiles); - - return filenames.ToArray(); - } - - public string musicScores - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("musicscores_m{0:d3}.bdb", live3DData.id); - filename = filename.ToLower(); - } - return filename; - } - } - - public string cyalumeFile - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("3d_cyalume_m{0:D03}.unity3d", live3DData.id); - filename = filename.ToLower(); - } - return filename; - } - } - - public string cuttFile - { - get - { - string filename = ""; - if (live3DData != null) - { - if (isSmartMode) - { - filename = string.Format("3d_{0}_vertical.unity3d", live3DData.cutt); - filename = filename.ToLower(); - } - else - { - filename = string.Format("3d_{0}.unity3d", live3DData.cutt); - filename = filename.ToLower(); - } - } - return filename; - } - } - public string cuttName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (isSmartMode) - { - string cuttName = live3DData.cutt; - filename = string.Format("Cutt/{0}_vertical/{1}_vertical", cuttName, cuttName); - } - else - { - string cuttName = live3DData.cutt; - filename = string.Format("Cutt/{0}/{1}", cuttName, cuttName); - } - } - return filename; - } - } - - public string stageFile - { - get - { - string filename = ""; - if (live3DData != null) - { - filename = string.Format("3d_stage_{0:0000}.unity3d", live3DData.bg); - } - filename = filename.ToLower(); - return filename; - } - } - public string stageName - { - get - { - string name = ""; - if (live3DData != null) - { - name = string.Format("3D/Stage/stg_{0:D3}/Prefab/Stage{0:D3}", live3DData.bg); - } - return name; - } - } - - public string cameraFile - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.camera.Length > 0) - { - filename = string.Format("3d_cutt_ac_{0}.unity3d", live3DData.camera); - filename = filename.ToLower(); - } - } - return filename; - } - } - public string cameraName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.camera.Length > 0) - { - filename = string.Format("3D/Camera/{0}/ac_{0}", live3DData.camera); - } - } - return filename; - } - } - - public string musicFile - { - get - { - string filename = null; - if (live3DData != null) - { - //int musicid = live3DData.debug_music_data_id; - int musicid = MusicID; - if (anotherMode) - { - filename = string.Format("song_{0}_another.acb", musicid); - } - else if (soloCharaID > 0) - { - filename = string.Format("song_{0}_{1:D3}.acb", musicid, soloCharaID); - } - else - { - filename = string.Format("song_{0}.acb", musicid); - } - } - return filename; - } - } - - public string autoLipFile - { - get - { - string filename = ""; - if(live3DData != null) - { - if (live3DData.autolip.Length > 0) - { - filename = "3d_cutt_" + live3DData.autolip + ".unity3d"; - } - } - return filename; - } - } - public string autoLipName - { - get - { - string filename = ""; - if (live3DData != null) - { - if (live3DData.autolip.Length > 0) - { - filename = "3D/Lip/" + live3DData.autolip; - } - } - return filename; - } - } - - public int stageMemberNumber - { - get - { - return liveData.member_number; - } - } - - public string[] charaMotionFiles - { - get - { - List filenames = new List(); - if (live3DData != null) - { - string filename = string.Format("3d_cutt_{0}.unity3d", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < liveData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - - if (isSmartMode) - { - - filename = string.Format("3d_cutt_{0}_vertical.unity3d", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < liveData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - } - - } - - List filenames2 = new List(); - - foreach (var tmp in filenames) - { - if (AssetManager.instance.CheckExistFileInManifest(tmp)) - { - filenames2.Add(tmp); - } - } - - return filenames2.ToArray(); - } - } - - /* - public string[] charaMotionNames - { - get - { - List filenames = new List(); - if (live3DData != null) - { - string filename = string.Format("3D/Chara/Legacy/{0}", live3DData.charaMotion); - filename = filename.Replace(" ", "_"); - filename = filename.ToLower(); - if (filename.Contains("{")) - { - for (int i = 0; i < musicData.member_number; i++) - { - filenames.Add(string.Format(filename, i + 1)); - } - } - else - { - filenames.Add(filename); - } - } - return filenames.ToArray(); - } - } - */ - public string[] uvMovieFiles - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.uvMovies.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.uvMovies[i] != null) - { - if (live3DData.uvMovies[i].Length != 0) - { - string filename = string.Format("3d_uvm_{0}.unity3d", live3DData.uvMovies[i]); - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - public string[] uvMovieNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.uvMovies.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.uvMovies[i] != null) - { - if (live3DData.uvMovies[i].Length != 0) - { - string filename = live3DData.uvMovies[i]; - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - - public string[] imgResourcesNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - int count = live3DData.imgResources.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.imgResources[i] != null) - { - if (live3DData.imgResources[i].Length != 0) - { - string filename = "3D/UVMovie/Texture/" + live3DData.imgResources[i]; - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - - public string[] mirrorScanFiles - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - - int count = live3DData.mirrorScanMatNames.Length; - for (int i = 0; i < count; i++) - { - if (live3DData.mirrorScanMatNames[i] != null) - { - if (live3DData.mirrorScanMatNames[i].Length != 0) - { - string filename = string.Format("3d_{0}.unity3d", live3DData.mirrorScanMatNames[i]); - filenames.Add(filename); - } - } - } - } - return filenames.ToArray(); - } - } - public string[] mirrorScanMaterialNames - { - get - { - List filenames = new List(); - - if (live3DData != null) - { - if (live3DData.mirrorScanMatIDs != null && live3DData.mirrorScanMatIDs.Length > 0) - { - int count = live3DData.mirrorScanMatIDs.Length; - for (int i = 0; i < count; i++) - { - string filename = string.Format("3D/Stage/stg_{0:0000}/Materials/mt_stg_{0:0000}_MirrorScanLight_{1:000}", live3DData.bg, live3DData.mirrorScanMatIDs[i]); - filenames.Add(filename); - } - } - else if (live3DData.mirrorScanMatNames != null && live3DData.mirrorScanMatNames.Length > 0) - { - int count = live3DData.mirrorScanMatNames.Length; - for (int i = 0; i < count; i++) - { - string filename = "3D/MirrorScanLight/Pattern/" + live3DData.mirrorScanMatNames[i] + "/mt_" + live3DData.mirrorScanMatNames[i]; - filenames.Add(filename); - } - } - } - return filenames.ToArray(); - } - } - - public SQMusicData sqMusicData - { - get - { - if (liveData != null) - { - return liveData; - } - return null; - } - } - - public void LoadMusicScoreCyalume() - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/m{0:d3}_cyalume%", id, id); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch (Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext == "" || csvtext == null) return; - _musicScoreCyalumeArray = Utility.ConvertCSV(csvtext); - - } - - public void LoadMusicScoreLyrics() - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/m{0:d3}_lyrics%", id, id); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch(Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext == "" || csvtext == null) return; - _musicScoreLyricsArray = Utility.ConvertCSV(csvtext); - } - - public void LoadMusicScore(int level = 1)//1=Easy - { - if (!AssetManager.instance.isManifestLoad) return; - if (live3DData == null) return; - - int id = liveData.id; - string likeName = string.Format("MusicScores/m{0:d3}/{0}_{1}%", id, level); - string filepath = AssetManager.instance.GetCachefromName(musicScores); - - if (filepath == "") return; - - string csvtext = ""; - DBProxy musicDB = new DBProxy(); - try - { - if (!musicDB.Open(filepath)) { return; } - string sql = string.Format("SELECT * FROM {0} where name like '{1}'", "blobs", likeName); - using (Query query = musicDB.Query(sql)) - { - query.Step(); //最初の1つだけでおk - csvtext = query.GetText(1); - } - musicDB.CloseDB(); - } - catch (Exception e) - { - Console.WriteLine(e); - musicDB.CloseDB(); - } - if (csvtext != null && csvtext != "") - { - - MusicScore score = new MusicScore(); - score.LoadScore(id, level, csvtext); - - _musicLength = score.endTime; - } - else - { - _musicLength = -1f; - } - } - - public void SetIsSmartMode(bool isSmart) - { - isSmartMode = isSmart; - } - - public void SetAnotherMode(bool isAnother) - { - anotherMode = isAnother; - } - - public void SetSoloCharaID(int charaID) - { - soloCharaID = charaID; - } -} - diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs.meta b/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs.meta deleted file mode 100644 index 5e623b7..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveDirectorNormal.cs.meta +++ /dev/null @@ -1,13 +0,0 @@ -fileFormatVersion: 2 -guid: 95176a7c7d7166f40bda7517f8a96f15 -timeCreated: 1535279639 -licenseType: Free -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/umamusume/Gallop/DereScript/LiveMemberController.cs b/Assets/Scripts/umamusume/Gallop/DereScript/LiveMemberController.cs deleted file mode 100644 index 7d34404..0000000 --- a/Assets/Scripts/umamusume/Gallop/DereScript/LiveMemberController.cs +++ /dev/null @@ -1,231 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; - -public class LiveMemberController : MonoBehaviour -{ - public bool isLoad - { - get - { - //辞書にデータがあれば読み込み完了している - if (posDic.Count > 0) - { - return true; - } - return false; - } - } - public bool isError = false; - private List positions = new List(); - private Dictionary posDic = new Dictionary(); - - private GameObject OriginalMember = null; - - private GameObject UIManager = null; - - private void Awake() - { - OriginalMember = base.transform.Find("OriginalMember").gameObject; - } - - // Use this for initialization - void Start() - { - UIManager = GameObject.Find("UIManager"); - StartCoroutine(LoadData()); - } - - // Update is called once per frame - void Update() - { - //読みに行く - if (UIManager == null) - { - UIManager = GameObject.Find("UIManager"); - } - } - - /// - /// データの読み込み - /// - /// - private IEnumerator LoadData() - { - while (true) - { - //読み込み完了まで待つ - if (MasterDBManager.instance.isLoadDB) - { - break; - } - //エラー発生時 - if (MasterDBManager.instance.isError) - { - yield break; - } - yield return null; - } - - positions = MasterDBManager.instance.GetLiveDataPosition(); - if (positions == null) - { - isError = true; - yield break; - } - foreach (var tmp in positions) - { - posDic.Add(tmp.liveDataID, tmp); - } - - //エイプリルフール曲 - SQLiveDataPosition data; - data = SQLiveDataPosition.GetChihiro201604(); - posDic.Add(data.liveDataID, data); - data = SQLiveDataPosition.GetPutiderera201704(); - posDic.Add(data.liveDataID, data); - data = SQLiveDataPosition.GetKirarinLobo201804(); - posDic.Add(data.liveDataID, data); - data = SQLiveDataPosition.GetNono201904(); - posDic.Add(data.liveDataID, data); - - } - - public void OnClickButton() - { - UIManagerMusic musicManager = UIManager.GetComponent(); - UIManagerDress dressManager = UIManager.GetComponent(); - - GameObject baseObj = GameObject.Find("Canvas"); - if (baseObj == null) { return; } - - UIIdolSelect idolSelect = base.GetComponent(); - - SQMusicData data = musicManager.GetCurrentMusic(); - if (data == null) - { - return; - } - - int save = SaveManager.GetInt("SelectOriginalMember"); - bool commdress = false; - - SQLiveDataPosition posdata = null; - if (posDic.TryGetValue(data.id, out posdata)) - { - int[] charas = posdata.CharaPositions; - int[] dresses = posdata.DressPositions; - - for (int i = 0; i < 5; i++) - { - //キャラアイコンをセット - if (charas[i] > 0) - { - StartCoroutine(idolSelect.CharaIconSetter(charas[i], charas[i], i)); - StartCoroutine(dressManager.DownloadAndCreateDressIcons(charas[i])); - } - - //ドレスアイコンをセット - if (dresses[i] > 0) - { - int dress = dresses[i]; - int dressIcon = dress; - if (dress > 7000000) - { - //ショップドレス - dress += charas[i]; - } - else if(dress > 100000 && dress < 500000) - { - //SSR衣装(現状エイプリルフールのみ) - var sqData = dressManager.GetDressDataFromKeyID(dress); - if (sqData.charaID == charas[i]) - { - dressIcon = sqData.dressIconKey; - } - } - else if(dress < 100) - { - commdress = true; - } - StartCoroutine(idolSelect.DressIconSetter(dress, dressIcon, i)); - } - else - { - if (charas[i] > 0) - { - //ドレスが指定されていない場合の処理 - switch (save) - { - case 0: - StartCoroutine(idolSelect.DressIconSetter(1, 1, i)); - break; - case 1: - { - List dressList = dressManager.GetDressDataFromCharaID(charas[i]); - if (dressList != null) - { - int iResult2 = Random.Range(0, dressList.Count); - - StartCoroutine(idolSelect.DressIconSetter(dressList[iResult2].activeDressID, dressList[iResult2].dressIconKey, i)); - } - } - break; - case 2: - { - List dressList = dressManager.GetSSRDressesFromCharaID(charas[i]); - if (dressList != null && dressList.Count != 0) - { - int iResult2 = Random.Range(0, dressList.Count); - - StartCoroutine(idolSelect.DressIconSetter(dressList[iResult2].activeDressID, dressList[iResult2].dressIconKey, i)); - } - else - { - goto case 1; - } - } - break; - } - } - } - } - - if (commdress) - { - int dress = dresses[0]; - for (int i = 5; i < 9; i++) - { - StartCoroutine(idolSelect.DressIconSetter(dress, dress, i)); - } - } - } - } - - /// - /// オリジナルユニットのある曲はボタンを有効にする - /// - public bool CheckUnitData(int MusicID) - { - if (posDic != null) - { - //辞書から曲を検索 - if (posDic.ContainsKey(MusicID)) - { - setActive(true); - return true; - } - } - setActive(false); - return false; - } - - /// - /// オリジナルメンバーの曲がない場合は押せないようにする - /// - private void setActive(bool active) - { - OriginalMember.GetComponent