12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using CommonAI.Zone.Instance;
- using CommonLang.Protocol;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace CommonAIServer.Node.Interface
- {
- public interface IPlayer
- {
-
-
-
- string PlayerUUID { get; }
-
-
-
- string DisplayName { get; }
-
-
-
- ZoneNode.PlayerClient BindingPlayer { get; set; }
-
-
-
-
- void Send(IMessage msg);
-
-
-
-
- void Listen(Action<object> handler);
-
-
-
-
- void OnConnected(ZoneNode.PlayerClient binding);
-
-
-
- void OnDisconnect(ZoneNode.PlayerClient binding);
- bool IsAttribute(string key);
- void SetAttribute(string key, object value);
- object GetAttribute(string key);
- }
- }
|