branchsbox/modeldoc-fgdgencancel

15 Commits over 31 Days - 0.02cph!

1 Year Ago
Make ParticleAttachment public Hammer.Skip works for enum fields Engine's string to particleattachment type supports string numbers Model.GetData<>() supports deserializing to enums ModelParticle class uses ParticleAttachment enum Merge ModelDoc.ListAttribute into ModelDoc.GenericGameData, and rename it to ModelDoc.GameData Demote Model.TryToGetData()'s error to a warning Update base_modeldata.fgd
1 Year Ago
Fix recent changes
1 Year Ago
Attribute suffix for ModelDoc attributes
1 Year Ago
FGDTypeAttribute can now provide choices to fgd properties
1 Year Ago
Added Model.TryGetData<>
1 Year Ago
Fix missing 'using' in FGDWriter
1 Year Ago
Remove no longer needed interop methods
1 Year Ago
FGDWriter can use ComponentModel.DisplayName & JsonPropertyName Attributes ComponentModel.DisplayName replacing Property.Title JsonPropertyName replacing Property.Name If a class as no properties with [Property] attribute, all properties will be exported to .fgd Delete ParticleAttachmentType Switch ModelGameData back to JSON for deserialization Update BasePathNode.cs
1 Year Ago
Obsolete Model.GetJson, GetData(str), HasData(str) Update ModelExtension.cs
1 Year Ago
Cleanup Fix Model.GetData<>() not working with structs ModelBreakPiece works with Model.GetData<>()
1 Year Ago
FGDWriter can output classes as "choices" selector in tools This is a workaround to be able to use strings as data in fgd choices type, which c# enums do not allow. Move 'particle' (particles_list) modelgamedata to c#
1 Year Ago
More strict usage for AutoGenerate, FGDType and BitFlags attributes Classes can dictate their own FGD type via FGDTypeAttribute (So you don't have to put the attribute on every property every time) Rename ParticleAttachment fields to be consistent
1 Year Ago
Move door_sounds modelgamedata to c# Move prop_data to c# Update models_gamedata.fgd Move explosion_behavior to c#
1 Year Ago
Delete IModelGameData, Add ModelDoc.GenericGameData Attribute
1 Year Ago
GenericGameData fgd autogen