public AllianceDataMessage GetAllianceDataMessage() { AllianceDataMessage allianceDataMessage = new AllianceDataMessage(); AllianceFullEntry allianceFullEntry = new AllianceFullEntry(); LogicArrayList <AllianceMemberEntry> memberEntryList = new LogicArrayList <AllianceMemberEntry>(this.Members.Count); allianceFullEntry.SetAllianceHeaderEntry(this.Header); allianceFullEntry.SetAllianceDescription(this.Description); allianceFullEntry.SetAllianceMembers(memberEntryList); foreach (AllianceMemberEntry entry in this.Members.Values) { memberEntryList.Add(entry); } allianceDataMessage.SetAllianceFullEntry(allianceFullEntry); return(allianceDataMessage); }