BuildableCircuitSwitch

package
v0.0.0-...-0c1458e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClassNameToDescriptor = map[string]FGBuildableCircuitSwitch{
	"Build_PowerSwitch_C": PowerSwitch,
}
View Source
var (
	PowerSwitch = FGBuildableCircuitSwitch{
		Name:                               "PowerSwitch",
		ClassName:                          "Build_PowerSwitch_C",
		BIsSignificant:                     false,
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MBuildingTag:                       ``,
		MConnections:                       ``,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Can be switched ON/OFF to enable/disable the connection between two Power Grids.

Note the location of the A and B connection.`,
		MDisplayName:                      `Power Switch`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasBuildingTag:                   false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsBridgeConnected:                false,
		MIsSwitchOn:                       false,
		MIsUseable:                        true,
		MMaxCharacters:                    20,
		MOnIsConnectedChanged:             `()`,
		MOnIsSwitchOnChanged:              `()`,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MTextRenderers:                    ``,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}
)

Functions

This section is empty.

Types

type FGBuildableCircuitSwitch

type FGBuildableCircuitSwitch struct {
	Name                               string
	ClassName                          string
	BIsSignificant                     bool
	MAllowColoring                     bool
	MAttachmentPoints                  string
	MBuildEffectSpeed                  float64
	MBuildingTag                       string
	MConnections                       string
	MCreateClearanceMeshRepresentation bool
	MDescription                       string
	MDisplayName                       string
	MForceNetUpdateOnRegisterPlayer    bool
	MHasBuildingTag                    bool
	MHideOnBuildEffectStart            bool
	MHighlightVector                   string
	MInteractingPlayers                string
	MIsBridgeConnected                 bool
	MIsSwitchOn                        bool
	MIsUseable                         bool
	MMaxCharacters                     int
	MOnIsConnectedChanged              string
	MOnIsSwitchOnChanged               string
	MShouldModifyWorldGrid             bool
	MShouldShowAttachmentPointVisuals  bool
	MShouldShowHighlight               bool
	MSkipBuildEffect                   bool
	MTextRenderers                     string
	MToggleDormancyOnInteraction       bool
	MaxRenderDistance                  float64
}

func GetByClassName

func GetByClassName(className string) (FGBuildableCircuitSwitch, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL