baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
41
src/GameLogic/IPartyMember.cs
Normal file
41
src/GameLogic/IPartyMember.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
// <copyright file="IPartyMember.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.GameLogic;
|
||||
|
||||
/// <summary>
|
||||
/// The interface for a party member.
|
||||
/// </summary>
|
||||
public interface IPartyMember : IWorldObserver, IObservable, IIdentifiable, ILocateable
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the current party of the player.
|
||||
/// </summary>
|
||||
Party? Party { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the last party requester.
|
||||
/// </summary>
|
||||
IPartyMember? LastPartyRequester { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the maximum health.
|
||||
/// </summary>
|
||||
uint MaximumHealth { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current health.
|
||||
/// </summary>
|
||||
uint CurrentHealth { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
string Name { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the member is currently connected to the game.
|
||||
/// </summary>
|
||||
bool IsConnected { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user