C# 클래스 HaloShare.Services.GameMapService

상속: BaseService
파일 보기 프로젝트 열기: ElDewrito/HaloShare

공개 메소드들

메소드 설명
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

메소드 상세

AddVariant() 공개 메소드

public AddVariant ( Models model ) : void
model Models
리턴 void

GetMap() 공개 메소드

public GetMap ( int id ) : Models.GameMap
id int
리턴 Models.GameMap

GetMapByInternalId() 공개 메소드

public GetMapByInternalId ( int id ) : Models.GameMap
id int
리턴 Models.GameMap

GetMapByInternalName() 공개 메소드

public GetMapByInternalName ( string name ) : Models.GameMap
name string
리턴 Models.GameMap

GetMapSelectlist() 공개 메소드

public GetMapSelectlist ( int mapId ) : IEnumerable
mapId int
리턴 IEnumerable

GetMaps() 공개 메소드

public GetMaps ( ) : IEnumerable
리턴 IEnumerable

GetVariant() 공개 메소드

public GetVariant ( int id ) : Models.GameMapVariant
id int
리턴 Models.GameMapVariant

GetVariants() 공개 메소드

public GetVariants ( int mapId ) : IEnumerable
mapId int
리턴 IEnumerable

Rate() 공개 메소드

public Rate ( int id, int userId, int value ) : ViewModels.RateResponse
id int
userId int
value int
리턴 ViewModels.RateResponse

Reply() 공개 메소드

public Reply ( ViewModels model, int userId ) : int
model ViewModels
userId int
리턴 int

SearchVariants() 공개 메소드

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
리턴 IEnumerable

UpdateVariant() 공개 메소드

public UpdateVariant ( Models model ) : void
model Models
리턴 void

ValidateHash() 공개 메소드

public ValidateHash ( string md5Hash ) : Models.GameMapVariant
md5Hash string
리턴 Models.GameMapVariant