public void CopyFrom(login_ans from) { if (from == this) { return; } Clear(); MergeFrom(from); }
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()); }
public login_ans(login_ans from) { MergeFrom(from); }