C# Класс Cakewalk.Server.Zones.ZoneManager

Handles the indexing and updating of all zones in the world.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PushNearbyEntities ( ServerEntity entity ) : void

Tells all zones to push states to entities that are near to each other.

RemoveEntity ( ServerEntity entity ) : void

Remove an entity from the zone that they are in

RequestZoneTransfer ( ServerEntity entity, int newZoneID ) : bool

Tries to move a user in to a new zone.

ZoneManager ( ) : System.Collections.Generic

Create a new zone manager

Описание методов

PushNearbyEntities() публичный Метод

Tells all zones to push states to entities that are near to each other.
public PushNearbyEntities ( ServerEntity entity ) : void
entity ServerEntity
Результат void

RemoveEntity() публичный Метод

Remove an entity from the zone that they are in
public RemoveEntity ( ServerEntity entity ) : void
entity ServerEntity
Результат void

RequestZoneTransfer() публичный Метод

Tries to move a user in to a new zone.
public RequestZoneTransfer ( ServerEntity entity, int newZoneID ) : bool
entity ServerEntity
newZoneID int
Результат bool

ZoneManager() публичный Метод

Create a new zone manager
public ZoneManager ( ) : System.Collections.Generic
Результат System.Collections.Generic