Esempio n. 1
0
        public void CopyFrom(player_profile_info from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
Esempio n. 2
0
        public void MergeFrom(player_profile_info from)
        {
            if (from == this)
            {
                return;
            }

            // playerNo
            SetPlayerNo(from.GetPlayerNo());
            // gameNick
            SetGameNick(from.GetGameNick());
            // nationCode
            SetNationCode(from.GetNationCode());
            // playerLevel
            SetPlayerLevel(from.GetPlayerLevel());
            // exp
            SetExp(from.GetExp());
            // expGauge
            SetExpGauge(from.GetExpGauge());
            // trophy
            SetTrophy(from.GetTrophy());
            // options
            SetOptions(from.GetOptions());
        }
Esempio n. 3
0
 public void SetInfo(player_profile_info value)
 {
     info_ = value;
 }
Esempio n. 4
0
 public player_profile_info(player_profile_info from)
 {
     MergeFrom(from);
 }
Esempio n. 5
0
 public void SetProfile(player_profile_info value)
 {
     profile_ = value;
 }