G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FPerceivedInteractiveObject Struct Reference

Public Member Functions

Functions
TSet< AGothicCharacterState > GetPersonallyOwnedBy () const
 Returns all characters who personally own this Item.
bool IsOwnedByCharactersGuild (const AGothicCharacterState CharacterState) const
 Returns true if this item is owned by the given character's guild.
bool IsPersonallyOwnedBy (const AGothicCharacterState CharacterState) const
 Returns true if this item is personally owned by the given character.
bool IsPersonallyOwnedByAnyone () const
 Returns true if this item is owned by any character or guild.
FPerceivedInteractiveObject & opAssign (FPerceivedInteractiveObject Other)
FGameplayTagContainer GetOwnedByGuilds () const
 Returns all guilds who own this Item.

Public Attributes

PerceivedInteractiveObject
const UInteractiveObjectDefinition InteractiveObjectDefinition
TSoftObjectPtr< AInteractiveObjectActor > InteractiveObjectActor
const UItemDefinition ItemDefinition

Member Function Documentation

◆ GetOwnedByGuilds()

FGameplayTagContainer GetOwnedByGuilds ( ) const

Returns all guilds who own this Item.

◆ GetPersonallyOwnedBy()

TSet< AGothicCharacterState > GetPersonallyOwnedBy ( ) const

Returns all characters who personally own this Item.

◆ IsOwnedByCharactersGuild()

bool IsOwnedByCharactersGuild ( const AGothicCharacterState CharacterState) const

Returns true if this item is owned by the given character's guild.

◆ IsPersonallyOwnedBy()

bool IsPersonallyOwnedBy ( const AGothicCharacterState CharacterState) const

Returns true if this item is personally owned by the given character.

◆ IsPersonallyOwnedByAnyone()

bool IsPersonallyOwnedByAnyone ( ) const

Returns true if this item is owned by any character or guild.

◆ opAssign()

Member Data Documentation

◆ InteractiveObjectActor

TSoftObjectPtr<AInteractiveObjectActor> InteractiveObjectActor

◆ InteractiveObjectDefinition

const UInteractiveObjectDefinition InteractiveObjectDefinition

◆ ItemDefinition

const UItemDefinition ItemDefinition