MB_SetLifeTime

C Specification

#include <nitro/mb.h>

void MB_SetLifeTime(u16 tableNumber, u16 camLifeTime, u16 frameLifeTime, u16 mpLifeTime);

Arguments

tableNumber CAM table number that sets the lifetime
The default setting is 0xFFFF (all).
The meaning of the argument is the same as that in WM_SetLifeTime.
camLifeTime CAM table lifetime
The default setting is 40 (4 seconds).
The meaning of the argument is the same as that in WM_SetLifeTime.
frameLifeTime The lifetime during infrastructure mode
The default setting is 0xFFFF (unlimited).

The meaning of the argument is the same as that in WM_SetLifeTime.
mpLifeTime MP communication lifetime
The default setting is 40 (4 seconds).

The meaning of the argument is the same as that in WM_SetLifeTime.

Return Values

None.

Description

Specifies the various lifetimes for the WM library that is used internally in the MB library. The value specified by this function is used internally without modification as an argument in WM_SetLifeTime.
In a normal game application, the default setting is appropriate, so there is no need to call this function explicitly.
This function can only be called after MB_Init is called and before MB_StartParent is called.

See Also

MB_Init, MB_StartParent, WM_SetLifeTime

Revision History

04/11/2005 Initial version.