Skip to main content

ss_player_cellmap_texture_name

Function ss_player_cellmap_texture_name 

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

The index-th replaceable name of a pack — what to pass ss_player_set_cellmap_texture. pack_name null selects the main pack.

The string is owned by the scene and stays valid until the next call to this function on the same scene. Copy it if you need to keep it. Null if out of range.

§Safety

pack_name must be null or a NUL-terminated UTF-8 string.