mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-29 03:32:00 +00:00
Organize Entity header
Probably the third or fourth pass of this darn header... Just keep making it better every time Rename some functions to make more sense to a reader Use different method for Observing/subscribing to component events Get rid of abomination of overloading GetParentUser
This commit is contained in:
@@ -213,7 +213,7 @@ void BasicAttackBehavior::DoBehaviorCalculation(BehaviorContext* context, RakNet
|
||||
|
||||
bitStream->Write(armorDamageDealt);
|
||||
bitStream->Write(healthDamageDealt);
|
||||
bitStream->Write(targetEntity->GetIsDead());
|
||||
bitStream->Write(targetEntity->IsDead());
|
||||
}
|
||||
|
||||
bitStream->Write(successState);
|
||||
|
||||
@@ -148,7 +148,7 @@ void TacArcBehavior::Calculate(BehaviorContext* context, RakNet::BitStream* bitS
|
||||
continue;
|
||||
}
|
||||
|
||||
if (entity->GetIsDead()) continue;
|
||||
if (entity->IsDead()) continue;
|
||||
|
||||
const auto otherPosition = entity->GetPosition();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user