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"

[Closed] ParticleModuleEventSendToGame

G'day,

Trying to get a mesh based particle to interact with the game using ParticleModuleEventSendToGame.
According to this page, all I need to do is subclass ParticleModuleEventSendToGame.
Unfortunately, my attempts end up with unresolved external symbol errors:

 Module.GroundBranch.cpp.obj : error LNK2019: unresolved external symbol "public: static class UClass * __cdecl UParticleModuleEventSendToGame::GetPrivateStaticClass(wchar_t const *)" (?GetPrivateStaticClass@UParticleModuleEventSendToGame@@SAPEAVUClass@@PEB_W@Z) referenced in function "void __cdecl GetPrivateStaticClassBody(wchar_t const *,wchar_t const *,class UClass * &,void (__cdecl*)(void))" (??$GetPrivateStaticClassBody@VUGBParticleModuleEventSendToGame@@@@YAXPEB_W0AEAPEAVUClass@@P6AXXZ@Z)
 Module.GroundBranch.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl UParticleModuleEventSendToGame::UParticleModuleEventSendToGame(class FPostConstructInitializeProperties const &)" (??0UParticleModuleEventSendToGame@@QEAA@AEBVFPostConstructInitializeProperties@@@Z) referenced in function "void __cdecl InternalConstructor(class FPostConstructInitializeProperties const &)" (??$InternalConstructor@VUGBParticleModuleEventSendToGame@@@@YAXAEBVFPostConstructInitializeProperties@@@Z)

ParticleDefinitions.h is already included.
Is there another header file or module I should be including?
If not, a bug?

Kris

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:42 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.8k 3650 1976 9104

(comments are locked)
10|2000 characters needed characters left

The question has been closed May 07 '14 at 01:32 PM by Tim C for the following reason:

Closed for archival purposes. If you still need any help with this topic, please post a new question.


1 answer: sort voted first

Looks like we need to tag that class as MinimalAPI and tag its virtual function as ENGINE_API. I will look at making this change.

more ▼

answered Mar 11 '14 at 02:42 AM

avatar image

ue4-archive ♦♦ STAFF
49.8k 3650 1976 9104

avatar image Canotico May 07 '14 at 12:03 AM

Hi! I've been doing a bit of research on this subject and I haven't had much luck finding a way of implementing a subclass of ParticleModuleEventSendToGame. The link to the page you said you were using seems to be broken so I'd like to know if it's possible for you to post how did you manage to subclass from ParticleModuleEventSendToGame since I seem to be doing it the wrong way because the compiler is not able to find that reference anywere.

Thanks in advance!

avatar image Tim C ♦♦ STAFF May 07 '14 at 01:30 PM

Hi Canotico. Due to the original age of this post, I will be closing it. If you still need help with this, please post a new question.

Have a great day.

(comments are locked)
10|2000 characters needed characters left

Follow this question

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

Answers to this question