Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - User Projects

Notices

Reply
 
Thread Tools Display Modes
Snapshot
Junior Member
 
Join Date: Apr 2013
Posts: 12

Old December 13th, 2013, 02:23 PM
System: Pathfinder
Background: I am writing a class in C# to parse the .xml file out of the .por file.

I have accounted for all the fields in the xml file except for 1
<skillabilities/>
I have no idea where this is from. I need the schema to this field to complete the class in case it is used.
Where is this used?
Any Help would be appreciated.
Snapshot is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 13th, 2013, 03:05 PM
It's a subset of abilities - those that would be displayed in the skill section of a statblock - they're used to build the list of modifiers that's added after the list of skills.
Mathias is offline   #2 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 13th, 2013, 03:40 PM
In the Help menu, choose "Pathfinder Roleplaying Game Manual", and then scroll down almost all the way, to "Custom Output DTD". That'll give you the DTD for the data you're looking at.
Mathias is offline   #3 Reply With Quote
Snapshot
Junior Member
 
Join Date: Apr 2013
Posts: 12

Old December 13th, 2013, 03:46 PM
Does it ever populate?
If so do you have a schema of it or an example I can build a schema from?

I need the fields and properties to write a class.
Name, text, description, etc and is it a collection.

Right now I use this, and always returns null
public object skillabilities { get; set; }


I need this, Items in red are examples, I need the actuals.
public SkillAbilities skillabilities { get; set; }

[Serializable]
[XmlType(AnonymousType=true)]
public class SkillAbilities {
public string description { get; set; }
[XmlElement("traitcategory")]
public string[] traitcategory { get; set; }
[XmlAttribute]
public string name { get; set; }
[XmlAttribute]
public string categorytext { get; set; }
}

An example of the populated xml would also work
Snapshot is offline   #4 Reply With Quote
Snapshot
Junior Member
 
Join Date: Apr 2013
Posts: 12

Old December 13th, 2013, 03:51 PM
Sorry you ninja'd me thanks for the DTD info
Snapshot is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old December 13th, 2013, 03:55 PM
<!ELEMENTskillabilities ((special*))>
Mathias is offline   #6 Reply With Quote
Snapshot
Junior Member
 
Join Date: Apr 2013
Posts: 12

Old December 13th, 2013, 08:23 PM
Thank you very much Mathias, That dtd file was an awesome help after reviewing it I realized I forgot to include the pathfinder society in my code and a couple other things I have not seen in any xml file I have generated.

I wish I had been pointed to that sooner, such is life.

I included the file if anyone is interested.
Attached Files
File Type: txt Pathfinder.Serializable.Class.for.Herolab.cs.txt (49.1 KB, 2 views)
Snapshot is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:28 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.