Unity Editor DB Keepalive
Fixed the exception caused by the TCP socket for the database timing out due to Azure Added ability to remove stat effects from blueprints
This commit is contained in:
parent
dd6aeb158d
commit
d5cd335995
13 changed files with 58 additions and 29 deletions
32
.idea/.idea.Economy/.idea/contentModel.xml
generated
32
.idea/.idea.Economy/.idea/contentModel.xml
generated
|
|
@ -6,20 +6,22 @@
|
|||
<e p="C:\Users\rwvens\Documents\GitHub\Aetheria-Economy" t="IncludeFlat">
|
||||
<e p="Assets\Scripts\ServerShared\ActionCollection.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Attributes.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Afterburner.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Behaviors.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Cannon.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Launcher.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Radiator.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Reactor.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Reflector.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Sensor.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Shield.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Thruster.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Turning.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\VelocityConversion.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\VelocityLimit.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors\Weapon.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Behaviors" t="Include">
|
||||
<e p="Afterburner.cs" t="Include" />
|
||||
<e p="Behaviors.cs" t="Include" />
|
||||
<e p="Cannon.cs" t="Include" />
|
||||
<e p="Launcher.cs" t="Include" />
|
||||
<e p="Radiator.cs" t="Include" />
|
||||
<e p="Reactor.cs" t="Include" />
|
||||
<e p="Reflector.cs" t="Include" />
|
||||
<e p="Sensor.cs" t="Include" />
|
||||
<e p="Shield.cs" t="Include" />
|
||||
<e p="Thruster.cs" t="Include" />
|
||||
<e p="Turning.cs" t="Include" />
|
||||
<e p="VelocityConversion.cs" t="Include" />
|
||||
<e p="VelocityLimit.cs" t="Include" />
|
||||
<e p="Weapon.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Assets\Scripts\ServerShared\BlueprintData.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\DatabaseCache.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\DatabaseItems.cs" t="Include" />
|
||||
|
|
@ -28,7 +30,6 @@
|
|||
<e p="Assets\Scripts\ServerShared\Extensions.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\GameContext.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\GlobalData.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\ItemBehaviors" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\ItemData.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\ItemInstance.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\JsonConverters.cs" t="Include" />
|
||||
|
|
@ -438,6 +439,7 @@
|
|||
</e>
|
||||
</e>
|
||||
</e>
|
||||
<e p="Assets\Scripts\ServerShared\Rect.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\Ship.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\ZoneData.cs" t="Include" />
|
||||
<e p="Assets\Scripts\ServerShared\ZoneGenerator.cs" t="Include" />
|
||||
|
|
|
|||
|
|
@ -246,6 +246,16 @@ public class DatabaseInspector : EditorWindow
|
|||
GUI.changed = true;
|
||||
effect.Ingredient = ingredients[newSelection].ID;
|
||||
}
|
||||
|
||||
var rect = GetControlRect(false,
|
||||
GUILayout.Width(EditorGUIUtility.singleLineHeight));
|
||||
GUI.DrawTexture(rect, Icons.Instance.minus, ScaleMode.StretchToFill, true, 1,
|
||||
LabelColor, 0, 0);
|
||||
if (GUI.Button(rect, GUIContent.none, GUIStyle.none))
|
||||
{
|
||||
list.Remove(effect);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Inspect(ref effect.StatReference, equippableBlueprintItem);
|
||||
|
|
|
|||
|
|
@ -244,6 +244,11 @@ public class DatabaseListView : EditorWindow
|
|||
_databaseCache.Add(change.NewValue, true);
|
||||
}
|
||||
}).WrapErrors();
|
||||
|
||||
Observable.Timer(DateTimeOffset.Now, TimeSpan.FromSeconds(60)).Subscribe(_ =>
|
||||
{
|
||||
Debug.Log(R.Now().Run<DateTime>(_connection).ToString() as string);
|
||||
});
|
||||
}
|
||||
}
|
||||
GUILayout.Space(5);
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": 1,
|
||||
"dgSpecHash": "sFWvYW5XyOIohzDOMwavhUdA8OsoBuu6z9esKhsDsCU6RrNN9Cg8w5POijL+g5TZIEge2fkS+Jud2B4k4rcHSg==",
|
||||
"dgSpecHash": "WoNuPi+aWywGG7ROuRNeMRLKOYBN++BGhstQ8hnnnQmTJDqYI7U3GGk/0AHVSbKn6oFDHAntQbyHzgJk4mXiZA==",
|
||||
"success": true
|
||||
}
|
||||
|
|
@ -17,12 +17,14 @@
|
|||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -83,7 +85,7 @@
|
|||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -100,12 +102,14 @@
|
|||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -160,7 +164,7 @@
|
|||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4198,12 +4198,14 @@
|
|||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -4264,7 +4266,7 @@
|
|||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -73,7 +74,7 @@
|
|||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": 1,
|
||||
"dgSpecHash": "Kg3SIMORPjLsPm+fgiKkmZ9mt5ieSXFo/TEePNnMj5RaICb3tWA1QgpJ9KqFTgVvdrx3jtxkHtjpxWX1kzdQLQ==",
|
||||
"dgSpecHash": "LWHjlDMWUz8TPRS5a7r6naFyzLItidfPMbmWn1udgCrzRisAMKeP8Y4CLoU1Q2j1Ctqewo0hD8CLvcThHWwYfA==",
|
||||
"success": true
|
||||
}
|
||||
|
|
@ -17,12 +17,14 @@
|
|||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -77,7 +79,7 @@
|
|||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4038,12 +4038,14 @@
|
|||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||
"C:\\Users\\rwvens\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -4098,7 +4100,7 @@
|
|||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
@ -67,7 +68,7 @@
|
|||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.102\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.201\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue