Documentation ¶
Index ¶
- Constants
- func AcquirePlanes(planes []string, callback PlanesAvailable, ref interface{}) int
- func CountAircraft() (totalAircraft int, activeAircraft int, pluginId plugins.PluginId)
- func DisableAIForPlane(index int)
- func DrawAircraft(index int, x, y, z, pitch, roll, yaw float32, fullDraw bool, ...)
- func GetNthAircraftModel(index int) (fileName, path string)
- func PlaceUserAtAirport(airportCode string)
- func ReinitUsersPlane()
- func ReleasePlanes()
- func SetActiveAircraftCount(count int)
- func SetAircraftModel(index int, path string)
- func SetUsersAircraft(aircraft string)
- type PlaneDrawState
- type PlanesAvailable
Constants ¶
View Source
const USER_AIRCRAFT = 0
Variables ¶
This section is empty.
Functions ¶
func AcquirePlanes ¶
func AcquirePlanes(planes []string, callback PlanesAvailable, ref interface{}) int
func CountAircraft ¶
func DisableAIForPlane ¶
func DisableAIForPlane(index int)
func DrawAircraft ¶
func DrawAircraft(index int, x, y, z, pitch, roll, yaw float32, fullDraw bool, drawState PlaneDrawState)
func GetNthAircraftModel ¶
func PlaceUserAtAirport ¶
func PlaceUserAtAirport(airportCode string)
func ReinitUsersPlane ¶
func ReinitUsersPlane()
func ReleasePlanes ¶
func ReleasePlanes()
func SetActiveAircraftCount ¶
func SetActiveAircraftCount(count int)
func SetAircraftModel ¶
func SetUsersAircraft ¶
func SetUsersAircraft(aircraft string)
Types ¶
type PlaneDrawState ¶
type PlanesAvailable ¶
type PlanesAvailable func(ref interface{})
Click to show internal directories.
Click to hide internal directories.