prg_graph_client_state_get()
摘要
从图中获取客户端状态
语法
prg_graph_client_state_get (graph_ptr, state_id)
| 参数 | 类型 | 说明 |
|---|---|---|
graph_ptr |
PrgT_Graph * |
客户端状态所在的图 |
state_id |
PrgT_Graph_State_ID |
需要获取的状态的 ID |
返回类型
void *
若客户端状态存在则返回该状态,否则返回 PRGC_NIL
头文件
prg_graph.h
从图中获取客户端状态
prg_graph_client_state_get (graph_ptr, state_id)
| 参数 | 类型 | 说明 |
|---|---|---|
graph_ptr |
PrgT_Graph * |
客户端状态所在的图 |
state_id |
PrgT_Graph_State_ID |
需要获取的状态的 ID |
void *
若客户端状态存在则返回该状态,否则返回 PRGC_NIL
prg_graph.h