public PlayerFortuneInfo CopyTo() { PlayerFortuneInfo infoB = new PlayerFortuneInfo() { Exp = this.Exp, CreditValue = this.CreditValue, FreezingDiamonds = this.FreezingDiamonds, FreezingStones = this.FreezingStones, GoldCoin = this.GoldCoin, MinersCount = this.MinersCount, MinesCount = this.MinesCount, RMB = this.RMB, FreezingRMB = this.FreezingRMB, TempOutputStonesStartTime = this.TempOutputStonesStartTime, StockOfDiamonds = this.StockOfDiamonds, StockOfStones = this.StockOfStones, StonesReserves = this.StonesReserves, TempOutputStones = this.TempOutputStones, TotalProducedStonesCount = this.TotalProducedStonesCount, UserName = this.UserName, FirstRechargeGoldCoinAward = this.FirstRechargeGoldCoinAward, StoneSellQuan = this.StoneSellQuan, ShoppingCreditsEnabled = this.ShoppingCreditsEnabled, ShoppingCreditsFreezed = this.ShoppingCreditsFreezed, UserRemoteServerValidStopTime = this.UserRemoteServerValidStopTime, IsLongTermRemoteServiceUser = this.IsLongTermRemoteServiceUser, UserRemoteServiceValidTimes = this.UserRemoteServiceValidTimes, MakeAVowToGodTime_DayofYear = this.MakeAVowToGodTime_DayofYear, MakeAVowToGodTimesLastDay = this.MakeAVowToGodTimesLastDay, }; return(infoB); }
public void CopyFrom(PlayerFortuneInfo fortuneInfo) { this.Exp = fortuneInfo.Exp; this.CreditValue = fortuneInfo.CreditValue; this.FreezingDiamonds = fortuneInfo.FreezingDiamonds; this.FreezingStones = fortuneInfo.FreezingStones; this.GoldCoin = fortuneInfo.GoldCoin; this.MinersCount = fortuneInfo.MinersCount; this.MinesCount = fortuneInfo.MinesCount; this.RMB = fortuneInfo.RMB; this.FreezingRMB = fortuneInfo.FreezingRMB; this.TempOutputStonesStartTime = fortuneInfo.TempOutputStonesStartTime; this.StockOfDiamonds = fortuneInfo.StockOfDiamonds; this.StockOfStones = fortuneInfo.StockOfStones; this.StonesReserves = fortuneInfo.StonesReserves; this.TempOutputStones = fortuneInfo.TempOutputStones; this.TotalProducedStonesCount = fortuneInfo.TotalProducedStonesCount; this.UserName = fortuneInfo.UserName; this.FirstRechargeGoldCoinAward = fortuneInfo.FirstRechargeGoldCoinAward; this.StoneSellQuan = fortuneInfo.StoneSellQuan; this.ShoppingCreditsEnabled = fortuneInfo.ShoppingCreditsEnabled; this.ShoppingCreditsFreezed = fortuneInfo.ShoppingCreditsFreezed; this.UserRemoteServerValidStopTime = fortuneInfo.UserRemoteServerValidStopTime; this.IsLongTermRemoteServiceUser = fortuneInfo.IsLongTermRemoteServiceUser; this.UserRemoteServiceValidTimes = fortuneInfo.UserRemoteServiceValidTimes; this.MakeAVowToGodTime_DayofYear = fortuneInfo.MakeAVowToGodTime_DayofYear; this.MakeAVowToGodTimesLastDay = fortuneInfo.MakeAVowToGodTimesLastDay; }
public void UpdatePlayerFortuneInfo(MetaData.User.PlayerFortuneInfo fortuneInfo, string actionPassword) { this._invoker.Invoke <bool>(this._context, "UpdatePlayerFortuneInfo", this.UpdatePlayerFortuneInfoCompleted, GlobalData.Token, actionPassword, fortuneInfo); }