Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Is it posible to use C++ USTRUCT in Data Table(Editor)

Hello i was wondering is there any way to use Ustruct that is in one of my classes as a structure for a data table. When i try to go back to editor create new data table - none of the USTRUCT I have created are exposed there to be used. Also The Usturct, I'm talking about uses also UENUM that are ( BlueprintType ), i guess i'll probably have to do that something about them as well. Anyway this is my struct:

 USTRUCT( BlueprintType )
 struct FESegmentSpawnInfo 
     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "TestStruct")
     ESegmentForm Form;
     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "TestStruct")
     ESegmentPowerType PowerType;
     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "TestStruct")
     ESegmentRotation InitialRotation;

Product Version: Not Selected
more ▼

asked Nov 05 '15 at 03:16 PM in C++ Programming

avatar image

44 10 10 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Your struct need to be derrived from FTableRowBase in order to be made DataTable


Data types are limited, you might consider using numbers insted of enums

It kind of sound you making nested struct, i think it needs to be outside class in order to work

more ▼

answered Nov 05 '15 at 04:55 PM

avatar image

36.6k 930 169 1111

avatar image ExcelionSC Nov 05 '15 at 06:07 PM

Thanks, ill check that too

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Structs that are to be used with data tables must derive from FTableRowBase. If you do that, they should appear in the list.

more ▼

answered Nov 05 '15 at 04:53 PM

avatar image

Jamie Dale STAFF
7.5k 176 66 304

avatar image ExcelionSC Nov 05 '15 at 06:05 PM

Thanks ill look those up

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question