From 286d484207a800d17c7e6402d898806cbdbd5197 Mon Sep 17 00:00:00 2001 From: Ross Bemrose Date: Fri, 31 Oct 2014 17:21:37 -0400 Subject: [PATCH] Rearrange order of methods in methodmap. Add missing Reset method to methodmap. --- plugins/include/console.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/include/console.inc b/plugins/include/console.inc index dac7903a..60272518 100644 --- a/plugins/include/console.inc +++ b/plugins/include/console.inc @@ -29,7 +29,7 @@ * * Version: $Id$ */ - + #if defined _console_included #endinput #endif @@ -970,6 +970,7 @@ forward Action:OnClientSayCommand(client, const String:command[], const String:s */ forward void OnClientSayCommand_Post(int client, const char[] command, const char[] sArgs); +// Most of these aren't properties because they're more complex methodmap ConVar < Handle { public ConVar() = CreateConVar; @@ -977,15 +978,15 @@ methodmap ConVar < Handle public SetBool() = SetConVarBool; public GetInt() = GetConVarInt; public SetInt() = SetConVarInt; - public GetString() = GetConVarString; - public SetString() = SetConVarString; public GetFloat() = GetConVarFloat; public SetFloat() = SetConVarFloat; + public GetString() = GetConVarString; + public SetString() = SetConVarString; + public Reset() = ResetConVar; public GetFlags() = GetConVarFlags; public SetFlags() = SetConVarFlags; public GetBounds() = GetConVarBounds; public SetBounds() = SetConVarBounds; public GetDefault() = GetConVarDefault; public GetName() = GetConVarName; - } \ No newline at end of file