Example #1
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(GetByteLength(context.subRecord, true));
 }
Example #2
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(512);
 }
Example #3
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(context.subRecord is ExpansionWeatherData ? 10 : 8);
 }
Example #4
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(16 * ((PathGridPointSubRecord)context.subRecord).Points.Count);
 }
Example #5
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(context.subRecord is CellData ? 12 : 24);
 }
Example #6
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(4 * ((PathGridConnectionSubRecord)context.subRecord).Connections.Count);
 }
Example #7
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(((GenericSubRecord)context.subRecord).Data.Length);
 }
Example #8
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(Constants.BSGN_NPCS_LENGTH);
 }
Example #9
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(Constants.FACT_RNAM_LENGTH);
 }
Example #10
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(context.subRecord is NPCData12 ? 12 : 52);
 }
Example #11
0
 internal static object GetSize(SubRecordLengthContext context)
 {
     return(context.subRecord is ByteSubRecord ? 1 : 4);
 }