2016-12-12 19:03:25 -05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_World_Server.DataObjects.Group
|
|
|
|
|
{
|
2016-12-16 20:06:17 -05:00
|
|
|
|
class LinkshellMember : IComparable<LinkshellMember>
|
2016-12-12 19:03:25 -05:00
|
|
|
|
{
|
|
|
|
|
public readonly uint charaId;
|
|
|
|
|
public readonly ulong lsId;
|
2017-01-08 23:13:15 -05:00
|
|
|
|
public byte rank;
|
2016-12-12 19:03:25 -05:00
|
|
|
|
|
2016-12-16 20:06:17 -05:00
|
|
|
|
public LinkshellMember(uint charaId, ulong lsId, byte rank)
|
2016-12-12 19:03:25 -05:00
|
|
|
|
{
|
|
|
|
|
this.charaId = charaId;
|
|
|
|
|
this.lsId = lsId;
|
|
|
|
|
this.rank = rank;
|
|
|
|
|
}
|
2016-12-16 20:06:17 -05:00
|
|
|
|
|
|
|
|
|
public int CompareTo(LinkshellMember other)
|
|
|
|
|
{
|
|
|
|
|
return Server.GetServer().GetNameForId(charaId).CompareTo(Server.GetServer().GetNameForId(other.charaId));
|
|
|
|
|
}
|
2016-12-12 19:03:25 -05:00
|
|
|
|
}
|
|
|
|
|
}
|