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

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

            // result
            SetResult(from.GetResult());
            // sessionId
            SetSessionId(from.GetSessionId());
            // serverTimestamp
            SetServerTimestamp(from.GetServerTimestamp());
            // assignedLsAddr
            SetAssignedLsAddr(from.GetAssignedLsAddr());
            // progress
            SetProgress(from.GetProgress());
        }
Esempio n. 3
0
 public login_ans(login_ans from)
 {
     MergeFrom(from);
 }