Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > mobiles_in_segment

API Function: mobiles_in_segment

Summary:
get a list of all mobiles in a given segment

Defined In LPC Object:
/usr/common/sys/mobiled.c

Prototype:
int *mobiles_in_segment(int segment_number)

Can Be Called By:
System, Common, Game

Description:

Returns a list of mobile numbers in the given segment.

Return Value:

A list of integer mobile numbers, or nil.

Errors:
Normally none.

See Also:
add_mobile_number , get_mobile_by_num , all_mobiles