Skip to content

Added macro to make getContainer easier to read#1016

Merged
AndreasBrostrom merged 3 commits into7Cav:mainfrom
pool011:Logistics-Macros
Aug 16, 2023
Merged

Added macro to make getContainer easier to read#1016
AndreasBrostrom merged 3 commits into7Cav:mainfrom
pool011:Logistics-Macros

Conversation

@pool011
Copy link
Copy Markdown
Collaborator

@pool011 pool011 commented Aug 11, 2023

When merged this pull request will:

  • Add two macros, GET_CONTAINER and GET_CONTAINER_KEYS, to make code referencing the logistics database easier to read.
  • GET_CONTAINER is the same as call ["boxName"] call cScripts_fnc_logistics_getContainer
  • GET_CONTAINER_KEYS is the same as call ["boxName", true] call cScripts_fnc_logistics_getContainer

@pool011 pool011 added the T-Cleanup Type: General cleanup of scripts label Aug 11, 2023
@pool011 pool011 added this to the 4.5.2 milestone Aug 11, 2023
@pool011 pool011 self-assigned this Aug 11, 2023
Comment thread cScripts/script_macros.hpp Outdated
@AndreasBrostrom AndreasBrostrom added the T-Enhancement Type: General enhancement, improvments, change or addition to scripts label Aug 11, 2023
@AndreasBrostrom AndreasBrostrom merged commit c321ddd into 7Cav:main Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Cleanup Type: General cleanup of scripts T-Enhancement Type: General enhancement, improvments, change or addition to scripts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants