prg_edge_client_state_set()
摘要
在边上设置客户端状态
语法
prg_edge_client_state_set (edge_ptr, state_id, client_state_ptr)
| 参数 | 类型 | 说明 |
|---|---|---|
edge_ptr |
PrgT_Graph_Edge * |
将要设置客户端状态的边 |
state_id |
PrgT_Graph_State_ID |
将要设置的状态的 ID |
client_state_ptr |
void * |
将要设置在边上的客户端状态 |
返回类型
void *
如果旧客户端状态存在则返回它,否则返回 PRGC_NIL
头文件
prg_graph.h