Files
RobustToolbox/SS14.Server/Interfaces/Player/IPlayerSession.cs
Acruid 6247ff4eff Console Rework (#483)
* Extracted the logic from DebugConsole into a new ClientConsole class.

* ClientConsole moved to IoC system.
Verb system replaced with concmds.

* Shared Cleanup

* ClientChatConsole skeleton.

* DebugConsole and LobbyChat are now both subscribed to ClientChatConsole.

* Removed server chat commands.

* cleaned up server command sysyem.

* More chat handling, and aliasing.

* Nightly work on Say command.

* Fixes a bug in Maths.Angle.

* Chat channel colors moved to ClientChatConsole.

* Now Server commands are sent without opening DebugConsole.

* Emotes work.
Clientside chat formatting works.

* Fixed angle unit test.
2018-01-04 00:53:41 +01:00

36 lines
909 B
C#

using System;
using SS14.Shared;
using SS14.Shared.Interfaces.GameObjects;
using SS14.Shared.Interfaces.Network;
using SS14.Shared.Network.Messages;
using SS14.Shared.Players;
namespace SS14.Server.Interfaces.Player
{
public interface IPlayerSession
{
IEntity attachedEntity { get; }
int? AttachedEntityUid { get; }
string Name { get; set; }
SessionStatus Status { get; set; }
INetChannel ConnectedClient { get; }
DateTime ConnectedTime { get; }
PlayerIndex Index { get; }
void JoinLobby();
void JoinGame();
void SetName(string name);
void AttachToEntity(IEntity a);
void HandleNetworkMessage(MsgSession message);
void DetachFromEntity();
void OnConnect();
void OnDisconnect();
void AddPostProcessingEffect(PostProcessingEffectType type, float duration);
}
}