You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional methods have been added for ease of use (both of which are enabled by default):
39
+
40
+
- Connect
41
+
- will call `/gameserver` till a succesful response is returned and then call `/ready`.
42
+
- disabled by setting `bDisableAutoConnect` to `true`.
43
+
- An event is broadcast with the `GameServer` data once the `/gameserver` call succeeds.
44
+
- Health
45
+
- calls `/health` endpoint on supplied rate
46
+
- enabled by default with 10 second rate
47
+
- disabled by default by setting `HealthRateSeconds` to `0`.
48
+
49
+
Both of the above are automatically kicked off in the `BeginPlay` of the component.
50
+
17
51
## Download
18
52
19
53
Download the source from the [Releases Page](https://github.com/googleforgames/agones/releases)
@@ -114,51 +148,6 @@ HealthRateSeconds=5.0
114
148
bDisableAutoConnect=true
115
149
```
116
150
117
-
## SDK Functionality
118
-
119
-
Additional methods have been added for ease of use (both of which are enabled by default):
120
-
121
-
- Connect
122
-
- will call `/gameserver` till a succesful response is returned and then call `/ready`.
123
-
- disabled by setting `bDisableAutoConnect` to `true`.
124
-
- An event is broadcast with the `GameServer` data once the `/gameserver` call succeeds.
125
-
- Health
126
-
- calls `/health` endpoint on supplied rate
127
-
- enabled by default with 10 second rate
128
-
- disabled by default by setting `HealthRateSeconds` to `0`.
129
-
130
-
Both of the above are automatically kicked off in the `BeginPlay` of the component.
131
-
132
-
This Agones SDK wraps the REST API and supports the following actions:
133
-
134
-
Stable
135
-
- Lifecycle
136
-
- Ready
137
-
- Health
138
-
- Reserve
139
-
- Allocate
140
-
- Shutdown
141
-
- Configuration
142
-
- GameServer
143
-
- Metadata
144
-
- SetAnnotation
145
-
- SetLabel
146
-
147
-
Alpha
148
-
- Player Tracking
149
-
- GetConnectedPlayers
150
-
- GetPlayerCapacity
151
-
- GetPlayerCount
152
-
- IsPlayerConnected
153
-
- PlayerConnect
154
-
- PlayerDisconnect
155
-
- SetPlayerCapacity
156
-
157
-
Unimplemented
158
-
- WatchGameServer
159
-
160
-
Current the only missing functionality is the `WatchGameServer` functionality. We welcome collaborators to help implement this, if people need it before we get around to implementing it ourselves.
161
-
162
151
## Unreal Hooks
163
152
164
153
Within the Unreal [GameMode](https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AGameMode/index.html) and [GameSession](https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AGameSession/index.html) exist a number of useful existing
0 commit comments