public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (p_ == null) { p_ = new global::Pb.Position(); } input.ReadMessage(p_); break; } case 16: { ActionData = input.ReadInt32(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { Pid = input.ReadInt32(); break; } case 16: { Tp = input.ReadInt32(); break; } case 26: { Content = input.ReadString(); break; } case 34: { global::Pb.Position subBuilder = new global::Pb.Position(); if (dataCase_ == DataOneofCase.P) { subBuilder.MergeFrom(P); } input.ReadMessage(subBuilder); P = subBuilder; break; } case 40: { ActionData = input.ReadInt32(); break; } } } }
public void MergeFrom(MovePackege other) { if (other == null) { return; } if (other.p_ != null) { if (p_ == null) { p_ = new global::Pb.Position(); } P.MergeFrom(other.P); } if (other.ActionData != 0) { ActionData = other.ActionData; } }
public void MergeFrom(Player other) { if (other == null) { return; } if (other.Pid != 0) { Pid = other.Pid; } if (other.p_ != null) { if (p_ == null) { p_ = new global::Pb.Position(); } P.MergeFrom(other.P); } }