added comments

This commit is contained in:
EmosewaMC 2022-04-26 15:26:30 -07:00
parent cacf4fcd97
commit fa7c4d9c27

View File

@ -14,8 +14,8 @@ VendorComponent::~VendorComponent() = default;
void VendorComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags) {
outBitStream->Write1();
outBitStream->Write1();
outBitStream->Write(HasCraftingStation());
outBitStream->Write1(); // Has standard items (Required for vendors with missions.)
outBitStream->Write(HasCraftingStation()); // Has multi use items
}
void VendorComponent::OnUse(Entity* originator) {