This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** Sets shared client entity parameters. */ | |
| #define CLIENT_ENTITY_PARAMS(params)\ | |
| params.oldEnt = ent;\ | |
| params.Client_clientData = client;\ | |
| params.Health_maxHealth = BG_Class(pcl)->health | |
| /** Copies component state for components that all client entities share. */ | |
| #define CLIENT_ENTIY_STATE_COPY()\ | |
| if (evolving) {\ | |
| *ent->entity->Get<HealthComponent>() = *oldEntity->Get<HealthComponent>();\ |