mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
* Refactor to result GameActions::Result as copy instead of unique_ptr * Remove alias GameActions::Result::Ptr * Remove MakeResult wrapper * Remove type forwarder in TileInspector
This commit is contained in:
@@ -34,12 +34,12 @@ void NetworkModifyGroupAction::Serialise(DataSerialiser& stream)
|
||||
stream << DS_TAG(_type) << DS_TAG(_groupId) << DS_TAG(_name) << DS_TAG(_permissionIndex) << DS_TAG(_permissionState);
|
||||
}
|
||||
|
||||
GameActions::Result::Ptr NetworkModifyGroupAction::Query() const
|
||||
GameActions::Result NetworkModifyGroupAction::Query() const
|
||||
{
|
||||
return network_modify_groups(GetPlayer(), _type, _groupId, _name, _permissionIndex, _permissionState, false);
|
||||
}
|
||||
|
||||
GameActions::Result::Ptr NetworkModifyGroupAction::Execute() const
|
||||
GameActions::Result NetworkModifyGroupAction::Execute() const
|
||||
{
|
||||
return network_modify_groups(GetPlayer(), _type, _groupId, _name, _permissionIndex, _permissionState, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user