mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-09 14:27:10 +00:00
added comments
This commit is contained in:
parent
cacf4fcd97
commit
fa7c4d9c27
@ -14,8 +14,8 @@ VendorComponent::~VendorComponent() = default;
|
|||||||
|
|
||||||
void VendorComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
|
void VendorComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
|
||||||
outBitStream->Write1();
|
outBitStream->Write1();
|
||||||
outBitStream->Write1();
|
outBitStream->Write1(); // Has standard items (Required for vendors with missions.)
|
||||||
outBitStream->Write(HasCraftingStation());
|
outBitStream->Write(HasCraftingStation()); // Has multi use items
|
||||||
}
|
}
|
||||||
|
|
||||||
void VendorComponent::OnUse(Entity* originator) {
|
void VendorComponent::OnUse(Entity* originator) {
|
||||||
|
Loading…
Reference in New Issue
Block a user