|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UDocument | |
| static TArray< TSubclassOf< UDocumentSegment > > | FindSegmentsUnlockedByReader (const AGothicCharacterState Reader, TSubclassOf< UDocument > DocumentClass) |
| Returns all segments that this reader has unlocked (in the order they were unlocked). | |
| static TArray< TSubclassOf< UDocumentSegment > > | FindSegmentsViewedByReader (const AGothicCharacterState Reader, TSubclassOf< UDocument > DocumentClass) |
| Returns all segments that this reader has unlocked and viewed before (in the order they were viewed). | |
| static bool | IsAllowedToUnlockSegment (AGothicCharacterState Reader, TSubclassOf< UDocument > DocumentClass, TSubclassOf< UDocumentSegment > SegmentClass) |
| Returns true, if the segments conditions allow it to unlock it now. | |
| static bool | IsSegmentUnlockedByReader (const AGothicCharacterState Reader, TSubclassOf< UDocumentSegment > SegmentClass) |
| Returns true if the given segment has been unlocked for the given reader. | |
| static void | RememberSegmentUnlocked (AGothicCharacterState Reader, TSubclassOf< UDocument > DocumentClass, TSubclassOf< UDocumentSegment > SegmentClass) |
| Lets the given reader remember that they have unlocked a segment. (Will be stored in LongTermMemory). | |
| static void | RememberSegmentViewed (AGothicCharacterState Reader, TSubclassOf< UDocument > DocumentClass, TSubclassOf< UDocumentSegment > SegmentClass) |
| Lets the given reader remember that they have viewed a segment. (Will be stored in LongTermMemory). | |
| static UClass | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static UClass | StaticClass () |
Additional Inherited Members | |
| Public Member Functions inherited from UDocument | |
| TArray< UDocumentElement > | BuildDocument (const AGothicCharacterState Reader) |
| Returns all contents that have been explicitly added or unlocked by the reader so far. After calling this once, the contents can also be queried via GetContentOfLastBuild(). | |
| TArray< UDocumentElement > | GetContentOfLastBuild () const |
| Returns all contents that have been added during the last build operation. | |
| bool | HasBeenBuilt () const |
| Returns true, if this Document has some previously (and usable) built data. | |
| void | NotifyShownToReader (AGothicCharacterState Reader) |
| To be called when this document is shown to the reader (in UI). | |
| void | AddSegment (TSubclassOf< UDocumentSegment > SegmentClass) |
| Adds the given segment to this document. | |
| 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 |
| Public Attributes inherited from UDocument | |
| TArray< UDocumentSegment > | BuiltSegments |
| Most recently built Segments. Initially empty, call BuildDocument() to update. | |
| FText | Title |
| Title of this Document. | |
| TMap< FName, FString > | Metadata |
| Additional metadata attached to this document. | |
| TArray< TSubclassOf< UDocumentSegment > > | AddedSegments |
| Templates of the Segments that have been added to this document so far. | |
| const TArray< UDocumentElement > | ContentOfLastBuild |
| Returns all contents that have been added during the last build operation. | |
| 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 |
The purpose of this class is to prepare the images that will be shown in the writings when building the document.
|
static |