GPrompt

by Deviant Coder
GPrompt: Game Prompt. Properly encapsulates Byond's input() and alert() proc. Allows these prompts to be closed remotely with ease.
ID:2345230
 
/**
* GPrompt: Game Prompt. Properly encapsulates Byond's input() and alert() proc. Allows these prompts to be closed remotely with ease.
* Dependencies: [stddef++ Library] http://www.byond.com/developer/DeviantCoder/stddefpp
* Dependencies: [GFunctor Library] http://www.byond.com/developer/DeviantCoder/GFunctor
*
* Version: 1.003
* Revision Date: July 5, 2018
* Editors: Deviant Coder (Most Recent)
*/


/**
* Includes GPromptManager:
* Helps manage the prompts of a client and remotely closes running prompts based on ids
*
* Includes GPromptOptions:
* Holds options that can be given to a prompt, including validators
*
* Includes GPromptValidator:
* Validates whether a given result is in the correct format. Can use either a regex, path to a function, or a GFunctor callback
*
* Includes GAlertPrompt:
* Game Alert Prompt. Properly encapsulates Byond's alert() proc.
*
* Includes GInputPrompt:
* Game Input Prompt. Properly encapsulates Byond's input() proc.
*/