コード例 #1
0
 public void SetSpellcastingFeature(FeatureDefinitionCastSpell spellcastingFeature)
 {
     Traverse.Create(power).Field("spellcastingFeature").SetValue(spellcastingFeature);
 }
コード例 #2
0
 public static T SetSpellcastingFeature <T>(this T entity, FeatureDefinitionCastSpell value)
     where T : FeatureDefinitionPower
 {
     entity.SetField("spellcastingFeature", value);
     return(entity);
 }