playMaker

Author Topic: [Resolved] How to retreive Fsm Errors ?  (Read 967 times)

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
[Resolved] How to retreive Fsm Errors ?
« 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


« Last Edit: June 03, 2013, 08:52:04 AM by xsmarty »

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: How to retreive Fsm Errors ?
« Reply #1 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 ?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3318
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: How to retreive Fsm Errors ?
« Reply #2 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!! :)

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
[Resolved]Re: How to retreive Fsm Errors ?
« Reply #3 on: June 03, 2013, 08:51:33 AM »
Thanks for the Beta invite.
I'll post my questions there :)