summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-20 21:08:24 +0300
commit1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc (patch)
tree34d522b5c40079d82bb63b279e9c7e6cccb740c5 /src/net
parent9e2074d093ecdf9afc95a2fefc24b38307da627d (diff)
downloadmv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.gz
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.bz2
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.tar.xz
mv-1fd5a493d8edd6a77ed7a8d1fd602f59b3797acc.zip
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp3
-rw-r--r--src/net/ea/inventoryhandler.cpp3
-rw-r--r--src/net/ea/tradehandler.cpp3
-rw-r--r--src/net/eathena/bankhandler.cpp3
-rw-r--r--src/net/eathena/cashshophandler.cpp3
-rw-r--r--src/net/eathena/elementalhandler.cpp3
-rw-r--r--src/net/eathena/familyhandler.cpp3
-rw-r--r--src/net/eathena/maphandler.cpp3
-rw-r--r--src/net/eathena/markethandler.cpp3
-rw-r--r--src/net/eathena/roulettehandler.cpp3
-rw-r--r--src/net/eathena/searchstorehandler.cpp3
-rw-r--r--src/net/eathena/serverfeatures.cpp3
-rw-r--r--src/net/tmwa/bankhandler.cpp3
-rw-r--r--src/net/tmwa/cashshophandler.cpp3
-rw-r--r--src/net/tmwa/elementalhandler.cpp3
-rw-r--r--src/net/tmwa/familyhandler.cpp3
-rw-r--r--src/net/tmwa/maphandler.cpp3
-rw-r--r--src/net/tmwa/markethandler.cpp3
-rw-r--r--src/net/tmwa/roulettehandler.cpp3
-rw-r--r--src/net/tmwa/searchstorehandler.cpp3
-rw-r--r--src/net/tmwa/serverfeatures.cpp3
21 files changed, 42 insertions, 21 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index ab26998a1..4f62175c3 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -29,7 +29,8 @@
namespace Ea
{
-BeingHandler::BeingHandler(const bool enableSync)
+BeingHandler::BeingHandler(const bool enableSync) :
+ Net::BeingHandler()
{
BeingRecv::mSync = enableSync;
BeingRecv::mSpawnId = BeingId_zero;
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index 85bfb61ac..30b282bb4 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -32,7 +32,8 @@
namespace Ea
{
-InventoryHandler::InventoryHandler()
+InventoryHandler::InventoryHandler() :
+ Net::InventoryHandler()
{
InventoryRecv::mEquips.clear();
InventoryRecv::mInventoryItems.clear();
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 8c85bde51..a56136b3d 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -37,7 +37,8 @@ namespace
namespace Ea
{
-TradeHandler::TradeHandler()
+TradeHandler::TradeHandler() :
+ Net::TradeHandler()
{
confirmDlg = nullptr;
}
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp
index 67357d2d5..0caa516ad 100644
--- a/src/net/eathena/bankhandler.cpp
+++ b/src/net/eathena/bankhandler.cpp
@@ -31,7 +31,8 @@ extern int packetVersion;
namespace EAthena
{
-BankHandler::BankHandler()
+BankHandler::BankHandler() :
+ Net::BankHandler()
{
bankHandler = this;
}
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp
index cca4e0d42..1179f0823 100644
--- a/src/net/eathena/cashshophandler.cpp
+++ b/src/net/eathena/cashshophandler.cpp
@@ -32,7 +32,8 @@ extern int packetVersion;
namespace EAthena
{
-CashShopHandler::CashShopHandler()
+CashShopHandler::CashShopHandler() :
+ Net::CashShopHandler()
{
cashShopHandler = this;
CashShopRecv::mBuyDialog = nullptr;
diff --git a/src/net/eathena/elementalhandler.cpp b/src/net/eathena/elementalhandler.cpp
index 2265283a0..c80a47b99 100644
--- a/src/net/eathena/elementalhandler.cpp
+++ b/src/net/eathena/elementalhandler.cpp
@@ -27,7 +27,8 @@ extern Net::ElementalHandler *elementalHandler;
namespace EAthena
{
-ElementalHandler::ElementalHandler()
+ElementalHandler::ElementalHandler() :
+ Net::ElementalHandler()
{
elementalHandler = this;
}
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp
index 816d485dc..02bd5b43b 100644
--- a/src/net/eathena/familyhandler.cpp
+++ b/src/net/eathena/familyhandler.cpp
@@ -33,7 +33,8 @@ extern Net::FamilyHandler *familyHandler;
namespace EAthena
{
-FamilyHandler::FamilyHandler()
+FamilyHandler::FamilyHandler() :
+ Net::FamilyHandler()
{
FamilyRecv::mParent1 = BeingId_zero;
FamilyRecv::mParent2 = BeingId_zero;
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp
index 1a6c76798..380b5c48c 100644
--- a/src/net/eathena/maphandler.cpp
+++ b/src/net/eathena/maphandler.cpp
@@ -27,7 +27,8 @@ extern Net::MapHandler *mapHandler;
namespace EAthena
{
-MapHandler::MapHandler()
+MapHandler::MapHandler() :
+ Net::MapHandler()
{
mapHandler = this;
}
diff --git a/src/net/eathena/markethandler.cpp b/src/net/eathena/markethandler.cpp
index aadee0bc2..ba3304aa5 100644
--- a/src/net/eathena/markethandler.cpp
+++ b/src/net/eathena/markethandler.cpp
@@ -34,7 +34,8 @@ extern int packetVersion;
namespace EAthena
{
-MarketHandler::MarketHandler()
+MarketHandler::MarketHandler() :
+ Net::MarketHandler()
{
marketHandler = this;
MarketRecv::mBuyDialog = nullptr;
diff --git a/src/net/eathena/roulettehandler.cpp b/src/net/eathena/roulettehandler.cpp
index 1e2a292e2..5804e1b70 100644
--- a/src/net/eathena/roulettehandler.cpp
+++ b/src/net/eathena/roulettehandler.cpp
@@ -27,7 +27,8 @@ extern Net::RouletteHandler *rouletteHandler;
namespace EAthena
{
-RouletteHandler::RouletteHandler()
+RouletteHandler::RouletteHandler() :
+ Net::RouletteHandler()
{
rouletteHandler = this;
}
diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp
index 893df8c5e..d0b98be08 100644
--- a/src/net/eathena/searchstorehandler.cpp
+++ b/src/net/eathena/searchstorehandler.cpp
@@ -31,7 +31,8 @@ extern int packetVersion;
namespace EAthena
{
-SearchStoreHandler::SearchStoreHandler()
+SearchStoreHandler::SearchStoreHandler() :
+ Net::SearchStoreHandler()
{
searchStoreHandler = this;
}
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 8007b31a0..8567dedff 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -30,7 +30,8 @@ extern Net::ServerFeatures *serverFeatures;
namespace EAthena
{
-ServerFeatures::ServerFeatures()
+ServerFeatures::ServerFeatures() :
+ Net::ServerFeatures()
{
serverFeatures = this;
}
diff --git a/src/net/tmwa/bankhandler.cpp b/src/net/tmwa/bankhandler.cpp
index ac7eb3baa..25fccc368 100644
--- a/src/net/tmwa/bankhandler.cpp
+++ b/src/net/tmwa/bankhandler.cpp
@@ -27,7 +27,8 @@ extern Net::BankHandler *bankHandler;
namespace TmwAthena
{
-BankHandler::BankHandler()
+BankHandler::BankHandler() :
+ Net::BankHandler()
{
bankHandler = this;
}
diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp
index edc503869..d8263033e 100644
--- a/src/net/tmwa/cashshophandler.cpp
+++ b/src/net/tmwa/cashshophandler.cpp
@@ -27,7 +27,8 @@ extern Net::CashShopHandler *cashShopHandler;
namespace TmwAthena
{
-CashShopHandler::CashShopHandler()
+CashShopHandler::CashShopHandler() :
+ Net::CashShopHandler()
{
cashShopHandler = this;
}
diff --git a/src/net/tmwa/elementalhandler.cpp b/src/net/tmwa/elementalhandler.cpp
index eb9e501aa..19bcd3dfc 100644
--- a/src/net/tmwa/elementalhandler.cpp
+++ b/src/net/tmwa/elementalhandler.cpp
@@ -27,7 +27,8 @@ extern Net::ElementalHandler *elementalHandler;
namespace TmwAthena
{
-ElementalHandler::ElementalHandler()
+ElementalHandler::ElementalHandler() :
+ Net::ElementalHandler()
{
elementalHandler = this;
}
diff --git a/src/net/tmwa/familyhandler.cpp b/src/net/tmwa/familyhandler.cpp
index 799b79ef6..8a06a0d2d 100644
--- a/src/net/tmwa/familyhandler.cpp
+++ b/src/net/tmwa/familyhandler.cpp
@@ -27,7 +27,8 @@ extern Net::FamilyHandler *familyHandler;
namespace TmwAthena
{
-FamilyHandler::FamilyHandler()
+FamilyHandler::FamilyHandler() :
+ Net::FamilyHandler()
{
familyHandler = this;
}
diff --git a/src/net/tmwa/maphandler.cpp b/src/net/tmwa/maphandler.cpp
index 1d8f1acc3..4302ac52d 100644
--- a/src/net/tmwa/maphandler.cpp
+++ b/src/net/tmwa/maphandler.cpp
@@ -27,7 +27,8 @@ extern Net::MapHandler *mapHandler;
namespace TmwAthena
{
-MapHandler::MapHandler()
+MapHandler::MapHandler() :
+ Net::MapHandler()
{
mapHandler = this;
}
diff --git a/src/net/tmwa/markethandler.cpp b/src/net/tmwa/markethandler.cpp
index 8e85f245c..9576499b1 100644
--- a/src/net/tmwa/markethandler.cpp
+++ b/src/net/tmwa/markethandler.cpp
@@ -27,7 +27,8 @@ extern Net::MarketHandler *marketHandler;
namespace TmwAthena
{
-MarketHandler::MarketHandler()
+MarketHandler::MarketHandler() :
+ Net::MarketHandler()
{
marketHandler = this;
}
diff --git a/src/net/tmwa/roulettehandler.cpp b/src/net/tmwa/roulettehandler.cpp
index 566355ec1..800d0144a 100644
--- a/src/net/tmwa/roulettehandler.cpp
+++ b/src/net/tmwa/roulettehandler.cpp
@@ -27,7 +27,8 @@ extern Net::RouletteHandler *rouletteHandler;
namespace TmwAthena
{
-RouletteHandler::RouletteHandler()
+RouletteHandler::RouletteHandler() :
+ Net::RouletteHandler()
{
rouletteHandler = this;
}
diff --git a/src/net/tmwa/searchstorehandler.cpp b/src/net/tmwa/searchstorehandler.cpp
index 596dd0935..a124351a8 100644
--- a/src/net/tmwa/searchstorehandler.cpp
+++ b/src/net/tmwa/searchstorehandler.cpp
@@ -27,7 +27,8 @@ extern Net::SearchStoreHandler *searchStoreHandler;
namespace TmwAthena
{
-SearchStoreHandler::SearchStoreHandler()
+SearchStoreHandler::SearchStoreHandler() :
+ Net::SearchStoreHandler()
{
searchStoreHandler = this;
}
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 359c60546..2341435e6 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -28,7 +28,8 @@ extern Net::ServerFeatures *serverFeatures;
namespace TmwAthena
{
-ServerFeatures::ServerFeatures()
+ServerFeatures::ServerFeatures() :
+ Net::ServerFeatures()
{
serverFeatures = this;
}