summaryrefslogtreecommitdiff
path: root/src/account-server/serverhandler.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-19 15:10:17 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-03-20 15:13:01 +0100
commit4059cb4fa545dda8b035a1033f5fefb99e978682 (patch)
tree37e526f9f80cbb9dda55ab19ae6d076c51c957da /src/account-server/serverhandler.cpp
parent318cb3a18ac4aa906b18ffd170bf0b1033c62d33 (diff)
downloadmanaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.gz
manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.bz2
manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.tar.xz
manaserv-4059cb4fa545dda8b035a1033f5fefb99e978682.zip
Introduced separate functions for item database loading
This splits the huge ItemManager::reload() into readEquipSlotsFile() and readItemsFile(), the latter of which is further split up into multiple functions for reading the different elements. Just to keep the amount of nesting down and increase the readability. Removes the need for huge eye-catching comment blocks. Reviewed-by: Freeyorp
Diffstat (limited to 'src/account-server/serverhandler.cpp')
0 files changed, 0 insertions, 0 deletions