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