x

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"

Where to create ShooterTypes.h

Hi gays! I want to konw, the ShooterGame Project's C++ code , Where to create ShooterTypes.h??

Product Version: Not Selected
Tags:
more ▼

asked Mar 02 '16 at 12:11 PM in C++ Programming

avatar image

PawnCyan
1 1 2

avatar image PawnCyan Mar 02 '16 at 12:20 PM

alt text

avatar image Sean L ♦♦ STAFF Mar 02 '16 at 09:13 PM

Could you elaborate on your question a bit? I'm not entirely sure what you are looking for.

avatar image PawnCyan Mar 03 '16 at 03:06 AM

UE4 Editor create C++ code not found "Type",I want to kown this ShooterTypes.h how to create. I tired new a .h files in VS2015, but It doesn't work. :(

avatar image Sean L ♦♦ STAFF Mar 03 '16 at 03:06 PM

Are you trying to create this file in a new project? In Shooter Game, the file is already there and all you would need to do in order to make changes is compile the project.

avatar image PawnCyan Mar 07 '16 at 06:00 AM

yes, I tried create this file in my project,but it's doesn't work╮(╯▽╰)╭

avatar image Sean L ♦♦ STAFF Mar 07 '16 at 01:47 PM

Have you tried creating a class based on None (essentially a blank class) and then using that as the base for your ShooterTypes class?

avatar image PawnCyan Mar 07 '16 at 03:30 PM

OMG!! this my fault, sorry, guys not gays. and thank you for helping me solve the problem.

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

2 answers: sort voted first

Original answer by Mr.zippo was removed.

Here is the answer:

"yes. but it's not exactly right, the ShooterTypes.h is not a class,just a “.h” file。but,I found a Solution. 1. in your project path, source/ projectname/public create a new .txt, chang name txt->h; 2. right click project.uproject, and generate 3. open this new file in your VS2015, add #include"objectbase.h" header files,and you can wirte UENM or USTRUCT, finaly, generate in VS2015 4. delete #include"objectbase.h", and write #include“filename.generated.h” 5. Congratulation!!"

more ▼

answered Mar 07 '16 at 03:33 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

avatar image PawnCyan Mar 07 '16 at 03:38 PM

Good night

(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