|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| bool | HasAnyItemSpecs (FGameplayTagContainer specTags) const |
| Returns true, if this item has at least one SpecTag that matches any of the given Tags. | |
| void | AddItemReqTag (FGameplayTag itemSpec) |
| void | AddItemSpec (FGameplayTag itemSpec) |
| void | AddLearningRecipes (TSubclassOf< UItemRecipeDefinition > recipe) |
| UItemEffectDefinition | AddOnConsume (TSubclassOf< UGameplayEffect > effectToAdd) |
| void | AddPossibleActionAfterDrop (FGameplayTag itemSpec) |
| void | ApplyTo (UAbilitySystemComponent owner) |
| bool | CanBeEquippedBy (const UAbilitySystemComponent abComp) const |
| Checks if a character can equip this item with his attributes. | |
| FGameplayTagContainer | GetAllMatchingSpecs (FGameplayTag SpecTag) const |
| Returns all Spec tags matching the given tag. | |
| FGameplayAttribute | GetAttribute (TSubclassOf< UAttributeSet > AttributeSetClass, FName AttributeName) |
| FGameplayTag | GetItemSpec (FGameplayTag SpecTag) const |
| Returns the first full tag that matches the given SpecTag. | |
| const FGameplayTag & | GetItemType () const |
| FText | GetItemTypeDisplayText () const |
| Returns localized text for this item Type. | |
| TSubclassOf< UTargetConfigBase > | GetTargetConfigClass () const |
| bool | HasAllItemSpecs (FGameplayTagContainer specTags) const |
| Returns true, if this item has tags SpecTag that match all of the given Tags. | |
| bool | HasAllItemSpecsExactly (FGameplayTagContainer specTags) const |
| Returns true, if this item has SpecTags that match every given Tag exactly. | |
| void | AddCollisionEffect (FGameplayTag CollisionEffect) |
| bool | HasAnyItemSpecsExactly (FGameplayTagContainer specTags) const |
| Returns true, if this item has SpecTag that matches any of the given Tags exactly. | |
| bool | HasItemSpec (FGameplayTag specTag) const |
| Returns true, if this item has any SpecTag that matches the given Tag. | |
| bool | HasItemSpecExactly (FGameplayTag specTag) const |
| Returns true, if this item has any SpecTag that matches the given Tag exactly. | |
| AActor | LoadAndGetEmptyVisual () const |
| TSubclassOf< AActor > | LoadAndGetEmptyVisualClass () const |
| TSubclassOf< AItemVisualWorld > | LoadAndGetThrowVisualWorldClass () const |
| AItemVisual | LoadAndGetVisual () const |
| TSubclassOf< AItemVisual > | LoadAndGetVisualClass () const |
| TSubclassOf< AItemVisualWorld > | LoadAndGetVisualWorldClass () const |
| bool | MatchesItemType (FGameplayTag ItemType) const |
| Returns true if the tags match or if the given tag occurs fully within this items tag hierarchy. Item.Weapon --> Item.Weapon.Pickaxe == true. | |
| bool | MatchesItemTypeExactly (FGameplayTag ItemType) const |
| Returns true if the item type is exactly the same. | |
| void | RemoveItemSpec (FGameplayTag itemSpec) |
| void | SetItemCustomAction (FGameplayTag gameplayTag) |
| void | SetItemType (FGameplayTag gameplayTag) |
| Public Member Functions inherited from UGothicObjectDefinition | |
| FString | GetNameAsString () const |
| Public Member Functions inherited from UObject | |
| bool | MarkPackageDirty () const |
| void | RemoveFromRoot () |
| bool | GetIsRooted () const |
| bool | IsTransient () const |
| bool | Modify (bool bAlwaysMarkDirty=true) |
| void | SetTransactional (bool bTransactional) |
| bool | IsSupportedForNetworking () const |
| UClass | GetClass () const |
| UObject | GetOuter () const |
| UObject | GetTypedOuter (TSubclassOf< UObject > Target) const |
| Traverses the outer chain searching for the next object of a certain type. | |
| UPackage | GetOutermost () const |
| UPackage | GetPackage () const |
| void | AddToRoot () |
| UWorld | GetWorld () const |
| FName | GetName () const |
| FString | GetFullName (const UObject StopOuter=nullptr) const |
| FString | GetPathName (const UObject StopOuter=nullptr) const |
| bool | IsA (const UClass Class) const |
| Returns true if this object is of the specified type, or a child of that type. | |
| void | SaveConfig () |
| void | LoadConfig () |
| void | ReloadConfig () |
| void | CopyScriptPropertiesFrom (const UObject OtherObject) |
| void | opCast (?&Address) const |
| FString | ToString () const |
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| static TMap< FGameplayAttribute, float32 > | GetAttributeListFromGEList (const UAbilitySystemComponent ABComp, TArray< TSubclassOf< UScriptGameplayEffect > > GEList) |
| returns the Gameplayattributes and their values from a list of GameplayEffects | |
| Static Public Member Functions inherited from UGothicObjectDefinition | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UGothicBaseConfig | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
| void AddCollisionEffect | ( | FGameplayTag | CollisionEffect | ) |
| void AddItemReqTag | ( | FGameplayTag | itemSpec | ) |
| void AddItemSpec | ( | FGameplayTag | itemSpec | ) |
| void AddLearningRecipes | ( | TSubclassOf< UItemRecipeDefinition > | recipe | ) |
| UItemEffectDefinition AddOnConsume | ( | TSubclassOf< UGameplayEffect > | effectToAdd | ) |
| void AddPossibleActionAfterDrop | ( | FGameplayTag | itemSpec | ) |
| void ApplyTo | ( | UAbilitySystemComponent | owner | ) |
| bool CanBeEquippedBy | ( | const UAbilitySystemComponent | abComp | ) | const |
Checks if a character can equip this item with his attributes.
| FGameplayTagContainer GetAllMatchingSpecs | ( | FGameplayTag | SpecTag | ) | const |
Returns all Spec tags matching the given tag.
For example, given "Item.Grip", this will return {"Item.Grip.OneHand"} on one-handed weapons.
| FGameplayAttribute GetAttribute | ( | TSubclassOf< UAttributeSet > | AttributeSetClass, |
| FName | AttributeName ) |
|
static |
returns the Gameplayattributes and their values from a list of GameplayEffects
| FGameplayTag GetItemSpec | ( | FGameplayTag | SpecTag | ) | const |
Returns the first full tag that matches the given SpecTag.
For example, given "Item.Grip", this will return "Item.Grip.OneHand" on one-handed weapons.
| const FGameplayTag & GetItemType | ( | ) | const |
| FText GetItemTypeDisplayText | ( | ) | const |
Returns localized text for this item Type.
| TSubclassOf< UTargetConfigBase > GetTargetConfigClass | ( | ) | const |
| bool HasAllItemSpecs | ( | FGameplayTagContainer | specTags | ) | const |
Returns true, if this item has tags SpecTag that match all of the given Tags.
| bool HasAllItemSpecsExactly | ( | FGameplayTagContainer | specTags | ) | const |
Returns true, if this item has SpecTags that match every given Tag exactly.
| bool HasAnyItemSpecs | ( | FGameplayTagContainer | specTags | ) | const |
Returns true, if this item has at least one SpecTag that matches any of the given Tags.
| bool HasAnyItemSpecsExactly | ( | FGameplayTagContainer | specTags | ) | const |
Returns true, if this item has SpecTag that matches any of the given Tags exactly.
| bool HasItemSpec | ( | FGameplayTag | specTag | ) | const |
Returns true, if this item has any SpecTag that matches the given Tag.
| bool HasItemSpecExactly | ( | FGameplayTag | specTag | ) | const |
Returns true, if this item has any SpecTag that matches the given Tag exactly.
| AActor LoadAndGetEmptyVisual | ( | ) | const |
| TSubclassOf< AActor > LoadAndGetEmptyVisualClass | ( | ) | const |
| TSubclassOf< AItemVisualWorld > LoadAndGetThrowVisualWorldClass | ( | ) | const |
| AItemVisual LoadAndGetVisual | ( | ) | const |
| TSubclassOf< AItemVisual > LoadAndGetVisualClass | ( | ) | const |
| TSubclassOf< AItemVisualWorld > LoadAndGetVisualWorldClass | ( | ) | const |
| bool MatchesItemType | ( | FGameplayTag | ItemType | ) | const |
Returns true if the tags match or if the given tag occurs fully within this items tag hierarchy. Item.Weapon --> Item.Weapon.Pickaxe == true.
| bool MatchesItemTypeExactly | ( | FGameplayTag | ItemType | ) | const |
Returns true if the item type is exactly the same.
| void RemoveItemSpec | ( | FGameplayTag | itemSpec | ) |
| void SetItemCustomAction | ( | FGameplayTag | gameplayTag | ) |
| void SetItemType | ( | FGameplayTag | gameplayTag | ) |
|
static |
| FGameplayTag ItemType |
| const FText ItemTypeDisplayText |
Returns localized text for this item Type.
| TArray<TSubclassOf<UActionKeywords> > m_ActionsKeywords |
Temp to allow normal weapons (melee) do magic. Like orc staff.
| bool m_AutoTarget |
| float32 m_Buoyancy |
| bool m_CanBeSpawned |
| TSubclassOf<UItemDefinition> m_ComparedTo |
This item is used to compare stats in certain menus.
| FGameplayTagContainer m_EquipBlockingTags |
If the character has any of these tags, he won't be able to equip the item.
| FGameplayTag m_EventWhenPickUp |
| TSubclassOf<UInteractiveObjectDefinition> m_ForcedInteraction |
| EHoldsterLocation m_HoldsterLocation |
Where the holdster of this item is located (back or waist).
| TSoftClassPtr<AActor> m_ItemEmptyVisual |
| TSoftClassPtr<AActor> m_ItemGeneric |
| TArray<FGameplayTag> m_ItemStatsTags |
| TSoftClassPtr<AItemVisual> m_ItemVisual |
| TSoftClassPtr<AItemVisualWorld> m_ItemVisualWorld |
| TSoftClassPtr<AItemVisualWorld> m_ItemVisualWorldDrop |
| TArray<TSubclassOf<UItemRecipeDefinition> > m_LearnRecipes |
| float32 m_Mass |
| int m_MaxStack |
| TArray<UItemEffectDefinition> m_OnConsumeEffects |
| TSubclassOf<UScriptGameplayEffect> m_OnEquipEffect |
| FOwnershipSettings m_Ownership |
Marks this item as being always owned by these specific characters. Cannot be changed at runtime.
| FGameplayTag m_ParticlesWhenPickUp |
| TSubclassOf<UItemDefinition> m_ReplaceBy |
When the player picks this item,it will be changed by m_ReplaceBy.
| TMap<FGameplayAttribute,float32> m_RequiredStats |
| FGameplayTagContainer m_RequiredTagsToLearn |
| TSubclassOf<UItemDefinition> m_RequiredToPick |
| TSubclassOf<UTargetConfigBase> m_TargetConfigClass |
| EInventoryTypes m_TryToStoreFirst |
| int m_Value |
| float32 m_Weight |
| const TSubclassOf<UTargetConfigBase> TargetConfigClass |