MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | PreventInsertLiving() |
| 2 | |
| 3 | FUNKTION: |
| 4 | int PreventInsertLiving(object ob); |
| 5 | |
| 6 | DEFINIERT IN: |
| 7 | /std/container/restrictions.c |
| 8 | |
| 9 | ARGUMENTE: |
| 10 | ob |
| 11 | Das Living, das in den Behaelter eingefuegt werden soll. |
| 12 | |
| 13 | BESCHREIBUNG: |
| 14 | Mit dieser Funktion kann ein Behaelter pruefen, ob er das Living ob |
| 15 | aufnehmen moechte oder nicht. |
| 16 | |
| 17 | RUeCKGABEWERT: |
| 18 | 0, wenn das Living aufgenommen werden kann; ein Wert groesser als 0 |
| 19 | zeigt an, dass das Living nicht aufgenommen werden soll. |
| 20 | |
| 21 | BEMERKUNGEN: |
| 22 | Wenn ob mit dem Flag M_NOCHECK bewegt wird, wird PreventInsertLiving() |
| 23 | zwar aufgerufen, das Living wird jedoch auf jeden Fall in den Behaelter |
| 24 | bewegt, unabhaengig vom Rueckgabewert! |
| 25 | |
| 26 | |
| 27 | SIEHE AUCH: |
| 28 | PreventLeaveLiving(), /std/container/restrictions.c, |
| 29 | PreventMove(), PreventInsert(), PreventLeave(), |
| 30 | NotifyMove(), NotifyInsert(), NotifyLeave(), NotifyRemove(), |
| 31 | move(), init(), exit(), |
| 32 | InitAttack(), ExitAttack() |
| 33 | |
| 34 | ---------------------------------------------------------------------------- |
| 35 | Last modified: 04.08.2007, Zesstra |