VPet/VPet-Simulator.Windows.Interface/MutiPlayer/IMPFriend.cs

57 lines
1.3 KiB
C#
Raw Normal View History

using LinePutScript;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VPet_Simulator.Core;
using static VPet_Simulator.Windows.Interface.MPMessage;
namespace VPet_Simulator.Windows.Interface;
/// <summary>
/// 好友的宠物(图形)模块接口
/// </summary>
public interface IMPFriend
{
/// <summary>
/// 访客表id
/// </summary>
ulong LobbyID { get; }
/// <summary>
/// 好友id
/// </summary>
ulong FriendID { get; }
/// <summary>
/// 桌宠数据核心
/// </summary>
GameCore Core { get; }
/// <summary>
/// 图像资源集
/// </summary>
ImageResources ImageSources { get; }
/// <summary>
/// 当前宠物图形名称
/// </summary>
string SetPetGraph { get; }
/// <summary>
/// 桌宠主要部件
/// </summary>
Main Main { get; }
/// <summary>
/// 智能化显示后续过度动画
/// </summary>
void DisplayAuto(GraphInfo gi);
/// <summary>
/// 根据好友数据显示动画
/// </summary>
bool DisplayGraph(GraphInfo gi);
/// <summary>
/// 显示好友之间聊天消息
/// </summary>
/// <param name="msg">聊天内容</param>
void DisplayMessage(Chat msg);
}