Beispiel #1
0
        public void CopyFrom(player_profile_info from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
Beispiel #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());
        }
Beispiel #3
0
 public void SetInfo(player_profile_info value)
 {
     info_ = value;
 }
Beispiel #4
0
 public player_profile_info(player_profile_info from)
 {
     MergeFrom(from);
 }
Beispiel #5
0
 public void SetProfile(player_profile_info value)
 {
     profile_ = value;
 }