Example #1
0
 internal static void SetBuffFlags(this BlueprintBuff buff, BuffFlags flags)
 {
     Helpers.SetField(buff, "m_Flags", (int)flags);
 }
Example #2
0
 internal static BuffFlags GetBuffFlags(this BlueprintBuff buff)
 {
     return((BuffFlags)(int)Helpers.GetField(buff, "m_Flags"));
 }
Example #3
0
 public static void SetDescription(this BlueprintUnitFact feature, String description)
 {
     blueprintUnitFact_set_Description(feature, Helpers.CreateString(feature.name + ".Description", description));
 }
Example #4
0
 public static void SetName(this BlueprintUnitFact feature, String name)
 {
     blueprintUnitFact_set_DisplayName(feature, Helpers.CreateString(feature.name + ".Name", name));
 }
Example #5
0
 public static void SetNameDescription(this BlueprintUnitFact feature, String displayName, String description)
 {
     feature.SetName(Helpers.CreateString(feature.name + ".Name", displayName));
     feature.SetDescription(description);
 }
Example #6
0
 public static void AddAsset(this LibraryScriptableObject library, BlueprintScriptableObject blueprint, String guid1, String guid2)
 {
     library.AddAsset(blueprint, Helpers.MergeIds(guid1, guid2));
 }