Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 23, 2010, 11:54:16 PM (14 years ago)
Author:
dafrick
Message:

Cleanup in Script. Some more documenting in Notifications module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/objects/Script.h

    r7484 r7486  
    3737
    3838#include "core/BaseObject.h"
    39 #include "network/synchronisable/Synchronisable.h"
    4039#include "network/ClientConnectionListener.h"
    4140
     
    8483        Damian 'Mozork' Frick
    8584    */
    86     class _ObjectsExport Script : public BaseObject, public Synchronisable, public ClientConnectionListener
     85    class _ObjectsExport Script : public BaseObject, public ClientConnectionListener
    8786    {
    8887        public:
     
    9493
    9594            bool trigger(bool triggered, BaseObject* trigger); //!< Is called when an event comes in trough the event port.
    96             void execute(unsigned int clientId, bool fromCallback = false); //!< Executes the Scripts code for the input client, depending on the mode.
     95            void execute(unsigned int clientId, bool onLoad = false); //!< Executes the Scripts code for the input client, depending on the mode.
    9796            static void executeHelper(const std::string& code, const std::string& mode, bool needsGraphics); //!< Helper method that is used to reach this Script object on other clients.
    9897
Note: See TracChangeset for help on using the changeset viewer.