|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| UDocumentElementQuote | AddQuote (FText QuoteText, FText QuoteSource) |
| UDocumentElementChapterHeading | AddChapterHeading (FText Text) |
| UDocumentElementEnumeratedList | AddEnumeratedListEntry (FText Text) |
| UDocumentElementImage | AddImage (TSoftObjectPtr< UTexture2D > Image, FText ImageCaptionText) |
| UDocumentElementPageBreak | AddPageBreak () |
| UDocumentElementParagraph | AddParagraph (FText Text) |
| UDocumentElementBulletList | AddBulletListEntry (FText Text) |
| UDocumentElementSectionHeading | AddSectionHeading (FText Text) |
| void | NotifyShownToReader (const AGothicCharacterState Reader) |
| Called on any time time this segment is being viewed by the reader. | |
| void | NotifyShownToReaderFirstTime (const AGothicCharacterState Reader) |
| Called on the first time this segment is being viewed by the reader. | |
| bool | PassesUnlockConditions (const AGothicCharacterState Reader) const |
| When this segment is requested to be unlocked, you can return false here to block the unlock. | |
| void | BuildSegment (const AGothicCharacterState Reader) |
| Called when this Segment is about to be shown to the player. Override and add headings, paragraphs, lists, etc. Here to the Contents-array. | |
| 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 UObject | |
| static UClass | StaticClass () |
Public Attributes | |
DocumentSegment | |
| TSubclassOf< UDocument > | InDocument |
| To which Document this Segment belongs. | |
| TArray< FName > | AutoEvaluateUnlockFor |
| Character UniqueNames for which this Segment should be evaluated for AutoUnlock whenever something happens to them. If empty, the unlocks must be done manually via explicit function calls. | |
| TArray< UDocumentElement > | Contents |
| All added sections that form the content of this page. | |
| 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 |
| UDocumentElementBulletList AddBulletListEntry | ( | FText | Text | ) |
| UDocumentElementChapterHeading AddChapterHeading | ( | FText | Text | ) |
| UDocumentElementEnumeratedList AddEnumeratedListEntry | ( | FText | Text | ) |
| UDocumentElementImage AddImage | ( | TSoftObjectPtr< UTexture2D > | Image, |
| FText | ImageCaptionText ) |
| UDocumentElementPageBreak AddPageBreak | ( | ) |
| UDocumentElementParagraph AddParagraph | ( | FText | Text | ) |
| UDocumentElementQuote AddQuote | ( | FText | QuoteText, |
| FText | QuoteSource ) |
| UDocumentElementSectionHeading AddSectionHeading | ( | FText | Text | ) |
| void BuildSegment | ( | const AGothicCharacterState | Reader | ) |
Called when this Segment is about to be shown to the player. Override and add headings, paragraphs, lists, etc. Here to the Contents-array.
| void NotifyShownToReader | ( | const AGothicCharacterState | Reader | ) |
Called on any time time this segment is being viewed by the reader.
| void NotifyShownToReaderFirstTime | ( | const AGothicCharacterState | Reader | ) |
Called on the first time this segment is being viewed by the reader.
| bool PassesUnlockConditions | ( | const AGothicCharacterState | Reader | ) | const |
When this segment is requested to be unlocked, you can return false here to block the unlock.
|
static |
Character UniqueNames for which this Segment should be evaluated for AutoUnlock whenever something happens to them. If empty, the unlocks must be done manually via explicit function calls.
| TArray<UDocumentElement> Contents |
All added sections that form the content of this page.
| TSubclassOf<UDocument> InDocument |
To which Document this Segment belongs.