-
Notifications
You must be signed in to change notification settings - Fork 37
API Level 2
aufau edited this page Jan 20, 2018
·
2 revisions
| Header | JK2MV Version | Supported since |
|---|---|---|
| Level 2 | 1.2 | 4 Jul 2016 |
SysCalls available with this API-Level.
| Declaration | game | cgame | ui |
|---|---|---|---|
| MVAPI_DISABLE_STRUCT_CONVERSION | ☑️ |
qboolean trap_MVAPI_DisableStructConversion(qboolean disable);???
See Cvars page for bug descriptions.
| Flag | game | cgame | ui |
|---|---|---|---|
| MVFIX_SABERSTEALING | ☑️ |
Each mv shared game entity corresponds to one regular game entity (see MVAPI_LOCATE_GAME_DATA. The corresponding game entity will be called "the entity" from now on.
| New field | Description |
|---|---|
uint32_t mvFlags |
Bitwise conjugated shared entity flags (similar to entityShared_t::svFlags). |
| Shared entity flag | Description |
|---|---|
| MVF_NOSPEC | Don't send the entity to spectator (TEAM_SPECTATOR or PMF_FOLLOW) clients. |
| MVF_SPECONLY | Send the entity only to spectator clients (but respect ignore/enforce fields otherwise). |
JK2MV
Client
Server
Modding
Development