diff --git a/public/igameevents.h b/public/igameevents.h index 70009b31..2cca21a1 100644 --- a/public/igameevents.h +++ b/public/igameevents.h @@ -119,14 +119,14 @@ public: virtual void SetFloat( const GameEventKeySymbol_t &keySymbol, float value ) = 0; virtual void SetString( const GameEventKeySymbol_t &keySymbol, const char *value ) = 0; virtual void SetPtr( const GameEventKeySymbol_t &keySymbol, void *value ) = 0; - + + virtual void SetEntity(const GameEventKeySymbol_t &keySymbol, CEntityInstance *value) = 0; virtual void SetEntity( const GameEventKeySymbol_t &keySymbol, CEntityIndex value ) = 0; - virtual void SetEntity( const GameEventKeySymbol_t &keySymbol, CEntityInstance *value ) = 0; - // Also sets the _pawn key - virtual void SetPlayer( const GameEventKeySymbol_t &keySymbol, CPlayerSlot value ) = 0; // Also sets the _pawn key (Expects pawn entity to be passed) virtual void SetPlayer( const GameEventKeySymbol_t &keySymbol, CEntityInstance *pawn ) = 0; + // Also sets the _pawn key + virtual void SetPlayer( const GameEventKeySymbol_t &keySymbol, CPlayerSlot value ) = 0; // Expects pawn entity to be passed, will set the controller entity as a controllerKeyName // and pawn entity as a pawnKeyName.