C# Class HaloShare.Services.GameMapService

Inheritance: BaseService
Afficher le fichier Open project: ElDewrito/HaloShare

Méthodes publiques

Méthode Description
AddVariant ( Models model ) : void
GetMap ( int id ) : Models.GameMap
GetMapByInternalId ( int id ) : Models.GameMap
GetMapByInternalName ( string name ) : Models.GameMap
GetMapSelectlist ( int mapId ) : IEnumerable
GetMaps ( ) : IEnumerable
GetVariant ( int id ) : Models.GameMapVariant
GetVariants ( int mapId ) : IEnumerable
Rate ( int id, int userId, int value ) : ViewModels.RateResponse
Reply ( ViewModels model, int userId ) : int
SearchVariants ( string q, string orderBy, bool asc, int mapId, bool staffPick, int authorId, bool hideDeleted = true ) : IEnumerable
UpdateVariant ( Models model ) : void
ValidateHash ( string md5Hash ) : Models.GameMapVariant

Method Details

AddVariant() public méthode

public AddVariant ( Models model ) : void
model Models
Résultat void

GetMap() public méthode

public GetMap ( int id ) : Models.GameMap
id int
Résultat Models.GameMap

GetMapByInternalId() public méthode

public GetMapByInternalId ( int id ) : Models.GameMap
id int
Résultat Models.GameMap

GetMapByInternalName() public méthode

public GetMapByInternalName ( string name ) : Models.GameMap
name string
Résultat Models.GameMap

GetMapSelectlist() public méthode

public GetMapSelectlist ( int mapId ) : IEnumerable
mapId int
Résultat IEnumerable

GetMaps() public méthode

public GetMaps ( ) : IEnumerable
Résultat IEnumerable

GetVariant() public méthode

public GetVariant ( int id ) : Models.GameMapVariant
id int
Résultat Models.GameMapVariant

GetVariants() public méthode

public GetVariants ( int mapId ) : IEnumerable
mapId int
Résultat IEnumerable

Rate() public méthode

public Rate ( int id, int userId, int value ) : ViewModels.RateResponse
id int
userId int
value int
Résultat ViewModels.RateResponse

Reply() public méthode

public Reply ( ViewModels model, int userId ) : int
model ViewModels
userId int
Résultat int

SearchVariants() public méthode

public SearchVariants ( string q, string orderBy, bool asc, int mapId, bool staffPick, int authorId, bool hideDeleted = true ) : IEnumerable
q string
orderBy string
asc bool
mapId int
staffPick bool
authorId int
hideDeleted bool
Résultat IEnumerable

UpdateVariant() public méthode

public UpdateVariant ( Models model ) : void
model Models
Résultat void

ValidateHash() public méthode

public ValidateHash ( string md5Hash ) : Models.GameMapVariant
md5Hash string
Résultat Models.GameMapVariant