summaryrefslogtreecommitdiffstats
path: root/source/cPlugin.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 15:06:06 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 15:06:06 +0200
commit92c59963f82f81aa3202657e7fdbb2592924ede3 (patch)
treeb7eb2474528a4998fa102e3ec9119b908cee08b4 /source/cPlugin.cpp
parentAdded HOOK_WEATHER_CHANGE. (diff)
downloadcuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.gz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.bz2
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.lz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.xz
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.tar.zst
cuberite-92c59963f82f81aa3202657e7fdbb2592924ede3.zip
Diffstat (limited to '')
-rw-r--r--source/cPlugin.cpp168
1 files changed, 84 insertions, 84 deletions
diff --git a/source/cPlugin.cpp b/source/cPlugin.cpp
index aa8dab01e..61471d8f0 100644
--- a/source/cPlugin.cpp
+++ b/source/cPlugin.cpp
@@ -1,84 +1,84 @@
-
-#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
-
-#include "cPlugin.h"
-
-
-
-
-
-cPlugin::cPlugin()
- : m_Version( 0 )
- , m_Language( E_CPP )
- , m_bCanBindCommands( false )
-{
-}
-
-cPlugin::~cPlugin()
-{
-}
-
-// bool cPlugin::Initialize()
-// {
-// LOG("cPlugin::Initialize()");
-// return false;
-// }
-
-void cPlugin::Tick(float a_Dt)
-{
- (void)a_Dt;
-}
-
-bool cPlugin::OnBlockPlace( cPacket_BlockPlace* a_PacketData, cPlayer* a_Player )
-{
- (void)a_PacketData;
- (void)a_Player;
- return false;
-}
-
-bool cPlugin::OnCollectItem( cPickup* a_Pickup, cPlayer* a_Player )
-{
- (void)a_Pickup;
- (void)a_Player;
- return false;
-}
-
-bool cPlugin::OnDisconnect(const AString & a_Reason, cPlayer* a_Player )
-{
- (void)a_Reason;
- (void)a_Player;
- return false;
-}
-
-bool cPlugin::OnChat( const char* a_Chat, cPlayer* a_Player )
-{
- (void)a_Chat;
- (void)a_Player;
- return false;
-}
-
-bool cPlugin::OnLogin( cPacket_Login* a_PacketData )
-{
- (void)a_PacketData;
- return false;
-}
-
-void cPlugin::OnPlayerSpawn( cPlayer* a_Player )
-{
- (void)a_Player;
-}
-
-bool cPlugin::OnPlayerJoin( cPlayer* a_Player )
-{
- (void)a_Player;
- return false;
-}
-
-void cPlugin::AddCommand( std::string & a_Command, std::string & a_Description, std::string & a_Permission )
-{
- CommandStruct Command;
- Command.Command = a_Command;
- Command.Description = a_Description;
- Command.Permission = a_Permission;
- m_Commands.push_back( Command );
-}
+
+#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
+
+#include "cPlugin.h"
+
+
+
+
+
+cPlugin::cPlugin()
+ : m_Version( 0 )
+ , m_Language( E_CPP )
+ , m_bCanBindCommands( false )
+{
+}
+
+cPlugin::~cPlugin()
+{
+}
+
+// bool cPlugin::Initialize()
+// {
+// LOG("cPlugin::Initialize()");
+// return false;
+// }
+
+void cPlugin::Tick(float a_Dt)
+{
+ (void)a_Dt;
+}
+
+bool cPlugin::OnBlockPlace( cPacket_BlockPlace* a_PacketData, cPlayer* a_Player )
+{
+ (void)a_PacketData;
+ (void)a_Player;
+ return false;
+}
+
+bool cPlugin::OnCollectItem( cPickup* a_Pickup, cPlayer* a_Player )
+{
+ (void)a_Pickup;
+ (void)a_Player;
+ return false;
+}
+
+bool cPlugin::OnDisconnect(const AString & a_Reason, cPlayer* a_Player )
+{
+ (void)a_Reason;
+ (void)a_Player;
+ return false;
+}
+
+bool cPlugin::OnChat( const char* a_Chat, cPlayer* a_Player )
+{
+ (void)a_Chat;
+ (void)a_Player;
+ return false;
+}
+
+bool cPlugin::OnLogin( cPacket_Login* a_PacketData )
+{
+ (void)a_PacketData;
+ return false;
+}
+
+void cPlugin::OnPlayerSpawn( cPlayer* a_Player )
+{
+ (void)a_Player;
+}
+
+bool cPlugin::OnPlayerJoin( cPlayer* a_Player )
+{
+ (void)a_Player;
+ return false;
+}
+
+void cPlugin::AddCommand( std::string & a_Command, std::string & a_Description, std::string & a_Permission )
+{
+ CommandStruct Command;
+ Command.Command = a_Command;
+ Command.Description = a_Description;
+ Command.Permission = a_Permission;
+ m_Commands.push_back( Command );
+}