WutheringWaves/GameServer/Models/CreatureModel.cs
2024-02-10 19:04:03 +03:00

26 lines
521 B
C#

namespace GameServer.Models;
internal class CreatureModel
{
public int OwnerId { get; }
public int InstanceId { get; private set; }
public bool LoadingWorld { get; private set; }
public long PlayerEntityId { get; set; }
public CreatureModel(int ownerId)
{
OwnerId = ownerId;
}
public void SetSceneLoadingData(int instanceId)
{
InstanceId = instanceId;
LoadingWorld = true;
}
public void OnWorldDone()
{
LoadingWorld = false;
}
}