function TrainingRestrictions() {} TrainingRestrictions.prototype.Schema = "Specifies unit training restrictions, currently only unit category" + "" + "" + "Hero" + "" + "" + "" + "" + ""; TrainingRestrictions.prototype.GetCategory = function() { return this.template.Category; }; Engine.RegisterComponentType(IID_TrainingRestrictions, "TrainingRestrictions", TrainingRestrictions);