C# Class Cakewalk.Server.Zones.ZoneManager

Handles the indexing and updating of all zones in the world.
ファイルを表示 Open project: Cakez0r/Cakewalk Class Usage Examples

Public Methods

Method Description
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

Method Details

PushNearbyEntities() public method

Tells all zones to push states to entities that are near to each other.
public PushNearbyEntities ( ServerEntity entity ) : void
entity ServerEntity
return void

RemoveEntity() public method

Remove an entity from the zone that they are in
public RemoveEntity ( ServerEntity entity ) : void
entity ServerEntity
return void

RequestZoneTransfer() public method

Tries to move a user in to a new zone.
public RequestZoneTransfer ( ServerEntity entity, int newZoneID ) : bool
entity ServerEntity
newZoneID int
return bool

ZoneManager() public method

Create a new zone manager
public ZoneManager ( ) : System.Collections.Generic
return System.Collections.Generic