FieldLoader can run arbitrary code while loading fields

This commit is contained in:
Bob
2010-08-27 17:06:49 +12:00
committed by Chris Forbes
parent baacfc96bb
commit a751b8c49d
2 changed files with 80 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ using OpenRA.FileFormats;
namespace OpenRA.GameRules
{
[FieldLoader.CustomLoad()]
public class MusicInfo
{
public readonly string Filename = null;