G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UDataModule_Combat Class Reference

Public Member Functions

Functions
FGameplayTagContainer GetLastTauntTags ()
float32 GetAttackCount () const
float32 GetAttackRange (const UComboAttackConfig Combo) const
float32 GetAttackRangeInPlace (const UComboAttackConfig Combo) const
USceneComponent GetAttackTarget () const
UHurtBoxCollisionComponent GetAttackTargetHurtComponent () const
FGameplayTag GetBlockState () const
const UAttackMeleeConfig GetCurrentAttack () const
FGameplayTag GetCurrentAttackDirection () const
EAttackHandle GetCurrentAttackHandle () const
const UComboAttackConfig GetCurrentCombo () const
const FGameplayTag & GetCurrentParryDirection () const
const FGameplayTag & GetDefeatingAttackDirection () const
UWeaponDefinition GetEquipedWeaponDefinition () const
float32 GetHigherAttackRange (const UWeaponMeleeDefinition WeaponMeleeDefinition) const
 @brief Get the highest range from all the attack directions (no combos). Rootmotion not taken into account
AGothicCharacter GetLastAttackerCharacter () const
FVector GetLastDamagePoint_World () const
bool CheckIfNextAttackConfig (FGameplayTag attackDirection) const
FVector GetMagnetDamagePivotPoint () const
const UComboAttackConfig GetNextAttackConfig (FGameplayTag attackDirection) const
float32 GetNextAttacksRange (FGameplayTag attackDirection) const
float32 GetNextAttacksRangeInPlace (FGameplayTag attackDirection) const
ECombatStance GetStance () const
void IncreaseAttackCount ()
void ResetAttackCount ()
void SeLastTauntTags (FGameplayTagContainer &LastTauntTags)
void Server_SetAttackState (EAttackState AttackState)
void Server_SetBlockState (FGameplayTag BlockState)
void Server_SetCurrentAttackDirection (FGameplayTag CurrentAttackDirection)
void Server_SetCurrentParryDirection (FGameplayTag CurrentParryDirection)
void Server_SetDefeatingAttackDirection (FGameplayTag DefeatingAttackDirection)
void Server_SetDesiredStance (ECombatStance DesiredStance)
void Server_SetStance (ECombatStance Stance)
void SetLastAttackerCharacter (AGothicCharacter newCharacter)
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 Public Member Functions inherited from UDataModule
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

DataModule_Combat
uint8 m_AttackCount
Variables
const USceneComponent AttackTarget
const UHurtBoxCollisionComponent AttackTargetHurtComponent
const FGameplayTag BlockState
const UAttackMeleeConfig CurrentAttack
const FGameplayTag CurrentAttackDirection
const EAttackHandle CurrentAttackHandle
const float32 AttackCount
const UComboAttackConfig CurrentCombo
const FGameplayTag CurrentParryDirection
const FGameplayTag DefeatingAttackDirection
const UWeaponDefinition EquipedWeaponDefinition
AGothicCharacter LastAttackerCharacter
const FVector LastDamagePoint_World
const FGameplayTagContainer LastTauntTags
const FVector MagnetDamagePivotPoint
const ECombatStance Stance
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Member Function Documentation

◆ CheckIfNextAttackConfig()

bool CheckIfNextAttackConfig ( FGameplayTag attackDirection) const

◆ GetAttackCount()

float32 GetAttackCount ( ) const

◆ GetAttackRange()

float32 GetAttackRange ( const UComboAttackConfig Combo) const

◆ GetAttackRangeInPlace()

float32 GetAttackRangeInPlace ( const UComboAttackConfig Combo) const

◆ GetAttackTarget()

USceneComponent GetAttackTarget ( ) const

◆ GetAttackTargetHurtComponent()

UHurtBoxCollisionComponent GetAttackTargetHurtComponent ( ) const

◆ GetBlockState()

FGameplayTag GetBlockState ( ) const

◆ GetCurrentAttack()

const UAttackMeleeConfig GetCurrentAttack ( ) const

◆ GetCurrentAttackDirection()

FGameplayTag GetCurrentAttackDirection ( ) const

◆ GetCurrentAttackHandle()

EAttackHandle GetCurrentAttackHandle ( ) const

◆ GetCurrentCombo()

const UComboAttackConfig GetCurrentCombo ( ) const

◆ GetCurrentParryDirection()

const FGameplayTag & GetCurrentParryDirection ( ) const

◆ GetDefeatingAttackDirection()

const FGameplayTag & GetDefeatingAttackDirection ( ) const

◆ GetEquipedWeaponDefinition()

UWeaponDefinition GetEquipedWeaponDefinition ( ) const

◆ GetHigherAttackRange()

float32 GetHigherAttackRange ( const UWeaponMeleeDefinition WeaponMeleeDefinition) const

@brief Get the highest range from all the attack directions (no combos). Rootmotion not taken into account

Returns
Attack range

◆ GetLastAttackerCharacter()

AGothicCharacter GetLastAttackerCharacter ( ) const

◆ GetLastDamagePoint_World()

FVector GetLastDamagePoint_World ( ) const

◆ GetLastTauntTags()

FGameplayTagContainer GetLastTauntTags ( )

◆ GetMagnetDamagePivotPoint()

FVector GetMagnetDamagePivotPoint ( ) const

◆ GetNextAttackConfig()

const UComboAttackConfig GetNextAttackConfig ( FGameplayTag attackDirection) const

◆ GetNextAttacksRange()

float32 GetNextAttacksRange ( FGameplayTag attackDirection) const

◆ GetNextAttacksRangeInPlace()

float32 GetNextAttacksRangeInPlace ( FGameplayTag attackDirection) const

◆ GetStance()

ECombatStance GetStance ( ) const

◆ IncreaseAttackCount()

void IncreaseAttackCount ( )

◆ ResetAttackCount()

void ResetAttackCount ( )

◆ SeLastTauntTags()

void SeLastTauntTags ( FGameplayTagContainer & LastTauntTags)

◆ Server_SetAttackState()

void Server_SetAttackState ( EAttackState AttackState)

◆ Server_SetBlockState()

void Server_SetBlockState ( FGameplayTag BlockState)

◆ Server_SetCurrentAttackDirection()

void Server_SetCurrentAttackDirection ( FGameplayTag CurrentAttackDirection)

◆ Server_SetCurrentParryDirection()

void Server_SetCurrentParryDirection ( FGameplayTag CurrentParryDirection)

◆ Server_SetDefeatingAttackDirection()

void Server_SetDefeatingAttackDirection ( FGameplayTag DefeatingAttackDirection)

◆ Server_SetDesiredStance()

void Server_SetDesiredStance ( ECombatStance DesiredStance)

◆ Server_SetStance()

void Server_SetStance ( ECombatStance Stance)

◆ SetLastAttackerCharacter()

void SetLastAttackerCharacter ( AGothicCharacter newCharacter)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AttackCount

const float32 AttackCount

◆ AttackTarget

const USceneComponent AttackTarget

◆ AttackTargetHurtComponent

const UHurtBoxCollisionComponent AttackTargetHurtComponent

◆ BlockState

const FGameplayTag BlockState

◆ CurrentAttack

const UAttackMeleeConfig CurrentAttack

◆ CurrentAttackDirection

const FGameplayTag CurrentAttackDirection

◆ CurrentAttackHandle

const EAttackHandle CurrentAttackHandle

◆ CurrentCombo

const UComboAttackConfig CurrentCombo

◆ CurrentParryDirection

const FGameplayTag CurrentParryDirection

◆ DefeatingAttackDirection

const FGameplayTag DefeatingAttackDirection

◆ EquipedWeaponDefinition

const UWeaponDefinition EquipedWeaponDefinition

◆ LastAttackerCharacter

AGothicCharacter LastAttackerCharacter

◆ LastDamagePoint_World

const FVector LastDamagePoint_World

◆ LastTauntTags

const FGameplayTagContainer LastTauntTags

◆ m_AttackCount

uint8 m_AttackCount

◆ MagnetDamagePivotPoint

const FVector MagnetDamagePivotPoint

◆ Stance

const ECombatStance Stance