gmdb_mp_send_state
SDK function gmdb_mp_send_state is present in the supplied Tanks SDK. Its exact behaviour needs review before publication.
Syntax
gmdb_mp_send_state(Syntax: gmdb_mp_send_state(_x, _y, _angle, _sprite, _image_index, _image_speed, _state, _image_xscale, _image_yscale);
Parameters: _x, _y, _angle, _sprite, _image_index, _image_speed, _state, _image_xscale, _image_yscale
Confirm each parameter type, required/optional status, and accepted values.);Arguments
Syntax: gmdb_mp_send_state(_x, _y, _angle, _sprite, _image_index, _image_speed, _state, _image_xscale, _image_yscale); Parameters: _x, _y, _angle, _sprite, _image_index, _image_speed, _state, _image_xscale, _image_yscale Confirm each parameter type, required/optional status, and accepted values.
Return value / result
Not yet verified. Review the SDK implementation and document the actual return type and possible values.
GameMaker example
// Signature example — replace parameters with values from your game.
gmdb_mp_send_state(_x, _y, _angle, _sprite, _image_index, _image_speed, _state, _image_xscale, _image_yscale);Details
REVIEW CHECKLIST
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml
- Confirm purpose and whether intended for public use
- Confirm argument types and valid values
- Confirm return values and asynchronous behaviour
- Test the example in GameMaker
- Check any required Create / Step / Async event setup
SDK source: SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml
SDK source
SDK_TANKS_HTML/scripts/gmdb_mp_api/gmdb_mp_api.gml