openplanet-nl / vehiclestate

The VehicleState dependency plugin in Openplanet.
1 stars 4 forks source link

ViewingPlayer or GetViewingPlayer? #1

Closed Atheuz closed 2 years ago

Atheuz commented 2 years ago

VehicleState exports, in this file (https://github.com/openplanet-nl/vehiclestate/blob/main/Export.as), the following function ViewingPlayer

import CSmPlayer@ ViewingPlayer() from "VehicleState";

But when you look at what is actually defined in the code, ViewingPlayer is not actually defined anywhere from what I can tell. Instead you have in this file (https://github.com/openplanet-nl/vehiclestate/blob/main/Internal/Impl.as), functions called GetViewingPlayer.

Is there a typo here such that it's meant to export the function GetViewingPlayer, but instead tries to export the non-existent function ViewingPlayer?