public virtual int getCBlkWidth(byte type, int t, int c)
{
//UPGRADE_TODO: The 'System.Int32' structure does not have an equivalent to NULL. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1291'"
System.Int32[] dim = null;
switch (type)
{
case SPEC_DEF:
dim = (System.Int32[]) getDefault();
break;
case SPEC_COMP_DEF:
dim = (System.Int32[]) getCompDef(c);
break;
case SPEC_TILE_DEF:
dim = (System.Int32[]) getTileDef(t);
break;
case SPEC_TILE_COMP:
dim = (System.Int32[]) getTileCompVal(t, c);
break;
}
return dim[0];
}