Added const
This commit is contained in:
parent
94df1fbe9b
commit
e51f09fb02
|
@ -266,8 +266,8 @@ namespace detail {
|
|||
void Client::SetWeatherParameters(const rpc::WeatherParameters &weather) {
|
||||
_pimpl->AsyncCall("set_weather_parameters", weather);
|
||||
}
|
||||
|
||||
float Client::GetIMUISensorGravity() {
|
||||
|
||||
float Client::GetIMUISensorGravity() const {
|
||||
return _pimpl->CallAndWait<float>("get_imui_gravity");
|
||||
}
|
||||
|
||||
|
@ -444,7 +444,7 @@ namespace detail {
|
|||
std::vector<std::string> Client::GetActorBoneNames(rpc::ActorId actor) {
|
||||
using return_t = std::vector<std::string>;
|
||||
return _pimpl->CallAndWait<return_t>("get_actor_bone_names", actor);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<geom::Transform> Client::GetActorSocketWorldTransforms(rpc::ActorId actor) {
|
||||
using return_t = std::vector<geom::Transform>;
|
||||
|
|
|
@ -148,8 +148,8 @@ namespace detail {
|
|||
rpc::WeatherParameters GetWeatherParameters();
|
||||
|
||||
void SetWeatherParameters(const rpc::WeatherParameters &weather);
|
||||
|
||||
float GetIMUISensorGravity();
|
||||
|
||||
float GetIMUISensorGravity() const;
|
||||
|
||||
void SetIMUISensorGravity( float NewIMUISensorGravity );
|
||||
|
||||
|
@ -247,12 +247,12 @@ namespace detail {
|
|||
|
||||
std::vector<geom::Transform> GetActorBoneWorldTransforms(
|
||||
rpc::ActorId actor);
|
||||
|
||||
|
||||
std::vector<geom::Transform> GetActorBoneRelativeTransforms(
|
||||
rpc::ActorId actor);
|
||||
|
||||
std::vector<std::string> GetActorComponentNames(
|
||||
rpc::ActorId actor);
|
||||
rpc::ActorId actor);
|
||||
|
||||
std::vector<std::string> GetActorBoneNames(
|
||||
rpc::ActorId actor);
|
||||
|
|
|
@ -259,7 +259,7 @@ namespace detail {
|
|||
_client.SetWeatherParameters(weather);
|
||||
}
|
||||
|
||||
float GetIMUISensorGravity() {
|
||||
float GetIMUISensorGravity() const {
|
||||
return _client.GetIMUISensorGravity();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue