Renamed some of Get() methods to Find(), read more

From now on, ideally any function with "get" in the name should always
return a valid value. A function with "find" in the name, however, does
the same thing, but may also return an invalid result such as an error
code.
This commit is contained in:
2016-04-03 02:17:02 +11:00
parent 3b24aae422
commit 957458d489
19 changed files with 63 additions and 63 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ public:
void UnloadIf(std::function<bool(std::pair<const int, ClientData const&>)> fn);
//accessors & mutators
ClientData* Get(int uid);
ClientData* Find(int uid);
int GetLoadedCount();
int GetTotalCount();
std::map<int, ClientData>* GetContainer();