User Tools

Site Tools


scripting:restapi

This is an old revision of the document!


RestApi

Class: RestApi

Parent Class: (?none?)

Location: scripts/GameLib/generated/online/RestApi.c

Description: RestAPI class.

Common usage

The baseworld component is returned on the GetWorld() global command.

Typical usage : find an Entity.

GetGame().GetRestApi().GetContext("https://some.url");

Functions

GetContext();

GetContext(string serverURL);;

Return type: restcontext

scripting/restapi.1661434422.txt.gz · Last modified: 2022/08/25 14:33 by jerryhopper

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki