Skip to main content

ss_player_cell_name

Function ss_player_cell_name 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_cell_name( handle: *mut SsPlayer, cellmap: *const c_char, index: u32, ) -> *const c_char
Expand description

The index-th cell name inside cellmap — the other half of what ss_player_set_part_cell_override takes. Null if out of range, or when the cellmap is not in the main pack.

The string stays valid until the next call to this function on the same scene. Copy it if you need to keep it.

§Safety

handle must be a live handle or null; cellmap must be a valid null-terminated C string.