Repository navigation
Commit 7c50719
authored
Implementation of GameServer() for Unity (agones-dev#1169)
- 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 agones-dev#9271 parent 72523e2 commit 7c50719
33 files changed
Lines changed: 1442 additions & 37 deletions
File tree
- examples/unity-simple
- Assets/Scripts
- Agones
- model
- third_party
- Packages
- ProjectSettings
- pkg/sdk
- sdks/unity
- model
- third_party
- site/content/en/docs
- Examples
- Guides/Client SDKs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments