Profiles prefab and scripts
This commit is contained in:
26
Assets/Scripts/Types/ProfileMessageResponse.cs
Normal file
26
Assets/Scripts/Types/ProfileMessageResponse.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using UnityEngine.Scripting;
|
||||
using Newtonsoft.Json;
|
||||
using System.Numerics;
|
||||
|
||||
[Preserve]
|
||||
public class ProfileMessageResponse {
|
||||
[Preserve]
|
||||
[JsonProperty("id")]
|
||||
public BigInteger ID { get; set; }
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("userId")]
|
||||
public BigInteger UserID { get; set; }
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("content")]
|
||||
public string Content { get; set; }
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("timestamp")]
|
||||
public string Timestamp { get; set; }
|
||||
|
||||
[Preserve]
|
||||
[JsonProperty("likes")]
|
||||
public BigInteger Likes { get; set; }
|
||||
}
|
||||
2
Assets/Scripts/Types/ProfileMessageResponse.cs.meta
Normal file
2
Assets/Scripts/Types/ProfileMessageResponse.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 754a35e0c3aa54d34a217571a3d049c8
|
||||
Reference in New Issue
Block a user