From 2e6c009b38507fd1033ec55883d38081b93c0c2c Mon Sep 17 00:00:00 2001 From: Birger Skogeng Pedersen Date: Sat, 7 Jan 2017 17:24:03 +0100 Subject: [PATCH] (#6) Added coalition.getGroups --- DCScoalition.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DCScoalition.lua b/DCScoalition.lua index 4faac52..c3fd671 100644 --- a/DCScoalition.lua +++ b/DCScoalition.lua @@ -13,4 +13,12 @@ -- @param #number countryId -- @return #number coalitionId +--- +-- Returns a table of group objects belonging to the specified coalition. +-- If the groupCategory enumerator is provided the table will only contain groups that belong to the specified category. +-- If this optional variable is not provided, all group types will be returned. +-- @function [parent=#coalition] getGroups +-- @param #number coalitionId, #number groupCategory +-- @return #list + coalition = {} --#coalition \ No newline at end of file