mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
20 lines
274 B
C#
20 lines
274 B
C#
namespace ET.Server
|
|
{
|
|
[ComponentOf(typeof(Player))]
|
|
public class PlayerSessionComponent : Entity, IAwake
|
|
{
|
|
private EntityRef<Session> session;
|
|
|
|
public Session Session
|
|
{
|
|
get
|
|
{
|
|
return this.session;
|
|
}
|
|
set
|
|
{
|
|
this.session = value;
|
|
}
|
|
}
|
|
}
|
|
} |