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