Skip to content

Commit cea1bee

Browse files
Add models for player file requests
1 parent b64334f commit cea1bee

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Runtime/Game/Requests/PlayerRequest.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,28 @@ public class LootLockerInventory
137137

138138
public float balance;
139139
}
140+
141+
public class LootLockerPlayerFileRequest
142+
{
143+
public string purpose { get; set; }
144+
public string path_to_file { get; set; }
145+
}
146+
147+
public class LootLockerPlayerFilesResponse : LootLockerResponse
148+
{
149+
public LootLockerPlayerFile[] items { get; set; }
150+
}
151+
152+
public class LootLockerPlayerFile : LootLockerResponse
153+
{
154+
public int id { get; set; }
155+
public string name { get; set; }
156+
public int size { get; set; }
157+
public string purpose { get; set; }
158+
public string url { get; set; }
159+
public DateTime url_expires_at { get; set; }
160+
public DateTime created_at { get; set; }
161+
}
140162

141163
[System.Serializable]
142164
public class LootLockerAssetClass

0 commit comments

Comments
 (0)