1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-22 04:37:47 +00:00
project-meteor-server/FFXIVClassic World Server/DataObjects/Group/LinkshellMember.cs

27 lines
732 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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));
}
}
}