public void MergeFrom(ChannelState other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } fieldOperation_.Add(other.fieldOperation_); if (other.Healing != false) { Healing = other.Healing; } if (other.presence_ != null) { if (presence_ == null) { presence_ = new Bgs.Protocol.Presence.V1.ChannelState(); } Presence.MergeFrom(other.Presence); } }
public void MergeFrom(RecentPlayer other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } if (other.Program.Length != 0) { Program = other.Program; } if (other.TimestampPlayed != 0UL) { TimestampPlayed = other.TimestampPlayed; } attributes_.Add(other.attributes_); if (other.Id != 0) { Id = other.Id; } if (other.Counter != 0) { Counter = other.Counter; } }
public void MergeFrom(Friend other) { if (other == null) { return; } if (other.accountId_ != null) { if (accountId_ == null) { accountId_ = new Bgs.Protocol.EntityId(); } AccountId.MergeFrom(other.AccountId); } attribute_.Add(other.attribute_); role_.Add(other.role_); if (other.Privileges != 0UL) { Privileges = other.Privileges; } if (other.AttributesEpoch != 0UL) { AttributesEpoch = other.AttributesEpoch; } if (other.FullName.Length != 0) { FullName = other.FullName; } if (other.BattleTag.Length != 0) { BattleTag = other.BattleTag; } }
public void MergeFrom(UpdateRequest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } fieldOperation_.Add(other.fieldOperation_); if (other.NoCreate != false) { NoCreate = other.NoCreate; } if (other.agentId_ != null) { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } }
public void MergeFrom(SubscribeRequest other) { if (other == null) { return; } if (other.agentId_ != null) { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } if (other.ObjectId != 0UL) { ObjectId = other.ObjectId; } program_.Add(other.program_); if (other.FlagPublic != false) { FlagPublic = other.FlagPublic; } }
public void MergeFrom(UnsubscribeRequest other) { if (other == null) { return; } if (other.agentId_ != null) { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } if (other.ObjectId != 0UL) { ObjectId = other.ObjectId; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityId_); break; } case 16: { ReleaseOwnership = input.ReadBool(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (accountId_ == null) { accountId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(accountId_); break; } case 18: { if (gameAccountId_ == null) { gameAccountId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(gameAccountId_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (accountId_ == null) { accountId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(accountId_); break; } case 18: { attribute_.AddEntriesFrom(input, _repeated_attribute_codec); break; } case 26: case 24: { role_.AddEntriesFrom(input, _repeated_role_codec); break; } case 32: { Privileges = input.ReadUInt64(); break; } case 40: { AttributesEpoch = input.ReadUInt64(); break; } case 50: { FullName = input.ReadString(); break; } case 58: { BattleTag = input.ReadString(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { ReportType = input.ReadString(); break; } case 18: { attribute_.AddEntriesFrom(input, _repeated_attribute_codec); break; } case 24: { ReportQos = input.ReadInt32(); break; } case 34: { if (reportingAccount_ == null) { reportingAccount_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(reportingAccount_); break; } case 42: { if (reportingGameAccount_ == null) { reportingGameAccount_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(reportingGameAccount_); break; } case 49: { ReportTimestamp = input.ReadFixed64(); break; } } } }
public void MergeFrom(SubscribeNotificationRequest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityId_); break; } case 18: { Program = input.ReadString(); break; } case 25: { TimestampPlayed = input.ReadFixed64(); break; } case 34: { attributes_.AddEntriesFrom(input, _repeated_attributes_codec); break; } case 45: { Id = input.ReadFixed32(); break; } case 53: { Counter = input.ReadFixed32(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(agentId_); break; } case 18: { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityId_); break; } case 24: { ObjectId = input.ReadUInt64(); break; } case 34: case 37: { program_.AddEntriesFrom(input, _repeated_program_codec); break; } case 40: { FlagPublic = input.ReadBool(); break; } } } }
public void MergeFrom(Variant other) { if (other == null) { return; } if (other.BoolValue != false) { BoolValue = other.BoolValue; } if (other.IntValue != 0L) { IntValue = other.IntValue; } if (other.FloatValue != 0D) { FloatValue = other.FloatValue; } if (other.StringValue.Length != 0) { StringValue = other.StringValue; } if (other.BlobValue.Length != 0) { BlobValue = other.BlobValue; } if (other.MessageValue.Length != 0) { MessageValue = other.MessageValue; } if (other.FourccValue.Length != 0) { FourccValue = other.FourccValue; } if (other.UintValue != 0UL) { UintValue = other.UintValue; } if (other.entityIdValue_ != null) { if (entityIdValue_ == null) { entityIdValue_ = new Bgs.Protocol.EntityId(); } EntityIdValue.MergeFrom(other.EntityIdValue); } }
public void MergeFrom(OwnershipRequest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } if (other.ReleaseOwnership != false) { ReleaseOwnership = other.ReleaseOwnership; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityId_); break; } case 18: { fieldOperation_.AddEntriesFrom(input, _repeated_fieldOperation_codec); break; } case 24: { NoCreate = input.ReadBool(); break; } case 34: { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(agentId_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityId_); break; } case 18: { fieldOperation_.AddEntriesFrom(input, _repeated_fieldOperation_codec); break; } case 24: { Healing = input.ReadBool(); break; } case 810: { if (presence_ == null) { presence_ = new Bgs.Protocol.Presence.V1.ChannelState(); } input.ReadMessage(presence_); break; } } } }
public void MergeFrom(Identity other) { if (other == null) { return; } if (other.accountId_ != null) { if (accountId_ == null) { accountId_ = new Bgs.Protocol.EntityId(); } AccountId.MergeFrom(other.AccountId); } if (other.gameAccountId_ != null) { if (gameAccountId_ == null) { gameAccountId_ = new Bgs.Protocol.EntityId(); } GameAccountId.MergeFrom(other.GameAccountId); } }
public void MergeFrom(BlockedPlayer other) { if (other == null) { return; } if (other.accountId_ != null) { if (accountId_ == null) { accountId_ = new Bgs.Protocol.EntityId(); } AccountId.MergeFrom(other.AccountId); } if (other.Name.Length != 0) { Name = other.Name; } role_.Add(other.role_); if (other.Privileges != 0UL) { Privileges = other.Privileges; } }
public void MergeFrom(Report other) { if (other == null) { return; } if (other.ReportType.Length != 0) { ReportType = other.ReportType; } attribute_.Add(other.attribute_); if (other.ReportQos != 0) { ReportQos = other.ReportQos; } if (other.reportingAccount_ != null) { if (reportingAccount_ == null) { reportingAccount_ = new Bgs.Protocol.EntityId(); } ReportingAccount.MergeFrom(other.ReportingAccount); } if (other.reportingGameAccount_ != null) { if (reportingGameAccount_ == null) { reportingGameAccount_ = new Bgs.Protocol.EntityId(); } ReportingGameAccount.MergeFrom(other.ReportingGameAccount); } if (other.ReportTimestamp != 0UL) { ReportTimestamp = other.ReportTimestamp; } }
public void MergeFrom(QueryRequest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new Bgs.Protocol.EntityId(); } EntityId.MergeFrom(other.EntityId); } key_.Add(other.key_); if (other.agentId_ != null) { if (agentId_ == null) { agentId_ = new Bgs.Protocol.EntityId(); } AgentId.MergeFrom(other.AgentId); } }
public void MergeFrom(Notification other) { if (other == null) { return; } if (other.senderId_ != null) { if (senderId_ == null) { senderId_ = new Bgs.Protocol.EntityId(); } SenderId.MergeFrom(other.SenderId); } if (other.targetId_ != null) { if (targetId_ == null) { targetId_ = new Bgs.Protocol.EntityId(); } TargetId.MergeFrom(other.TargetId); } if (other.Type.Length != 0) { Type = other.Type; } attribute_.Add(other.attribute_); if (other.senderAccountId_ != null) { if (senderAccountId_ == null) { senderAccountId_ = new Bgs.Protocol.EntityId(); } SenderAccountId.MergeFrom(other.SenderAccountId); } if (other.targetAccountId_ != null) { if (targetAccountId_ == null) { targetAccountId_ = new Bgs.Protocol.EntityId(); } TargetAccountId.MergeFrom(other.TargetAccountId); } if (other.SenderBattleTag.Length != 0) { SenderBattleTag = other.SenderBattleTag; } if (other.TargetBattleTag.Length != 0) { TargetBattleTag = other.TargetBattleTag; } if (other.peer_ != null) { if (peer_ == null) { peer_ = new Bgs.Protocol.ProcessId(); } Peer.MergeFrom(other.Peer); } if (other.forwardingIdentity_ != null) { if (forwardingIdentity_ == null) { forwardingIdentity_ = new Bgs.Protocol.Account.V1.Identity(); } ForwardingIdentity.MergeFrom(other.ForwardingIdentity); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 16: { BoolValue = input.ReadBool(); break; } case 24: { IntValue = input.ReadInt64(); break; } case 33: { FloatValue = input.ReadDouble(); break; } case 42: { StringValue = input.ReadString(); break; } case 50: { BlobValue = input.ReadBytes(); break; } case 58: { MessageValue = input.ReadBytes(); break; } case 66: { FourccValue = input.ReadString(); break; } case 72: { UintValue = input.ReadUInt64(); break; } case 82: { if (entityIdValue_ == null) { entityIdValue_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(entityIdValue_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (senderId_ == null) { senderId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(senderId_); break; } case 18: { if (targetId_ == null) { targetId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(targetId_); break; } case 26: { Type = input.ReadString(); break; } case 34: { attribute_.AddEntriesFrom(input, _repeated_attribute_codec); break; } case 42: { if (senderAccountId_ == null) { senderAccountId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(senderAccountId_); break; } case 50: { if (targetAccountId_ == null) { targetAccountId_ = new Bgs.Protocol.EntityId(); } input.ReadMessage(targetAccountId_); break; } case 58: { SenderBattleTag = input.ReadString(); break; } case 66: { TargetBattleTag = input.ReadString(); break; } case 74: { if (peer_ == null) { peer_ = new Bgs.Protocol.ProcessId(); } input.ReadMessage(peer_); break; } case 82: { if (forwardingIdentity_ == null) { forwardingIdentity_ = new Bgs.Protocol.Account.V1.Identity(); } input.ReadMessage(forwardingIdentity_); break; } } } }