mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
31 lines
No EOL
903 B
C#
31 lines
No EOL
903 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Dalamud.Game.ClientState.Actors.Types;
|
|
using Penumbra.GameData.Structs;
|
|
|
|
namespace Penumbra.PlayerWatch
|
|
{
|
|
public delegate void ActorChange( Actor actor );
|
|
|
|
public interface IPlayerWatcherBase : IDisposable
|
|
{
|
|
public int Version { get; }
|
|
public bool Valid { get; }
|
|
}
|
|
|
|
public interface IPlayerWatcher : IPlayerWatcherBase
|
|
{
|
|
public event ActorChange? ActorChanged;
|
|
public bool Active { get; }
|
|
|
|
public void Enable();
|
|
public void Disable();
|
|
public void SetStatus( bool enabled );
|
|
|
|
public void AddPlayerToWatch( string playerName );
|
|
public void RemovePlayerFromWatch( string playerName );
|
|
public ActorEquipment UpdateActorWithoutEvent( Actor actor );
|
|
|
|
public IEnumerable< (string, ActorEquipment) > WatchedPlayers();
|
|
}
|
|
} |