C# Class OpenStory.Server.Registry.LocationRegistry

Represents a registry for player locations.
Inheritance: ILocationRegistry
Afficher le fichier Open project: shoftee/OpenStory

Méthodes publiques

Méthode 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 méthode

public GetLocation ( CharacterKey key ) : PlayerLocation
key CharacterKey
Résultat PlayerLocation

GetLocationsForAll() public méthode

public GetLocationsForAll ( IEnumerable keys ) : PlayerLocation>.Dictionary
keys IEnumerable
Résultat PlayerLocation>.Dictionary

LocationRegistry() public méthode

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

RemoveLocation() public méthode

public RemoveLocation ( CharacterKey key ) : void
key CharacterKey
Résultat void

SetLocation() public méthode

public SetLocation ( CharacterKey key, int channelId, int mapId ) : void
key CharacterKey
channelId int
mapId int
Résultat void