58 lines
1.1 KiB
C#
58 lines
1.1 KiB
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
//public class Union
|
|||
|
//{
|
|||
|
// public int id;
|
|||
|
// public string name;
|
|||
|
// public string iconName;
|
|||
|
// public string counts;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
//}
|
|||
|
|
|||
|
public class TradeDes : MonoBehaviour
|
|||
|
{
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public int id;
|
|||
|
public string name;
|
|||
|
public string cover;
|
|||
|
public string counts;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public int level;
|
|||
|
public string slogan;
|
|||
|
public int leaderId;
|
|||
|
public string leaderUserName;
|
|||
|
public string createTime;
|
|||
|
public string updateTime;
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
// Start is called before the first frame update
|
|||
|
void Start()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
// Update is called once per frame
|
|||
|
void Update()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public void SetInfo(UnionDataInPage body)
|
|||
|
{
|
|||
|
id = body.Id;
|
|||
|
name = body.Name;
|
|||
|
cover = body.Cover;
|
|||
|
level = body.Level;
|
|||
|
slogan = body.Slogan;
|
|||
|
leaderId = body.LeaderId;
|
|||
|
leaderUserName = body.LeaderUserName;
|
|||
|
createTime = body.CreateTime;
|
|||
|
updateTime = body.UpdateTime;
|
|||
|
}
|
|||
|
|
|||
|
}
|