using CommonAI.Zone.Instance;
using CommonLang.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XmdsServerNode.Node.Interface
{
public interface IPlayer : IDisposable
{
///
/// 单位全局唯一标识符
///
string PlayerUUID { get; }
///
/// 向此玩家发送战斗服事件
///
///
void SendToClient(ArraySegment msg);
///
/// 发送游戏事件给游戏服
///
///
void SendToGameServer(object msg);
///
/// 绑定数据
///
ServerZoneNode.ZoneNodePlayer BindingObject { get; set; }
bool IsAttribute(string key);
void SetAttribute(string key, object value);
object GetAttribute(string key);
}
}