C# Class JustPressPlay.Controllers.AchievementsController

Inheritance: Controller
Mostra file Open project: RIT-MAGIC/JustPressPlay

Public Methods

Method Description
Index ( ) : System.Web.Mvc.ActionResult

Handles the home page of the Achievements section

IndividualAchievement ( int id, int playerID ) : System.Web.Mvc.ActionResult

Handles an individual achievement's page

Private Methods

Method Description
AddAchievementStoryText ( int instanceID, String text ) : System.Boolean
ManageAchievementStory ( int instanceID, string storyText = null, System.Web.HttpPostedFileBase storyImage = null ) : System.Web.Mvc.ActionResult
UserSubmission ( int achievementID, string type, string text = null, System.Web.HttpPostedFileBase image = null, string url = null ) : System.Boolean

Method Details

Index() public method

Handles the home page of the Achievements section
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

IndividualAchievement() public method

Handles an individual achievement's page
public IndividualAchievement ( int id, int playerID ) : System.Web.Mvc.ActionResult
id int The id of the achievement
playerID int
return System.Web.Mvc.ActionResult