public ruleEventGoodsRewardDataWr MigrateToGoodsData() { ruleEventGoodsRewardDataWr newc = new ruleEventGoodsRewardDataWr(); newc.goodsId = goods_id; newc.image = image; newc.name = name; newc.description_ = description; newc.perUser = per_user; newc.code = code; return(newc); }
public static ruleEventGoodsRewardDataWr PopulateRuleEventGoodsRewardData(AndroidJavaObject result) { if (result == null) { return(null); } ruleEventGoodsRewardDataWr data = new ruleEventGoodsRewardDataWr(); data.goodsId = GetValue <string>("getGoodsId", result); data.image = GetValue <string>("getImage", result); data.name = GetValue <string>("getName", result); data.description_ = GetValue <string>("getDescription", result); data.perUser = (uint)GetValue <int>("getPerUser", result); data.code = GetValue <string>("getCode", result); return(data); }