Skip to content

Commit 8fa75db

Browse files
authored
Merge pull request #34 from TaloDev/develop
Release 0.9.0
2 parents ed6becb + 20346f5 commit 8fa75db

File tree

3 files changed

+26
-37
lines changed

3 files changed

+26
-37
lines changed

Packages/com.trytalo.talo/Runtime/PlayersAPI.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@ public class PlayersAPI : BaseAPI
88
{
99
public PlayersAPI(TaloManager manager) : base(manager, "players") { }
1010

11-
public async void Create(PlayerAlias alias)
12-
{
13-
var uri = new Uri(baseUrl);
14-
var content = JsonUtility.ToJson(alias);
15-
16-
var json = await Call(uri, "POST", content);
17-
var res = JsonUtility.FromJson<PlayersIdentifyResponse>(json);
18-
19-
Talo.CurrentAlias = res.alias;
20-
}
21-
2211
public async Task Identify(string service, string identifier)
2312
{
2413
var uri = new Uri(baseUrl + $"/identify?service={service}&identifier={identifier}");
@@ -33,7 +22,7 @@ public async Task Identify(string service, string identifier)
3322

3423
public async void Update()
3524
{
36-
var uri = new Uri(baseUrl + $"/{Talo.CurrentPlayer.id}");
25+
var uri = new Uri(baseUrl + $"/{Talo.CurrentAlias.id}");
3726
var content = JsonUtility.ToJson(Talo.CurrentPlayer);
3827

3928
var json = await Call(uri, "PATCH", content);

Packages/com.trytalo.talo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.trytalo.talo",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"displayName": "Talo Game Services",
55
"description": "Talo (https://trytalo.com) is an open-source game backend with services designed to help you build games faster. You can currently:\n\n- Identify players\n- Store persistent data across players\n- Track events (levelling up, finding loot, etc)\n- Display high scores with leaderboards\n- Store and load player saves",
66
"unity": "2019.1",

UserSettings/Layouts/default-2021.dwlt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ MonoBehaviour:
1919
width: 1968
2020
height: 1206
2121
m_ShowMode: 4
22-
m_Title: Scene
22+
m_Title: Project
2323
m_RootView: {fileID: 6}
2424
m_MinSize: {x: 875, y: 300}
2525
m_MaxSize: {x: 10000, y: 10000}
@@ -48,7 +48,7 @@ MonoBehaviour:
4848
m_MinSize: {x: 300, y: 200}
4949
m_MaxSize: {x: 24288, y: 16192}
5050
vertical: 0
51-
controlID: 88
51+
controlID: 27
5252
--- !u!114 &3
5353
MonoBehaviour:
5454
m_ObjectHideFlags: 52
@@ -68,8 +68,8 @@ MonoBehaviour:
6868
y: 0
6969
width: 466.66663
7070
height: 1156
71-
m_MinSize: {x: 276, y: 71}
72-
m_MaxSize: {x: 4001, y: 4021}
71+
m_MinSize: {x: 275, y: 50}
72+
m_MaxSize: {x: 4000, y: 4000}
7373
m_ActualView: {fileID: 13}
7474
m_Panes:
7575
- {fileID: 13}
@@ -94,8 +94,8 @@ MonoBehaviour:
9494
y: 0
9595
width: 371.33334
9696
height: 688
97-
m_MinSize: {x: 201, y: 221}
98-
m_MaxSize: {x: 4001, y: 4021}
97+
m_MinSize: {x: 200, y: 200}
98+
m_MaxSize: {x: 4000, y: 4000}
9999
m_ActualView: {fileID: 14}
100100
m_Panes:
101101
- {fileID: 14}
@@ -111,7 +111,7 @@ MonoBehaviour:
111111
m_Enabled: 1
112112
m_EditorHideFlags: 1
113113
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
114-
m_Name: ConsoleWindow
114+
m_Name: ProjectBrowser
115115
m_EditorClassIdentifier:
116116
m_Children: []
117117
m_Position:
@@ -120,14 +120,14 @@ MonoBehaviour:
120120
y: 688
121121
width: 1501.3334
122122
height: 468
123-
m_MinSize: {x: 101, y: 121}
124-
m_MaxSize: {x: 4001, y: 4021}
125-
m_ActualView: {fileID: 17}
123+
m_MinSize: {x: 231, y: 271}
124+
m_MaxSize: {x: 10001, y: 10021}
125+
m_ActualView: {fileID: 12}
126126
m_Panes:
127127
- {fileID: 12}
128128
- {fileID: 17}
129-
m_Selected: 1
130-
m_LastSelected: 0
129+
m_Selected: 0
130+
m_LastSelected: 1
131131
--- !u!114 &6
132132
MonoBehaviour:
133133
m_ObjectHideFlags: 52
@@ -223,7 +223,7 @@ MonoBehaviour:
223223
m_MinSize: {x: 200, y: 200}
224224
m_MaxSize: {x: 16192, y: 16192}
225225
vertical: 1
226-
controlID: 89
226+
controlID: 16
227227
--- !u!114 &10
228228
MonoBehaviour:
229229
m_ObjectHideFlags: 52
@@ -248,7 +248,7 @@ MonoBehaviour:
248248
m_MinSize: {x: 200, y: 100}
249249
m_MaxSize: {x: 16192, y: 8096}
250250
vertical: 0
251-
controlID: 90
251+
controlID: 17
252252
--- !u!114 &11
253253
MonoBehaviour:
254254
m_ObjectHideFlags: 52
@@ -268,8 +268,8 @@ MonoBehaviour:
268268
y: 0
269269
width: 1130
270270
height: 688
271-
m_MinSize: {x: 202, y: 221}
272-
m_MaxSize: {x: 4002, y: 4021}
271+
m_MinSize: {x: 200, y: 200}
272+
m_MaxSize: {x: 4000, y: 4000}
273273
m_ActualView: {fileID: 15}
274274
m_Panes:
275275
- {fileID: 15}
@@ -330,9 +330,9 @@ MonoBehaviour:
330330
m_IsLocked: 0
331331
m_FolderTreeState:
332332
scrollPos: {x: 0, y: 0}
333-
m_SelectedIDs: c24a0000
334-
m_LastClickedID: 19138
335-
m_ExpandedIDs: 00000000c04a0000c24a0000c44a0000c64a0000ffffff7f
333+
m_SelectedIDs: 7c440000
334+
m_LastClickedID: 17532
335+
m_ExpandedIDs: 000000007a4400007c4400007e44000080440000ffffff7f
336336
m_RenameOverlay:
337337
m_UserAcceptedRename: 0
338338
m_Name:
@@ -360,7 +360,7 @@ MonoBehaviour:
360360
scrollPos: {x: 0, y: 0}
361361
m_SelectedIDs:
362362
m_LastClickedID: 0
363-
m_ExpandedIDs: 00000000c04a0000c24a0000c44a0000c64a0000
363+
m_ExpandedIDs: 000000007a4400007c4400007e44000080440000
364364
m_RenameOverlay:
365365
m_UserAcceptedRename: 0
366366
m_Name:
@@ -385,8 +385,8 @@ MonoBehaviour:
385385
m_Icon: {fileID: 0}
386386
m_ResourceFile:
387387
m_ListAreaState:
388-
m_SelectedInstanceIDs: 200c0000
389-
m_LastClickedInstanceID: 3104
388+
m_SelectedInstanceIDs:
389+
m_LastClickedInstanceID: 0
390390
m_HadKeyboardFocusLastEvent: 1
391391
m_ExpandedInstanceIDs: c6230000
392392
m_RenameOverlay:
@@ -488,9 +488,9 @@ MonoBehaviour:
488488
m_SceneHierarchy:
489489
m_TreeViewState:
490490
scrollPos: {x: 0, y: 0}
491-
m_SelectedIDs: 200c0000
491+
m_SelectedIDs: d6060000
492492
m_LastClickedID: 0
493-
m_ExpandedIDs: a8f4ffff
493+
m_ExpandedIDs: 36fbffff
494494
m_RenameOverlay:
495495
m_UserAcceptedRename: 0
496496
m_Name:

0 commit comments

Comments
 (0)