AW WORLD CELL LIMIT

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 2.1
SDKbuild 13


AW_WORLD_CELL_LIMIT

Type

Integer

Description

Cell data limit.

Notes

The maximum length of the description and action field of a V3 object is still 255 characters (i.e. 256 bytes including the null-character).

The cell size an object will occupy can be calculated like this:

int object_size(void)
{
  int v4data_len = 0;
  
  if (aw_int (AW_OBJECT_TYPE) != AW_OBJECT_TYPE_V3)
    aw_data (AW_OBJECT_DATA, &v4data_len);
  
  return 32
         + strlen (aw_string (AW_OBJECT_MODEL))
         + strlen (aw_string (AW_OBJECT_DESCRIPTION))
         + strlen (aw_string (AW_OBJECT_ACTION))
         + v4data_len;
}

For version 4.1 and later: This limit has no bearing on the amount of data sent over the network or the size of the data when stored in the database.

See cell data limit for more information.

Range

Name shown in browser Limit in bytes (3.6) Limit in bytes (4.1)
Normal 1500 1650
Large 2500 2750
Huge 4000 4400
Mega 5000 5500 (default)
Ultra n/a 11000

See also