Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:games
openttd
add_missing_gamescript_classes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File add_missing_gamescript_classes.patch of Package openttd
diff -duNr a/src/game/game_instance.cpp b/src/game/game_instance.cpp --- a/src/game/game_instance.cpp 2019-04-20 18:49:54.000000000 +0200 +++ b/src/game/game_instance.cpp 2019-04-20 21:53:08.028170899 +0200 @@ -50,6 +50,8 @@ #include "../script/api/game/game_game.hpp.sq" #include "../script/api/game/game_gamesettings.hpp.sq" #include "../script/api/game/game_goal.hpp.sq" +#include "../script/api/game/game_group.hpp.sq" +#include "../script/api/game/game_grouplist.hpp.sq" #include "../script/api/game/game_industry.hpp.sq" #include "../script/api/game/game_industrylist.hpp.sq" #include "../script/api/game/game_industrytype.hpp.sq" @@ -142,6 +144,7 @@ SQGSEventCompanyNew_Register(this->engine); SQGSEventCompanyTown_Register(this->engine); SQGSEventController_Register(this->engine); + SQGSEventEngineAvailable_Register(this->engine); SQGSEventExclusiveTransportRights_Register(this->engine); SQGSEventGoalQuestionAnswer_Register(this->engine); SQGSEventIndustryClose_Register(this->engine); @@ -154,11 +157,16 @@ SQGSEventSubsidyOfferExpired_Register(this->engine); SQGSEventTownFounded_Register(this->engine); SQGSEventVehicleCrashed_Register(this->engine); + SQGSEventVehicleLost_Register(this->engine); + SQGSEventVehicleUnprofitable_Register(this->engine); + SQGSEventVehicleWaitingInDepot_Register(this->engine); SQGSEventWindowWidgetClick_Register(this->engine); SQGSExecMode_Register(this->engine); SQGSGame_Register(this->engine); SQGSGameSettings_Register(this->engine); SQGSGoal_Register(this->engine); + SQGSGroup_Register(this->engine); + SQGSGroupList_Register(this->engine); SQGSIndustry_Register(this->engine); SQGSIndustryList_Register(this->engine); SQGSIndustryList_CargoAccepting_Register(this->engine); diff -duNr a/src/script/api/game/game_event_types.hpp.sq b/src/script/api/game/game_event_types.hpp.sq --- a/src/script/api/game/game_event_types.hpp.sq 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/game/game_event_types.hpp.sq 2019-04-20 21:53:08.028170899 +0200 @@ -158,6 +158,51 @@ } +template <> const char *GetClassName<ScriptEventVehicleLost, ST_GS>() { return "GSEventVehicleLost"; } + +void SQGSEventVehicleLost_Register(Squirrel *engine) +{ + DefSQClass<ScriptEventVehicleLost, ST_GS> SQGSEventVehicleLost("GSEventVehicleLost"); + SQGSEventVehicleLost.PreRegister(engine, "GSEvent"); + + SQGSEventVehicleLost.DefSQStaticMethod(engine, &ScriptEventVehicleLost::Convert, "Convert", 2, ".x"); + + SQGSEventVehicleLost.DefSQMethod(engine, &ScriptEventVehicleLost::GetVehicleID, "GetVehicleID", 1, "x"); + + SQGSEventVehicleLost.PostRegister(engine); +} + + +template <> const char *GetClassName<ScriptEventVehicleWaitingInDepot, ST_GS>() { return "GSEventVehicleWaitingInDepot"; } + +void SQGSEventVehicleWaitingInDepot_Register(Squirrel *engine) +{ + DefSQClass<ScriptEventVehicleWaitingInDepot, ST_GS> SQGSEventVehicleWaitingInDepot("GSEventVehicleWaitingInDepot"); + SQGSEventVehicleWaitingInDepot.PreRegister(engine, "GSEvent"); + + SQGSEventVehicleWaitingInDepot.DefSQStaticMethod(engine, &ScriptEventVehicleWaitingInDepot::Convert, "Convert", 2, ".x"); + + SQGSEventVehicleWaitingInDepot.DefSQMethod(engine, &ScriptEventVehicleWaitingInDepot::GetVehicleID, "GetVehicleID", 1, "x"); + + SQGSEventVehicleWaitingInDepot.PostRegister(engine); +} + + +template <> const char *GetClassName<ScriptEventVehicleUnprofitable, ST_GS>() { return "GSEventVehicleUnprofitable"; } + +void SQGSEventVehicleUnprofitable_Register(Squirrel *engine) +{ + DefSQClass<ScriptEventVehicleUnprofitable, ST_GS> SQGSEventVehicleUnprofitable("GSEventVehicleUnprofitable"); + SQGSEventVehicleUnprofitable.PreRegister(engine, "GSEvent"); + + SQGSEventVehicleUnprofitable.DefSQStaticMethod(engine, &ScriptEventVehicleUnprofitable::Convert, "Convert", 2, ".x"); + + SQGSEventVehicleUnprofitable.DefSQMethod(engine, &ScriptEventVehicleUnprofitable::GetVehicleID, "GetVehicleID", 1, "x"); + + SQGSEventVehicleUnprofitable.PostRegister(engine); +} + + template <> const char *GetClassName<ScriptEventIndustryOpen, ST_GS>() { return "GSEventIndustryOpen"; } void SQGSEventIndustryOpen_Register(Squirrel *engine) @@ -188,6 +233,21 @@ } +template <> const char *GetClassName<ScriptEventEngineAvailable, ST_GS>() { return "GSEventEngineAvailable"; } + +void SQGSEventEngineAvailable_Register(Squirrel *engine) +{ + DefSQClass<ScriptEventEngineAvailable, ST_GS> SQGSEventEngineAvailable("GSEventEngineAvailable"); + SQGSEventEngineAvailable.PreRegister(engine, "GSEvent"); + + SQGSEventEngineAvailable.DefSQStaticMethod(engine, &ScriptEventEngineAvailable::Convert, "Convert", 2, ".x"); + + SQGSEventEngineAvailable.DefSQMethod(engine, &ScriptEventEngineAvailable::GetEngineID, "GetEngineID", 1, "x"); + + SQGSEventEngineAvailable.PostRegister(engine); +} + + template <> const char *GetClassName<ScriptEventStationFirstVehicle, ST_GS>() { return "GSEventStationFirstVehicle"; } void SQGSEventStationFirstVehicle_Register(Squirrel *engine) diff -duNr a/src/script/api/game/game_group.hpp.sq b/src/script/api/game/game_group.hpp.sq --- a/src/script/api/game/game_group.hpp.sq 1970-01-01 01:00:00.000000000 +0100 +++ b/src/script/api/game/game_group.hpp.sq 2019-04-20 22:01:26.748418641 +0200 @@ -0,0 +1,50 @@ +/* $Id$ */ + +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + +/* THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY */ + +#include "../script_group.hpp" +#include "../template/template_group.hpp.sq" + + +template <> const char *GetClassName<ScriptGroup, ST_GS>() { return "GSGroup"; } + +void SQGSGroup_Register(Squirrel *engine) +{ + DefSQClass<ScriptGroup, ST_GS> SQGSGroup("GSGroup"); + SQGSGroup.PreRegister(engine); + SQGSGroup.AddConstructor<void (ScriptGroup::*)(), 1>(engine, "x"); + + SQGSGroup.DefSQConst(engine, ScriptGroup::GROUP_ALL, "GROUP_ALL"); + SQGSGroup.DefSQConst(engine, ScriptGroup::GROUP_DEFAULT, "GROUP_DEFAULT"); + SQGSGroup.DefSQConst(engine, ScriptGroup::GROUP_INVALID, "GROUP_INVALID"); + + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::IsValidGroup, "IsValidGroup", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::CreateGroup, "CreateGroup", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::DeleteGroup, "DeleteGroup", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetVehicleType, "GetVehicleType", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::SetName, "SetName", 3, ".i."); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetName, "GetName", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::SetParent, "SetParent", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetParent, "GetParent", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::EnableAutoReplaceProtection, "EnableAutoReplaceProtection", 3, ".ib"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetAutoReplaceProtection, "GetAutoReplaceProtection", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetNumEngines, "GetNumEngines", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::MoveVehicle, "MoveVehicle", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::EnableWagonRemoval, "EnableWagonRemoval", 2, ".b"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::HasWagonRemoval, "HasWagonRemoval", 1, "."); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::SetAutoReplace, "SetAutoReplace", 4, ".iii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetEngineReplacement, "GetEngineReplacement", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::StopAutoReplace, "StopAutoReplace", 3, ".ii"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetProfitThisYear, "GetProfitThisYear", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetProfitLastYear, "GetProfitLastYear", 2, ".i"); + SQGSGroup.DefSQStaticMethod(engine, &ScriptGroup::GetCurrentUsage, "GetCurrentUsage", 2, ".i"); + + SQGSGroup.PostRegister(engine); +} diff -duNr a/src/script/api/game/game_grouplist.hpp.sq b/src/script/api/game/game_grouplist.hpp.sq --- a/src/script/api/game/game_grouplist.hpp.sq 1970-01-01 01:00:00.000000000 +0100 +++ b/src/script/api/game/game_grouplist.hpp.sq 2019-04-20 21:53:08.028170899 +0200 @@ -0,0 +1,25 @@ +/* $Id$ */ + +/* + * This file is part of OpenTTD. + * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. + * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + +/* THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY */ + +#include "../script_grouplist.hpp" +#include "../template/template_grouplist.hpp.sq" + + +template <> const char *GetClassName<ScriptGroupList, ST_GS>() { return "GSGroupList"; } + +void SQGSGroupList_Register(Squirrel *engine) +{ + DefSQClass<ScriptGroupList, ST_GS> SQGSGroupList("GSGroupList"); + SQGSGroupList.PreRegister(engine, "GSList"); + SQGSGroupList.AddConstructor<void (ScriptGroupList::*)(), 1>(engine, "x"); + + SQGSGroupList.PostRegister(engine); +} diff -duNr a/src/script/api/game/game_order.hpp.sq b/src/script/api/game/game_order.hpp.sq --- a/src/script/api/game/game_order.hpp.sq 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/game/game_order.hpp.sq 2019-04-20 22:01:26.908417541 +0200 @@ -95,6 +95,23 @@ SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::GetOrderCompareValue, "GetOrderCompareValue", 3, ".ii"); SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::GetStopLocation, "GetStopLocation", 3, ".ii"); SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::GetOrderRefit, "GetOrderRefit", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderJumpTo, "SetOrderJumpTo", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderCondition, "SetOrderCondition", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderCompareFunction, "SetOrderCompareFunction", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderCompareValue, "SetOrderCompareValue", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetStopLocation, "SetStopLocation", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderRefit, "SetOrderRefit", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::AppendOrder, "AppendOrder", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::AppendConditionalOrder, "AppendConditionalOrder", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::InsertOrder, "InsertOrder", 5, ".iiii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::InsertConditionalOrder, "InsertConditionalOrder", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::RemoveOrder, "RemoveOrder", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SetOrderFlags, "SetOrderFlags", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::MoveOrder, "MoveOrder", 4, ".iii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::SkipToOrder, "SkipToOrder", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::CopyOrders, "CopyOrders", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::ShareOrders, "ShareOrders", 3, ".ii"); + SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::UnshareOrders, "UnshareOrders", 2, ".i"); SQGSOrder.DefSQStaticMethod(engine, &ScriptOrder::GetOrderDistance, "GetOrderDistance", 4, ".iii"); SQGSOrder.PostRegister(engine); diff -duNr a/src/script/api/script_event_types.hpp b/src/script/api/script_event_types.hpp --- a/src/script/api/script_event_types.hpp 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/script_event_types.hpp 2019-04-20 21:53:08.028170899 +0200 @@ -480,7 +480,7 @@ /** * Event Vehicle Lost, indicating a vehicle can't find its way to its destination. - * @api ai + * @api ai game */ class ScriptEventVehicleLost : public ScriptEvent { public: @@ -511,7 +511,7 @@ /** * Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. - * @api ai + * @api ai game */ class ScriptEventVehicleWaitingInDepot : public ScriptEvent { public: @@ -542,7 +542,7 @@ /** * Event Vehicle Unprofitable, indicating a vehicle lost money last year. - * @api ai + * @api ai game */ class ScriptEventVehicleUnprofitable : public ScriptEvent { public: @@ -635,7 +635,7 @@ /** * Event Engine Available, indicating a new engine is available. - * @api ai + * @api ai game */ class ScriptEventEngineAvailable : public ScriptEvent { public: diff -duNr a/src/script/api/script_group.hpp b/src/script/api/script_group.hpp --- a/src/script/api/script_group.hpp 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/script_group.hpp 2019-04-20 21:53:08.028170899 +0200 @@ -17,7 +17,7 @@ /** * Class that handles all group related functions. - * @api ai + * @api ai game */ class ScriptGroup : public ScriptObject { public: diff -duNr a/src/script/api/script_grouplist.hpp b/src/script/api/script_grouplist.hpp --- a/src/script/api/script_grouplist.hpp 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/script_grouplist.hpp 2019-04-20 21:53:08.028170899 +0200 @@ -17,7 +17,7 @@ /** * Creates a list of groups of which you are the owner. * @note Neither ScriptGroup::GROUP_ALL nor ScriptGroup::GROUP_DEFAULT is in this list. - * @api ai + * @api ai game * @ingroup ScriptList */ class ScriptGroupList : public ScriptList { diff -duNr a/src/script/api/script_order.hpp b/src/script/api/script_order.hpp --- a/src/script/api/script_order.hpp 2019-04-20 18:49:54.000000000 +0200 +++ b/src/script/api/script_order.hpp 2019-04-20 21:59:53.913056384 +0200 @@ -359,7 +359,6 @@ * @pre IsValidVehicleOrder(vehicle_id, jump_to). * @pre order_position != ORDER_CURRENT && IsConditionalOrder(vehicle_id, order_position). * @return Whether the order has been/can be changed. - * @api -game */ static bool SetOrderJumpTo(VehicleID vehicle_id, OrderPosition order_position, OrderPosition jump_to); @@ -372,7 +371,6 @@ * @pre order_position != ORDER_CURRENT && IsConditionalOrder(vehicle_id, order_position). * @pre condition >= OC_LOAD_PERCENTAGE && condition <= OC_UNCONDITIONALLY. * @return Whether the order has been/can be changed. - * @api -game */ static bool SetOrderCondition(VehicleID vehicle_id, OrderPosition order_position, OrderCondition condition); @@ -385,7 +383,6 @@ * @pre order_position != ORDER_CURRENT && IsConditionalOrder(vehicle_id, order_position). * @pre compare >= CF_EQUALS && compare <= CF_IS_FALSE. * @return Whether the order has been/can be changed. - * @api -game */ static bool SetOrderCompareFunction(VehicleID vehicle_id, OrderPosition order_position, CompareFunction compare); @@ -398,7 +395,6 @@ * @pre order_position != ORDER_CURRENT && IsConditionalOrder(vehicle_id, order_position). * @pre value >= 0 && value < 2048. * @return Whether the order has been/can be changed. - * @api -game */ static bool SetOrderCompareValue(VehicleID vehicle_id, OrderPosition order_position, int32 value); @@ -412,7 +408,6 @@ * @pre IsGotoStationOrder(vehicle_id, order_position). * @pre stop_location >= STOPLOCATION_NEAR && stop_location <= STOPLOCATION_FAR * @return Whether the order has been/can be changed. - * @api -game */ static bool SetStopLocation(VehicleID vehicle_id, OrderPosition order_position, StopLocation stop_location); @@ -425,7 +420,6 @@ * @pre IsGotoStationOrder(vehicle_id, order_position) || (IsGotoDepotOrder(vehicle_id, order_position) && refit_cargo != CT_AUTO_REFIT). * @pre ScriptCargo::IsValidCargo(refit_cargo) || refit_cargo == CT_AUTO_REFIT || refit_cargo == CT_NO_REFIT * @return Whether the order has been/can be changed. - * @api -game */ static bool SetOrderRefit(VehicleID vehicle_id, OrderPosition order_position, CargoID refit_cargo); @@ -440,7 +434,6 @@ * @exception ScriptOrder::ERR_ORDER_TOO_MANY * @exception ScriptOrder::ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION * @return True if and only if the order was appended. - * @api -game */ static bool AppendOrder(VehicleID vehicle_id, TileIndex destination, ScriptOrderFlags order_flags); @@ -453,7 +446,6 @@ * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @exception ScriptOrder::ERR_ORDER_TOO_MANY * @return True if and only if the order was appended. - * @api -game */ static bool AppendConditionalOrder(VehicleID vehicle_id, OrderPosition jump_to); @@ -469,7 +461,6 @@ * @exception ScriptOrder::ERR_ORDER_TOO_MANY * @exception ScriptOrder::ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION * @return True if and only if the order was inserted. - * @api -game */ static bool InsertOrder(VehicleID vehicle_id, OrderPosition order_position, TileIndex destination, ScriptOrderFlags order_flags); @@ -483,7 +474,6 @@ * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @exception ScriptOrder::ERR_ORDER_TOO_MANY * @return True if and only if the order was inserted. - * @api -game */ static bool InsertConditionalOrder(VehicleID vehicle_id, OrderPosition order_position, OrderPosition jump_to); @@ -494,7 +484,6 @@ * @pre IsValidVehicleOrder(vehicle_id, order_position). * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @return True if and only if the order was removed. - * @api -game */ static bool RemoveOrder(VehicleID vehicle_id, OrderPosition order_position); @@ -514,7 +503,6 @@ * @pre (order_flags & OF_GOTO_NEAREST_DEPOT) == (GetOrderFlags(vehicle_id, order_position) & OF_GOTO_NEAREST_DEPOT). * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @return True if and only if the order was changed. - * @api -game */ static bool SetOrderFlags(VehicleID vehicle_id, OrderPosition order_position, ScriptOrderFlags order_flags); @@ -532,7 +520,6 @@ * the target order is moved upwards (e.g. 3). If the order is moved * to a higher place (e.g. from 7 to 9) the target will be moved * downwards (e.g. 8). - * @api -game */ static bool MoveOrder(VehicleID vehicle_id, OrderPosition order_position_move, OrderPosition order_position_target); @@ -543,7 +530,6 @@ * @pre IsValidVehicleOrder(vehicle_id, next_order). * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @return True if and only the current order was changed. - * @api -game */ static bool SkipToOrder(VehicleID vehicle_id, OrderPosition next_order); @@ -558,7 +544,6 @@ * @exception ScriptOrder::ERR_ORDER_TOO_MANY * @exception ScriptOrder::ERR_ORDER_AIRCRAFT_NOT_ENOUGH_RANGE * @return True if and only if the copying succeeded. - * @api -game */ static bool CopyOrders(VehicleID vehicle_id, VehicleID main_vehicle_id); @@ -572,7 +557,6 @@ * @exception ScriptError::ERR_OWNED_BY_ANOTHER_COMPANY * @exception ScriptOrder::ERR_ORDER_AIRCRAFT_NOT_ENOUGH_RANGE * @return True if and only if the sharing succeeded. - * @api -game */ static bool ShareOrders(VehicleID vehicle_id, VehicleID main_vehicle_id); @@ -582,7 +566,6 @@ * @param vehicle_id The vehicle to remove from the shared order list. * @pre ScriptVehicle::IsValidVehicle(vehicle_id). * @return True if and only if the unsharing succeeded. - * @api -game */ static bool UnshareOrders(VehicleID vehicle_id);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor