public override string DataToValue(ValueElement element, dynamic data) { string type = ctdaTypeEnum.DataToValue(element, data & 0xE0); string flags = ctdaTypeFlags.DataToValue(element, data & 0x1F); return(flags != "" ? $"{type} / {flags}" : type); }
public override string DataToValue(ValueElement element, dynamic data) { Int64 n = (Int64)data; var eventFunction = eventFunctionEnum.DataToValue(element, n & 0xFFFF); var eventMember = eventMemberEnum.DataToValue(element, n >> 16); return($"{eventFunction}:{eventMember}"); }
public override string DataToValue(ValueElement element, dynamic data) { long index = GetIndex(data); return(actorValueEnum.DataToValue(element, index)); }