Skip to content

Commit 7df32fe

Browse files
committed
upgraded to v3.4.0
1 parent ddf3950 commit 7df32fe

115 files changed

Lines changed: 2083 additions & 689 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace OxGFrame.AssetLoader.Editor
2+
{
3+
public static class CryptogramSettingSetup
4+
{
5+
public static CryptogramSetting cryptogramSetting;
6+
7+
public static CryptogramSetting GetCryptogramSetting()
8+
{
9+
if (cryptogramSetting == null)
10+
cryptogramSetting = EditorTool.LoadSettingData<CryptogramSetting>();
11+
return cryptogramSetting;
12+
}
13+
}
14+
}

Assets/OxGFrame/AssetLoader/Scripts/Runtime/Bundle/YooAssets/StreamingAssetsHelper/BuiltinPackageCatalog.cs.meta renamed to Assets/OxGFrame/AssetLoader/Scripts/Editor/Bundle/YooAssets/CryptogramSettingSetup.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/OxGFrame/AssetLoader/Scripts/Editor/Bundle/YooAssets/EncryptionServices.cs

Lines changed: 8 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,11 @@
44

55
namespace OxGFrame.AssetLoader.Editor
66
{
7-
public static class CryptogramSettingSetup
8-
{
9-
public static CryptogramSetting cryptogramSetting;
10-
11-
public static CryptogramSetting GetCryptogramSetting()
12-
{
13-
if (cryptogramSetting == null) cryptogramSetting = EditorTool.LoadSettingData<CryptogramSetting>();
14-
return cryptogramSetting;
15-
}
16-
}
17-
187
public class OffsetEncryption : IEncryptionServices
198
{
209
private int? _dummySize = null;
2110

22-
public OffsetEncryption()
23-
{
24-
}
11+
public OffsetEncryption() { }
2512

2613
public OffsetEncryption(int dummySize)
2714
{
@@ -60,9 +47,7 @@ public class XorEncryption : IEncryptionServices
6047
{
6148
private byte? _xorKey = null;
6249

63-
public XorEncryption()
64-
{
65-
}
50+
public XorEncryption() { }
6651

6752
public XorEncryption(byte xorKey)
6853
{
@@ -103,9 +88,7 @@ public class HT2XorEncryption : IEncryptionServices
10388
private byte? _tXorKey = null;
10489
private byte? _jXorKey = null;
10590

106-
public HT2XorEncryption()
107-
{
108-
}
91+
public HT2XorEncryption() { }
10992

11093
public HT2XorEncryption(byte hXorKey, byte tXorKey, byte jXorKey)
11194
{
@@ -151,9 +134,7 @@ public class HT2XorPlusEncryption : IEncryptionServices
151134
private byte? _j1XorKey = null;
152135
private byte? _j2XorKey = null;
153136

154-
public HT2XorPlusEncryption()
155-
{
156-
}
137+
public HT2XorPlusEncryption() { }
157138

158139
public HT2XorPlusEncryption(byte hXorKey, byte tXorKey, byte j1XorKey, byte j2XorKey)
159140
{
@@ -199,9 +180,7 @@ public class AesEncryption : IEncryptionServices
199180
private string _aesKey = null;
200181
private string _aesIv = null;
201182

202-
public AesEncryption()
203-
{
204-
}
183+
public AesEncryption() { }
205184

206185
public AesEncryption(string aesKey, string aesIv)
207186
{
@@ -244,9 +223,7 @@ public class ChaCha20Encryption : IEncryptionServices
244223
private string _chacha20Nonce = null;
245224
private uint? _chacha20Counter = null;
246225

247-
public ChaCha20Encryption()
248-
{
249-
}
226+
public ChaCha20Encryption() { }
250227

251228
public ChaCha20Encryption(string chacha20Key, string chacha20Nonce, uint chacha20Counter)
252229
{
@@ -289,9 +266,7 @@ public class XXTEAEncryption : IEncryptionServices
289266
{
290267
private string _xxteaKey = null;
291268

292-
public XXTEAEncryption()
293-
{
294-
}
269+
public XXTEAEncryption() { }
295270

296271
public XXTEAEncryption(string xxteaKey)
297272
{
@@ -331,9 +306,7 @@ public class OffsetXorEncryption : IEncryptionServices
331306
private byte? _offsetXorKey = null;
332307
private int? _offsetXorDummySize = null;
333308

334-
public OffsetXorEncryption()
335-
{
336-
}
309+
public OffsetXorEncryption() { }
337310

338311
public OffsetXorEncryption(byte offsetXorKey, int offsetXorDummySize)
339312
{

0 commit comments

Comments
 (0)