server-master/srcs/WingsAPI.Game/Groups/IGroupComponent.cs
2026-02-10 18:21:30 +01:00

19 lines
No EOL
467 B
C#

using WingsEmu.Game.Characters;
namespace WingsEmu.Game.Groups;
public interface IGroupComponent
{
public long GetGroupId();
public PlayerGroup GetGroup();
public void AddMember(IPlayerEntity member);
public void RemoveMember(IPlayerEntity member);
public void SetGroup(PlayerGroup playerGroup);
public void RemoveGroup();
public bool IsInGroup();
public bool IsLeaderOfGroup(long characterId);
public bool IsGroupFull();
}