LagomActorFactory::LagomActorFactory(const std::string& name) : XMLResourceData(name), MovementSpeed(GetFloatByName(sPropMovementSpeed)), RotationSpeed(GetFloatByName(sPropRotationSpeed)), CollisionRange(GetFloatByName(sPropCollisionRange)), GroundOffset(GetFloatByName(sPropGroundOffset)), Health(GetFloatByName(sPropHealth)), HealthRegeneration(GetFloatByName(sPropHealthRegeneration)), Energy(GetFloatByName(sPropEnergy)), EnergyDischarge(GetFloatByName(sPropEnergyDischarge)), MeshScale(GetVector3ByName(sPropMeshScale)), PointValue(GetFloatByName(sPropPointValue)), ScoreValue(GetFloatByName(sPropScoreValue)), ConstructionCooldown(GetFloatByName(sPropConstructionCooldown)), Mesh(GetStringByName(sPropMesh)), Material(GetStringByName(sPropMaterial)), EnergyDischargeSize(GetFloatByName(sPropEnergyDischargeSize)), EnergyDischargeMaterial(GetStringByName(sPropEnergyDischargeMaterial)), DeathSound(GetStringByName(sPropDeathSound)), DeathParticleSize(GetIntByName(sPropDeathParticleSize)), Name(GetRootName()) { }
void nsImportStringBundle::GetStringByName(const char *aName, nsIStringBundle *aBundle, nsString &aResult) { aResult.Adopt(GetStringByName(aName, aBundle)); }