using System; using Aurora.Cursor; namespace Aurora.Proto.Party { /// /// Partial PartyMember class with a constructor that generates a new id /// public partial class Member : ICursorObject { public Member(string id) { if (!string.IsNullOrWhiteSpace(id)) { Name = id; } else { Name = Guid.NewGuid().ToString(); } } } }