Skip to main content

ss_player_set_part_cell_override_by_index

Function ss_player_set_part_cell_override_by_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_part_cell_override_by_index( handle: *mut SsPlayer, part: u32, cellmap_name: *const c_char, cell_name: *const c_char, priority: u8, ) -> i32
Expand description

Make a part draw a different cell. cellmap_name is written without the .ssce extension. Normal and Mask parts only; fails when the cell cannot be resolved against the loaded pack.

ยงSafety

handle must be a live handle or null; both names must be valid null-terminated C strings.