mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* client/BaseClient.h, client/CharacterClient.h, client/ClientConnection.h, client/CreatorClient.h, client/ObserverClient.h, client/Py_CreatorClient.h, common/Burn.h, common/Chop.h, common/Cut.h, common/Database.h, common/Eat.h, common/Generic.h, common/Nourish.h, common/Setup.h, common/Tick.h, common/Unseen.h, common/Use.h, common/Wield.h, common/accountbase.h, common/inheritance.h, rulesets/Container.h, rulesets/Creator.h, rulesets/LineProperty.h, rulesets/MemMap.h, rulesets/MindFactory.h, rulesets/Movement.h, rulesets/Pedestrian.h, rulesets/Py_BBox.h, rulesets/Py_Location.h, rulesets/Py_Map.h, rulesets/Py_Mind.h, rulesets/Py_Object.h, rulesets/Py_Operation.h, rulesets/Py_Oplist.h, rulesets/Py_Optime.h, rulesets/Py_Point3D.h, rulesets/Py_Quaternion.h, rulesets/Py_Thing.h, rulesets/Py_Vector3D.h, rulesets/Py_World.h, rulesets/Py_WorldTime.h, rulesets/PythonMindScript.h, rulesets/PythonScript.h, rulesets/PythonThingScript.h, rulesets/Python_API.cpp, rulesets/TerrainProperty.h, rulesets/ThingFactory.h, server/Admin.h, server/EntityFactory.h, server/Master.h, server/Peer.h, server/Persistance.h, server/PersistantThingFactory.h, server/Persistor.h, server/Player.h, server/Restoration.h, server/Restorer.h, server/TrustedConnection.h: Make sure all classes have up updated description in the comments.
26 lines
871 B
C++
26 lines
871 B
C++
// This file may be redistributed and modified only under the terms of
|
|
// the GNU General Public License (See COPYING for details).
|
|
// Copyright (C) 2001 Alistair Riddoch
|
|
|
|
#ifndef RULESETS_PYTHON_MIND_SCRIPT_H
|
|
#define RULESETS_PYTHON_MIND_SCRIPT_H
|
|
|
|
#include "PythonScript.h"
|
|
|
|
class BaseMind;
|
|
|
|
/// \brief Script class for Python scripts attached to a character Mind
|
|
class PythonMindScript : public PythonScript {
|
|
private:
|
|
BaseMind & mind;
|
|
public:
|
|
PythonMindScript(PyObject *, BaseMind &);
|
|
virtual ~PythonMindScript();
|
|
virtual bool Operation(const std::string &,
|
|
const Atlas::Objects::Operation::RootOperation &,
|
|
OpVector &,
|
|
Atlas::Objects::Operation::RootOperation * = 0);
|
|
virtual void hook(const std::string &, Entity *);
|
|
};
|
|
|
|
#endif // RULESETS_PYTHON_MIND_SCRIPT_H
|