This repository has been archived on 2026-10-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2026-09-18 14:19:52 +07:00
|
|
|
using Ananta.SDK.Network;
|
|
|
|
|
|
|
|
|
|
namespace Ananta.Server.Gameplay.Crowd;
|
|
|
|
|
|
|
|
|
|
public interface IUrbanCrowdDriver
|
|
|
|
|
{
|
|
|
|
|
Task<(bool Ok, ulong[] EntityIds)> SpawnCrowdPedestriansAsync(
|
|
|
|
|
TcpSession session, uint npcFormworkId, uint poiActionId, float x, float y, float z, float facing);
|
|
|
|
|
|
2026-09-18 19:05:29 +07:00
|
|
|
Task DespawnCrowdPedestrianAsync(TcpSession session, ulong entityId);
|
|
|
|
|
|
|
|
|
|
Task SendPedestrianMoveAsync(TcpSession session, ulong entityId, float x, float y, float z, float facing, byte moveId);
|
|
|
|
|
|
2026-09-18 14:19:52 +07:00
|
|
|
(bool HasPlayer, float X, float Y, float Z, float Yaw, uint RaidId) GetPlayerPosition(TcpSession session);
|
|
|
|
|
}
|