I got it working, but it would be a pain, if they change the class in the future. Better forget to try it...

Greets
Ronny


It will not work.
You will get into a linker hell if you try. :(

Skyler York wrote:

Actually, this might be possible.  The example plug-in simply doesn't
get the interface you want by default.  Take a look at eiface.h for
IServerGameEnts.  It contains an EdictToBaseEntity function you might
be able to use.  An additional call to interfaceFactory with that
interface version could get you the interface you need to call that
function.  And then once you have a CBaseEntity, you can do what you
please.

However this goes back to the point made before where the
implementation might change and you can't rely on it.  However there
is no useful interface equivalent for entities, so worse come to worst
you simply rebuild the plug-in come an update to the base entity.



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to