16 lines
594 B
C#
16 lines
594 B
C#
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);
|
|
|
|
Task DespawnCrowdPedestrianAsync(TcpSession session, ulong entityId);
|
|
|
|
Task SendPedestrianMoveAsync(TcpSession session, ulong entityId, float x, float y, float z, float facing, byte moveId);
|
|
|
|
(bool HasPlayer, float X, float Y, float Z, float Yaw, uint RaidId) GetPlayerPosition(TcpSession session);
|
|
}
|