Add project files.

This commit is contained in:
2022-09-30 17:32:21 +08:00
parent df69e65c88
commit e8e36b83bd
561 changed files with 40626 additions and 0 deletions

9
Assets/Animations.meta Normal file
View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ff84d017aa87efe40a398305f6c66f4d
folderAsset: yes
timeCreated: 1611481582
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c96c5f91fd684d14d9d4c09a5f34ee5d
timeCreated: 1637144068
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2162866fb7549724a85cb3c854a136ad
timeCreated: 1637144548
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6e50faab4238b5548bb05a7d421f5405
timeCreated: 1637145598
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8b9f1682ee8026b468ad15885e1ff6a5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9d0c0a0c88a0e7a43b77b0065bb64721
timeCreated: 1637144134
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 961473ba26b4b1942806c224266f8db7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0cc97e0bf50ad9c4e834c28e6eddf416
timeCreated: 1637145877
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9f6fb5723dba03d42b9e8a3c3e9091a5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 63a0e2075f5ba8d489d8cd318c14720b
timeCreated: 1637144068
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cc249d3462d795b46aff263bc04baee2
timeCreated: 1637144561
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Config.unity Normal file

Binary file not shown.

7
Assets/Config.unity.meta Normal file
View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 215ebdd4cb9187741a2e24f5e7d8511d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Console.unity Normal file

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8a36c371ab6077d43ac28fe09b0fe675
timeCreated: 1620725915
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

9
Assets/Cryville.meta Normal file
View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: bdfbc84283159e8429c29a3d47e35bad
folderAsset: yes
timeCreated: 1605323574
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: d213440bfd40d0d49a2950e04f3008ab
folderAsset: yes
timeCreated: 1594270605
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,14 @@
using System;
namespace Cryville.Common {
public class AsyncDelivery<T> {
public Action CancelSource { private get; set; }
public Action<bool, T> Destination { private get; set; }
public void Deliver(bool succeeded, T result) {
if (Destination != null) Destination(succeeded, result);
}
public void Cancel() {
if (CancelSource != null) CancelSource();
}
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 857c1f0e990462a47bd0ed83448f923b
timeCreated: 1637755775
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,59 @@
using System;
using System.Globalization;
using System.Reflection;
namespace Cryville.Common {
public class BinderAttribute : Attribute {
public BinderAttribute(Type type) {
BinderType = type;
}
public Type BinderType;
public static Binder CreateBinderOfType(Type type) {
var l = type.GetCustomAttributes(typeof(BinderAttribute), true);
if (l.Length > 0) {
return (Binder)ReflectionHelper.InvokeEmptyConstructor(
((BinderAttribute)l[0]).BinderType
);
}
return new EmptyBinder();
}
}
public class EmptyBinder : Binder {
/*static readonly Type[] emptyTypeArray = {};
static readonly object[] emptyObjectArray = {};*/
public override FieldInfo BindToField(BindingFlags bindingAttr, FieldInfo[] match, object value, CultureInfo culture) {
throw new NotImplementedException();
}
public override MethodBase BindToMethod(BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] names, out object state) {
throw new NotImplementedException();
}
public override object ChangeType(object value, Type type, CultureInfo culture) {
if (value == null)
return null;
else if (type == value.GetType())
return value;
else if (type.IsEnum && value is string) {
return Enum.Parse(type, (string)value);
}
throw new InvalidCastException();
}
public override void ReorderArgumentArray(ref object[] args, object state) {
throw new NotImplementedException();
}
public override MethodBase SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[] modifiers) {
throw new NotImplementedException();
}
public override PropertyInfo SelectProperty(BindingFlags bindingAttr, PropertyInfo[] match, Type returnType, Type[] indexes, ParameterModifier[] modifiers) {
throw new NotImplementedException();
}
}
}

Some files were not shown because too many files have changed in this diff Show More