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;
|
|
}
|
|
}
|
|
}
|
|
} |