mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
24 lines
630 B
C#
24 lines
630 B
C#
using System;
|
|
|
|
namespace FFXIVClassic_World_Server.DataObjects.Group
|
|
{
|
|
class LinkshellMember : IComparable<LinkshellMember>
|
|
{
|
|
public readonly uint charaId;
|
|
public readonly ulong lsId;
|
|
public byte rank;
|
|
|
|
public LinkshellMember(uint charaId, ulong lsId, byte rank)
|
|
{
|
|
this.charaId = charaId;
|
|
this.lsId = lsId;
|
|
this.rank = rank;
|
|
}
|
|
|
|
public int CompareTo(LinkshellMember other)
|
|
{
|
|
return Server.GetServer().GetNameForId(charaId).CompareTo(Server.GetServer().GetNameForId(other.charaId));
|
|
}
|
|
}
|
|
}
|