-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
- Refactored `SendRequestAsync` to return a `AsyncResult` which contains both a success bool, and the returned body text from the http call. - Used the swagger.json to generate the basic structure of the `GameServer` object, and then hand modified as needed. - Had to include third_party/MiniJSON because Unity doesn't natively support `Dictionary`, which means we can't get Label or Annotation data. Then had to manually import the MiniJSON data into GameServer and related model objects. - Used a set of symlinks to share the Agones Unity SDK code with the unity-simple example. Couldn't think of a better way. - Minor version update on the example project as that is the earliest version I could get in 2018.4.x - Added `GameServer` command to the simple-unity example as well. Work on #927
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,7 @@ sysinfo.txt | |
# Builds | ||
*.apk | ||
*.unitypackage | ||
|
||
# Rider plugins | ||
/Assets/Plugins/ | ||
/Assets/Plugins.meta |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/GameServer.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/GameServerObjectMeta.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/GameServerSpec.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/GameServerStatus.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/SpecHealth.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/model/StatusPort.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../sdks/unity/third_party/MiniJSON.cs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!159 &1 | ||
EditorSettings: | ||
m_ObjectHideFlags: 0 | ||
serializedVersion: 7 | ||
m_ExternalVersionControlSupport: Visible Meta Files | ||
m_SerializationMode: 2 | ||
m_LineEndingsForNewScripts: 2 | ||
m_DefaultBehaviorMode: 0 | ||
m_SpritePackerMode: 0 | ||
m_SpritePackerPaddingPower: 1 | ||
m_EtcTextureCompressorBehavior: 1 | ||
m_EtcTextureFastCompressor: 1 | ||
m_EtcTextureNormalCompressor: 2 | ||
m_EtcTextureBestCompressor: 4 | ||
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd | ||
m_ProjectGenerationRootNamespace: | ||
m_UserGeneratedProjectSuffix: | ||
m_CollabEditorSettings: | ||
inProgressEnabled: 1 | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!159 &1 | ||
EditorSettings: | ||
m_ObjectHideFlags: 0 | ||
serializedVersion: 7 | ||
m_ExternalVersionControlSupport: Visible Meta Files | ||
m_SerializationMode: 2 | ||
m_LineEndingsForNewScripts: 2 | ||
m_DefaultBehaviorMode: 0 | ||
m_PrefabRegularEnvironment: {fileID: 0} | ||
m_PrefabUIEnvironment: {fileID: 0} | ||
m_SpritePackerMode: 0 | ||
m_SpritePackerPaddingPower: 1 | ||
m_EtcTextureCompressorBehavior: 1 | ||
m_EtcTextureFastCompressor: 1 | ||
m_EtcTextureNormalCompressor: 2 | ||
m_EtcTextureBestCompressor: 4 | ||
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef | ||
m_ProjectGenerationRootNamespace: | ||
m_CollabEditorSettings: | ||
inProgressEnabled: 1 | ||
m_EnableTextureStreamingInPlayMode: 1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
m_EditorVersion: 2018.4.2f1 | ||
m_EditorVersion: 2018.4.12f1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.