Changeset 7486 for code/trunk/src/modules/objects/Script.h
- Timestamp:
- Sep 23, 2010, 11:54:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/objects/Script.h
r7484 r7486 37 37 38 38 #include "core/BaseObject.h" 39 #include "network/synchronisable/Synchronisable.h"40 39 #include "network/ClientConnectionListener.h" 41 40 … … 84 83 Damian 'Mozork' Frick 85 84 */ 86 class _ObjectsExport Script : public BaseObject, public Synchronisable, publicClientConnectionListener85 class _ObjectsExport Script : public BaseObject, public ClientConnectionListener 87 86 { 88 87 public: … … 94 93 95 94 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. 97 96 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. 98 97
Note: See TracChangeset
for help on using the changeset viewer.