mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
I hope this works
This commit is contained in:
@@ -37,3 +37,7 @@ void Component::LoadConfigData() {
|
||||
void Component::LoadTemplateData() {
|
||||
|
||||
}
|
||||
|
||||
void Component::Serialize(RakNet::BitStream* bitStream, bool isConstruction = false) {
|
||||
|
||||
}
|
||||
|
@@ -4,6 +4,10 @@
|
||||
|
||||
class Entity;
|
||||
|
||||
namespace RakNet {
|
||||
class BitStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Component base class, provides methods for game loop updates, usage events and loading and saving to XML.
|
||||
*/
|
||||
@@ -56,6 +60,11 @@ public:
|
||||
* Loads the data of this component from the cdclient database
|
||||
*/
|
||||
virtual void LoadTemplateData();
|
||||
|
||||
/**
|
||||
* Serializes the component for delivery to the client(s)
|
||||
*/
|
||||
virtual void Serialize(RakNet::BitStream* bitStream, bool isConstruction = false);
|
||||
protected:
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user