blob: f8d62ecc71c38bb8650c2dd2fea8e08dfc83991c [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001PreventInsertLiving()
2=====================
3
4FUNKTION
5--------
6::
7
8 int PreventInsertLiving(object ob);
9
10DEFINIERT IN
11------------
12::
13
14 /std/container/restrictions.c
15
16ARGUMENTE
17---------
18::
19
20 ob
21 Das Living, das in den Behaelter eingefuegt werden soll.
22
23BESCHREIBUNG
24------------
25::
26
27 Mit dieser Funktion kann ein Behaelter pruefen, ob er das Living ob
28 aufnehmen moechte oder nicht.
29
30RUeCKGABEWERT
31-------------
32::
33
34 0, wenn das Living aufgenommen werden kann; ein Wert groesser als 0
35 zeigt an, dass das Living nicht aufgenommen werden soll.
36
37BEMERKUNGEN
38-----------
39::
40
41 Wenn ob mit dem Flag M_NOCHECK bewegt wird, wird PreventInsertLiving()
42 zwar aufgerufen, das Living wird jedoch auf jeden Fall in den Behaelter
43 bewegt, unabhaengig vom Rueckgabewert!
44
45SIEHE AUCH
46----------
47::
48
49 PreventLeaveLiving(), /std/container/restrictions.c,
50 PreventMove(), PreventInsert(), PreventLeave(),
51 NotifyMove(), NotifyInsert(), NotifyLeave(), NotifyRemove(),
52 move(), init(), exit(),
53 InitAttack(), ExitAttack()
54
55
56Last modified: 04.08.2007, Zesstra
57