示例#1
0
        public void CopyFrom(asset_info from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
示例#2
0
        public void MergeFrom(asset_info from)
        {
            if (from == this)
            {
                return;
            }

            // gold
            SetGold(from.GetGold());
            // diamond
            SetDiamond(from.GetDiamond());
            // quickTicket
            SetQuickTicket(from.GetQuickTicket());
            // quickTimestamp
            SetQuickTimestamp(from.GetQuickTimestamp());
            // grandprixTicket
            SetGrandprixTicket(from.GetGrandprixTicket());
            // grandprixTimestamp
            SetGrandprixTimestamp(from.GetGrandprixTimestamp());
        }
示例#3
0
 public void SetUpdatedAssetInfo(asset_info value)
 {
     updatedAssetInfo_ = value;
 }
示例#4
0
 public asset_info(asset_info from)
 {
     MergeFrom(from);
 }