123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /// <summary>
- /// 游戏档位数据
- /// create by chenbaoyang
- /// </summary>
- namespace com.m3839.sdk.archives.bean
- {
- public class GameArchivesDataBean
- {
- /** 游戏ID */
- private string gameId;
- /** 用户ID */
- private string userId;
- /** 存档ID */
- private int archivesId;
- /** 存档标题*/
- private string archivesTitle;
- /** 存档内容*/
- private string archivesContent;
- /** 存档透传字段*/
- private string archivesExt;
- /** 存档的时间 */
- private string updateTime;
- public GameArchivesDataBean()
- {
- }
- /// <summary>
- /// 游戏档位数据
- /// </summary>
- public GameArchivesDataBean(AndroidJavaObject bean)
- {
- this.gameId = bean.Call<string>("getGameId");
- this.userId = bean.Call<string>("getUserId");
- this.archivesId = bean.Call<int>("getArchivesId");
- this.archivesTitle = bean.Call<string>("getGiftLinkTitle");
- this.archivesContent = bean.Call<string>("getArchivesContent");
- this.archivesExt = bean.Call<string>("getArchivesExt");
- this.updateTime = bean.Call<string>("getUpdateTime");
- }
- [System.Obsolete("该方法已过时")]
- public string getGameId()
- {
- return gameId;
- }
- [System.Obsolete("该方法已过时")]
- public void setGameId(string gameId)
- {
- this.gameId = gameId;
- }
- public string getUserId()
- {
- return userId;
- }
- public void setUserId(string userId)
- {
- this.userId = userId;
- }
- public int getArchivesId()
- {
- return archivesId;
- }
- public void setArchivesId(int archivesId)
- {
- this.archivesId = archivesId;
- }
- public string getArchivesTitle()
- {
- return archivesTitle;
- }
- public void setArchivesTitle(string archivesTitle)
- {
- this.archivesTitle = archivesTitle;
- }
- public string getArchivesContent()
- {
- return archivesContent;
- }
- public void setArchivesContent(string archivesContent)
- {
- this.archivesContent = archivesContent;
- }
- public string getArchivesExt()
- {
- return archivesExt;
- }
- public void setArchivesExt(string archivesExt)
- {
- this.archivesExt = archivesExt;
- }
- public string getUpdateTime()
- {
- return updateTime;
- }
- public void setUpdateTime(string updateTime)
- {
- this.updateTime = updateTime;
- }
- public static AndroidJavaObject ToA(GameArchivesDataBean bean)
- {
- AndroidJavaObject payInfo = new AndroidJavaObject("com.m3839.sdk.archives.bean.GameArchivesDataBean");
- payInfo.Call("setGameId", bean.getGameId());
- payInfo.Call("setUserId", bean.getUserId());
- payInfo.Call("setArchivesId", bean.getArchivesId());
- payInfo.Call("setArchivesTitle", bean.getArchivesTitle());
- payInfo.Call("setArchivesContent", bean.getArchivesContent());
- payInfo.Call("setArchivesExt", bean.getArchivesExt());
- payInfo.Call("setUpdateTime", bean.getUpdateTime());
- return payInfo;
- }
- }
- }
|