prg_edge_client_state_get()
摘要
获取边上的客户端状态
语法
prg_edge_client_state_get (edge_ptr, state_id)
| 参数 | 类型 | 说明 |
|---|---|---|
edge_ptr |
PrgT_Graph_Edge * |
客户端状态所在的边 |
state_id |
PrgT_Graph_State_ID |
要获取的客户端状态的 ID |
返回类型
void *
返回客户端状态;若尚未设置,则返回 PRGC_NIL
头文件
prg_graph.h
获取边上的客户端状态
prg_edge_client_state_get (edge_ptr, state_id)
| 参数 | 类型 | 说明 |
|---|---|---|
edge_ptr |
PrgT_Graph_Edge * |
客户端状态所在的边 |
state_id |
PrgT_Graph_State_ID |
要获取的客户端状态的 ID |
void *
返回客户端状态;若尚未设置,则返回 PRGC_NIL
prg_graph.h