Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClassiCube/ClassiCube
/ Block_SetName
Function
Block_SetName
src/Block.c:515–517 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
513
}
514
515
void Block_SetName(BlockID block, const cc_string* name) {
516
String_CopyToRaw(Block_NamePtr(block), STRING_SIZE, name);
517
}
518
519
int Block_FindID(const cc_string* name) {
520
cc_string blockName;
Callers
4
Cw_Callback_5
Function · 0.85
BlockEditCommand_Execute
Function · 0.85
Block_ResetProps
Function · 0.85
BlockDefs_DefineBlockCommonStart
Function · 0.85
Calls
1
String_CopyToRaw
Function · 0.85
Tested by
no test coverage detected