Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: xsmarty on May 31, 2013, 08:25:25 AM

Title: [Resolved] How to retreive Fsm Errors ?
Post by: xsmarty on May 31, 2013, 08:25:25 AM
Howdy,

I want to retrive the errors for a selected Fsm, just as the "Error Check" window does.

Problem is that I have absolutely no clue where does that list live.

Tryed:
List<ActionReport> errorL = ActionReport.ActionReportList;
List<FsmLogEntry> errorList = FsmLog.GetLog(this.Fsm).Entries;

Any clues ?
http://snag.gy/dqBNS.jpg -> 'Error Check' window


Title: Re: How to retreive Fsm Errors ?
Post by: xsmarty on June 03, 2013, 03:04:32 AM
It looks like the private class "FsmErrorChecker" is in charge of that.
(still don't get why VS does not show me private classes , while MonoDev does).

So the question is :
Can you guys make it public :D ?
Title: Re: How to retreive Fsm Errors ?
Post by: Alex Chouls on June 03, 2013, 07:41:42 AM
Sure. But I'd like to do it in a beta release first to test it. I'll send you an invite to the beta...

BTW, that timeline editor is looking sweet!! :)
Title: [Resolved]Re: How to retreive Fsm Errors ?
Post by: xsmarty on June 03, 2013, 08:51:33 AM
Thanks for the Beta invite.
I'll post my questions there :)