Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jldowson/FSUIPC_WAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
jldowson committed May 20, 2021
2 parents 080ba9d + 32cd254 commit e99a484
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ FSUIPC_WAPI is a client-side API library for communication with the FSUIPC WASM
This allows for the retrieval/listing of lbars/hvars, for the setting of lvars and the activation of hvars.

The WASMIF class is the main interface. To use, first instantiate a WASMIF object:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMIF* WASMIFPtr = WASMIF::getInstance(hWnd);</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMIF* WASMPtr = WASMIF::getInstance(hWnd);</code><br>

Then start the service:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMIFPtr->start();</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMPtr->start();</code><br>

You can then get/set/list lvars and list/activate hvars using the provided member functions, e,g.<br>
&nbsp;&nbsp;&nbsp;&nbsp;<code>WASMPtr->getLvarValues(map<string, double> lvars);</code><br>
Expand Down

0 comments on commit e99a484

Please sign in to comment.