subscribe_event

dgd/mud/doc/kernel/efun/subscribe_event · 420 B

From the archive dgd-1.2p4.tar.gz

Download the archive   « Back to the archive contents

NAME
	subscribe_event - subscribe to an event

SYNOPSIS
	void subscribe_event(object obj, string name)


DESCRIPTION
	Subscribe to an event in the given object.  The object defining the
	event subscribed to controls access to events with the
	allow_subscribe(obj, name) function, which must return 0 to block
	object `obj' from subscribing to event `name'.

SEE ALSO
	efun/query_subscribed_event, efun/unsubscribe_event

Site Stats

Snippets: 1791
Codebases: 571