BuildablePowerPole

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PowerPoleMk1 = FGBuildablePowerPole{
		Name:                               "PowerPoleMk1",
		ClassName:                          "Build_PowerPoleMk1_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Can handle up to 4 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Power Pole Mk.1`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        true,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Pole,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleMk2 = FGBuildablePowerPole{
		Name:                               "PowerPoleMk2",
		ClassName:                          "Build_PowerPoleMk2_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Can handle up to 7 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Power Pole Mk.2`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        true,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Pole,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleMk3 = FGBuildablePowerPole{
		Name:                               "PowerPoleMk3",
		ClassName:                          "Build_PowerPoleMk3_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Can handle up to 10 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Power Pole Mk.3`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        true,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Pole,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWall = FGBuildablePowerPole{
		Name:                               "PowerPoleWall",
		ClassName:                          "Build_PowerPoleWall_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall.

Can handle up to 4 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Wall Outlet Mk.1`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Wall,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWallDouble = FGBuildablePowerPole{
		Name:                               "PowerPoleWallDouble",
		ClassName:                          "Build_PowerPoleWallDouble_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall. Has one connector on each side of the wall.

Can handle up to 4 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Double Wall Outlet Mk.1`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.WallDouble,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWallDoubleMk2 = FGBuildablePowerPole{
		Name:                               "PowerPoleWallDoubleMk2",
		ClassName:                          "Build_PowerPoleWallDouble_Mk2_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall. Has one connector on each side of the wall.

Can handle up to 7 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Double Wall Outlet Mk.2`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.WallDouble,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWallDoubleMk3 = FGBuildablePowerPole{
		Name:                               "PowerPoleWallDoubleMk3",
		ClassName:                          "Build_PowerPoleWallDouble_Mk3_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall. Has one connector on each side of the wall.

Can handle up to 10 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Double Wall Outlet Mk.3`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.WallDouble,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWallMk2 = FGBuildablePowerPole{
		Name:                               "PowerPoleWallMk2",
		ClassName:                          "Build_PowerPoleWall_Mk2_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall.

Can handle up to 7 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Wall Outlet Mk.2`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Wall,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}

	PowerPoleWallMk3 = FGBuildablePowerPole{
		Name:                               "PowerPoleWallMk3",
		ClassName:                          "Build_PowerPoleWall_Mk3_C",
		MAllowColoring:                     true,
		MAttachmentPoints:                  ``,
		MBuildEffectSpeed:                  0.000000,
		MCreateClearanceMeshRepresentation: true,
		MDescription: `Power Pole that attaches to a wall.

Can handle up to 10 Power Line connections.

Connect Power Poles, Power Generators and factory buildings together with Power Lines to create a power grid. The power grid supplies the connected buildings with power.`,
		MDisplayName:                      `Wall Outlet Mk.3`,
		MForceNetUpdateOnRegisterPlayer:   false,
		MHasPower:                         false,
		MHideOnBuildEffectStart:           false,
		MHighlightVector:                  `(X=0.000000,Y=0.000000,Z=0.000000)`,
		MInteractingPlayers:               ``,
		MIsUseable:                        false,
		MPowerConnections:                 ``,
		MPowerPoleType:                    resource.Wall,
		MShouldModifyWorldGrid:            true,
		MShouldShowAttachmentPointVisuals: false,
		MShouldShowHighlight:              false,
		MSkipBuildEffect:                  false,
		MToggleDormancyOnInteraction:      false,
		MaxRenderDistance:                 -1.000000,
	}
)
View Source
var ClassNameToDescriptor = map[string]FGBuildablePowerPole{
	"Build_PowerPoleMk1_C":            PowerPoleMk1,
	"Build_PowerPoleMk2_C":            PowerPoleMk2,
	"Build_PowerPoleMk3_C":            PowerPoleMk3,
	"Build_PowerPoleWall_C":           PowerPoleWall,
	"Build_PowerPoleWallDouble_C":     PowerPoleWallDouble,
	"Build_PowerPoleWallDouble_Mk2_C": PowerPoleWallDoubleMk2,
	"Build_PowerPoleWallDouble_Mk3_C": PowerPoleWallDoubleMk3,
	"Build_PowerPoleWall_Mk2_C":       PowerPoleWallMk2,
	"Build_PowerPoleWall_Mk3_C":       PowerPoleWallMk3,
}

Functions

This section is empty.

Types

type FGBuildablePowerPole

type FGBuildablePowerPole struct {
	Name                               string
	ClassName                          string
	MAllowColoring                     bool
	MAttachmentPoints                  string
	MBuildEffectSpeed                  float64
	MCreateClearanceMeshRepresentation bool
	MDescription                       string
	MDisplayName                       string
	MForceNetUpdateOnRegisterPlayer    bool
	MHasPower                          bool
	MHideOnBuildEffectStart            bool
	MHighlightVector                   string
	MInteractingPlayers                string
	MIsUseable                         bool
	MPowerConnections                  string
	MPowerPoleType                     resource.PowerPoleType
	MShouldModifyWorldGrid             bool
	MShouldShowAttachmentPointVisuals  bool
	MShouldShowHighlight               bool
	MSkipBuildEffect                   bool
	MToggleDormancyOnInteraction       bool
	MaxRenderDistance                  float64
}

func GetByClassName

func GetByClassName(className string) (FGBuildablePowerPole, error)

Jump to

Keyboard shortcuts

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