123456789101112131415161718192021222324252627282930313233 |
- using System.Collections;
- using System.Collections.Generic;
- using System;
- using UnityEngine;
- using Newtonsoft.Json;
- using Newtonsoft;
- using Newtonsoft.Json.Converters;
- [Serializable]
- public class Sender : DataObject
- {
-
- [JsonProperty]
- [SerializeField]
- public string SenderName;
- [JsonProperty]
- [SerializeField]
- public string SenderUserName;
- [JsonProperty]
- [SerializeField]
- public string Avatar;
- public Sender(string senderNameID, string senderName, string senderUserName, string avatar)
- {
- id = senderNameID;
- SenderName = senderName;
- SenderUserName = senderUserName;
- Avatar = avatar;
- }
- }
|