C# Class OpenStory.Server.Registry.LocationRegistry

Represents a registry for player locations.
Inheritance: ILocationRegistry
Mostra file Open project: shoftee/OpenStory

Public Methods

Method Description
GetLocation ( CharacterKey key ) : PlayerLocation
GetLocationsForAll ( IEnumerable keys ) : PlayerLocation>.Dictionary
LocationRegistry ( ) : System.Collections.Generic

Initializes a new instance of the LocationRegistry class.

RemoveLocation ( CharacterKey key ) : void
SetLocation ( CharacterKey key, int channelId, int mapId ) : void

Method Details

GetLocation() public method

public GetLocation ( CharacterKey key ) : PlayerLocation
key CharacterKey
return PlayerLocation

GetLocationsForAll() public method

public GetLocationsForAll ( IEnumerable keys ) : PlayerLocation>.Dictionary
keys IEnumerable
return PlayerLocation>.Dictionary

LocationRegistry() public method

Initializes a new instance of the LocationRegistry class.
public LocationRegistry ( ) : System.Collections.Generic
return System.Collections.Generic

RemoveLocation() public method

public RemoveLocation ( CharacterKey key ) : void
key CharacterKey
return void

SetLocation() public method

public SetLocation ( CharacterKey key, int channelId, int mapId ) : void
key CharacterKey
channelId int
mapId int
return void