summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-26 22:45:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-26 22:45:55 +0300
commit80bbbc4c18273e0d1116d7e924d1df068a5d63d5 (patch)
treebef2f6458ee7fc5079c1993921abdfc4926570bb /src/input/inputactionmap.h
parent918e2a5cf24311e87b0dc754770480727f77eac3 (diff)
downloadplus-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.gz
plus-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.bz2
plus-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.tar.xz
plus-80bbbc4c18273e0d1116d7e924d1df068a5d63d5.zip
Add chat command for print memory usage. For now only report about resources.
New chat command: /dumpmemoryusage
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 2a12b5765..6d3c957e3 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5503,6 +5503,12 @@ static const InputActionData inputActionData
"adoptchild|childadopt|askforchild",
UseArgs_true,
Protected_true},
+ {"keyDumpMemmoryUsage",
+ defaultAction(&Actions::dumpMemoryUsage),
+ InputCondition::INGAME,
+ "dumpmemoryusage|memoryusage",
+ UseArgs_false,
+ Protected_true},
};
#undef defaultAction