SampleRule getByGroupResourceId

From Catglobe Wiki
Revision as of 10:16, 5 April 2018 by Nguyenduyan (talk | contribs) (Return type)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SampleRule_getByGroupResourceId

Get all sample rule of a group

Syntax

SampleRule_getByGroupResourceId(number groupRId);

Arguments

number groupRId

Return type

Array of SampleRule object

Example

array a = SampleRule_getByGroupResourceId(15599876);//{SampleRule,SampleRule}
for(number i=0; i<a.Count;i++)
{
	SampleRule sr = a[i];
	print(sr.SizeWithData ); 
	
}