using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 游戏档位数据 /// create by chenbaoyang /// 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() { } /// /// 游戏档位数据 /// public GameArchivesDataBean(AndroidJavaObject bean) { this.gameId = bean.Call("getGameId"); this.userId = bean.Call("getUserId"); this.archivesId = bean.Call("getArchivesId"); this.archivesTitle = bean.Call("getGiftLinkTitle"); this.archivesContent = bean.Call("getArchivesContent"); this.archivesExt = bean.Call("getArchivesExt"); this.updateTime = bean.Call("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; } } }