flat

package
v0.0.0-...-597122b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesAirState = map[AirState]string{
	AirStateOnGround:      "OnGround",
	AirStateJumping:       "Jumping",
	AirStateDoubleJumping: "DoubleJumping",
	AirStateDodging:       "Dodging",
	AirStateInAir:         "InAir",
}
View Source
var EnumNamesAudioMutator = map[AudioMutator]string{
	AudioMutatorDefault: "Default",
	AudioMutatorHaunted: "Haunted",
}
View Source
var EnumNamesBallGravityMutator = map[BallGravityMutator]string{
	BallGravityMutatorDefault:   "Default",
	BallGravityMutatorLow:       "Low",
	BallGravityMutatorHigh:      "High",
	BallGravityMutatorSuperHigh: "SuperHigh",
}
View Source
var EnumNamesBallMaxSpeedMutator = map[BallMaxSpeedMutator]string{
	BallMaxSpeedMutatorDefault:   "Default",
	BallMaxSpeedMutatorSlow:      "Slow",
	BallMaxSpeedMutatorFast:      "Fast",
	BallMaxSpeedMutatorSuperFast: "SuperFast",
}
View Source
var EnumNamesBallSizeMutator = map[BallSizeMutator]string{
	BallSizeMutatorDefault:  "Default",
	BallSizeMutatorSmall:    "Small",
	BallSizeMutatorMedium:   "Medium",
	BallSizeMutatorLarge:    "Large",
	BallSizeMutatorGigantic: "Gigantic",
}
View Source
var EnumNamesBallTypeMutator = map[BallTypeMutator]string{
	BallTypeMutatorDefault:       "Default",
	BallTypeMutatorCube:          "Cube",
	BallTypeMutatorPuck:          "Puck",
	BallTypeMutatorBasketball:    "Basketball",
	BallTypeMutatorBeachball:     "Beachball",
	BallTypeMutatorAnniversary:   "Anniversary",
	BallTypeMutatorHaunted:       "Haunted",
	BallTypeMutatorEkin:          "Ekin",
	BallTypeMutatorSpookyCube:    "SpookyCube",
	BallTypeMutatorEgg:           "Egg",
	BallTypeMutatorPlayerSeeking: "PlayerSeeking",
	BallTypeMutatorDropshot:      "Dropshot",
	BallTypeMutatorScoreAbsorb:   "ScoreAbsorb",
}
View Source
var EnumNamesBallWeightMutator = map[BallWeightMutator]string{
	BallWeightMutatorDefault:        "Default",
	BallWeightMutatorLight:          "Light",
	BallWeightMutatorHeavy:          "Heavy",
	BallWeightMutatorSuperLight:     "SuperLight",
	BallWeightMutatorCurveBall:      "CurveBall",
	BallWeightMutatorBeachBallCurve: "BeachBallCurve",
	BallWeightMutatorMagnusFutBall:  "MagnusFutBall",
}
View Source
var EnumNamesBoostAmountMutator = map[BoostAmountMutator]string{
	BoostAmountMutatorNormalBoost:    "NormalBoost",
	BoostAmountMutatorUnlimitedBoost: "UnlimitedBoost",
	BoostAmountMutatorSlowRecharge:   "SlowRecharge",
	BoostAmountMutatorRapidRecharge:  "RapidRecharge",
	BoostAmountMutatorNoBoost:        "NoBoost",
}
View Source
var EnumNamesCollisionShape = map[CollisionShape]string{
	CollisionShapeNONE:          "NONE",
	CollisionShapeBoxShape:      "BoxShape",
	CollisionShapeSphereShape:   "SphereShape",
	CollisionShapeCylinderShape: "CylinderShape",
}
View Source
var EnumNamesDemolishMutator = map[DemolishMutator]string{
	DemolishMutatorDefault:         "Default",
	DemolishMutatorDisabled:        "Disabled",
	DemolishMutatorFriendlyFire:    "FriendlyFire",
	DemolishMutatorOnContact:       "OnContact",
	DemolishMutatorOnContactFF:     "OnContactFF",
	DemolishMutatorOnBallContact:   "OnBallContact",
	DemolishMutatorOnBallContactFF: "OnBallContactFF",
}
View Source
var EnumNamesDodgeTimerMutator = map[DodgeTimerMutator]string{
	DodgeTimerMutatorOnePointTwentyFiveSeconds: "OnePointTwentyFiveSeconds",
	DodgeTimerMutatorTwoSeconds:                "TwoSeconds",
	DodgeTimerMutatorThreeSeconds:              "ThreeSeconds",
	DodgeTimerMutatorUnlimited:                 "Unlimited",
}
View Source
var EnumNamesExistingMatchBehavior = map[ExistingMatchBehavior]string{
	ExistingMatchBehaviorRestart:            "Restart",
	ExistingMatchBehaviorContinueAndSpawn:   "ContinueAndSpawn",
	ExistingMatchBehaviorRestartIfDifferent: "RestartIfDifferent",
}
View Source
var EnumNamesGameEventMutator = map[GameEventMutator]string{
	GameEventMutatorDefault: "Default",
	GameEventMutatorHaunted: "Haunted",
	GameEventMutatorRugby:   "Rugby",
}
View Source
var EnumNamesGameMode = map[GameMode]string{
	GameModeSoccer:     "Soccer",
	GameModeHoops:      "Hoops",
	GameModeDropshot:   "Dropshot",
	GameModeHockey:     "Hockey",
	GameModeRumble:     "Rumble",
	GameModeHeatseeker: "Heatseeker",
	GameModeGridiron:   "Gridiron",
	GameModeKnockout:   "Knockout",
}
View Source
var EnumNamesGameSpeedMutator = map[GameSpeedMutator]string{
	GameSpeedMutatorDefault:  "Default",
	GameSpeedMutatorSloMo:    "SloMo",
	GameSpeedMutatorTimeWarp: "TimeWarp",
}
View Source
var EnumNamesGravityMutator = map[GravityMutator]string{
	GravityMutatorDefault:   "Default",
	GravityMutatorLow:       "Low",
	GravityMutatorHigh:      "High",
	GravityMutatorSuperHigh: "SuperHigh",
	GravityMutatorReverse:   "Reverse",
}
View Source
var EnumNamesInputRestrictionMutator = map[InputRestrictionMutator]string{
	InputRestrictionMutatorDefault:   "Default",
	InputRestrictionMutatorBackwards: "Backwards",
}
View Source
var EnumNamesJumpMutator = map[JumpMutator]string{
	JumpMutatorDefault:   "Default",
	JumpMutatorGrounded:  "Grounded",
	JumpMutatorTwo:       "Two",
	JumpMutatorThree:     "Three",
	JumpMutatorFour:      "Four",
	JumpMutatorUnlimited: "Unlimited",
	JumpMutatorNoJumps:   "NoJumps",
}
View Source
var EnumNamesLauncher = map[Launcher]string{
	LauncherSteam:    "Steam",
	LauncherEpic:     "Epic",
	LauncherCustom:   "Custom",
	LauncherNoLaunch: "NoLaunch",
}
View Source
var EnumNamesMatchLengthMutator = map[MatchLengthMutator]string{
	MatchLengthMutatorFiveMinutes:   "FiveMinutes",
	MatchLengthMutatorTenMinutes:    "TenMinutes",
	MatchLengthMutatorTwentyMinutes: "TwentyMinutes",
	MatchLengthMutatorUnlimited:     "Unlimited",
}
View Source
var EnumNamesMatchPhase = map[MatchPhase]string{
	MatchPhaseInactive:   "Inactive",
	MatchPhaseCountdown:  "Countdown",
	MatchPhaseKickoff:    "Kickoff",
	MatchPhaseActive:     "Active",
	MatchPhaseGoalScored: "GoalScored",
	MatchPhaseReplay:     "Replay",
	MatchPhasePaused:     "Paused",
	MatchPhaseEnded:      "Ended",
}
View Source
var EnumNamesMaxScoreMutator = map[MaxScoreMutator]string{
	MaxScoreMutatorUnlimited:    "Unlimited",
	MaxScoreMutatorOneGoal:      "OneGoal",
	MaxScoreMutatorThreeGoals:   "ThreeGoals",
	MaxScoreMutatorFiveGoals:    "FiveGoals",
	MaxScoreMutatorSevenGoals:   "SevenGoals",
	MaxScoreMutatorTenGoals:     "TenGoals",
	MaxScoreMutatorTwentyGoals:  "TwentyGoals",
	MaxScoreMutatorThirtyGoals:  "ThirtyGoals",
	MaxScoreMutatorFortyGoals:   "FortyGoals",
	MaxScoreMutatorFiftyGoals:   "FiftyGoals",
	MaxScoreMutatorSixtyGoals:   "SixtyGoals",
	MaxScoreMutatorSeventyGoals: "SeventyGoals",
	MaxScoreMutatorEightyGoals:  "EightyGoals",
	MaxScoreMutatorNinetyGoals:  "NinetyGoals",
	MaxScoreMutatorHundredGoals: "HundredGoals",
}
View Source
var EnumNamesMaxTimeMutator = map[MaxTimeMutator]string{
	MaxTimeMutatorUnlimited:     "Unlimited",
	MaxTimeMutatorElevenMinutes: "ElevenMinutes",
}
View Source
var EnumNamesMultiBallMutator = map[MultiBallMutator]string{
	MultiBallMutatorOne:  "One",
	MultiBallMutatorTwo:  "Two",
	MultiBallMutatorFour: "Four",
	MultiBallMutatorSix:  "Six",
}
View Source
var EnumNamesOvertimeMutator = map[OvertimeMutator]string{
	OvertimeMutatorUnlimited:         "Unlimited",
	OvertimeMutatorFiveMaxFirstScore: "FiveMaxFirstScore",
	OvertimeMutatorFiveMaxRandomTeam: "FiveMaxRandomTeam",
}
View Source
var EnumNamesPlayerClass = map[PlayerClass]string{
	PlayerClassNONE:        "NONE",
	PlayerClassCustomBot:   "CustomBot",
	PlayerClassHuman:       "Human",
	PlayerClassPsyonix:     "Psyonix",
	PlayerClassPartyMember: "PartyMember",
}
View Source
var EnumNamesPsyonixSkill = map[PsyonixSkill]string{
	PsyonixSkillBeginner: "Beginner",
	PsyonixSkillRookie:   "Rookie",
	PsyonixSkillPro:      "Pro",
	PsyonixSkillAllStar:  "AllStar",
}
View Source
var EnumNamesRelativeAnchor = map[RelativeAnchor]string{
	RelativeAnchorNONE:       "NONE",
	RelativeAnchorBallAnchor: "BallAnchor",
	RelativeAnchorCarAnchor:  "CarAnchor",
}
View Source
var EnumNamesRenderType = map[RenderType]string{
	RenderTypeNONE:       "NONE",
	RenderTypeLine3D:     "Line3D",
	RenderTypePolyLine3D: "PolyLine3D",
	RenderTypeString2D:   "String2D",
	RenderTypeString3D:   "String3D",
	RenderTypeRect2D:     "Rect2D",
	RenderTypeRect3D:     "Rect3D",
}
View Source
var EnumNamesRespawnTimeMutator = map[RespawnTimeMutator]string{
	RespawnTimeMutatorThreeSeconds:     "ThreeSeconds",
	RespawnTimeMutatorTwoSeconds:       "TwoSeconds",
	RespawnTimeMutatorOneSecond:        "OneSecond",
	RespawnTimeMutatorDisableGoalReset: "DisableGoalReset",
}
View Source
var EnumNamesRumbleMutator = map[RumbleMutator]string{
	RumbleMutatorOff:              "Off",
	RumbleMutatorDefaultRumble:    "DefaultRumble",
	RumbleMutatorSlow:             "Slow",
	RumbleMutatorCivilized:        "Civilized",
	RumbleMutatorDestructionDerby: "DestructionDerby",
	RumbleMutatorSpringLoaded:     "SpringLoaded",
	RumbleMutatorSpikesOnly:       "SpikesOnly",
	RumbleMutatorSpikeRush:        "SpikeRush",
	RumbleMutatorHauntedBallBeam:  "HauntedBallBeam",
	RumbleMutatorTactical:         "Tactical",
	RumbleMutatorBatmanRumble:     "BatmanRumble",
	RumbleMutatorGrapplingOnly:    "GrapplingOnly",
	RumbleMutatorHaymakerOnly:     "HaymakerOnly",
}
View Source
var EnumNamesSeriesLengthMutator = map[SeriesLengthMutator]string{
	SeriesLengthMutatorUnlimited:  "Unlimited",
	SeriesLengthMutatorThreeGames: "ThreeGames",
	SeriesLengthMutatorFiveGames:  "FiveGames",
	SeriesLengthMutatorSevenGames: "SevenGames",
}
View Source
var EnumNamesStaleBallMutator = map[StaleBallMutator]string{
	StaleBallMutatorUnlimited:     "Unlimited",
	StaleBallMutatorThirtySeconds: "ThirtySeconds",
}
View Source
var EnumNamesTerritoryMutator = map[TerritoryMutator]string{
	TerritoryMutatorOff:       "Off",
	TerritoryMutatorTerritory: "Territory",
}
View Source
var EnumNamesTextHAlign = map[TextHAlign]string{
	TextHAlignLeft:   "Left",
	TextHAlignCenter: "Center",
	TextHAlignRight:  "Right",
}
View Source
var EnumNamesTextVAlign = map[TextVAlign]string{
	TextVAlignTop:    "Top",
	TextVAlignCenter: "Center",
	TextVAlignBottom: "Bottom",
}
View Source
var EnumValuesAirState = map[string]AirState{
	"OnGround":      AirStateOnGround,
	"Jumping":       AirStateJumping,
	"DoubleJumping": AirStateDoubleJumping,
	"Dodging":       AirStateDodging,
	"InAir":         AirStateInAir,
}
View Source
var EnumValuesAudioMutator = map[string]AudioMutator{
	"Default": AudioMutatorDefault,
	"Haunted": AudioMutatorHaunted,
}
View Source
var EnumValuesBallGravityMutator = map[string]BallGravityMutator{
	"Default":   BallGravityMutatorDefault,
	"Low":       BallGravityMutatorLow,
	"High":      BallGravityMutatorHigh,
	"SuperHigh": BallGravityMutatorSuperHigh,
}
View Source
var EnumValuesBallMaxSpeedMutator = map[string]BallMaxSpeedMutator{
	"Default":   BallMaxSpeedMutatorDefault,
	"Slow":      BallMaxSpeedMutatorSlow,
	"Fast":      BallMaxSpeedMutatorFast,
	"SuperFast": BallMaxSpeedMutatorSuperFast,
}
View Source
var EnumValuesBallSizeMutator = map[string]BallSizeMutator{
	"Default":  BallSizeMutatorDefault,
	"Small":    BallSizeMutatorSmall,
	"Medium":   BallSizeMutatorMedium,
	"Large":    BallSizeMutatorLarge,
	"Gigantic": BallSizeMutatorGigantic,
}
View Source
var EnumValuesBallTypeMutator = map[string]BallTypeMutator{
	"Default":       BallTypeMutatorDefault,
	"Cube":          BallTypeMutatorCube,
	"Puck":          BallTypeMutatorPuck,
	"Basketball":    BallTypeMutatorBasketball,
	"Beachball":     BallTypeMutatorBeachball,
	"Anniversary":   BallTypeMutatorAnniversary,
	"Haunted":       BallTypeMutatorHaunted,
	"Ekin":          BallTypeMutatorEkin,
	"SpookyCube":    BallTypeMutatorSpookyCube,
	"Egg":           BallTypeMutatorEgg,
	"PlayerSeeking": BallTypeMutatorPlayerSeeking,
	"Dropshot":      BallTypeMutatorDropshot,
	"ScoreAbsorb":   BallTypeMutatorScoreAbsorb,
}
View Source
var EnumValuesBallWeightMutator = map[string]BallWeightMutator{
	"Default":        BallWeightMutatorDefault,
	"Light":          BallWeightMutatorLight,
	"Heavy":          BallWeightMutatorHeavy,
	"SuperLight":     BallWeightMutatorSuperLight,
	"CurveBall":      BallWeightMutatorCurveBall,
	"BeachBallCurve": BallWeightMutatorBeachBallCurve,
	"MagnusFutBall":  BallWeightMutatorMagnusFutBall,
}
View Source
var EnumValuesBoostAmountMutator = map[string]BoostAmountMutator{
	"NormalBoost":    BoostAmountMutatorNormalBoost,
	"UnlimitedBoost": BoostAmountMutatorUnlimitedBoost,
	"SlowRecharge":   BoostAmountMutatorSlowRecharge,
	"RapidRecharge":  BoostAmountMutatorRapidRecharge,
	"NoBoost":        BoostAmountMutatorNoBoost,
}
View Source
var EnumValuesCollisionShape = map[string]CollisionShape{
	"NONE":          CollisionShapeNONE,
	"BoxShape":      CollisionShapeBoxShape,
	"SphereShape":   CollisionShapeSphereShape,
	"CylinderShape": CollisionShapeCylinderShape,
}
View Source
var EnumValuesDemolishMutator = map[string]DemolishMutator{
	"Default":         DemolishMutatorDefault,
	"Disabled":        DemolishMutatorDisabled,
	"FriendlyFire":    DemolishMutatorFriendlyFire,
	"OnContact":       DemolishMutatorOnContact,
	"OnContactFF":     DemolishMutatorOnContactFF,
	"OnBallContact":   DemolishMutatorOnBallContact,
	"OnBallContactFF": DemolishMutatorOnBallContactFF,
}
View Source
var EnumValuesDodgeTimerMutator = map[string]DodgeTimerMutator{
	"OnePointTwentyFiveSeconds": DodgeTimerMutatorOnePointTwentyFiveSeconds,
	"TwoSeconds":                DodgeTimerMutatorTwoSeconds,
	"ThreeSeconds":              DodgeTimerMutatorThreeSeconds,
	"Unlimited":                 DodgeTimerMutatorUnlimited,
}
View Source
var EnumValuesExistingMatchBehavior = map[string]ExistingMatchBehavior{
	"Restart":            ExistingMatchBehaviorRestart,
	"ContinueAndSpawn":   ExistingMatchBehaviorContinueAndSpawn,
	"RestartIfDifferent": ExistingMatchBehaviorRestartIfDifferent,
}
View Source
var EnumValuesGameEventMutator = map[string]GameEventMutator{
	"Default": GameEventMutatorDefault,
	"Haunted": GameEventMutatorHaunted,
	"Rugby":   GameEventMutatorRugby,
}
View Source
var EnumValuesGameMode = map[string]GameMode{
	"Soccer":     GameModeSoccer,
	"Hoops":      GameModeHoops,
	"Dropshot":   GameModeDropshot,
	"Hockey":     GameModeHockey,
	"Rumble":     GameModeRumble,
	"Heatseeker": GameModeHeatseeker,
	"Gridiron":   GameModeGridiron,
	"Knockout":   GameModeKnockout,
}
View Source
var EnumValuesGameSpeedMutator = map[string]GameSpeedMutator{
	"Default":  GameSpeedMutatorDefault,
	"SloMo":    GameSpeedMutatorSloMo,
	"TimeWarp": GameSpeedMutatorTimeWarp,
}
View Source
var EnumValuesGravityMutator = map[string]GravityMutator{
	"Default":   GravityMutatorDefault,
	"Low":       GravityMutatorLow,
	"High":      GravityMutatorHigh,
	"SuperHigh": GravityMutatorSuperHigh,
	"Reverse":   GravityMutatorReverse,
}
View Source
var EnumValuesInputRestrictionMutator = map[string]InputRestrictionMutator{
	"Default":   InputRestrictionMutatorDefault,
	"Backwards": InputRestrictionMutatorBackwards,
}
View Source
var EnumValuesJumpMutator = map[string]JumpMutator{
	"Default":   JumpMutatorDefault,
	"Grounded":  JumpMutatorGrounded,
	"Two":       JumpMutatorTwo,
	"Three":     JumpMutatorThree,
	"Four":      JumpMutatorFour,
	"Unlimited": JumpMutatorUnlimited,
	"NoJumps":   JumpMutatorNoJumps,
}
View Source
var EnumValuesLauncher = map[string]Launcher{
	"Steam":    LauncherSteam,
	"Epic":     LauncherEpic,
	"Custom":   LauncherCustom,
	"NoLaunch": LauncherNoLaunch,
}
View Source
var EnumValuesMatchLengthMutator = map[string]MatchLengthMutator{
	"FiveMinutes":   MatchLengthMutatorFiveMinutes,
	"TenMinutes":    MatchLengthMutatorTenMinutes,
	"TwentyMinutes": MatchLengthMutatorTwentyMinutes,
	"Unlimited":     MatchLengthMutatorUnlimited,
}
View Source
var EnumValuesMatchPhase = map[string]MatchPhase{
	"Inactive":   MatchPhaseInactive,
	"Countdown":  MatchPhaseCountdown,
	"Kickoff":    MatchPhaseKickoff,
	"Active":     MatchPhaseActive,
	"GoalScored": MatchPhaseGoalScored,
	"Replay":     MatchPhaseReplay,
	"Paused":     MatchPhasePaused,
	"Ended":      MatchPhaseEnded,
}
View Source
var EnumValuesMaxScoreMutator = map[string]MaxScoreMutator{
	"Unlimited":    MaxScoreMutatorUnlimited,
	"OneGoal":      MaxScoreMutatorOneGoal,
	"ThreeGoals":   MaxScoreMutatorThreeGoals,
	"FiveGoals":    MaxScoreMutatorFiveGoals,
	"SevenGoals":   MaxScoreMutatorSevenGoals,
	"TenGoals":     MaxScoreMutatorTenGoals,
	"TwentyGoals":  MaxScoreMutatorTwentyGoals,
	"ThirtyGoals":  MaxScoreMutatorThirtyGoals,
	"FortyGoals":   MaxScoreMutatorFortyGoals,
	"FiftyGoals":   MaxScoreMutatorFiftyGoals,
	"SixtyGoals":   MaxScoreMutatorSixtyGoals,
	"SeventyGoals": MaxScoreMutatorSeventyGoals,
	"EightyGoals":  MaxScoreMutatorEightyGoals,
	"NinetyGoals":  MaxScoreMutatorNinetyGoals,
	"HundredGoals": MaxScoreMutatorHundredGoals,
}
View Source
var EnumValuesMaxTimeMutator = map[string]MaxTimeMutator{
	"Unlimited":     MaxTimeMutatorUnlimited,
	"ElevenMinutes": MaxTimeMutatorElevenMinutes,
}
View Source
var EnumValuesMultiBallMutator = map[string]MultiBallMutator{
	"One":  MultiBallMutatorOne,
	"Two":  MultiBallMutatorTwo,
	"Four": MultiBallMutatorFour,
	"Six":  MultiBallMutatorSix,
}
View Source
var EnumValuesOvertimeMutator = map[string]OvertimeMutator{
	"Unlimited":         OvertimeMutatorUnlimited,
	"FiveMaxFirstScore": OvertimeMutatorFiveMaxFirstScore,
	"FiveMaxRandomTeam": OvertimeMutatorFiveMaxRandomTeam,
}
View Source
var EnumValuesPlayerClass = map[string]PlayerClass{
	"NONE":        PlayerClassNONE,
	"CustomBot":   PlayerClassCustomBot,
	"Human":       PlayerClassHuman,
	"Psyonix":     PlayerClassPsyonix,
	"PartyMember": PlayerClassPartyMember,
}
View Source
var EnumValuesPossessionScoreMutator = map[string]PossessionScoreMutator{
	"Off":          PossessionScoreMutatorOff,
	"OneSecond":    PossessionScoreMutatorOneSecond,
	"TwoSeconds":   PossessionScoreMutatorTwoSeconds,
	"ThreeSeconds": PossessionScoreMutatorThreeSeconds,
}
View Source
var EnumValuesPsyonixSkill = map[string]PsyonixSkill{
	"Beginner": PsyonixSkillBeginner,
	"Rookie":   PsyonixSkillRookie,
	"Pro":      PsyonixSkillPro,
	"AllStar":  PsyonixSkillAllStar,
}
View Source
var EnumValuesRelativeAnchor = map[string]RelativeAnchor{
	"NONE":       RelativeAnchorNONE,
	"BallAnchor": RelativeAnchorBallAnchor,
	"CarAnchor":  RelativeAnchorCarAnchor,
}
View Source
var EnumValuesRenderType = map[string]RenderType{
	"NONE":       RenderTypeNONE,
	"Line3D":     RenderTypeLine3D,
	"PolyLine3D": RenderTypePolyLine3D,
	"String2D":   RenderTypeString2D,
	"String3D":   RenderTypeString3D,
	"Rect2D":     RenderTypeRect2D,
	"Rect3D":     RenderTypeRect3D,
}
View Source
var EnumValuesRespawnTimeMutator = map[string]RespawnTimeMutator{
	"ThreeSeconds":     RespawnTimeMutatorThreeSeconds,
	"TwoSeconds":       RespawnTimeMutatorTwoSeconds,
	"OneSecond":        RespawnTimeMutatorOneSecond,
	"DisableGoalReset": RespawnTimeMutatorDisableGoalReset,
}
View Source
var EnumValuesRumbleMutator = map[string]RumbleMutator{
	"Off":              RumbleMutatorOff,
	"DefaultRumble":    RumbleMutatorDefaultRumble,
	"Slow":             RumbleMutatorSlow,
	"Civilized":        RumbleMutatorCivilized,
	"DestructionDerby": RumbleMutatorDestructionDerby,
	"SpringLoaded":     RumbleMutatorSpringLoaded,
	"SpikesOnly":       RumbleMutatorSpikesOnly,
	"SpikeRush":        RumbleMutatorSpikeRush,
	"HauntedBallBeam":  RumbleMutatorHauntedBallBeam,
	"Tactical":         RumbleMutatorTactical,
	"BatmanRumble":     RumbleMutatorBatmanRumble,
	"GrapplingOnly":    RumbleMutatorGrapplingOnly,
	"HaymakerOnly":     RumbleMutatorHaymakerOnly,
}
View Source
var EnumValuesSeriesLengthMutator = map[string]SeriesLengthMutator{
	"Unlimited":  SeriesLengthMutatorUnlimited,
	"ThreeGames": SeriesLengthMutatorThreeGames,
	"FiveGames":  SeriesLengthMutatorFiveGames,
	"SevenGames": SeriesLengthMutatorSevenGames,
}
View Source
var EnumValuesStaleBallMutator = map[string]StaleBallMutator{
	"Unlimited":     StaleBallMutatorUnlimited,
	"ThirtySeconds": StaleBallMutatorThirtySeconds,
}
View Source
var EnumValuesTerritoryMutator = map[string]TerritoryMutator{
	"Off":       TerritoryMutatorOff,
	"Territory": TerritoryMutatorTerritory,
}
View Source
var EnumValuesTextHAlign = map[string]TextHAlign{
	"Left":   TextHAlignLeft,
	"Center": TextHAlignCenter,
	"Right":  TextHAlignRight,
}
View Source
var EnumValuesTextVAlign = map[string]TextVAlign{
	"Top":    TextVAlignTop,
	"Center": TextVAlignCenter,
	"Bottom": TextVAlignBottom,
}

Functions

func BallAnchorAddIndex

func BallAnchorAddIndex(builder *flatbuffers.Builder, index uint32)

func BallAnchorAddLocal

func BallAnchorAddLocal(builder *flatbuffers.Builder, local flatbuffers.UOffsetT)

func BallAnchorEnd

func BallAnchorEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BallAnchorStart

func BallAnchorStart(builder *flatbuffers.Builder)

/ An offset in local coordinates. / x is forwards, y is left, and z is up.

func BallInfoAddPhysics

func BallInfoAddPhysics(builder *flatbuffers.Builder, physics flatbuffers.UOffsetT)

func BallInfoAddShape

func BallInfoAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)

func BallInfoAddShapeType

func BallInfoAddShapeType(builder *flatbuffers.Builder, shapeType CollisionShape)

func BallInfoEnd

func BallInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BallInfoStart

func BallInfoStart(builder *flatbuffers.Builder)

/ The collision shape of the ball.

func BallPredictionAddSlices

func BallPredictionAddSlices(builder *flatbuffers.Builder, slices flatbuffers.UOffsetT)

func BallPredictionEnd

func BallPredictionEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BallPredictionStart

func BallPredictionStart(builder *flatbuffers.Builder)

/ A list of predicted states of the ball at specific times in the future, assuming no collision with cars. / The beginning of the list is now, and the end is 6 seconds into the future. / The prediction is made at 120 Hz, resulting in 720 entries.

func BallPredictionStartSlicesVector

func BallPredictionStartSlicesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func BoostPadAddIsFullBoost

func BoostPadAddIsFullBoost(builder *flatbuffers.Builder, isFullBoost bool)

func BoostPadAddLocation

func BoostPadAddLocation(builder *flatbuffers.Builder, location flatbuffers.UOffsetT)

func BoostPadEnd

func BoostPadEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BoostPadStart

func BoostPadStart(builder *flatbuffers.Builder)

func BoxShapeAddHeight

func BoxShapeAddHeight(builder *flatbuffers.Builder, height float32)

func BoxShapeAddLength

func BoxShapeAddLength(builder *flatbuffers.Builder, length float32)

func BoxShapeAddWidth

func BoxShapeAddWidth(builder *flatbuffers.Builder, width float32)

func BoxShapeEnd

func BoxShapeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func BoxShapeStart

func BoxShapeStart(builder *flatbuffers.Builder)

func CarAnchorAddIndex

func CarAnchorAddIndex(builder *flatbuffers.Builder, index uint32)

func CarAnchorAddLocal

func CarAnchorAddLocal(builder *flatbuffers.Builder, local flatbuffers.UOffsetT)

func CarAnchorEnd

func CarAnchorEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CarAnchorStart

func CarAnchorStart(builder *flatbuffers.Builder)

/ An offset in local coordinates. / x is forwards, y is left, and z is up.

func ConnectionSettingsAddAgentId

func ConnectionSettingsAddAgentId(builder *flatbuffers.Builder, agentId flatbuffers.UOffsetT)

func ConnectionSettingsAddCloseBetweenMatches

func ConnectionSettingsAddCloseBetweenMatches(builder *flatbuffers.Builder, closeBetweenMatches bool)

func ConnectionSettingsAddWantsBallPredictions

func ConnectionSettingsAddWantsBallPredictions(builder *flatbuffers.Builder, wantsBallPredictions bool)

func ConnectionSettingsAddWantsComms

func ConnectionSettingsAddWantsComms(builder *flatbuffers.Builder, wantsComms bool)

func ConnectionSettingsEnd

func ConnectionSettingsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ConnectionSettingsStart

func ConnectionSettingsStart(builder *flatbuffers.Builder)

func ConsoleCommandAddCommand

func ConsoleCommandAddCommand(builder *flatbuffers.Builder, command flatbuffers.UOffsetT)

func ConsoleCommandEnd

func ConsoleCommandEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ConsoleCommandStart

func ConsoleCommandStart(builder *flatbuffers.Builder)

func ControllableInfoAddIndex

func ControllableInfoAddIndex(builder *flatbuffers.Builder, index uint32)

func ControllableInfoAddSpawnId

func ControllableInfoAddSpawnId(builder *flatbuffers.Builder, spawnId int32)

func ControllableInfoEnd

func ControllableInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ControllableInfoStart

func ControllableInfoStart(builder *flatbuffers.Builder)

func ControllableTeamInfoAddControllables

func ControllableTeamInfoAddControllables(builder *flatbuffers.Builder, controllables flatbuffers.UOffsetT)

func ControllableTeamInfoAddTeam

func ControllableTeamInfoAddTeam(builder *flatbuffers.Builder, team uint32)

func ControllableTeamInfoEnd

func ControllableTeamInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ControllableTeamInfoStart

func ControllableTeamInfoStart(builder *flatbuffers.Builder)

/ The bots that RLBot will allow this client to control.

func ControllableTeamInfoStartControllablesVector

func ControllableTeamInfoStartControllablesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CreateBool

func CreateBool(builder *flatbuffers.Builder, val bool) flatbuffers.UOffsetT

func CreateBoostPadState

func CreateBoostPadState(builder *flatbuffers.Builder, isActive bool, timer float32) flatbuffers.UOffsetT

func CreateColor

func CreateColor(builder *flatbuffers.Builder, r byte, g byte, b byte, a byte) flatbuffers.UOffsetT

func CreateControllerState

func CreateControllerState(builder *flatbuffers.Builder, throttle float32, steer float32, pitch float32, yaw float32, roll float32, jump bool, boost bool, handbrake bool, useItem bool) flatbuffers.UOffsetT

func CreateFloat

func CreateFloat(builder *flatbuffers.Builder, val float32) flatbuffers.UOffsetT

func CreatePhysics

func CreatePhysics(builder *flatbuffers.Builder, location_x float32, location_y float32, location_z float32, rotation_pitch float32, rotation_yaw float32, rotation_roll float32, velocity_x float32, velocity_y float32, velocity_z float32, angular_velocity_x float32, angular_velocity_y float32, angular_velocity_z float32) flatbuffers.UOffsetT

func CreatePredictionSlice

func CreatePredictionSlice(builder *flatbuffers.Builder, gameSeconds float32, physics_location_x float32, physics_location_y float32, physics_location_z float32, physics_rotation_pitch float32, physics_rotation_yaw float32, physics_rotation_roll float32, physics_velocity_x float32, physics_velocity_y float32, physics_velocity_z float32, physics_angular_velocity_x float32, physics_angular_velocity_y float32, physics_angular_velocity_z float32) flatbuffers.UOffsetT

func CreateRotator

func CreateRotator(builder *flatbuffers.Builder, pitch float32, yaw float32, roll float32) flatbuffers.UOffsetT

func CreateScoreInfo

func CreateScoreInfo(builder *flatbuffers.Builder, score uint32, goals uint32, ownGoals uint32, assists uint32, saves uint32, shots uint32, demolitions uint32) flatbuffers.UOffsetT

func CreateTeamInfo

func CreateTeamInfo(builder *flatbuffers.Builder, teamIndex uint32, score uint32) flatbuffers.UOffsetT

func CreateVector2

func CreateVector2(builder *flatbuffers.Builder, x float32, y float32) flatbuffers.UOffsetT

func CreateVector3

func CreateVector3(builder *flatbuffers.Builder, x float32, y float32, z float32) flatbuffers.UOffsetT

func CustomBotEnd

func CustomBotEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CustomBotStart

func CustomBotStart(builder *flatbuffers.Builder)

func CylinderShapeAddDiameter

func CylinderShapeAddDiameter(builder *flatbuffers.Builder, diameter float32)

func CylinderShapeAddHeight

func CylinderShapeAddHeight(builder *flatbuffers.Builder, height float32)

func CylinderShapeEnd

func CylinderShapeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CylinderShapeStart

func CylinderShapeStart(builder *flatbuffers.Builder)

func DesiredBallStateAddPhysics

func DesiredBallStateAddPhysics(builder *flatbuffers.Builder, physics flatbuffers.UOffsetT)

func DesiredBallStateEnd

func DesiredBallStateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DesiredBallStateStart

func DesiredBallStateStart(builder *flatbuffers.Builder)

func DesiredCarStateAddBoostAmount

func DesiredCarStateAddBoostAmount(builder *flatbuffers.Builder, boostAmount flatbuffers.UOffsetT)

func DesiredCarStateAddPhysics

func DesiredCarStateAddPhysics(builder *flatbuffers.Builder, physics flatbuffers.UOffsetT)

func DesiredCarStateEnd

func DesiredCarStateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DesiredCarStateStart

func DesiredCarStateStart(builder *flatbuffers.Builder)

func DesiredGameStateAddBallStates

func DesiredGameStateAddBallStates(builder *flatbuffers.Builder, ballStates flatbuffers.UOffsetT)

func DesiredGameStateAddCarStates

func DesiredGameStateAddCarStates(builder *flatbuffers.Builder, carStates flatbuffers.UOffsetT)

func DesiredGameStateAddConsoleCommands

func DesiredGameStateAddConsoleCommands(builder *flatbuffers.Builder, consoleCommands flatbuffers.UOffsetT)

func DesiredGameStateAddMatchInfo

func DesiredGameStateAddMatchInfo(builder *flatbuffers.Builder, matchInfo flatbuffers.UOffsetT)

func DesiredGameStateEnd

func DesiredGameStateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DesiredGameStateStart

func DesiredGameStateStart(builder *flatbuffers.Builder)

/ A list of console commands to execute. / See https://wiki.rlbot.org/framework/console-commands/ for a list of known commands.

func DesiredGameStateStartBallStatesVector

func DesiredGameStateStartBallStatesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DesiredGameStateStartCarStatesVector

func DesiredGameStateStartCarStatesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DesiredGameStateStartConsoleCommandsVector

func DesiredGameStateStartConsoleCommandsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DesiredMatchInfoAddGameSpeed

func DesiredMatchInfoAddGameSpeed(builder *flatbuffers.Builder, gameSpeed flatbuffers.UOffsetT)

func DesiredMatchInfoAddWorldGravityZ

func DesiredMatchInfoAddWorldGravityZ(builder *flatbuffers.Builder, worldGravityZ flatbuffers.UOffsetT)

func DesiredMatchInfoEnd

func DesiredMatchInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DesiredMatchInfoStart

func DesiredMatchInfoStart(builder *flatbuffers.Builder)

/ The game speed. Default is 1.0.

func DesiredPhysicsAddAngularVelocity

func DesiredPhysicsAddAngularVelocity(builder *flatbuffers.Builder, angularVelocity flatbuffers.UOffsetT)

func DesiredPhysicsAddLocation

func DesiredPhysicsAddLocation(builder *flatbuffers.Builder, location flatbuffers.UOffsetT)

func DesiredPhysicsAddRotation

func DesiredPhysicsAddRotation(builder *flatbuffers.Builder, rotation flatbuffers.UOffsetT)

func DesiredPhysicsAddVelocity

func DesiredPhysicsAddVelocity(builder *flatbuffers.Builder, velocity flatbuffers.UOffsetT)

func DesiredPhysicsEnd

func DesiredPhysicsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DesiredPhysicsStart

func DesiredPhysicsStart(builder *flatbuffers.Builder)

func FieldInfoAddBoostPads

func FieldInfoAddBoostPads(builder *flatbuffers.Builder, boostPads flatbuffers.UOffsetT)

func FieldInfoAddGoals

func FieldInfoAddGoals(builder *flatbuffers.Builder, goals flatbuffers.UOffsetT)

func FieldInfoEnd

func FieldInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func FieldInfoStart

func FieldInfoStart(builder *flatbuffers.Builder)

/ Information about the goals on the field.

func FieldInfoStartBoostPadsVector

func FieldInfoStartBoostPadsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func FieldInfoStartGoalsVector

func FieldInfoStartGoalsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func FinishBallAnchorBuffer

func FinishBallAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishBallInfoBuffer

func FinishBallInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishBallPredictionBuffer

func FinishBallPredictionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishBoostPadBuffer

func FinishBoostPadBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishBoxShapeBuffer

func FinishBoxShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishCarAnchorBuffer

func FinishCarAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishConnectionSettingsBuffer

func FinishConnectionSettingsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishConsoleCommandBuffer

func FinishConsoleCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishControllableInfoBuffer

func FinishControllableInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishControllableTeamInfoBuffer

func FinishControllableTeamInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishCustomBotBuffer

func FinishCustomBotBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishCylinderShapeBuffer

func FinishCylinderShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishDesiredBallStateBuffer

func FinishDesiredBallStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishDesiredCarStateBuffer

func FinishDesiredCarStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishDesiredGameStateBuffer

func FinishDesiredGameStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishDesiredMatchInfoBuffer

func FinishDesiredMatchInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishDesiredPhysicsBuffer

func FinishDesiredPhysicsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishFieldInfoBuffer

func FinishFieldInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishGamePacketBuffer

func FinishGamePacketBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishGoalInfoBuffer

func FinishGoalInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishHumanBuffer

func FinishHumanBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishLine3DBuffer

func FinishLine3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishLoadoutPaintBuffer

func FinishLoadoutPaintBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishMatchCommBuffer

func FinishMatchCommBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishMatchConfigurationBuffer

func FinishMatchConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishMatchInfoBuffer

func FinishMatchInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishMutatorSettingsBuffer

func FinishMutatorSettingsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPartyMemberBuffer

func FinishPartyMemberBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPlayerConfigurationBuffer

func FinishPlayerConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPlayerInfoBuffer

func FinishPlayerInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPlayerInputBuffer

func FinishPlayerInputBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPlayerLoadoutBuffer

func FinishPlayerLoadoutBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPolyLine3DBuffer

func FinishPolyLine3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishPsyonixBuffer

func FinishPsyonixBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRect2DBuffer

func FinishRect2DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRect3DBuffer

func FinishRect3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRemoveRenderGroupBuffer

func FinishRemoveRenderGroupBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRenderAnchorBuffer

func FinishRenderAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRenderGroupBuffer

func FinishRenderGroupBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRenderMessageBuffer

func FinishRenderMessageBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishRotatorPartialBuffer

func FinishRotatorPartialBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishScriptConfigurationBuffer

func FinishScriptConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSetLoadoutBuffer

func FinishSetLoadoutBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedBallAnchorBuffer

func FinishSizePrefixedBallAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedBallInfoBuffer

func FinishSizePrefixedBallInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedBallPredictionBuffer

func FinishSizePrefixedBallPredictionBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedBoostPadBuffer

func FinishSizePrefixedBoostPadBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedBoxShapeBuffer

func FinishSizePrefixedBoxShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedCarAnchorBuffer

func FinishSizePrefixedCarAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedConnectionSettingsBuffer

func FinishSizePrefixedConnectionSettingsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedConsoleCommandBuffer

func FinishSizePrefixedConsoleCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedControllableInfoBuffer

func FinishSizePrefixedControllableInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedControllableTeamInfoBuffer

func FinishSizePrefixedControllableTeamInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedCustomBotBuffer

func FinishSizePrefixedCustomBotBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedCylinderShapeBuffer

func FinishSizePrefixedCylinderShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedDesiredBallStateBuffer

func FinishSizePrefixedDesiredBallStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedDesiredCarStateBuffer

func FinishSizePrefixedDesiredCarStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedDesiredGameStateBuffer

func FinishSizePrefixedDesiredGameStateBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedDesiredMatchInfoBuffer

func FinishSizePrefixedDesiredMatchInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedDesiredPhysicsBuffer

func FinishSizePrefixedDesiredPhysicsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedFieldInfoBuffer

func FinishSizePrefixedFieldInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedGamePacketBuffer

func FinishSizePrefixedGamePacketBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedGoalInfoBuffer

func FinishSizePrefixedGoalInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedHumanBuffer

func FinishSizePrefixedHumanBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedLine3DBuffer

func FinishSizePrefixedLine3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedLoadoutPaintBuffer

func FinishSizePrefixedLoadoutPaintBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedMatchCommBuffer

func FinishSizePrefixedMatchCommBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedMatchConfigurationBuffer

func FinishSizePrefixedMatchConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedMatchInfoBuffer

func FinishSizePrefixedMatchInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedMutatorSettingsBuffer

func FinishSizePrefixedMutatorSettingsBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPartyMemberBuffer

func FinishSizePrefixedPartyMemberBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPlayerConfigurationBuffer

func FinishSizePrefixedPlayerConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPlayerInfoBuffer

func FinishSizePrefixedPlayerInfoBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPlayerInputBuffer

func FinishSizePrefixedPlayerInputBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPlayerLoadoutBuffer

func FinishSizePrefixedPlayerLoadoutBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPolyLine3DBuffer

func FinishSizePrefixedPolyLine3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedPsyonixBuffer

func FinishSizePrefixedPsyonixBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRect2DBuffer

func FinishSizePrefixedRect2DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRect3DBuffer

func FinishSizePrefixedRect3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRemoveRenderGroupBuffer

func FinishSizePrefixedRemoveRenderGroupBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRenderAnchorBuffer

func FinishSizePrefixedRenderAnchorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRenderGroupBuffer

func FinishSizePrefixedRenderGroupBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRenderMessageBuffer

func FinishSizePrefixedRenderMessageBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedRotatorPartialBuffer

func FinishSizePrefixedRotatorPartialBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedScriptConfigurationBuffer

func FinishSizePrefixedScriptConfigurationBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedSetLoadoutBuffer

func FinishSizePrefixedSetLoadoutBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedSphereShapeBuffer

func FinishSizePrefixedSphereShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedStartCommandBuffer

func FinishSizePrefixedStartCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedStopCommandBuffer

func FinishSizePrefixedStopCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedString2DBuffer

func FinishSizePrefixedString2DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedString3DBuffer

func FinishSizePrefixedString3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedTouchBuffer

func FinishSizePrefixedTouchBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSizePrefixedVector3PartialBuffer

func FinishSizePrefixedVector3PartialBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishSphereShapeBuffer

func FinishSphereShapeBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishStartCommandBuffer

func FinishStartCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishStopCommandBuffer

func FinishStopCommandBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishString2DBuffer

func FinishString2DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishString3DBuffer

func FinishString3DBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishTouchBuffer

func FinishTouchBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func FinishVector3PartialBuffer

func FinishVector3PartialBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT)

func GamePacketAddBalls

func GamePacketAddBalls(builder *flatbuffers.Builder, balls flatbuffers.UOffsetT)

func GamePacketAddBoostPads

func GamePacketAddBoostPads(builder *flatbuffers.Builder, boostPads flatbuffers.UOffsetT)

func GamePacketAddMatchInfo

func GamePacketAddMatchInfo(builder *flatbuffers.Builder, matchInfo flatbuffers.UOffsetT)

func GamePacketAddPlayers

func GamePacketAddPlayers(builder *flatbuffers.Builder, players flatbuffers.UOffsetT)

func GamePacketAddTeams

func GamePacketAddTeams(builder *flatbuffers.Builder, teams flatbuffers.UOffsetT)

func GamePacketEnd

func GamePacketEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func GamePacketStart

func GamePacketStart(builder *flatbuffers.Builder)

/ The current state of teams, i.e. the team scores.

func GamePacketStartBallsVector

func GamePacketStartBallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func GamePacketStartBoostPadsVector

func GamePacketStartBoostPadsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func GamePacketStartPlayersVector

func GamePacketStartPlayersVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func GamePacketStartTeamsVector

func GamePacketStartTeamsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func GoalInfoAddDirection

func GoalInfoAddDirection(builder *flatbuffers.Builder, direction flatbuffers.UOffsetT)

func GoalInfoAddHeight

func GoalInfoAddHeight(builder *flatbuffers.Builder, height float32)

func GoalInfoAddLocation

func GoalInfoAddLocation(builder *flatbuffers.Builder, location flatbuffers.UOffsetT)

func GoalInfoAddTeamNum

func GoalInfoAddTeamNum(builder *flatbuffers.Builder, teamNum int32)

func GoalInfoAddWidth

func GoalInfoAddWidth(builder *flatbuffers.Builder, width float32)

func GoalInfoEnd

func GoalInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func GoalInfoStart

func GoalInfoStart(builder *flatbuffers.Builder)

func HumanEnd

func HumanEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func HumanStart

func HumanStart(builder *flatbuffers.Builder)

func Line3DAddColor

func Line3DAddColor(builder *flatbuffers.Builder, color flatbuffers.UOffsetT)

func Line3DAddEnd

func Line3DAddEnd(builder *flatbuffers.Builder, end flatbuffers.UOffsetT)

func Line3DAddStart

func Line3DAddStart(builder *flatbuffers.Builder, start flatbuffers.UOffsetT)

func Line3DEnd

func Line3DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func Line3DStart

func Line3DStart(builder *flatbuffers.Builder)

func LoadoutPaintAddAntennaPaintId

func LoadoutPaintAddAntennaPaintId(builder *flatbuffers.Builder, antennaPaintId uint32)

func LoadoutPaintAddBoostPaintId

func LoadoutPaintAddBoostPaintId(builder *flatbuffers.Builder, boostPaintId uint32)

func LoadoutPaintAddCarPaintId

func LoadoutPaintAddCarPaintId(builder *flatbuffers.Builder, carPaintId uint32)

func LoadoutPaintAddDecalPaintId

func LoadoutPaintAddDecalPaintId(builder *flatbuffers.Builder, decalPaintId uint32)

func LoadoutPaintAddGoalExplosionPaintId

func LoadoutPaintAddGoalExplosionPaintId(builder *flatbuffers.Builder, goalExplosionPaintId uint32)

func LoadoutPaintAddHatPaintId

func LoadoutPaintAddHatPaintId(builder *flatbuffers.Builder, hatPaintId uint32)

func LoadoutPaintAddTrailsPaintId

func LoadoutPaintAddTrailsPaintId(builder *flatbuffers.Builder, trailsPaintId uint32)

func LoadoutPaintAddWheelsPaintId

func LoadoutPaintAddWheelsPaintId(builder *flatbuffers.Builder, wheelsPaintId uint32)

func LoadoutPaintEnd

func LoadoutPaintEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func LoadoutPaintStart

func LoadoutPaintStart(builder *flatbuffers.Builder)

func MatchCommAddContent

func MatchCommAddContent(builder *flatbuffers.Builder, content flatbuffers.UOffsetT)

func MatchCommAddDisplay

func MatchCommAddDisplay(builder *flatbuffers.Builder, display flatbuffers.UOffsetT)

func MatchCommAddIndex

func MatchCommAddIndex(builder *flatbuffers.Builder, index uint32)

func MatchCommAddTeam

func MatchCommAddTeam(builder *flatbuffers.Builder, team uint32)

func MatchCommAddTeamOnly

func MatchCommAddTeamOnly(builder *flatbuffers.Builder, teamOnly bool)

func MatchCommEnd

func MatchCommEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func MatchCommStart

func MatchCommStart(builder *flatbuffers.Builder)

func MatchCommStartContentVector

func MatchCommStartContentVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MatchConfigurationAddAutoSaveReplay

func MatchConfigurationAddAutoSaveReplay(builder *flatbuffers.Builder, autoSaveReplay bool)

func MatchConfigurationAddAutoStartAgents

func MatchConfigurationAddAutoStartAgents(builder *flatbuffers.Builder, autoStartAgents bool)

func MatchConfigurationAddEnableRendering

func MatchConfigurationAddEnableRendering(builder *flatbuffers.Builder, enableRendering bool)

func MatchConfigurationAddEnableStateSetting

func MatchConfigurationAddEnableStateSetting(builder *flatbuffers.Builder, enableStateSetting bool)

func MatchConfigurationAddExistingMatchBehavior

func MatchConfigurationAddExistingMatchBehavior(builder *flatbuffers.Builder, existingMatchBehavior ExistingMatchBehavior)

func MatchConfigurationAddFreeplay

func MatchConfigurationAddFreeplay(builder *flatbuffers.Builder, freeplay bool)

func MatchConfigurationAddGameMapUpk

func MatchConfigurationAddGameMapUpk(builder *flatbuffers.Builder, gameMapUpk flatbuffers.UOffsetT)

func MatchConfigurationAddGameMode

func MatchConfigurationAddGameMode(builder *flatbuffers.Builder, gameMode GameMode)

func MatchConfigurationAddInstantStart

func MatchConfigurationAddInstantStart(builder *flatbuffers.Builder, instantStart bool)

func MatchConfigurationAddLauncher

func MatchConfigurationAddLauncher(builder *flatbuffers.Builder, launcher Launcher)

func MatchConfigurationAddLauncherArg

func MatchConfigurationAddLauncherArg(builder *flatbuffers.Builder, launcherArg flatbuffers.UOffsetT)

func MatchConfigurationAddMutators

func MatchConfigurationAddMutators(builder *flatbuffers.Builder, mutators flatbuffers.UOffsetT)

func MatchConfigurationAddPlayerConfigurations

func MatchConfigurationAddPlayerConfigurations(builder *flatbuffers.Builder, playerConfigurations flatbuffers.UOffsetT)

func MatchConfigurationAddScriptConfigurations

func MatchConfigurationAddScriptConfigurations(builder *flatbuffers.Builder, scriptConfigurations flatbuffers.UOffsetT)

func MatchConfigurationAddSkipReplays

func MatchConfigurationAddSkipReplays(builder *flatbuffers.Builder, skipReplays bool)

func MatchConfigurationAddWaitForAgents

func MatchConfigurationAddWaitForAgents(builder *flatbuffers.Builder, waitForAgents bool)

func MatchConfigurationEnd

func MatchConfigurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func MatchConfigurationStart

func MatchConfigurationStart(builder *flatbuffers.Builder)

func MatchConfigurationStartPlayerConfigurationsVector

func MatchConfigurationStartPlayerConfigurationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MatchConfigurationStartScriptConfigurationsVector

func MatchConfigurationStartScriptConfigurationsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MatchInfoAddFrameNum

func MatchInfoAddFrameNum(builder *flatbuffers.Builder, frameNum uint32)

func MatchInfoAddGameSpeed

func MatchInfoAddGameSpeed(builder *flatbuffers.Builder, gameSpeed float32)

func MatchInfoAddGameTimeRemaining

func MatchInfoAddGameTimeRemaining(builder *flatbuffers.Builder, gameTimeRemaining float32)

func MatchInfoAddIsOvertime

func MatchInfoAddIsOvertime(builder *flatbuffers.Builder, isOvertime bool)

func MatchInfoAddIsUnlimitedTime

func MatchInfoAddIsUnlimitedTime(builder *flatbuffers.Builder, isUnlimitedTime bool)

func MatchInfoAddLastSpectated

func MatchInfoAddLastSpectated(builder *flatbuffers.Builder, lastSpectated uint32)

func MatchInfoAddMatchPhase

func MatchInfoAddMatchPhase(builder *flatbuffers.Builder, matchPhase MatchPhase)

func MatchInfoAddSecondsElapsed

func MatchInfoAddSecondsElapsed(builder *flatbuffers.Builder, secondsElapsed float32)

func MatchInfoAddWorldGravityZ

func MatchInfoAddWorldGravityZ(builder *flatbuffers.Builder, worldGravityZ float32)

func MatchInfoEnd

func MatchInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func MatchInfoStart

func MatchInfoStart(builder *flatbuffers.Builder)

func MutatorSettingsAddAerialGoalScore

func MutatorSettingsAddAerialGoalScore(builder *flatbuffers.Builder, aerialGoalScore AerialGoalScoreMutator)

func MutatorSettingsAddAssistGoalScore

func MutatorSettingsAddAssistGoalScore(builder *flatbuffers.Builder, assistGoalScore AssistGoalScoreMutator)

func MutatorSettingsAddAudio

func MutatorSettingsAddAudio(builder *flatbuffers.Builder, audio AudioMutator)

func MutatorSettingsAddBallBounciness

func MutatorSettingsAddBallBounciness(builder *flatbuffers.Builder, ballBounciness BallBouncinessMutator)

func MutatorSettingsAddBallGravity

func MutatorSettingsAddBallGravity(builder *flatbuffers.Builder, ballGravity BallGravityMutator)

func MutatorSettingsAddBallMaxSpeed

func MutatorSettingsAddBallMaxSpeed(builder *flatbuffers.Builder, ballMaxSpeed BallMaxSpeedMutator)

func MutatorSettingsAddBallSize

func MutatorSettingsAddBallSize(builder *flatbuffers.Builder, ballSize BallSizeMutator)

func MutatorSettingsAddBallType

func MutatorSettingsAddBallType(builder *flatbuffers.Builder, ballType BallTypeMutator)

func MutatorSettingsAddBallWeight

func MutatorSettingsAddBallWeight(builder *flatbuffers.Builder, ballWeight BallWeightMutator)

func MutatorSettingsAddBoostAmount

func MutatorSettingsAddBoostAmount(builder *flatbuffers.Builder, boostAmount BoostAmountMutator)

func MutatorSettingsAddBoostStrength

func MutatorSettingsAddBoostStrength(builder *flatbuffers.Builder, boostStrength BoostStrengthMutator)

func MutatorSettingsAddDemolish

func MutatorSettingsAddDemolish(builder *flatbuffers.Builder, demolish DemolishMutator)

func MutatorSettingsAddDemolishScore

func MutatorSettingsAddDemolishScore(builder *flatbuffers.Builder, demolishScore DemolishScoreMutator)

func MutatorSettingsAddDodgeTimer

func MutatorSettingsAddDodgeTimer(builder *flatbuffers.Builder, dodgeTimer DodgeTimerMutator)

func MutatorSettingsAddGameEvent

func MutatorSettingsAddGameEvent(builder *flatbuffers.Builder, gameEvent GameEventMutator)

func MutatorSettingsAddGameSpeed

func MutatorSettingsAddGameSpeed(builder *flatbuffers.Builder, gameSpeed GameSpeedMutator)

func MutatorSettingsAddGravity

func MutatorSettingsAddGravity(builder *flatbuffers.Builder, gravity GravityMutator)

func MutatorSettingsAddInputRestriction

func MutatorSettingsAddInputRestriction(builder *flatbuffers.Builder, inputRestriction InputRestrictionMutator)

func MutatorSettingsAddJump

func MutatorSettingsAddJump(builder *flatbuffers.Builder, jump JumpMutator)

func MutatorSettingsAddMatchLength

func MutatorSettingsAddMatchLength(builder *flatbuffers.Builder, matchLength MatchLengthMutator)

func MutatorSettingsAddMaxScore

func MutatorSettingsAddMaxScore(builder *flatbuffers.Builder, maxScore MaxScoreMutator)

func MutatorSettingsAddMaxTime

func MutatorSettingsAddMaxTime(builder *flatbuffers.Builder, maxTime MaxTimeMutator)

func MutatorSettingsAddMultiBall

func MutatorSettingsAddMultiBall(builder *flatbuffers.Builder, multiBall MultiBallMutator)

func MutatorSettingsAddNormalGoalScore

func MutatorSettingsAddNormalGoalScore(builder *flatbuffers.Builder, normalGoalScore NormalGoalScoreMutator)

func MutatorSettingsAddOvertime

func MutatorSettingsAddOvertime(builder *flatbuffers.Builder, overtime OvertimeMutator)

func MutatorSettingsAddPossessionScore

func MutatorSettingsAddPossessionScore(builder *flatbuffers.Builder, possessionScore PossessionScoreMutator)

func MutatorSettingsAddRespawnTime

func MutatorSettingsAddRespawnTime(builder *flatbuffers.Builder, respawnTime RespawnTimeMutator)

func MutatorSettingsAddRumble

func MutatorSettingsAddRumble(builder *flatbuffers.Builder, rumble RumbleMutator)

func MutatorSettingsAddSeriesLength

func MutatorSettingsAddSeriesLength(builder *flatbuffers.Builder, seriesLength SeriesLengthMutator)

func MutatorSettingsAddStaleBall

func MutatorSettingsAddStaleBall(builder *flatbuffers.Builder, staleBall StaleBallMutator)

func MutatorSettingsAddTerritory

func MutatorSettingsAddTerritory(builder *flatbuffers.Builder, territory TerritoryMutator)

func MutatorSettingsEnd

func MutatorSettingsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func MutatorSettingsStart

func MutatorSettingsStart(builder *flatbuffers.Builder)

func PartyMemberEnd

func PartyMemberEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PartyMemberStart

func PartyMemberStart(builder *flatbuffers.Builder)

func PlayerConfigurationAddAgentId

func PlayerConfigurationAddAgentId(builder *flatbuffers.Builder, agentId flatbuffers.UOffsetT)

func PlayerConfigurationAddHivemind

func PlayerConfigurationAddHivemind(builder *flatbuffers.Builder, hivemind bool)

func PlayerConfigurationAddLoadout

func PlayerConfigurationAddLoadout(builder *flatbuffers.Builder, loadout flatbuffers.UOffsetT)

func PlayerConfigurationAddName

func PlayerConfigurationAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func PlayerConfigurationAddRootDir

func PlayerConfigurationAddRootDir(builder *flatbuffers.Builder, rootDir flatbuffers.UOffsetT)

func PlayerConfigurationAddRunCommand

func PlayerConfigurationAddRunCommand(builder *flatbuffers.Builder, runCommand flatbuffers.UOffsetT)

func PlayerConfigurationAddSpawnId

func PlayerConfigurationAddSpawnId(builder *flatbuffers.Builder, spawnId int32)

func PlayerConfigurationAddTeam

func PlayerConfigurationAddTeam(builder *flatbuffers.Builder, team uint32)

func PlayerConfigurationAddVariety

func PlayerConfigurationAddVariety(builder *flatbuffers.Builder, variety flatbuffers.UOffsetT)

func PlayerConfigurationAddVarietyType

func PlayerConfigurationAddVarietyType(builder *flatbuffers.Builder, varietyType PlayerClass)

func PlayerConfigurationEnd

func PlayerConfigurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PlayerConfigurationStart

func PlayerConfigurationStart(builder *flatbuffers.Builder)

func PlayerInfoAddAccolades

func PlayerInfoAddAccolades(builder *flatbuffers.Builder, accolades flatbuffers.UOffsetT)

func PlayerInfoAddAirState

func PlayerInfoAddAirState(builder *flatbuffers.Builder, airState AirState)

func PlayerInfoAddBoost

func PlayerInfoAddBoost(builder *flatbuffers.Builder, boost float32)

func PlayerInfoAddDemolishedTimeout

func PlayerInfoAddDemolishedTimeout(builder *flatbuffers.Builder, demolishedTimeout float32)

func PlayerInfoAddDodgeDir

func PlayerInfoAddDodgeDir(builder *flatbuffers.Builder, dodgeDir flatbuffers.UOffsetT)

func PlayerInfoAddDodgeElapsed

func PlayerInfoAddDodgeElapsed(builder *flatbuffers.Builder, dodgeElapsed float32)

func PlayerInfoAddDodgeTimeout

func PlayerInfoAddDodgeTimeout(builder *flatbuffers.Builder, dodgeTimeout float32)

func PlayerInfoAddHasDodged

func PlayerInfoAddHasDodged(builder *flatbuffers.Builder, hasDodged bool)

func PlayerInfoAddHasDoubleJumped

func PlayerInfoAddHasDoubleJumped(builder *flatbuffers.Builder, hasDoubleJumped bool)

func PlayerInfoAddHasJumped

func PlayerInfoAddHasJumped(builder *flatbuffers.Builder, hasJumped bool)

func PlayerInfoAddHitbox

func PlayerInfoAddHitbox(builder *flatbuffers.Builder, hitbox flatbuffers.UOffsetT)

func PlayerInfoAddHitboxOffset

func PlayerInfoAddHitboxOffset(builder *flatbuffers.Builder, hitboxOffset flatbuffers.UOffsetT)

func PlayerInfoAddIsBot

func PlayerInfoAddIsBot(builder *flatbuffers.Builder, isBot bool)

func PlayerInfoAddIsSupersonic

func PlayerInfoAddIsSupersonic(builder *flatbuffers.Builder, isSupersonic bool)

func PlayerInfoAddLastInput

func PlayerInfoAddLastInput(builder *flatbuffers.Builder, lastInput flatbuffers.UOffsetT)

func PlayerInfoAddLatestTouch

func PlayerInfoAddLatestTouch(builder *flatbuffers.Builder, latestTouch flatbuffers.UOffsetT)

func PlayerInfoAddName

func PlayerInfoAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func PlayerInfoAddPhysics

func PlayerInfoAddPhysics(builder *flatbuffers.Builder, physics flatbuffers.UOffsetT)

func PlayerInfoAddScoreInfo

func PlayerInfoAddScoreInfo(builder *flatbuffers.Builder, scoreInfo flatbuffers.UOffsetT)

func PlayerInfoAddSpawnId

func PlayerInfoAddSpawnId(builder *flatbuffers.Builder, spawnId int32)

func PlayerInfoAddTeam

func PlayerInfoAddTeam(builder *flatbuffers.Builder, team uint32)

func PlayerInfoEnd

func PlayerInfoEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PlayerInfoStart

func PlayerInfoStart(builder *flatbuffers.Builder)

/ The unit direction of the latest dodge. / The value will be (0,0) if it was a stall.

func PlayerInfoStartAccoladesVector

func PlayerInfoStartAccoladesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func PlayerInputAddControllerState

func PlayerInputAddControllerState(builder *flatbuffers.Builder, controllerState flatbuffers.UOffsetT)

func PlayerInputAddPlayerIndex

func PlayerInputAddPlayerIndex(builder *flatbuffers.Builder, playerIndex uint32)

func PlayerInputEnd

func PlayerInputEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PlayerInputStart

func PlayerInputStart(builder *flatbuffers.Builder)

func PlayerLoadoutAddAntennaId

func PlayerLoadoutAddAntennaId(builder *flatbuffers.Builder, antennaId uint32)

func PlayerLoadoutAddBoostId

func PlayerLoadoutAddBoostId(builder *flatbuffers.Builder, boostId uint32)

func PlayerLoadoutAddCarId

func PlayerLoadoutAddCarId(builder *flatbuffers.Builder, carId uint32)

func PlayerLoadoutAddCustomColorId

func PlayerLoadoutAddCustomColorId(builder *flatbuffers.Builder, customColorId uint32)

func PlayerLoadoutAddCustomFinishId

func PlayerLoadoutAddCustomFinishId(builder *flatbuffers.Builder, customFinishId uint32)

func PlayerLoadoutAddDecalId

func PlayerLoadoutAddDecalId(builder *flatbuffers.Builder, decalId uint32)

func PlayerLoadoutAddEngineAudioId

func PlayerLoadoutAddEngineAudioId(builder *flatbuffers.Builder, engineAudioId uint32)

func PlayerLoadoutAddGoalExplosionId

func PlayerLoadoutAddGoalExplosionId(builder *flatbuffers.Builder, goalExplosionId uint32)

func PlayerLoadoutAddHatId

func PlayerLoadoutAddHatId(builder *flatbuffers.Builder, hatId uint32)

func PlayerLoadoutAddLoadoutPaint

func PlayerLoadoutAddLoadoutPaint(builder *flatbuffers.Builder, loadoutPaint flatbuffers.UOffsetT)

func PlayerLoadoutAddPaintFinishId

func PlayerLoadoutAddPaintFinishId(builder *flatbuffers.Builder, paintFinishId uint32)

func PlayerLoadoutAddPrimaryColorLookup

func PlayerLoadoutAddPrimaryColorLookup(builder *flatbuffers.Builder, primaryColorLookup flatbuffers.UOffsetT)

func PlayerLoadoutAddSecondaryColorLookup

func PlayerLoadoutAddSecondaryColorLookup(builder *flatbuffers.Builder, secondaryColorLookup flatbuffers.UOffsetT)

func PlayerLoadoutAddTeamColorId

func PlayerLoadoutAddTeamColorId(builder *flatbuffers.Builder, teamColorId uint32)

func PlayerLoadoutAddTrailsId

func PlayerLoadoutAddTrailsId(builder *flatbuffers.Builder, trailsId uint32)

func PlayerLoadoutAddWheelsId

func PlayerLoadoutAddWheelsId(builder *flatbuffers.Builder, wheelsId uint32)

func PlayerLoadoutEnd

func PlayerLoadoutEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PlayerLoadoutStart

func PlayerLoadoutStart(builder *flatbuffers.Builder)

/ Sets the secondary color of the car to the swatch that most closely matches the provided / RGB color value. If set, this overrides customColorId.

func PolyLine3DAddColor

func PolyLine3DAddColor(builder *flatbuffers.Builder, color flatbuffers.UOffsetT)

func PolyLine3DAddPoints

func PolyLine3DAddPoints(builder *flatbuffers.Builder, points flatbuffers.UOffsetT)

func PolyLine3DEnd

func PolyLine3DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PolyLine3DStart

func PolyLine3DStart(builder *flatbuffers.Builder)

func PolyLine3DStartPointsVector

func PolyLine3DStartPointsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func PsyonixAddBotSkill

func PsyonixAddBotSkill(builder *flatbuffers.Builder, botSkill PsyonixSkill)

func PsyonixEnd

func PsyonixEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func PsyonixStart

func PsyonixStart(builder *flatbuffers.Builder)

func Rect2DAddColor

func Rect2DAddColor(builder *flatbuffers.Builder, color flatbuffers.UOffsetT)

func Rect2DAddHAlign

func Rect2DAddHAlign(builder *flatbuffers.Builder, hAlign TextHAlign)

func Rect2DAddHeight

func Rect2DAddHeight(builder *flatbuffers.Builder, height float32)

func Rect2DAddVAlign

func Rect2DAddVAlign(builder *flatbuffers.Builder, vAlign TextVAlign)

func Rect2DAddWidth

func Rect2DAddWidth(builder *flatbuffers.Builder, width float32)

func Rect2DAddX

func Rect2DAddX(builder *flatbuffers.Builder, x float32)

func Rect2DAddY

func Rect2DAddY(builder *flatbuffers.Builder, y float32)

func Rect2DEnd

func Rect2DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func Rect2DStart

func Rect2DStart(builder *flatbuffers.Builder)

func Rect3DAddAnchor

func Rect3DAddAnchor(builder *flatbuffers.Builder, anchor flatbuffers.UOffsetT)

func Rect3DAddColor

func Rect3DAddColor(builder *flatbuffers.Builder, color flatbuffers.UOffsetT)

func Rect3DAddHAlign

func Rect3DAddHAlign(builder *flatbuffers.Builder, hAlign TextHAlign)

func Rect3DAddHeight

func Rect3DAddHeight(builder *flatbuffers.Builder, height float32)

func Rect3DAddVAlign

func Rect3DAddVAlign(builder *flatbuffers.Builder, vAlign TextVAlign)

func Rect3DAddWidth

func Rect3DAddWidth(builder *flatbuffers.Builder, width float32)

func Rect3DEnd

func Rect3DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func Rect3DStart

func Rect3DStart(builder *flatbuffers.Builder)

func RemoveRenderGroupAddId

func RemoveRenderGroupAddId(builder *flatbuffers.Builder, id int32)

func RemoveRenderGroupEnd

func RemoveRenderGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func RemoveRenderGroupStart

func RemoveRenderGroupStart(builder *flatbuffers.Builder)

func RenderAnchorAddRelative

func RenderAnchorAddRelative(builder *flatbuffers.Builder, relative flatbuffers.UOffsetT)

func RenderAnchorAddRelativeType

func RenderAnchorAddRelativeType(builder *flatbuffers.Builder, relativeType RelativeAnchor)

func RenderAnchorAddWorld

func RenderAnchorAddWorld(builder *flatbuffers.Builder, world flatbuffers.UOffsetT)

func RenderAnchorEnd

func RenderAnchorEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func RenderAnchorStart

func RenderAnchorStart(builder *flatbuffers.Builder)

/ An optional offset given by the position of an object and includes a local offset that takes the object's orientation into account.

func RenderGroupAddId

func RenderGroupAddId(builder *flatbuffers.Builder, id int32)

func RenderGroupAddRenderMessages

func RenderGroupAddRenderMessages(builder *flatbuffers.Builder, renderMessages flatbuffers.UOffsetT)

func RenderGroupEnd

func RenderGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func RenderGroupStart

func RenderGroupStart(builder *flatbuffers.Builder)

func RenderGroupStartRenderMessagesVector

func RenderGroupStartRenderMessagesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func RenderMessageAddVariety

func RenderMessageAddVariety(builder *flatbuffers.Builder, variety flatbuffers.UOffsetT)

func RenderMessageAddVarietyType

func RenderMessageAddVarietyType(builder *flatbuffers.Builder, varietyType RenderType)

func RenderMessageEnd

func RenderMessageEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func RenderMessageStart

func RenderMessageStart(builder *flatbuffers.Builder)

func RotatorPartialAddPitch

func RotatorPartialAddPitch(builder *flatbuffers.Builder, pitch flatbuffers.UOffsetT)

func RotatorPartialAddRoll

func RotatorPartialAddRoll(builder *flatbuffers.Builder, roll flatbuffers.UOffsetT)

func RotatorPartialAddYaw

func RotatorPartialAddYaw(builder *flatbuffers.Builder, yaw flatbuffers.UOffsetT)

func RotatorPartialEnd

func RotatorPartialEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func RotatorPartialStart

func RotatorPartialStart(builder *flatbuffers.Builder)

/ In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.

func ScriptConfigurationAddAgentId

func ScriptConfigurationAddAgentId(builder *flatbuffers.Builder, agentId flatbuffers.UOffsetT)

func ScriptConfigurationAddName

func ScriptConfigurationAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func ScriptConfigurationAddRootDir

func ScriptConfigurationAddRootDir(builder *flatbuffers.Builder, rootDir flatbuffers.UOffsetT)

func ScriptConfigurationAddRunCommand

func ScriptConfigurationAddRunCommand(builder *flatbuffers.Builder, runCommand flatbuffers.UOffsetT)

func ScriptConfigurationAddSpawnId

func ScriptConfigurationAddSpawnId(builder *flatbuffers.Builder, spawnId int32)

func ScriptConfigurationEnd

func ScriptConfigurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ScriptConfigurationStart

func ScriptConfigurationStart(builder *flatbuffers.Builder)

/ A unique user-defined string that is used to connect clients to the right players/scripts. / If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID. / Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two. / The recommended format for agent ids is "developername/botname".

func SetLoadoutAddIndex

func SetLoadoutAddIndex(builder *flatbuffers.Builder, index uint32)

func SetLoadoutAddLoadout

func SetLoadoutAddLoadout(builder *flatbuffers.Builder, loadout flatbuffers.UOffsetT)

func SetLoadoutEnd

func SetLoadoutEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SetLoadoutStart

func SetLoadoutStart(builder *flatbuffers.Builder)

/ The new loadout of the car.

func SphereShapeAddDiameter

func SphereShapeAddDiameter(builder *flatbuffers.Builder, diameter float32)

func SphereShapeEnd

func SphereShapeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SphereShapeStart

func SphereShapeStart(builder *flatbuffers.Builder)

func StartCommandAddConfigPath

func StartCommandAddConfigPath(builder *flatbuffers.Builder, configPath flatbuffers.UOffsetT)

func StartCommandEnd

func StartCommandEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StartCommandStart

func StartCommandStart(builder *flatbuffers.Builder)

func StopCommandAddShutdownServer

func StopCommandAddShutdownServer(builder *flatbuffers.Builder, shutdownServer bool)

func StopCommandEnd

func StopCommandEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StopCommandStart

func StopCommandStart(builder *flatbuffers.Builder)

func String2DAddBackground

func String2DAddBackground(builder *flatbuffers.Builder, background flatbuffers.UOffsetT)

func String2DAddForeground

func String2DAddForeground(builder *flatbuffers.Builder, foreground flatbuffers.UOffsetT)

func String2DAddHAlign

func String2DAddHAlign(builder *flatbuffers.Builder, hAlign TextHAlign)

func String2DAddScale

func String2DAddScale(builder *flatbuffers.Builder, scale float32)

func String2DAddText

func String2DAddText(builder *flatbuffers.Builder, text flatbuffers.UOffsetT)

func String2DAddVAlign

func String2DAddVAlign(builder *flatbuffers.Builder, vAlign TextVAlign)

func String2DAddX

func String2DAddX(builder *flatbuffers.Builder, x float32)

func String2DAddY

func String2DAddY(builder *flatbuffers.Builder, y float32)

func String2DEnd

func String2DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func String2DStart

func String2DStart(builder *flatbuffers.Builder)

func String3DAddAnchor

func String3DAddAnchor(builder *flatbuffers.Builder, anchor flatbuffers.UOffsetT)

func String3DAddBackground

func String3DAddBackground(builder *flatbuffers.Builder, background flatbuffers.UOffsetT)

func String3DAddForeground

func String3DAddForeground(builder *flatbuffers.Builder, foreground flatbuffers.UOffsetT)

func String3DAddHAlign

func String3DAddHAlign(builder *flatbuffers.Builder, hAlign TextHAlign)

func String3DAddScale

func String3DAddScale(builder *flatbuffers.Builder, scale float32)

func String3DAddText

func String3DAddText(builder *flatbuffers.Builder, text flatbuffers.UOffsetT)

func String3DAddVAlign

func String3DAddVAlign(builder *flatbuffers.Builder, vAlign TextVAlign)

func String3DEnd

func String3DEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func String3DStart

func String3DStart(builder *flatbuffers.Builder)

func TouchAddBallIndex

func TouchAddBallIndex(builder *flatbuffers.Builder, ballIndex uint32)

func TouchAddGameSeconds

func TouchAddGameSeconds(builder *flatbuffers.Builder, gameSeconds float32)

func TouchAddLocation

func TouchAddLocation(builder *flatbuffers.Builder, location flatbuffers.UOffsetT)

func TouchAddNormal

func TouchAddNormal(builder *flatbuffers.Builder, normal flatbuffers.UOffsetT)

func TouchEnd

func TouchEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func TouchStart

func TouchStart(builder *flatbuffers.Builder)

func Vector3PartialAddX

func Vector3PartialAddX(builder *flatbuffers.Builder, x flatbuffers.UOffsetT)

func Vector3PartialAddY

func Vector3PartialAddY(builder *flatbuffers.Builder, y flatbuffers.UOffsetT)

func Vector3PartialAddZ

func Vector3PartialAddZ(builder *flatbuffers.Builder, z flatbuffers.UOffsetT)

func Vector3PartialEnd

func Vector3PartialEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func Vector3PartialStart

func Vector3PartialStart(builder *flatbuffers.Builder)

Types

type AerialGoalScoreMutator

type AerialGoalScoreMutator byte
const (
	AerialGoalScoreMutatorOne   AerialGoalScoreMutator = 0
	AerialGoalScoreMutatorZero  AerialGoalScoreMutator = 1
	AerialGoalScoreMutatorTwo   AerialGoalScoreMutator = 2
	AerialGoalScoreMutatorThree AerialGoalScoreMutator = 3
	AerialGoalScoreMutatorFive  AerialGoalScoreMutator = 4
	AerialGoalScoreMutatorTen   AerialGoalScoreMutator = 5
)

func (AerialGoalScoreMutator) String

func (v AerialGoalScoreMutator) String() string

type AirState

type AirState byte

/ Possible states of a car in regards to ground contact and jump/dodging forces. / See more about jumping physics at https://wiki.rlbot.org/botmaking/jumping-physics/

const (
	/// All wheels are on the ground and the car is affected by wall-stickiness forces.
	AirStateOnGround AirState = 0
	/// The car is currently affected by jumping forces of an initial jump.
	/// Lasts until the player lets go of jump button but at most for 0.2 seconds (240 ticks).
	/// The following AirState is typically InAir.
	AirStateJumping AirState = 1
	/// The car is currently affected by jumping forces of a secondary jump (just an impulse in practice).
	/// Lasts for 13 ticks.
	/// The following AirState is typically InAir.
	AirStateDoubleJumping AirState = 2
	/// The car is currently affected by forces and torque of a dodges.
	/// This lasts for 79 ticks.
	/// The following AirState is typically InAir.
	AirStateDodging AirState = 3
	/// The car is free falling.
	AirStateInAir AirState = 4
)

func (AirState) String

func (v AirState) String() string

type AssistGoalScoreMutator

type AssistGoalScoreMutator byte
const (
	AssistGoalScoreMutatorZero  AssistGoalScoreMutator = 0
	AssistGoalScoreMutatorOne   AssistGoalScoreMutator = 1
	AssistGoalScoreMutatorTwo   AssistGoalScoreMutator = 2
	AssistGoalScoreMutatorThree AssistGoalScoreMutator = 3
)

func (AssistGoalScoreMutator) String

func (v AssistGoalScoreMutator) String() string

type AudioMutator

type AudioMutator byte

/ Audio mutator options.

const (
	AudioMutatorDefault AudioMutator = 0
	AudioMutatorHaunted AudioMutator = 1
)

func (AudioMutator) String

func (v AudioMutator) String() string

type BallAnchor

type BallAnchor struct {
	// contains filtered or unexported fields
}

func GetRootAsBallAnchor

func GetRootAsBallAnchor(buf []byte, offset flatbuffers.UOffsetT) *BallAnchor

func GetSizePrefixedRootAsBallAnchor

func GetSizePrefixedRootAsBallAnchor(buf []byte, offset flatbuffers.UOffsetT) *BallAnchor

func (*BallAnchor) Index

func (rcv *BallAnchor) Index() uint32

/ The index of the ball.

func (*BallAnchor) Init

func (rcv *BallAnchor) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BallAnchor) Local

func (rcv *BallAnchor) Local(obj *Vector3) *Vector3

/ An offset in local coordinates. / x is forwards, y is left, and z is up.

func (*BallAnchor) MutateIndex

func (rcv *BallAnchor) MutateIndex(n uint32) bool

/ The index of the ball.

func (*BallAnchor) Table

func (rcv *BallAnchor) Table() flatbuffers.Table

func (*BallAnchor) UnPack

func (rcv *BallAnchor) UnPack() *BallAnchorT

func (*BallAnchor) UnPackTo

func (rcv *BallAnchor) UnPackTo(t *BallAnchorT)

type BallAnchorT

type BallAnchorT struct {
	Index uint32    `json:"index"`
	Local *Vector3T `json:"local"`
}

/ A RenderAnchor attached to a ball. / The local field allows for an offset in local coordinates taking the ball's orientation into account.

func (*BallAnchorT) Pack

type BallBouncinessMutator

type BallBouncinessMutator byte

/ Ball bounciness mutator options.

const (
	BallBouncinessMutatorDefault   BallBouncinessMutator = 0
	BallBouncinessMutatorLow       BallBouncinessMutator = 1
	BallBouncinessMutatorHigh      BallBouncinessMutator = 2
	BallBouncinessMutatorSuperHigh BallBouncinessMutator = 3
	BallBouncinessMutatorLowish    BallBouncinessMutator = 4
)

func (BallBouncinessMutator) String

func (v BallBouncinessMutator) String() string

type BallGravityMutator

type BallGravityMutator byte

/ Ball gravity mutator options.

const (
	BallGravityMutatorDefault   BallGravityMutator = 0
	BallGravityMutatorLow       BallGravityMutator = 1
	BallGravityMutatorHigh      BallGravityMutator = 2
	BallGravityMutatorSuperHigh BallGravityMutator = 3
)

func (BallGravityMutator) String

func (v BallGravityMutator) String() string

type BallInfo

type BallInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsBallInfo

func GetRootAsBallInfo(buf []byte, offset flatbuffers.UOffsetT) *BallInfo

func GetSizePrefixedRootAsBallInfo

func GetSizePrefixedRootAsBallInfo(buf []byte, offset flatbuffers.UOffsetT) *BallInfo

func (*BallInfo) Init

func (rcv *BallInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BallInfo) MutateShapeType

func (rcv *BallInfo) MutateShapeType(n CollisionShape) bool

func (*BallInfo) Physics

func (rcv *BallInfo) Physics(obj *Physics) *Physics

/ The physical state of the ball.

func (*BallInfo) Shape

func (rcv *BallInfo) Shape(obj *flatbuffers.Table) bool

/ The collision shape of the ball.

func (*BallInfo) ShapeType

func (rcv *BallInfo) ShapeType() CollisionShape

/ The physical state of the ball.

func (*BallInfo) Table

func (rcv *BallInfo) Table() flatbuffers.Table

func (*BallInfo) UnPack

func (rcv *BallInfo) UnPack() *BallInfoT

func (*BallInfo) UnPackTo

func (rcv *BallInfo) UnPackTo(t *BallInfoT)

type BallInfoT

type BallInfoT struct {
	Physics *PhysicsT        `json:"physics"`
	Shape   *CollisionShapeT `json:"shape"`
}

/ Information about a ball.

func (*BallInfoT) Pack

func (t *BallInfoT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type BallMaxSpeedMutator

type BallMaxSpeedMutator byte

/ Ball max speed mutator options.

const (
	BallMaxSpeedMutatorDefault   BallMaxSpeedMutator = 0
	BallMaxSpeedMutatorSlow      BallMaxSpeedMutator = 1
	BallMaxSpeedMutatorFast      BallMaxSpeedMutator = 2
	BallMaxSpeedMutatorSuperFast BallMaxSpeedMutator = 3
)

func (BallMaxSpeedMutator) String

func (v BallMaxSpeedMutator) String() string

type BallPrediction

type BallPrediction struct {
	// contains filtered or unexported fields
}

func GetRootAsBallPrediction

func GetRootAsBallPrediction(buf []byte, offset flatbuffers.UOffsetT) *BallPrediction

func GetSizePrefixedRootAsBallPrediction

func GetSizePrefixedRootAsBallPrediction(buf []byte, offset flatbuffers.UOffsetT) *BallPrediction

func (*BallPrediction) Init

func (rcv *BallPrediction) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BallPrediction) Slices

func (rcv *BallPrediction) Slices(obj *PredictionSlice, j int) bool

/ A list of predicted states of the ball at specific times in the future, assuming no collision with cars. / The beginning of the list is now, and the end is 6 seconds into the future. / The prediction is made at 120 Hz, resulting in 720 entries.

func (*BallPrediction) SlicesLength

func (rcv *BallPrediction) SlicesLength() int

func (*BallPrediction) Table

func (rcv *BallPrediction) Table() flatbuffers.Table

func (*BallPrediction) UnPack

func (rcv *BallPrediction) UnPack() *BallPredictionT

func (*BallPrediction) UnPackTo

func (rcv *BallPrediction) UnPackTo(t *BallPredictionT)

type BallPredictionT

type BallPredictionT struct {
	Slices []*PredictionSliceT `json:"slices"`
}

/ A prediction of a ball's trajectory, assuming no collision with cars.

func (*BallPredictionT) Pack

type BallSizeMutator

type BallSizeMutator byte

/ Ball size mutator options.

const (
	BallSizeMutatorDefault  BallSizeMutator = 0
	BallSizeMutatorSmall    BallSizeMutator = 1
	BallSizeMutatorMedium   BallSizeMutator = 2
	BallSizeMutatorLarge    BallSizeMutator = 3
	BallSizeMutatorGigantic BallSizeMutator = 4
)

func (BallSizeMutator) String

func (v BallSizeMutator) String() string

type BallTypeMutator

type BallTypeMutator byte

/ Ball type mutator options.

const (
	BallTypeMutatorDefault       BallTypeMutator = 0
	BallTypeMutatorCube          BallTypeMutator = 1
	BallTypeMutatorPuck          BallTypeMutator = 2
	BallTypeMutatorBasketball    BallTypeMutator = 3
	BallTypeMutatorBeachball     BallTypeMutator = 4
	BallTypeMutatorAnniversary   BallTypeMutator = 5
	BallTypeMutatorHaunted       BallTypeMutator = 6
	BallTypeMutatorEkin          BallTypeMutator = 7
	BallTypeMutatorSpookyCube    BallTypeMutator = 8
	BallTypeMutatorEgg           BallTypeMutator = 9
	BallTypeMutatorPlayerSeeking BallTypeMutator = 10
	BallTypeMutatorDropshot      BallTypeMutator = 11
	BallTypeMutatorScoreAbsorb   BallTypeMutator = 12
)

func (BallTypeMutator) String

func (v BallTypeMutator) String() string

type BallWeightMutator

type BallWeightMutator byte

/ Ball weight mutator options.

const (
	BallWeightMutatorDefault        BallWeightMutator = 0
	BallWeightMutatorLight          BallWeightMutator = 1
	BallWeightMutatorHeavy          BallWeightMutator = 2
	BallWeightMutatorSuperLight     BallWeightMutator = 3
	BallWeightMutatorCurveBall      BallWeightMutator = 4
	BallWeightMutatorBeachBallCurve BallWeightMutator = 5
	BallWeightMutatorMagnusFutBall  BallWeightMutator = 6
)

func (BallWeightMutator) String

func (v BallWeightMutator) String() string

type Bool

type Bool struct {
	// contains filtered or unexported fields
}

func (*Bool) Init

func (rcv *Bool) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Bool) MutateVal

func (rcv *Bool) MutateVal(n bool) bool

func (*Bool) Table

func (rcv *Bool) Table() flatbuffers.Table

func (*Bool) UnPack

func (rcv *Bool) UnPack() *BoolT

func (*Bool) UnPackTo

func (rcv *Bool) UnPackTo(t *BoolT)

func (*Bool) Val

func (rcv *Bool) Val() bool

type BoolT

type BoolT struct {
	Val bool `json:"val"`
}

/ A boolean value located in a separate struct allowing for optional floats elsewhere.

func (*BoolT) Pack

func (t *BoolT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type BoostAmountMutator

type BoostAmountMutator byte

/ Boost amount mutator options.

const (
	BoostAmountMutatorNormalBoost    BoostAmountMutator = 0
	BoostAmountMutatorUnlimitedBoost BoostAmountMutator = 1
	BoostAmountMutatorSlowRecharge   BoostAmountMutator = 2
	BoostAmountMutatorRapidRecharge  BoostAmountMutator = 3
	BoostAmountMutatorNoBoost        BoostAmountMutator = 4
)

func (BoostAmountMutator) String

func (v BoostAmountMutator) String() string

type BoostPad

type BoostPad struct {
	// contains filtered or unexported fields
}

func GetRootAsBoostPad

func GetRootAsBoostPad(buf []byte, offset flatbuffers.UOffsetT) *BoostPad

func GetSizePrefixedRootAsBoostPad

func GetSizePrefixedRootAsBoostPad(buf []byte, offset flatbuffers.UOffsetT) *BoostPad

func (*BoostPad) Init

func (rcv *BoostPad) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BoostPad) IsFullBoost

func (rcv *BoostPad) IsFullBoost() bool

/ The location of the boost pad. / Whether the boost pad provides a full tank of boost. / A big boost pad provides 100 boost and respawns in 10 seconds. / A small boost pad provides 12 boost and respawns in 4 seconds.

func (*BoostPad) Location

func (rcv *BoostPad) Location(obj *Vector3) *Vector3

/ The location of the boost pad.

func (*BoostPad) MutateIsFullBoost

func (rcv *BoostPad) MutateIsFullBoost(n bool) bool

/ Whether the boost pad provides a full tank of boost. / A big boost pad provides 100 boost and respawns in 10 seconds. / A small boost pad provides 12 boost and respawns in 4 seconds.

func (*BoostPad) Table

func (rcv *BoostPad) Table() flatbuffers.Table

func (*BoostPad) UnPack

func (rcv *BoostPad) UnPack() *BoostPadT

func (*BoostPad) UnPackTo

func (rcv *BoostPad) UnPackTo(t *BoostPadT)

type BoostPadState

type BoostPadState struct {
	// contains filtered or unexported fields
}

func (*BoostPadState) Init

func (rcv *BoostPadState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BoostPadState) IsActive

func (rcv *BoostPadState) IsActive() bool

/ True if the boost can be picked up right now.

func (*BoostPadState) MutateIsActive

func (rcv *BoostPadState) MutateIsActive(n bool) bool

/ True if the boost can be picked up right now.

func (*BoostPadState) MutateTimer

func (rcv *BoostPadState) MutateTimer(n float32) bool

/ The number of seconds since the boost has been picked up, or 0 if the boost is active. / A big boost pad becomes active again after 10 seconds. / A small boost pad becomes active again after 4 seconds.

func (*BoostPadState) Table

func (rcv *BoostPadState) Table() flatbuffers.Table

func (*BoostPadState) Timer

func (rcv *BoostPadState) Timer() float32

/ The number of seconds since the boost has been picked up, or 0 if the boost is active. / A big boost pad becomes active again after 10 seconds. / A small boost pad becomes active again after 4 seconds.

func (*BoostPadState) UnPack

func (rcv *BoostPadState) UnPack() *BoostPadStateT

func (*BoostPadState) UnPackTo

func (rcv *BoostPadState) UnPackTo(t *BoostPadStateT)

type BoostPadStateT

type BoostPadStateT struct {
	IsActive bool    `json:"is_active"`
	Timer    float32 `json:"timer"`
}

/ The state of a boost pad. / Note, static properties of boost pads, such as their location and size, are found in the field info.

func (*BoostPadStateT) Pack

type BoostPadT

type BoostPadT struct {
	Location    *Vector3T `json:"location"`
	IsFullBoost bool      `json:"is_full_boost"`
}

/ Static information about a boost pad such as location and size.

func (*BoostPadT) Pack

func (t *BoostPadT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type BoostStrengthMutator

type BoostStrengthMutator byte

/ Boost strength mutator options.

const (
	BoostStrengthMutatorOne         BoostStrengthMutator = 0
	BoostStrengthMutatorOneAndAHalf BoostStrengthMutator = 1
	BoostStrengthMutatorTwo         BoostStrengthMutator = 2
	BoostStrengthMutatorFive        BoostStrengthMutator = 3
	BoostStrengthMutatorTen         BoostStrengthMutator = 4
)

func (BoostStrengthMutator) String

func (v BoostStrengthMutator) String() string

type BoxShape

type BoxShape struct {
	// contains filtered or unexported fields
}

func GetRootAsBoxShape

func GetRootAsBoxShape(buf []byte, offset flatbuffers.UOffsetT) *BoxShape

func GetSizePrefixedRootAsBoxShape

func GetSizePrefixedRootAsBoxShape(buf []byte, offset flatbuffers.UOffsetT) *BoxShape

func (*BoxShape) Height

func (rcv *BoxShape) Height() float32

func (*BoxShape) Init

func (rcv *BoxShape) Init(buf []byte, i flatbuffers.UOffsetT)

func (*BoxShape) Length

func (rcv *BoxShape) Length() float32

func (*BoxShape) MutateHeight

func (rcv *BoxShape) MutateHeight(n float32) bool

func (*BoxShape) MutateLength

func (rcv *BoxShape) MutateLength(n float32) bool

func (*BoxShape) MutateWidth

func (rcv *BoxShape) MutateWidth(n float32) bool

func (*BoxShape) Table

func (rcv *BoxShape) Table() flatbuffers.Table

func (*BoxShape) UnPack

func (rcv *BoxShape) UnPack() *BoxShapeT

func (*BoxShape) UnPackTo

func (rcv *BoxShape) UnPackTo(t *BoxShapeT)

func (*BoxShape) Width

func (rcv *BoxShape) Width() float32

type BoxShapeT

type BoxShapeT struct {
	Length float32 `json:"length"`
	Width  float32 `json:"width"`
	Height float32 `json:"height"`
}

/ A box with dimensions. / Used for cars and balls with a box shapes.

func (*BoxShapeT) Pack

func (t *BoxShapeT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type CarAnchor

type CarAnchor struct {
	// contains filtered or unexported fields
}

func GetRootAsCarAnchor

func GetRootAsCarAnchor(buf []byte, offset flatbuffers.UOffsetT) *CarAnchor

func GetSizePrefixedRootAsCarAnchor

func GetSizePrefixedRootAsCarAnchor(buf []byte, offset flatbuffers.UOffsetT) *CarAnchor

func (*CarAnchor) Index

func (rcv *CarAnchor) Index() uint32

/ The index of the car.

func (*CarAnchor) Init

func (rcv *CarAnchor) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CarAnchor) Local

func (rcv *CarAnchor) Local(obj *Vector3) *Vector3

/ An offset in local coordinates. / x is forwards, y is left, and z is up.

func (*CarAnchor) MutateIndex

func (rcv *CarAnchor) MutateIndex(n uint32) bool

/ The index of the car.

func (*CarAnchor) Table

func (rcv *CarAnchor) Table() flatbuffers.Table

func (*CarAnchor) UnPack

func (rcv *CarAnchor) UnPack() *CarAnchorT

func (*CarAnchor) UnPackTo

func (rcv *CarAnchor) UnPackTo(t *CarAnchorT)

type CarAnchorT

type CarAnchorT struct {
	Index uint32    `json:"index"`
	Local *Vector3T `json:"local"`
}

/ A RenderAnchor attached to a car. / The local field allows for an offset in local coordinates taking the car's orientation into account.

func (*CarAnchorT) Pack

type CollisionShape

type CollisionShape byte
const (
	CollisionShapeNONE          CollisionShape = 0
	CollisionShapeBoxShape      CollisionShape = 1
	CollisionShapeSphereShape   CollisionShape = 2
	CollisionShapeCylinderShape CollisionShape = 3
)

func (CollisionShape) String

func (v CollisionShape) String() string

func (CollisionShape) UnPack

func (rcv CollisionShape) UnPack(table flatbuffers.Table) *CollisionShapeT

type CollisionShapeT

type CollisionShapeT struct {
	Type  CollisionShape
	Value interface{}
}

func (*CollisionShapeT) Pack

type Color

type Color struct {
	// contains filtered or unexported fields
}

func (*Color) A

func (rcv *Color) A() byte

func (*Color) B

func (rcv *Color) B() byte

func (*Color) G

func (rcv *Color) G() byte

func (*Color) Init

func (rcv *Color) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Color) MutateA

func (rcv *Color) MutateA(n byte) bool

func (*Color) MutateB

func (rcv *Color) MutateB(n byte) bool

func (*Color) MutateG

func (rcv *Color) MutateG(n byte) bool

func (*Color) MutateR

func (rcv *Color) MutateR(n byte) bool

func (*Color) R

func (rcv *Color) R() byte

func (*Color) Table

func (rcv *Color) Table() flatbuffers.Table

func (*Color) UnPack

func (rcv *Color) UnPack() *ColorT

func (*Color) UnPackTo

func (rcv *Color) UnPackTo(t *ColorT)

type ColorT

type ColorT struct {
	R byte `json:"r"`
	G byte `json:"g"`
	B byte `json:"b"`
	A byte `json:"a"`
}

/ An RGBA color.

func (*ColorT) Pack

func (t *ColorT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type ConnectionSettings

type ConnectionSettings struct {
	// contains filtered or unexported fields
}

func GetRootAsConnectionSettings

func GetRootAsConnectionSettings(buf []byte, offset flatbuffers.UOffsetT) *ConnectionSettings

func GetSizePrefixedRootAsConnectionSettings

func GetSizePrefixedRootAsConnectionSettings(buf []byte, offset flatbuffers.UOffsetT) *ConnectionSettings

func (*ConnectionSettings) AgentId

func (rcv *ConnectionSettings) AgentId() []byte

/ The ID of the bot/script that is associated with the incoming connection.

func (*ConnectionSettings) CloseBetweenMatches

func (rcv *ConnectionSettings) CloseBetweenMatches() bool

/ If this is set, RLBot will close the connection when a match is stopped or when a new / match is started. The GUI and other match runners should likely not set this.

func (*ConnectionSettings) Init

func (rcv *ConnectionSettings) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ConnectionSettings) MutateCloseBetweenMatches

func (rcv *ConnectionSettings) MutateCloseBetweenMatches(n bool) bool

/ If this is set, RLBot will close the connection when a match is stopped or when a new / match is started. The GUI and other match runners should likely not set this.

func (*ConnectionSettings) MutateWantsBallPredictions

func (rcv *ConnectionSettings) MutateWantsBallPredictions(n bool) bool

/ If this is set, RLBot will send BallPrediction data back to the client when available.

func (*ConnectionSettings) MutateWantsComms

func (rcv *ConnectionSettings) MutateWantsComms(n bool) bool

/ If this is set, RLBot will send MatchComms to the client when available.

func (*ConnectionSettings) Table

func (rcv *ConnectionSettings) Table() flatbuffers.Table

func (*ConnectionSettings) UnPack

func (rcv *ConnectionSettings) UnPack() *ConnectionSettingsT

func (*ConnectionSettings) UnPackTo

func (rcv *ConnectionSettings) UnPackTo(t *ConnectionSettingsT)

func (*ConnectionSettings) WantsBallPredictions

func (rcv *ConnectionSettings) WantsBallPredictions() bool

/ The ID of the bot/script that is associated with the incoming connection. / If this is set, RLBot will send BallPrediction data back to the client when available.

func (*ConnectionSettings) WantsComms

func (rcv *ConnectionSettings) WantsComms() bool

/ If this is set, RLBot will send MatchComms to the client when available.

type ConnectionSettingsT

type ConnectionSettingsT struct {
	AgentId              string `json:"agent_id"`
	WantsBallPredictions bool   `json:"wants_ball_predictions"`
	WantsComms           bool   `json:"wants_comms"`
	CloseBetweenMatches  bool   `json:"close_between_matches"`
}

/ Sent by clients when connecting to RLBot to indicate what type of messages are desired. / This could be sent by a bot, or a bot manager governing several bots, an / overlay, or any other utility that connects to the RLBot process.

func (*ConnectionSettingsT) Pack

type ConsoleCommand

type ConsoleCommand struct {
	// contains filtered or unexported fields
}

func GetRootAsConsoleCommand

func GetRootAsConsoleCommand(buf []byte, offset flatbuffers.UOffsetT) *ConsoleCommand

func GetSizePrefixedRootAsConsoleCommand

func GetSizePrefixedRootAsConsoleCommand(buf []byte, offset flatbuffers.UOffsetT) *ConsoleCommand

func (*ConsoleCommand) Command

func (rcv *ConsoleCommand) Command() []byte

func (*ConsoleCommand) Init

func (rcv *ConsoleCommand) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ConsoleCommand) Table

func (rcv *ConsoleCommand) Table() flatbuffers.Table

func (*ConsoleCommand) UnPack

func (rcv *ConsoleCommand) UnPack() *ConsoleCommandT

func (*ConsoleCommand) UnPackTo

func (rcv *ConsoleCommand) UnPackTo(t *ConsoleCommandT)

type ConsoleCommandT

type ConsoleCommandT struct {
	Command string `json:"command"`
}

/ A console command which will be executed inside Rocket League. / See https://wiki.rlbot.org/framework/console-commands/ for a list of known commands.

func (*ConsoleCommandT) Pack

type ControllableInfo

type ControllableInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsControllableInfo

func GetRootAsControllableInfo(buf []byte, offset flatbuffers.UOffsetT) *ControllableInfo

func GetSizePrefixedRootAsControllableInfo

func GetSizePrefixedRootAsControllableInfo(buf []byte, offset flatbuffers.UOffsetT) *ControllableInfo

func (*ControllableInfo) Index

func (rcv *ControllableInfo) Index() uint32

/ The index of the bot.

func (*ControllableInfo) Init

func (rcv *ControllableInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ControllableInfo) MutateIndex

func (rcv *ControllableInfo) MutateIndex(n uint32) bool

/ The index of the bot.

func (*ControllableInfo) MutateSpawnId

func (rcv *ControllableInfo) MutateSpawnId(n int32) bool

/ The spawn id of the bot. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.

func (*ControllableInfo) SpawnId

func (rcv *ControllableInfo) SpawnId() int32

/ The spawn id of the bot. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.

func (*ControllableInfo) Table

func (rcv *ControllableInfo) Table() flatbuffers.Table

func (*ControllableInfo) UnPack

func (rcv *ControllableInfo) UnPack() *ControllableInfoT

func (*ControllableInfo) UnPackTo

func (rcv *ControllableInfo) UnPackTo(t *ControllableInfoT)

type ControllableInfoT

type ControllableInfoT struct {
	Index   uint32 `json:"index"`
	SpawnId int32  `json:"spawn_id"`
}

/ Information about a car that the client can control.

func (*ControllableInfoT) Pack

type ControllableTeamInfo

type ControllableTeamInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsControllableTeamInfo

func GetRootAsControllableTeamInfo(buf []byte, offset flatbuffers.UOffsetT) *ControllableTeamInfo

func GetSizePrefixedRootAsControllableTeamInfo

func GetSizePrefixedRootAsControllableTeamInfo(buf []byte, offset flatbuffers.UOffsetT) *ControllableTeamInfo

func (*ControllableTeamInfo) Controllables

func (rcv *ControllableTeamInfo) Controllables(obj *ControllableInfo, j int) bool

/ The bots that RLBot will allow this client to control.

func (*ControllableTeamInfo) ControllablesLength

func (rcv *ControllableTeamInfo) ControllablesLength() int

func (*ControllableTeamInfo) Init

func (rcv *ControllableTeamInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ControllableTeamInfo) MutateTeam

func (rcv *ControllableTeamInfo) MutateTeam(n uint32) bool

/ The assigned team for this client.

func (*ControllableTeamInfo) Table

func (rcv *ControllableTeamInfo) Table() flatbuffers.Table

func (*ControllableTeamInfo) Team

func (rcv *ControllableTeamInfo) Team() uint32

/ The assigned team for this client.

func (*ControllableTeamInfo) UnPack

func (*ControllableTeamInfo) UnPackTo

func (rcv *ControllableTeamInfo) UnPackTo(t *ControllableTeamInfoT)

type ControllableTeamInfoT

type ControllableTeamInfoT struct {
	Team          uint32               `json:"team"`
	Controllables []*ControllableInfoT `json:"controllables"`
}

/ Server message with information about the cars that the client can control. / Sent to bot clients as a response to ConnectionSettings. / There may be more than one car in case the bot is a hivemind.

func (*ControllableTeamInfoT) Pack

type ControllerState

type ControllerState struct {
	// contains filtered or unexported fields
}

func (*ControllerState) Boost

func (rcv *ControllerState) Boost() bool

/ True if you want to press the boost button.

func (*ControllerState) Handbrake

func (rcv *ControllerState) Handbrake() bool

/ True if you want to press the handbrake button.

func (*ControllerState) Init

func (rcv *ControllerState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ControllerState) Jump

func (rcv *ControllerState) Jump() bool

/ True if you want to press the jump button.

func (*ControllerState) MutateBoost

func (rcv *ControllerState) MutateBoost(n bool) bool

/ True if you want to press the boost button.

func (*ControllerState) MutateHandbrake

func (rcv *ControllerState) MutateHandbrake(n bool) bool

/ True if you want to press the handbrake button.

func (*ControllerState) MutateJump

func (rcv *ControllerState) MutateJump(n bool) bool

/ True if you want to press the jump button.

func (*ControllerState) MutatePitch

func (rcv *ControllerState) MutatePitch(n float32) bool

/ -1 for nose down, 1 for nose up.

func (*ControllerState) MutateRoll

func (rcv *ControllerState) MutateRoll(n float32) bool

/ -1 for roll left, 1 for roll right.

func (*ControllerState) MutateSteer

func (rcv *ControllerState) MutateSteer(n float32) bool

/ -1 for full left, 1 for full right.

func (*ControllerState) MutateThrottle

func (rcv *ControllerState) MutateThrottle(n float32) bool

/ -1 for full reverse, 1 for full forward.

func (*ControllerState) MutateUseItem

func (rcv *ControllerState) MutateUseItem(n bool) bool

/ True if you want to press the 'use item' button. Used in Rumble and other game modes.

func (*ControllerState) MutateYaw

func (rcv *ControllerState) MutateYaw(n float32) bool

/ -1 for full left, 1 for full right.

func (*ControllerState) Pitch

func (rcv *ControllerState) Pitch() float32

/ -1 for nose down, 1 for nose up.

func (*ControllerState) Roll

func (rcv *ControllerState) Roll() float32

/ -1 for roll left, 1 for roll right.

func (*ControllerState) Steer

func (rcv *ControllerState) Steer() float32

/ -1 for full left, 1 for full right.

func (*ControllerState) Table

func (rcv *ControllerState) Table() flatbuffers.Table

func (*ControllerState) Throttle

func (rcv *ControllerState) Throttle() float32

/ -1 for full reverse, 1 for full forward.

func (*ControllerState) UnPack

func (rcv *ControllerState) UnPack() *ControllerStateT

func (*ControllerState) UnPackTo

func (rcv *ControllerState) UnPackTo(t *ControllerStateT)

func (*ControllerState) UseItem

func (rcv *ControllerState) UseItem() bool

/ True if you want to press the 'use item' button. Used in Rumble and other game modes.

func (*ControllerState) Yaw

func (rcv *ControllerState) Yaw() float32

/ -1 for full left, 1 for full right.

type ControllerStateT

type ControllerStateT struct {
	Throttle  float32 `json:"throttle"`
	Steer     float32 `json:"steer"`
	Pitch     float32 `json:"pitch"`
	Yaw       float32 `json:"yaw"`
	Roll      float32 `json:"roll"`
	Jump      bool    `json:"jump"`
	Boost     bool    `json:"boost"`
	Handbrake bool    `json:"handbrake"`
	UseItem   bool    `json:"use_item"`
}

/ A combination of button presses and analog steering values like those produced by a physical controller or keyboard. / This is sent by bots each tick to RLBot to indicate what they want to do that tick. / For example, if you want to hold the jump button for 20 ticks, then you must send 20 controller states where jump is true. / Remember to send controller states with jump set to false to let go of the jump button afterwards.

func (*ControllerStateT) Pack

type CustomBot

type CustomBot struct {
	// contains filtered or unexported fields
}

func GetRootAsCustomBot

func GetRootAsCustomBot(buf []byte, offset flatbuffers.UOffsetT) *CustomBot

func GetSizePrefixedRootAsCustomBot

func GetSizePrefixedRootAsCustomBot(buf []byte, offset flatbuffers.UOffsetT) *CustomBot

func (*CustomBot) Init

func (rcv *CustomBot) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CustomBot) Table

func (rcv *CustomBot) Table() flatbuffers.Table

func (*CustomBot) UnPack

func (rcv *CustomBot) UnPack() *CustomBotT

func (*CustomBot) UnPackTo

func (rcv *CustomBot) UnPackTo(t *CustomBotT)

type CustomBotT

type CustomBotT struct {
}

/ A bot controlled by the RLBot framework.

func (*CustomBotT) Pack

type CylinderShape

type CylinderShape struct {
	// contains filtered or unexported fields
}

func GetRootAsCylinderShape

func GetRootAsCylinderShape(buf []byte, offset flatbuffers.UOffsetT) *CylinderShape

func GetSizePrefixedRootAsCylinderShape

func GetSizePrefixedRootAsCylinderShape(buf []byte, offset flatbuffers.UOffsetT) *CylinderShape

func (*CylinderShape) Diameter

func (rcv *CylinderShape) Diameter() float32

func (*CylinderShape) Height

func (rcv *CylinderShape) Height() float32

func (*CylinderShape) Init

func (rcv *CylinderShape) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CylinderShape) MutateDiameter

func (rcv *CylinderShape) MutateDiameter(n float32) bool

func (*CylinderShape) MutateHeight

func (rcv *CylinderShape) MutateHeight(n float32) bool

func (*CylinderShape) Table

func (rcv *CylinderShape) Table() flatbuffers.Table

func (*CylinderShape) UnPack

func (rcv *CylinderShape) UnPack() *CylinderShapeT

func (*CylinderShape) UnPackTo

func (rcv *CylinderShape) UnPackTo(t *CylinderShapeT)

type CylinderShapeT

type CylinderShapeT struct {
	Diameter float32 `json:"diameter"`
	Height   float32 `json:"height"`
}

/ A cylinder with diameter and height. / Used for balls with a cylindrical shape like the puck.

func (*CylinderShapeT) Pack

type DemolishMutator

type DemolishMutator byte

/ Demolition mutator options.

const (
	DemolishMutatorDefault         DemolishMutator = 0
	DemolishMutatorDisabled        DemolishMutator = 1
	DemolishMutatorFriendlyFire    DemolishMutator = 2
	DemolishMutatorOnContact       DemolishMutator = 3
	DemolishMutatorOnContactFF     DemolishMutator = 4
	DemolishMutatorOnBallContact   DemolishMutator = 5
	DemolishMutatorOnBallContactFF DemolishMutator = 6
)

func (DemolishMutator) String

func (v DemolishMutator) String() string

type DemolishScoreMutator

type DemolishScoreMutator byte
const (
	DemolishScoreMutatorZero  DemolishScoreMutator = 0
	DemolishScoreMutatorOne   DemolishScoreMutator = 1
	DemolishScoreMutatorTwo   DemolishScoreMutator = 2
	DemolishScoreMutatorThree DemolishScoreMutator = 3
)

func (DemolishScoreMutator) String

func (v DemolishScoreMutator) String() string

type DesiredBallState

type DesiredBallState struct {
	// contains filtered or unexported fields
}

func GetRootAsDesiredBallState

func GetRootAsDesiredBallState(buf []byte, offset flatbuffers.UOffsetT) *DesiredBallState

func GetSizePrefixedRootAsDesiredBallState

func GetSizePrefixedRootAsDesiredBallState(buf []byte, offset flatbuffers.UOffsetT) *DesiredBallState

func (*DesiredBallState) Init

func (rcv *DesiredBallState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DesiredBallState) Physics

func (rcv *DesiredBallState) Physics(obj *DesiredPhysics) *DesiredPhysics

func (*DesiredBallState) Table

func (rcv *DesiredBallState) Table() flatbuffers.Table

func (*DesiredBallState) UnPack

func (rcv *DesiredBallState) UnPack() *DesiredBallStateT

func (*DesiredBallState) UnPackTo

func (rcv *DesiredBallState) UnPackTo(t *DesiredBallStateT)

type DesiredBallStateT

type DesiredBallStateT struct {
	Physics *DesiredPhysicsT `json:"physics"`
}

/ A ball state with nullable components. / Used for game state setting to define which part of a ball's state should change.

func (*DesiredBallStateT) Pack

type DesiredCarState

type DesiredCarState struct {
	// contains filtered or unexported fields
}

func GetRootAsDesiredCarState

func GetRootAsDesiredCarState(buf []byte, offset flatbuffers.UOffsetT) *DesiredCarState

func GetSizePrefixedRootAsDesiredCarState

func GetSizePrefixedRootAsDesiredCarState(buf []byte, offset flatbuffers.UOffsetT) *DesiredCarState

func (*DesiredCarState) BoostAmount

func (rcv *DesiredCarState) BoostAmount(obj *Float) *Float

func (*DesiredCarState) Init

func (rcv *DesiredCarState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DesiredCarState) Physics

func (rcv *DesiredCarState) Physics(obj *DesiredPhysics) *DesiredPhysics

func (*DesiredCarState) Table

func (rcv *DesiredCarState) Table() flatbuffers.Table

func (*DesiredCarState) UnPack

func (rcv *DesiredCarState) UnPack() *DesiredCarStateT

func (*DesiredCarState) UnPackTo

func (rcv *DesiredCarState) UnPackTo(t *DesiredCarStateT)

type DesiredCarStateT

type DesiredCarStateT struct {
	Physics     *DesiredPhysicsT `json:"physics"`
	BoostAmount *FloatT          `json:"boost_amount"`
}

/ A car state with nullable components. / Used for game state setting to define which part of a car's state should change.

func (*DesiredCarStateT) Pack

type DesiredGameState

type DesiredGameState struct {
	// contains filtered or unexported fields
}

func GetRootAsDesiredGameState

func GetRootAsDesiredGameState(buf []byte, offset flatbuffers.UOffsetT) *DesiredGameState

func GetSizePrefixedRootAsDesiredGameState

func GetSizePrefixedRootAsDesiredGameState(buf []byte, offset flatbuffers.UOffsetT) *DesiredGameState

func (*DesiredGameState) BallStates

func (rcv *DesiredGameState) BallStates(obj *DesiredBallState, j int) bool

/ A list of desired ball states.

func (*DesiredGameState) BallStatesLength

func (rcv *DesiredGameState) BallStatesLength() int

func (*DesiredGameState) CarStates

func (rcv *DesiredGameState) CarStates(obj *DesiredCarState, j int) bool

/ A list of desired ball states. / A list of desired car states.

func (*DesiredGameState) CarStatesLength

func (rcv *DesiredGameState) CarStatesLength() int

func (*DesiredGameState) ConsoleCommands

func (rcv *DesiredGameState) ConsoleCommands(obj *ConsoleCommand, j int) bool

/ The desired game info. / A list of console commands to execute. / See https://wiki.rlbot.org/framework/console-commands/ for a list of known commands.

func (*DesiredGameState) ConsoleCommandsLength

func (rcv *DesiredGameState) ConsoleCommandsLength() int

func (*DesiredGameState) Init

func (rcv *DesiredGameState) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DesiredGameState) MatchInfo

func (rcv *DesiredGameState) MatchInfo(obj *DesiredMatchInfo) *DesiredMatchInfo

/ A list of desired car states. / The desired game info.

func (*DesiredGameState) Table

func (rcv *DesiredGameState) Table() flatbuffers.Table

func (*DesiredGameState) UnPack

func (rcv *DesiredGameState) UnPack() *DesiredGameStateT

func (*DesiredGameState) UnPackTo

func (rcv *DesiredGameState) UnPackTo(t *DesiredGameStateT)

type DesiredGameStateT

type DesiredGameStateT struct {
	BallStates      []*DesiredBallStateT `json:"ball_states"`
	CarStates       []*DesiredCarStateT  `json:"car_states"`
	MatchInfo       *DesiredMatchInfoT   `json:"match_info"`
	ConsoleCommands []*ConsoleCommandT   `json:"console_commands"`
}

/ A game state with nullable subcomponents. / Used for game state setting to define which part of the game should change. / Values not set will not be updated.

func (*DesiredGameStateT) Pack

type DesiredMatchInfo

type DesiredMatchInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsDesiredMatchInfo

func GetRootAsDesiredMatchInfo(buf []byte, offset flatbuffers.UOffsetT) *DesiredMatchInfo

func GetSizePrefixedRootAsDesiredMatchInfo

func GetSizePrefixedRootAsDesiredMatchInfo(buf []byte, offset flatbuffers.UOffsetT) *DesiredMatchInfo

func (*DesiredMatchInfo) GameSpeed

func (rcv *DesiredMatchInfo) GameSpeed(obj *Float) *Float

/ The strength of gravity. Default is usually -650 depending on mutators. / To set gravity to 0, use 0.0000001 instead, as 0 will set gravity back to the default. / The game speed. Default is 1.0.

func (*DesiredMatchInfo) Init

func (rcv *DesiredMatchInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DesiredMatchInfo) Table

func (rcv *DesiredMatchInfo) Table() flatbuffers.Table

func (*DesiredMatchInfo) UnPack

func (rcv *DesiredMatchInfo) UnPack() *DesiredMatchInfoT

func (*DesiredMatchInfo) UnPackTo

func (rcv *DesiredMatchInfo) UnPackTo(t *DesiredMatchInfoT)

func (*DesiredMatchInfo) WorldGravityZ

func (rcv *DesiredMatchInfo) WorldGravityZ(obj *Float) *Float

/ The strength of gravity. Default is usually -650 depending on mutators. / To set gravity to 0, use 0.0000001 instead, as 0 will set gravity back to the default.

type DesiredMatchInfoT

type DesiredMatchInfoT struct {
	WorldGravityZ *FloatT `json:"world_gravity_z"`
	GameSpeed     *FloatT `json:"game_speed"`
}

/ Match info with nullable components. / Used for game state setting to define which part of the match info should change.

func (*DesiredMatchInfoT) Pack

type DesiredPhysics

type DesiredPhysics struct {
	// contains filtered or unexported fields
}

func GetRootAsDesiredPhysics

func GetRootAsDesiredPhysics(buf []byte, offset flatbuffers.UOffsetT) *DesiredPhysics

func GetSizePrefixedRootAsDesiredPhysics

func GetSizePrefixedRootAsDesiredPhysics(buf []byte, offset flatbuffers.UOffsetT) *DesiredPhysics

func (*DesiredPhysics) AngularVelocity

func (rcv *DesiredPhysics) AngularVelocity(obj *Vector3Partial) *Vector3Partial

func (*DesiredPhysics) Init

func (rcv *DesiredPhysics) Init(buf []byte, i flatbuffers.UOffsetT)

func (*DesiredPhysics) Location

func (rcv *DesiredPhysics) Location(obj *Vector3Partial) *Vector3Partial

func (*DesiredPhysics) Rotation

func (rcv *DesiredPhysics) Rotation(obj *RotatorPartial) *RotatorPartial

func (*DesiredPhysics) Table

func (rcv *DesiredPhysics) Table() flatbuffers.Table

func (*DesiredPhysics) UnPack

func (rcv *DesiredPhysics) UnPack() *DesiredPhysicsT

func (*DesiredPhysics) UnPackTo

func (rcv *DesiredPhysics) UnPackTo(t *DesiredPhysicsT)

func (*DesiredPhysics) Velocity

func (rcv *DesiredPhysics) Velocity(obj *Vector3Partial) *Vector3Partial

type DesiredPhysicsT

type DesiredPhysicsT struct {
	Location        *Vector3PartialT `json:"location"`
	Rotation        *RotatorPartialT `json:"rotation"`
	Velocity        *Vector3PartialT `json:"velocity"`
	AngularVelocity *Vector3PartialT `json:"angular_velocity"`
}

/ A physical state of an object, with nullable components. / Used for game state setting to define which part of a physics body should change. / If a component is null, then the component will keep its current value.

func (*DesiredPhysicsT) Pack

type DodgeTimerMutator

type DodgeTimerMutator byte
const (
	DodgeTimerMutatorOnePointTwentyFiveSeconds DodgeTimerMutator = 0
	DodgeTimerMutatorTwoSeconds                DodgeTimerMutator = 1
	DodgeTimerMutatorThreeSeconds              DodgeTimerMutator = 2
	DodgeTimerMutatorUnlimited                 DodgeTimerMutator = 3
)

func (DodgeTimerMutator) String

func (v DodgeTimerMutator) String() string

type ExistingMatchBehavior

type ExistingMatchBehavior byte

/ Possible behaviours when a match is started while another match is in progress.

const (
	/// Always restart the match, even if config is identical.
	ExistingMatchBehaviorRestart ExistingMatchBehavior = 0
	/// Never restart an existing match if possible, just try to remove or spawn cars to match the configuration.
	/// If we are not in the middle of a match, a match will be started. Handy for LAN matches.
	ExistingMatchBehaviorContinueAndSpawn ExistingMatchBehavior = 1
	/// Restart the match if any match settings differ.
	/// No other otherwise.
	ExistingMatchBehaviorRestartIfDifferent ExistingMatchBehavior = 2
)

func (ExistingMatchBehavior) String

func (v ExistingMatchBehavior) String() string

type FieldInfo

type FieldInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsFieldInfo

func GetRootAsFieldInfo(buf []byte, offset flatbuffers.UOffsetT) *FieldInfo

func GetSizePrefixedRootAsFieldInfo

func GetSizePrefixedRootAsFieldInfo(buf []byte, offset flatbuffers.UOffsetT) *FieldInfo

func (*FieldInfo) BoostPads

func (rcv *FieldInfo) BoostPads(obj *BoostPad, j int) bool

/ Static information about boost pads on the field. / The dynamic information is found in the GamePacket / The boost pads are ordered by y-coordinate and then x-coordinate.

func (*FieldInfo) BoostPadsLength

func (rcv *FieldInfo) BoostPadsLength() int

func (*FieldInfo) Goals

func (rcv *FieldInfo) Goals(obj *GoalInfo, j int) bool

/ Static information about boost pads on the field. / The dynamic information is found in the GamePacket / The boost pads are ordered by y-coordinate and then x-coordinate. / Information about the goals on the field.

func (*FieldInfo) GoalsLength

func (rcv *FieldInfo) GoalsLength() int

func (*FieldInfo) Init

func (rcv *FieldInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*FieldInfo) Table

func (rcv *FieldInfo) Table() flatbuffers.Table

func (*FieldInfo) UnPack

func (rcv *FieldInfo) UnPack() *FieldInfoT

func (*FieldInfo) UnPackTo

func (rcv *FieldInfo) UnPackTo(t *FieldInfoT)

type FieldInfoT

type FieldInfoT struct {
	BoostPads []*BoostPadT `json:"boost_pads"`
	Goals     []*GoalInfoT `json:"goals"`
}

/ Static information about the field. / Sent to bots, scripts, etc. upon connecting. / Dynamic information is found in the GamePacket.

func (*FieldInfoT) Pack

type Float

type Float struct {
	// contains filtered or unexported fields
}

func (*Float) Init

func (rcv *Float) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Float) MutateVal

func (rcv *Float) MutateVal(n float32) bool

func (*Float) Table

func (rcv *Float) Table() flatbuffers.Table

func (*Float) UnPack

func (rcv *Float) UnPack() *FloatT

func (*Float) UnPackTo

func (rcv *Float) UnPackTo(t *FloatT)

func (*Float) Val

func (rcv *Float) Val() float32

type FloatT

type FloatT struct {
	Val float32 `json:"val"`
}

/ A floating point value located in a separate struct allowing for optional floats elsewhere.

func (*FloatT) Pack

func (t *FloatT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type GameEventMutator

type GameEventMutator byte

/ Game event mutator options.

const (
	GameEventMutatorDefault GameEventMutator = 0
	GameEventMutatorHaunted GameEventMutator = 1
	GameEventMutatorRugby   GameEventMutator = 2
)

func (GameEventMutator) String

func (v GameEventMutator) String() string

type GameMode

type GameMode byte

/ Various game modes.

const (
	GameModeSoccer     GameMode = 0
	GameModeHoops      GameMode = 1
	GameModeDropshot   GameMode = 2
	GameModeHockey     GameMode = 3
	GameModeRumble     GameMode = 4
	GameModeHeatseeker GameMode = 5
	GameModeGridiron   GameMode = 6
	GameModeKnockout   GameMode = 7
)

func (GameMode) String

func (v GameMode) String() string

type GamePacket

type GamePacket struct {
	// contains filtered or unexported fields
}

func GetRootAsGamePacket

func GetRootAsGamePacket(buf []byte, offset flatbuffers.UOffsetT) *GamePacket

func GetSizePrefixedRootAsGamePacket

func GetSizePrefixedRootAsGamePacket(buf []byte, offset flatbuffers.UOffsetT) *GamePacket

func (*GamePacket) Balls

func (rcv *GamePacket) Balls(obj *BallInfo, j int) bool

/ The current state of all boost pads. / The static information about boost pads are found in the FieldInfo. / The boost pads are ordered by y-coordinate and then x-coordinate. / The current state of all balls.

func (*GamePacket) BallsLength

func (rcv *GamePacket) BallsLength() int

func (*GamePacket) BoostPads

func (rcv *GamePacket) BoostPads(obj *BoostPadState, j int) bool

/ The current state of all players and their cars. / The current state of all boost pads. / The static information about boost pads are found in the FieldInfo. / The boost pads are ordered by y-coordinate and then x-coordinate.

func (*GamePacket) BoostPadsLength

func (rcv *GamePacket) BoostPadsLength() int

func (*GamePacket) Init

func (rcv *GamePacket) Init(buf []byte, i flatbuffers.UOffsetT)

func (*GamePacket) MatchInfo

func (rcv *GamePacket) MatchInfo(obj *MatchInfo) *MatchInfo

/ The current state of all balls. / The current state of the match such as timers and gravity.

func (*GamePacket) Players

func (rcv *GamePacket) Players(obj *PlayerInfo, j int) bool

/ The current state of all players and their cars.

func (*GamePacket) PlayersLength

func (rcv *GamePacket) PlayersLength() int

func (*GamePacket) Table

func (rcv *GamePacket) Table() flatbuffers.Table

func (*GamePacket) Teams

func (rcv *GamePacket) Teams(obj *TeamInfo, j int) bool

/ The current state of the match such as timers and gravity. / The current state of teams, i.e. the team scores.

func (*GamePacket) TeamsLength

func (rcv *GamePacket) TeamsLength() int

func (*GamePacket) UnPack

func (rcv *GamePacket) UnPack() *GamePacketT

func (*GamePacket) UnPackTo

func (rcv *GamePacket) UnPackTo(t *GamePacketT)

type GamePacketT

type GamePacketT struct {
	Players   []*PlayerInfoT    `json:"players"`
	BoostPads []*BoostPadStateT `json:"boost_pads"`
	Balls     []*BallInfoT      `json:"balls"`
	MatchInfo *MatchInfoT       `json:"match_info"`
	Teams     []*TeamInfoT      `json:"teams"`
}

/ A packet of data from the game. / Is is sent every tick to bots, scripts, etc. / Static data is found in the FieldInfo.

func (*GamePacketT) Pack

type GameSpeedMutator

type GameSpeedMutator byte

/ Game speed mutator options.

const (
	GameSpeedMutatorDefault  GameSpeedMutator = 0
	GameSpeedMutatorSloMo    GameSpeedMutator = 1
	GameSpeedMutatorTimeWarp GameSpeedMutator = 2
)

func (GameSpeedMutator) String

func (v GameSpeedMutator) String() string

type GoalInfo

type GoalInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsGoalInfo

func GetRootAsGoalInfo(buf []byte, offset flatbuffers.UOffsetT) *GoalInfo

func GetSizePrefixedRootAsGoalInfo

func GetSizePrefixedRootAsGoalInfo(buf []byte, offset flatbuffers.UOffsetT) *GoalInfo

func (*GoalInfo) Direction

func (rcv *GoalInfo) Direction(obj *Vector3) *Vector3

/ The center location of the goal. / The unit direction point away from the opening of the goal.

func (*GoalInfo) Height

func (rcv *GoalInfo) Height() float32

/ The height of the goal. 643 uu tall on a standard field.

func (*GoalInfo) Init

func (rcv *GoalInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*GoalInfo) Location

func (rcv *GoalInfo) Location(obj *Vector3) *Vector3

/ The center location of the goal.

func (*GoalInfo) MutateHeight

func (rcv *GoalInfo) MutateHeight(n float32) bool

/ The height of the goal. 643 uu tall on a standard field.

func (*GoalInfo) MutateTeamNum

func (rcv *GoalInfo) MutateTeamNum(n int32) bool

/ The index of the team that this goal belongs to.

func (*GoalInfo) MutateWidth

func (rcv *GoalInfo) MutateWidth(n float32) bool

/ The width of the goal. 1785 uu wide on a standard field.

func (*GoalInfo) Table

func (rcv *GoalInfo) Table() flatbuffers.Table

func (*GoalInfo) TeamNum

func (rcv *GoalInfo) TeamNum() int32

/ The index of the team that this goal belongs to.

func (*GoalInfo) UnPack

func (rcv *GoalInfo) UnPack() *GoalInfoT

func (*GoalInfo) UnPackTo

func (rcv *GoalInfo) UnPackTo(t *GoalInfoT)

func (*GoalInfo) Width

func (rcv *GoalInfo) Width() float32

/ The unit direction point away from the opening of the goal. / The width of the goal. 1785 uu wide on a standard field.

type GoalInfoT

type GoalInfoT struct {
	TeamNum   int32     `json:"team_num"`
	Location  *Vector3T `json:"location"`
	Direction *Vector3T `json:"direction"`
	Width     float32   `json:"width"`
	Height    float32   `json:"height"`
}

/ Static information about a goal on the field such as dimensions and location. / More values can be found on https://wiki.rlbot.org/botmaking/useful-game-values/

func (*GoalInfoT) Pack

func (t *GoalInfoT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type GravityMutator

type GravityMutator byte

/ Gravity mutator options.

const (
	GravityMutatorDefault   GravityMutator = 0
	GravityMutatorLow       GravityMutator = 1
	GravityMutatorHigh      GravityMutator = 2
	GravityMutatorSuperHigh GravityMutator = 3
	GravityMutatorReverse   GravityMutator = 4
)

func (GravityMutator) String

func (v GravityMutator) String() string

type Human

type Human struct {
	// contains filtered or unexported fields
}

func GetRootAsHuman

func GetRootAsHuman(buf []byte, offset flatbuffers.UOffsetT) *Human

func GetSizePrefixedRootAsHuman

func GetSizePrefixedRootAsHuman(buf []byte, offset flatbuffers.UOffsetT) *Human

func (*Human) Init

func (rcv *Human) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Human) Table

func (rcv *Human) Table() flatbuffers.Table

func (*Human) UnPack

func (rcv *Human) UnPack() *HumanT

func (*Human) UnPackTo

func (rcv *Human) UnPackTo(t *HumanT)

type HumanT

type HumanT struct {
}

/ A normal human player.

func (*HumanT) Pack

func (t *HumanT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type InitCompleteT

type InitCompleteT struct{}

There is no InitComplete in the schema but we still need to be able to send it

func (InitCompleteT) Pack

This function is purely here for InitComplete to implement PacketAbilities

type InputRestrictionMutator

type InputRestrictionMutator byte
const (
	InputRestrictionMutatorDefault   InputRestrictionMutator = 0
	InputRestrictionMutatorBackwards InputRestrictionMutator = 1
)

func (InputRestrictionMutator) String

func (v InputRestrictionMutator) String() string

type JumpMutator

type JumpMutator byte
const (
	JumpMutatorDefault   JumpMutator = 0
	JumpMutatorGrounded  JumpMutator = 1
	JumpMutatorTwo       JumpMutator = 2
	JumpMutatorThree     JumpMutator = 3
	JumpMutatorFour      JumpMutator = 4
	JumpMutatorUnlimited JumpMutator = 5
	JumpMutatorNoJumps   JumpMutator = 6
)

func (JumpMutator) String

func (v JumpMutator) String() string

type Launcher

type Launcher byte

/ Possible to launch Rocket League.

const (
	LauncherSteam Launcher = 0
	LauncherEpic  Launcher = 1
	/// E.g. if you use Legendary.
	/// The game path is specified in the MatchConfiguration.
	LauncherCustom   Launcher = 2
	LauncherNoLaunch Launcher = 3
)

func (Launcher) String

func (v Launcher) String() string

type Line3D

type Line3D struct {
	// contains filtered or unexported fields
}

func GetRootAsLine3D

func GetRootAsLine3D(buf []byte, offset flatbuffers.UOffsetT) *Line3D

func GetSizePrefixedRootAsLine3D

func GetSizePrefixedRootAsLine3D(buf []byte, offset flatbuffers.UOffsetT) *Line3D

func (*Line3D) Color

func (rcv *Line3D) Color(obj *Color) *Color

func (*Line3D) End

func (rcv *Line3D) End(obj *RenderAnchor) *RenderAnchor

func (*Line3D) Init

func (rcv *Line3D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Line3D) Start

func (rcv *Line3D) Start(obj *RenderAnchor) *RenderAnchor

func (*Line3D) Table

func (rcv *Line3D) Table() flatbuffers.Table

func (*Line3D) UnPack

func (rcv *Line3D) UnPack() *Line3DT

func (*Line3D) UnPackTo

func (rcv *Line3D) UnPackTo(t *Line3DT)

type Line3DT

type Line3DT struct {
	Start *RenderAnchorT `json:"start"`
	End   *RenderAnchorT `json:"end"`
	Color *ColorT        `json:"color"`
}

/ A RenderMessage for a line in 3D space between two RenderAnchors.

func (*Line3DT) Pack

func (t *Line3DT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type LoadoutPaint

type LoadoutPaint struct {
	// contains filtered or unexported fields
}

func GetRootAsLoadoutPaint

func GetRootAsLoadoutPaint(buf []byte, offset flatbuffers.UOffsetT) *LoadoutPaint

func GetSizePrefixedRootAsLoadoutPaint

func GetSizePrefixedRootAsLoadoutPaint(buf []byte, offset flatbuffers.UOffsetT) *LoadoutPaint

func (*LoadoutPaint) AntennaPaintId

func (rcv *LoadoutPaint) AntennaPaintId() uint32

func (*LoadoutPaint) BoostPaintId

func (rcv *LoadoutPaint) BoostPaintId() uint32

func (*LoadoutPaint) CarPaintId

func (rcv *LoadoutPaint) CarPaintId() uint32

func (*LoadoutPaint) DecalPaintId

func (rcv *LoadoutPaint) DecalPaintId() uint32

func (*LoadoutPaint) GoalExplosionPaintId

func (rcv *LoadoutPaint) GoalExplosionPaintId() uint32

func (*LoadoutPaint) HatPaintId

func (rcv *LoadoutPaint) HatPaintId() uint32

func (*LoadoutPaint) Init

func (rcv *LoadoutPaint) Init(buf []byte, i flatbuffers.UOffsetT)

func (*LoadoutPaint) MutateAntennaPaintId

func (rcv *LoadoutPaint) MutateAntennaPaintId(n uint32) bool

func (*LoadoutPaint) MutateBoostPaintId

func (rcv *LoadoutPaint) MutateBoostPaintId(n uint32) bool

func (*LoadoutPaint) MutateCarPaintId

func (rcv *LoadoutPaint) MutateCarPaintId(n uint32) bool

func (*LoadoutPaint) MutateDecalPaintId

func (rcv *LoadoutPaint) MutateDecalPaintId(n uint32) bool

func (*LoadoutPaint) MutateGoalExplosionPaintId

func (rcv *LoadoutPaint) MutateGoalExplosionPaintId(n uint32) bool

func (*LoadoutPaint) MutateHatPaintId

func (rcv *LoadoutPaint) MutateHatPaintId(n uint32) bool

func (*LoadoutPaint) MutateTrailsPaintId

func (rcv *LoadoutPaint) MutateTrailsPaintId(n uint32) bool

func (*LoadoutPaint) MutateWheelsPaintId

func (rcv *LoadoutPaint) MutateWheelsPaintId(n uint32) bool

func (*LoadoutPaint) Table

func (rcv *LoadoutPaint) Table() flatbuffers.Table

func (*LoadoutPaint) TrailsPaintId

func (rcv *LoadoutPaint) TrailsPaintId() uint32

func (*LoadoutPaint) UnPack

func (rcv *LoadoutPaint) UnPack() *LoadoutPaintT

func (*LoadoutPaint) UnPackTo

func (rcv *LoadoutPaint) UnPackTo(t *LoadoutPaintT)

func (*LoadoutPaint) WheelsPaintId

func (rcv *LoadoutPaint) WheelsPaintId() uint32

type LoadoutPaintT

type LoadoutPaintT struct {
	CarPaintId           uint32 `json:"car_paint_id"`
	DecalPaintId         uint32 `json:"decal_paint_id"`
	WheelsPaintId        uint32 `json:"wheels_paint_id"`
	BoostPaintId         uint32 `json:"boost_paint_id"`
	AntennaPaintId       uint32 `json:"antenna_paint_id"`
	HatPaintId           uint32 `json:"hat_paint_id"`
	TrailsPaintId        uint32 `json:"trails_paint_id"`
	GoalExplosionPaintId uint32 `json:"goal_explosion_paint_id"`
}

/ Specification for 'painted' items. See https://wiki.rlbot.org/botmaking/bot-customization/

func (*LoadoutPaintT) Pack

type MatchComm

type MatchComm struct {
	// contains filtered or unexported fields
}

func GetRootAsMatchComm

func GetRootAsMatchComm(buf []byte, offset flatbuffers.UOffsetT) *MatchComm

func GetSizePrefixedRootAsMatchComm

func GetSizePrefixedRootAsMatchComm(buf []byte, offset flatbuffers.UOffsetT) *MatchComm

func (*MatchComm) Content

func (rcv *MatchComm) Content(j int) byte

/ The message that will be displayed on the screen in quick chat. / This is intended for communication with humans. / Use the content field for communication with bots and scripts. / The contents of the message. / Use the display field for messages in quick chat.

func (*MatchComm) ContentBytes

func (rcv *MatchComm) ContentBytes() []byte

func (*MatchComm) ContentLength

func (rcv *MatchComm) ContentLength() int

func (*MatchComm) Display

func (rcv *MatchComm) Display() []byte

/ The message that will be displayed on the screen in quick chat. / This is intended for communication with humans. / Use the content field for communication with bots and scripts.

func (*MatchComm) Index

func (rcv *MatchComm) Index() uint32

/ The index of the player that sent this message. / For scripts, this value is the index in the match configuration instead.

func (*MatchComm) Init

func (rcv *MatchComm) Init(buf []byte, i flatbuffers.UOffsetT)

func (*MatchComm) MutateContent

func (rcv *MatchComm) MutateContent(j int, n byte) bool

/ The contents of the message. / Use the display field for messages in quick chat.

func (*MatchComm) MutateIndex

func (rcv *MatchComm) MutateIndex(n uint32) bool

/ The index of the player that sent this message. / For scripts, this value is the index in the match configuration instead.

func (*MatchComm) MutateTeam

func (rcv *MatchComm) MutateTeam(n uint32) bool

/ The team of the player that sent this message. / For scripts, this value is 2.

func (*MatchComm) MutateTeamOnly

func (rcv *MatchComm) MutateTeamOnly(n bool) bool

/ True if this message is team-only, false if everyone can see it

func (*MatchComm) Table

func (rcv *MatchComm) Table() flatbuffers.Table

func (*MatchComm) Team

func (rcv *MatchComm) Team() uint32

/ The team of the player that sent this message. / For scripts, this value is 2.

func (*MatchComm) TeamOnly

func (rcv *MatchComm) TeamOnly() bool

/ True if this message is team-only, false if everyone can see it

func (*MatchComm) UnPack

func (rcv *MatchComm) UnPack() *MatchCommT

func (*MatchComm) UnPackTo

func (rcv *MatchComm) UnPackTo(t *MatchCommT)

type MatchCommT

type MatchCommT struct {
	Index    uint32 `json:"index"`
	Team     uint32 `json:"team"`
	TeamOnly bool   `json:"team_only"`
	Display  string `json:"display"`
	Content  []byte `json:"content"`
}

/ A message sent to other bots and scripts through RLBot. / Use the team_only field if the message should only be received by team mates. / The message can also have a human-readable summary displayed in quick chat through the display field.

func (*MatchCommT) Pack

type MatchConfiguration

type MatchConfiguration struct {
	// contains filtered or unexported fields
}

func GetRootAsMatchConfiguration

func GetRootAsMatchConfiguration(buf []byte, offset flatbuffers.UOffsetT) *MatchConfiguration

func GetSizePrefixedRootAsMatchConfiguration

func GetSizePrefixedRootAsMatchConfiguration(buf []byte, offset flatbuffers.UOffsetT) *MatchConfiguration

func (*MatchConfiguration) AutoSaveReplay

func (rcv *MatchConfiguration) AutoSaveReplay() bool

/ Whether the match replay should be saved.

func (*MatchConfiguration) AutoStartAgents

func (rcv *MatchConfiguration) AutoStartAgents() bool

/ Additional configuration for the launching method. / See launcher. / If true, RLBot will start the bots and scripts that has a non-empty run command in their player/script configuration.

func (*MatchConfiguration) EnableRendering

func (rcv *MatchConfiguration) EnableRendering() bool

/ Whether debug rendering is displayed.

func (*MatchConfiguration) EnableStateSetting

func (rcv *MatchConfiguration) EnableStateSetting() bool

/ Whether clients are allowed to manipulate the game state, e.g. teleporting cars and ball.

func (*MatchConfiguration) ExistingMatchBehavior

func (rcv *MatchConfiguration) ExistingMatchBehavior() ExistingMatchBehavior

/ Mutator settings. / How to handle any ongoing match.

func (*MatchConfiguration) Freeplay

func (rcv *MatchConfiguration) Freeplay() bool

/ If set to true, a free play match is launched instead of an exhibition match. / This allows the players to use training keybinds, Bakkesmod plugins, and other features that are only allowed in free play.

func (*MatchConfiguration) GameMapUpk

func (rcv *MatchConfiguration) GameMapUpk() []byte

/ The name of a upk file, like UtopiaStadium_P, which should be loaded. / On Steam version of Rocket League this can be used to load custom map files, / but on Epic version it only works on the Psyonix maps. / Available maps can be found here: https://github.com/VirxEC/python-interface/blob/master/rlbot/utils/maps.py

func (*MatchConfiguration) GameMode

func (rcv *MatchConfiguration) GameMode() GameMode

/ The custom scripts used in the match. / The game mode. / This affects a few of the game rules although many game modes can also be recreated solely from mutators. / See what mutators and game mode combinations make up the official modes at https://github.com/VirxEC/python-interface/tree/master/tests/gamemodes

func (*MatchConfiguration) Init

func (rcv *MatchConfiguration) Init(buf []byte, i flatbuffers.UOffsetT)

func (*MatchConfiguration) InstantStart

func (rcv *MatchConfiguration) InstantStart() bool

/ Whether to start without a kickoff countdown.

func (*MatchConfiguration) Launcher

func (rcv *MatchConfiguration) Launcher() Launcher

/ How to launch Rocket League. / If left unset, RLBot will not launch the game. / To use Legendary, use Custom and set launcher_arg="legendary".

func (*MatchConfiguration) LauncherArg

func (rcv *MatchConfiguration) LauncherArg() []byte

/ Additional configuration for the launching method. / See launcher.

func (*MatchConfiguration) MutateAutoSaveReplay

func (rcv *MatchConfiguration) MutateAutoSaveReplay(n bool) bool

/ Whether the match replay should be saved.

func (*MatchConfiguration) MutateAutoStartAgents

func (rcv *MatchConfiguration) MutateAutoStartAgents(n bool) bool

/ If true, RLBot will start the bots and scripts that has a non-empty run command in their player/script configuration.

func (*MatchConfiguration) MutateEnableRendering

func (rcv *MatchConfiguration) MutateEnableRendering(n bool) bool

/ Whether debug rendering is displayed.

func (*MatchConfiguration) MutateEnableStateSetting

func (rcv *MatchConfiguration) MutateEnableStateSetting(n bool) bool

/ Whether clients are allowed to manipulate the game state, e.g. teleporting cars and ball.

func (*MatchConfiguration) MutateExistingMatchBehavior

func (rcv *MatchConfiguration) MutateExistingMatchBehavior(n ExistingMatchBehavior) bool

/ How to handle any ongoing match.

func (*MatchConfiguration) MutateFreeplay

func (rcv *MatchConfiguration) MutateFreeplay(n bool) bool

/ If set to true, a free play match is launched instead of an exhibition match. / This allows the players to use training keybinds, Bakkesmod plugins, and other features that are only allowed in free play.

func (*MatchConfiguration) MutateGameMode

func (rcv *MatchConfiguration) MutateGameMode(n GameMode) bool

/ The game mode. / This affects a few of the game rules although many game modes can also be recreated solely from mutators. / See what mutators and game mode combinations make up the official modes at https://github.com/VirxEC/python-interface/tree/master/tests/gamemodes

func (*MatchConfiguration) MutateInstantStart

func (rcv *MatchConfiguration) MutateInstantStart(n bool) bool

/ Whether to start without a kickoff countdown.

func (*MatchConfiguration) MutateLauncher

func (rcv *MatchConfiguration) MutateLauncher(n Launcher) bool

/ How to launch Rocket League. / If left unset, RLBot will not launch the game. / To use Legendary, use Custom and set launcher_arg="legendary".

func (*MatchConfiguration) MutateSkipReplays

func (rcv *MatchConfiguration) MutateSkipReplays(n bool) bool

/ Whether to skip goal replays.

func (*MatchConfiguration) MutateWaitForAgents

func (rcv *MatchConfiguration) MutateWaitForAgents(n bool) bool

/ If true, RLBot will start the match only once all bots and script have connected and are ready. / If false, the match will start as soon as the map loads.

func (*MatchConfiguration) Mutators

func (rcv *MatchConfiguration) Mutators(obj *MutatorSettings) *MutatorSettings

/ Mutator settings.

func (*MatchConfiguration) PlayerConfigurations

func (rcv *MatchConfiguration) PlayerConfigurations(obj *PlayerConfiguration, j int) bool

/ The name of a upk file, like UtopiaStadium_P, which should be loaded. / On Steam version of Rocket League this can be used to load custom map files, / but on Epic version it only works on the Psyonix maps. / Available maps can be found here: https://github.com/VirxEC/python-interface/blob/master/rlbot/utils/maps.py / The players in the match.

func (*MatchConfiguration) PlayerConfigurationsLength

func (rcv *MatchConfiguration) PlayerConfigurationsLength() int

func (*MatchConfiguration) ScriptConfigurations

func (rcv *MatchConfiguration) ScriptConfigurations(obj *ScriptConfiguration, j int) bool

/ The players in the match. / The custom scripts used in the match.

func (*MatchConfiguration) ScriptConfigurationsLength

func (rcv *MatchConfiguration) ScriptConfigurationsLength() int

func (*MatchConfiguration) SkipReplays

func (rcv *MatchConfiguration) SkipReplays() bool

/ Whether to skip goal replays.

func (*MatchConfiguration) Table

func (rcv *MatchConfiguration) Table() flatbuffers.Table

func (*MatchConfiguration) UnPack

func (rcv *MatchConfiguration) UnPack() *MatchConfigurationT

func (*MatchConfiguration) UnPackTo

func (rcv *MatchConfiguration) UnPackTo(t *MatchConfigurationT)

func (*MatchConfiguration) WaitForAgents

func (rcv *MatchConfiguration) WaitForAgents() bool

/ If true, RLBot will start the match only once all bots and script have connected and are ready. / If false, the match will start as soon as the map loads.

type MatchConfigurationT

type MatchConfigurationT struct {
	Launcher              Launcher                `json:"launcher"`
	LauncherArg           string                  `json:"launcher_arg"`
	AutoStartAgents       bool                    `json:"auto_start_agents"`
	WaitForAgents         bool                    `json:"wait_for_agents"`
	GameMapUpk            string                  `json:"game_map_upk"`
	PlayerConfigurations  []*PlayerConfigurationT `json:"player_configurations"`
	ScriptConfigurations  []*ScriptConfigurationT `json:"script_configurations"`
	GameMode              GameMode                `json:"game_mode"`
	SkipReplays           bool                    `json:"skip_replays"`
	InstantStart          bool                    `json:"instant_start"`
	Mutators              *MutatorSettingsT       `json:"mutators"`
	ExistingMatchBehavior ExistingMatchBehavior   `json:"existing_match_behavior"`
	EnableRendering       bool                    `json:"enable_rendering"`
	EnableStateSetting    bool                    `json:"enable_state_setting"`
	AutoSaveReplay        bool                    `json:"auto_save_replay"`
	Freeplay              bool                    `json:"freeplay"`
}

/ Definition of a match. / Can be sent to RLBot to request the start of a match.

func (*MatchConfigurationT) Pack

type MatchInfo

type MatchInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsMatchInfo

func GetRootAsMatchInfo(buf []byte, offset flatbuffers.UOffsetT) *MatchInfo

func GetSizePrefixedRootAsMatchInfo

func GetSizePrefixedRootAsMatchInfo(buf []byte, offset flatbuffers.UOffsetT) *MatchInfo

func (*MatchInfo) FrameNum

func (rcv *MatchInfo) FrameNum() uint32

/ Tracks the number of physics frames the game has computed. / May increase by more than one across consecutive packets. / Data type will roll over after 414 days at 120Hz.

func (*MatchInfo) GameSpeed

func (rcv *MatchInfo) GameSpeed() float32

/ Game speed multiplier. Regular game speed is 1.0.

func (*MatchInfo) GameTimeRemaining

func (rcv *MatchInfo) GameTimeRemaining() float32

/ Seconds remaining of the match. / This value ticks up instead of down during overtime or when the game duration mutator is set to Unlimited. / I.e. it matches the in-game timer at the top.

func (*MatchInfo) Init

func (rcv *MatchInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*MatchInfo) IsOvertime

func (rcv *MatchInfo) IsOvertime() bool

/ True if the game is in overtime.

func (*MatchInfo) IsUnlimitedTime

func (rcv *MatchInfo) IsUnlimitedTime() bool

/ True if the game duration is set to Unlimited.

func (*MatchInfo) LastSpectated

func (rcv *MatchInfo) LastSpectated() uint32

/ Index of the player who was most recently a spectated by the host.

func (*MatchInfo) MatchPhase

func (rcv *MatchInfo) MatchPhase() MatchPhase

/ The current phase of the match, i.e. kickoff, replay, active, etc.

func (*MatchInfo) MutateFrameNum

func (rcv *MatchInfo) MutateFrameNum(n uint32) bool

/ Tracks the number of physics frames the game has computed. / May increase by more than one across consecutive packets. / Data type will roll over after 414 days at 120Hz.

func (*MatchInfo) MutateGameSpeed

func (rcv *MatchInfo) MutateGameSpeed(n float32) bool

/ Game speed multiplier. Regular game speed is 1.0.

func (*MatchInfo) MutateGameTimeRemaining

func (rcv *MatchInfo) MutateGameTimeRemaining(n float32) bool

/ Seconds remaining of the match. / This value ticks up instead of down during overtime or when the game duration mutator is set to Unlimited. / I.e. it matches the in-game timer at the top.

func (*MatchInfo) MutateIsOvertime

func (rcv *MatchInfo) MutateIsOvertime(n bool) bool

/ True if the game is in overtime.

func (*MatchInfo) MutateIsUnlimitedTime

func (rcv *MatchInfo) MutateIsUnlimitedTime(n bool) bool

/ True if the game duration is set to Unlimited.

func (*MatchInfo) MutateLastSpectated

func (rcv *MatchInfo) MutateLastSpectated(n uint32) bool

/ Index of the player who was most recently a spectated by the host.

func (*MatchInfo) MutateMatchPhase

func (rcv *MatchInfo) MutateMatchPhase(n MatchPhase) bool

/ The current phase of the match, i.e. kickoff, replay, active, etc.

func (*MatchInfo) MutateSecondsElapsed

func (rcv *MatchInfo) MutateSecondsElapsed(n float32) bool

/ How many seconds have elapsed since the first game packet of the match. / This value ticks up even during kickoffs, replays, pause, etc.

func (*MatchInfo) MutateWorldGravityZ

func (rcv *MatchInfo) MutateWorldGravityZ(n float32) bool

/ The current strength of gravity. Default is -650.

func (*MatchInfo) SecondsElapsed

func (rcv *MatchInfo) SecondsElapsed() float32

/ How many seconds have elapsed since the first game packet of the match. / This value ticks up even during kickoffs, replays, pause, etc.

func (*MatchInfo) Table

func (rcv *MatchInfo) Table() flatbuffers.Table

func (*MatchInfo) UnPack

func (rcv *MatchInfo) UnPack() *MatchInfoT

func (*MatchInfo) UnPackTo

func (rcv *MatchInfo) UnPackTo(t *MatchInfoT)

func (*MatchInfo) WorldGravityZ

func (rcv *MatchInfo) WorldGravityZ() float32

/ The current strength of gravity. Default is -650.

type MatchInfoT

type MatchInfoT struct {
	SecondsElapsed    float32    `json:"seconds_elapsed"`
	GameTimeRemaining float32    `json:"game_time_remaining"`
	IsOvertime        bool       `json:"is_overtime"`
	IsUnlimitedTime   bool       `json:"is_unlimited_time"`
	MatchPhase        MatchPhase `json:"match_phase"`
	WorldGravityZ     float32    `json:"world_gravity_z"`
	GameSpeed         float32    `json:"game_speed"`
	LastSpectated     uint32     `json:"last_spectated"`
	FrameNum          uint32     `json:"frame_num"`
}

/ Information about the current match such as time and gravity.

func (*MatchInfoT) Pack

type MatchLengthMutator

type MatchLengthMutator byte

/ Match length mutator options.

const (
	MatchLengthMutatorFiveMinutes   MatchLengthMutator = 0
	MatchLengthMutatorTenMinutes    MatchLengthMutator = 1
	MatchLengthMutatorTwentyMinutes MatchLengthMutator = 2
	MatchLengthMutatorUnlimited     MatchLengthMutator = 3
)

func (MatchLengthMutator) String

func (v MatchLengthMutator) String() string

type MatchPhase

type MatchPhase byte

/ Possible phases of the match.

const (
	/// Match has not been created yet.
	MatchPhaseInactive MatchPhase = 0
	/// 3-2-1 countdown of a kickoff.
	MatchPhaseCountdown MatchPhase = 1
	/// After kickoff countdown, but before ball has been hit.
	/// The match automatically proceeds to Active after 2 seconds.
	MatchPhaseKickoff MatchPhase = 2
	/// The ball is in play and time is ticking.
	MatchPhaseActive MatchPhase = 3
	/// A goal was just scored. Waiting for replay to start.
	MatchPhaseGoalScored MatchPhase = 4
	/// Goal replay is being shown.
	MatchPhaseReplay MatchPhase = 5
	/// The match is paused.
	MatchPhasePaused MatchPhase = 6
	/// The match has ended.
	MatchPhaseEnded MatchPhase = 7
)

func (MatchPhase) String

func (v MatchPhase) String() string

type MaxScoreMutator

type MaxScoreMutator byte

/ Max score mutator options.

const (
	MaxScoreMutatorUnlimited    MaxScoreMutator = 0
	MaxScoreMutatorOneGoal      MaxScoreMutator = 1
	MaxScoreMutatorThreeGoals   MaxScoreMutator = 2
	MaxScoreMutatorFiveGoals    MaxScoreMutator = 3
	MaxScoreMutatorSevenGoals   MaxScoreMutator = 4
	MaxScoreMutatorTenGoals     MaxScoreMutator = 5
	MaxScoreMutatorTwentyGoals  MaxScoreMutator = 6
	MaxScoreMutatorThirtyGoals  MaxScoreMutator = 7
	MaxScoreMutatorFortyGoals   MaxScoreMutator = 8
	MaxScoreMutatorFiftyGoals   MaxScoreMutator = 9
	MaxScoreMutatorSixtyGoals   MaxScoreMutator = 10
	MaxScoreMutatorSeventyGoals MaxScoreMutator = 11
	MaxScoreMutatorEightyGoals  MaxScoreMutator = 12
	MaxScoreMutatorNinetyGoals  MaxScoreMutator = 13
	MaxScoreMutatorHundredGoals MaxScoreMutator = 14
)

func (MaxScoreMutator) String

func (v MaxScoreMutator) String() string

type MaxTimeMutator

type MaxTimeMutator byte

/ Max time mutator options.

const (
	MaxTimeMutatorUnlimited     MaxTimeMutator = 0
	MaxTimeMutatorElevenMinutes MaxTimeMutator = 1
)

func (MaxTimeMutator) String

func (v MaxTimeMutator) String() string

type MultiBallMutator

type MultiBallMutator byte

/ Multi ball mutator options.

const (
	MultiBallMutatorOne  MultiBallMutator = 0
	MultiBallMutatorTwo  MultiBallMutator = 1
	MultiBallMutatorFour MultiBallMutator = 2
	MultiBallMutatorSix  MultiBallMutator = 3
)

func (MultiBallMutator) String

func (v MultiBallMutator) String() string

type MutatorSettings

type MutatorSettings struct {
	// contains filtered or unexported fields
}

func GetRootAsMutatorSettings

func GetRootAsMutatorSettings(buf []byte, offset flatbuffers.UOffsetT) *MutatorSettings

func GetSizePrefixedRootAsMutatorSettings

func GetSizePrefixedRootAsMutatorSettings(buf []byte, offset flatbuffers.UOffsetT) *MutatorSettings

func (*MutatorSettings) AerialGoalScore

func (rcv *MutatorSettings) AerialGoalScore() AerialGoalScoreMutator

/ Aerial goal score mutator.

func (*MutatorSettings) AssistGoalScore

func (rcv *MutatorSettings) AssistGoalScore() AssistGoalScoreMutator

/ Assist goal score mutator.

func (*MutatorSettings) Audio

func (rcv *MutatorSettings) Audio() AudioMutator

/ Additional audio options for custom modes.

func (*MutatorSettings) BallBounciness

func (rcv *MutatorSettings) BallBounciness() BallBouncinessMutator

/ Ball bounciness.

func (*MutatorSettings) BallGravity

func (rcv *MutatorSettings) BallGravity() BallGravityMutator

/ Ball gravity.

func (*MutatorSettings) BallMaxSpeed

func (rcv *MutatorSettings) BallMaxSpeed() BallMaxSpeedMutator

/ Ball max speed.

func (*MutatorSettings) BallSize

func (rcv *MutatorSettings) BallSize() BallSizeMutator

/ Ball size.

func (*MutatorSettings) BallType

func (rcv *MutatorSettings) BallType() BallTypeMutator

/ Ball type and shape.

func (*MutatorSettings) BallWeight

func (rcv *MutatorSettings) BallWeight() BallWeightMutator

/ Ball weight and how much is curves.

func (*MutatorSettings) BoostAmount

func (rcv *MutatorSettings) BoostAmount() BoostAmountMutator

/ Boost amount/recharge.

func (*MutatorSettings) BoostStrength

func (rcv *MutatorSettings) BoostStrength() BoostStrengthMutator

/ Boost strength multiplier.

func (*MutatorSettings) Demolish

func (rcv *MutatorSettings) Demolish() DemolishMutator

/ Demolition conditions.

func (*MutatorSettings) DemolishScore

func (rcv *MutatorSettings) DemolishScore() DemolishScoreMutator

/ Demolish score mutator.

func (*MutatorSettings) DodgeTimer

func (rcv *MutatorSettings) DodgeTimer() DodgeTimerMutator

/ Dodge timer mutator.

func (*MutatorSettings) GameEvent

func (rcv *MutatorSettings) GameEvent() GameEventMutator

/ Additional game behaviour for custom modes.

func (*MutatorSettings) GameSpeed

func (rcv *MutatorSettings) GameSpeed() GameSpeedMutator

/ A game speed multiplier.

func (*MutatorSettings) Gravity

func (rcv *MutatorSettings) Gravity() GravityMutator

/ Strength of gravity.

func (*MutatorSettings) Init

func (rcv *MutatorSettings) Init(buf []byte, i flatbuffers.UOffsetT)

func (*MutatorSettings) InputRestriction

func (rcv *MutatorSettings) InputRestriction() InputRestrictionMutator

/ Player input restriction mutator.

func (*MutatorSettings) Jump

func (rcv *MutatorSettings) Jump() JumpMutator

/ Jumps mutator.

func (*MutatorSettings) MatchLength

func (rcv *MutatorSettings) MatchLength() MatchLengthMutator

/ Duration of the match.

func (*MutatorSettings) MaxScore

func (rcv *MutatorSettings) MaxScore() MaxScoreMutator

/ Max score of match. If this score is reached, the team immediately wins.

func (*MutatorSettings) MaxTime

func (rcv *MutatorSettings) MaxTime() MaxTimeMutator

/ Max real-time duration of match including kickoff, replays, and more. / If the score is tied upon time-out, the number of shots determine the winner.

func (*MutatorSettings) MultiBall

func (rcv *MutatorSettings) MultiBall() MultiBallMutator

/ The number of balls.

func (*MutatorSettings) MutateAerialGoalScore

func (rcv *MutatorSettings) MutateAerialGoalScore(n AerialGoalScoreMutator) bool

/ Aerial goal score mutator.

func (*MutatorSettings) MutateAssistGoalScore

func (rcv *MutatorSettings) MutateAssistGoalScore(n AssistGoalScoreMutator) bool

/ Assist goal score mutator.

func (*MutatorSettings) MutateAudio

func (rcv *MutatorSettings) MutateAudio(n AudioMutator) bool

/ Additional audio options for custom modes.

func (*MutatorSettings) MutateBallBounciness

func (rcv *MutatorSettings) MutateBallBounciness(n BallBouncinessMutator) bool

/ Ball bounciness.

func (*MutatorSettings) MutateBallGravity

func (rcv *MutatorSettings) MutateBallGravity(n BallGravityMutator) bool

/ Ball gravity.

func (*MutatorSettings) MutateBallMaxSpeed

func (rcv *MutatorSettings) MutateBallMaxSpeed(n BallMaxSpeedMutator) bool

/ Ball max speed.

func (*MutatorSettings) MutateBallSize

func (rcv *MutatorSettings) MutateBallSize(n BallSizeMutator) bool

/ Ball size.

func (*MutatorSettings) MutateBallType

func (rcv *MutatorSettings) MutateBallType(n BallTypeMutator) bool

/ Ball type and shape.

func (*MutatorSettings) MutateBallWeight

func (rcv *MutatorSettings) MutateBallWeight(n BallWeightMutator) bool

/ Ball weight and how much is curves.

func (*MutatorSettings) MutateBoostAmount

func (rcv *MutatorSettings) MutateBoostAmount(n BoostAmountMutator) bool

/ Boost amount/recharge.

func (*MutatorSettings) MutateBoostStrength

func (rcv *MutatorSettings) MutateBoostStrength(n BoostStrengthMutator) bool

/ Boost strength multiplier.

func (*MutatorSettings) MutateDemolish

func (rcv *MutatorSettings) MutateDemolish(n DemolishMutator) bool

/ Demolition conditions.

func (*MutatorSettings) MutateDemolishScore

func (rcv *MutatorSettings) MutateDemolishScore(n DemolishScoreMutator) bool

/ Demolish score mutator.

func (*MutatorSettings) MutateDodgeTimer

func (rcv *MutatorSettings) MutateDodgeTimer(n DodgeTimerMutator) bool

/ Dodge timer mutator.

func (*MutatorSettings) MutateGameEvent

func (rcv *MutatorSettings) MutateGameEvent(n GameEventMutator) bool

/ Additional game behaviour for custom modes.

func (*MutatorSettings) MutateGameSpeed

func (rcv *MutatorSettings) MutateGameSpeed(n GameSpeedMutator) bool

/ A game speed multiplier.

func (*MutatorSettings) MutateGravity

func (rcv *MutatorSettings) MutateGravity(n GravityMutator) bool

/ Strength of gravity.

func (*MutatorSettings) MutateInputRestriction

func (rcv *MutatorSettings) MutateInputRestriction(n InputRestrictionMutator) bool

/ Player input restriction mutator.

func (*MutatorSettings) MutateJump

func (rcv *MutatorSettings) MutateJump(n JumpMutator) bool

/ Jumps mutator.

func (*MutatorSettings) MutateMatchLength

func (rcv *MutatorSettings) MutateMatchLength(n MatchLengthMutator) bool

/ Duration of the match.

func (*MutatorSettings) MutateMaxScore

func (rcv *MutatorSettings) MutateMaxScore(n MaxScoreMutator) bool

/ Max score of match. If this score is reached, the team immediately wins.

func (*MutatorSettings) MutateMaxTime

func (rcv *MutatorSettings) MutateMaxTime(n MaxTimeMutator) bool

/ Max real-time duration of match including kickoff, replays, and more. / If the score is tied upon time-out, the number of shots determine the winner.

func (*MutatorSettings) MutateMultiBall

func (rcv *MutatorSettings) MutateMultiBall(n MultiBallMutator) bool

/ The number of balls.

func (*MutatorSettings) MutateNormalGoalScore

func (rcv *MutatorSettings) MutateNormalGoalScore(n NormalGoalScoreMutator) bool

/ Normal goal score mutator.

func (*MutatorSettings) MutateOvertime

func (rcv *MutatorSettings) MutateOvertime(n OvertimeMutator) bool

/ The overtime rules and tiebreaker.

func (*MutatorSettings) MutatePossessionScore

func (rcv *MutatorSettings) MutatePossessionScore(n PossessionScoreMutator) bool

/ Possession score mutator.

func (*MutatorSettings) MutateRespawnTime

func (rcv *MutatorSettings) MutateRespawnTime(n RespawnTimeMutator) bool

/ Demolition respawn time.

func (*MutatorSettings) MutateRumble

func (rcv *MutatorSettings) MutateRumble(n RumbleMutator) bool

/ Rumble item rules.

func (*MutatorSettings) MutateSeriesLength

func (rcv *MutatorSettings) MutateSeriesLength(n SeriesLengthMutator) bool

/ The series length.

func (*MutatorSettings) MutateStaleBall

func (rcv *MutatorSettings) MutateStaleBall(n StaleBallMutator) bool

/ Stale ball mutator.

func (*MutatorSettings) MutateTerritory

func (rcv *MutatorSettings) MutateTerritory(n TerritoryMutator) bool

/ Territory mutator.

func (*MutatorSettings) NormalGoalScore

func (rcv *MutatorSettings) NormalGoalScore() NormalGoalScoreMutator

/ Normal goal score mutator.

func (*MutatorSettings) Overtime

func (rcv *MutatorSettings) Overtime() OvertimeMutator

/ The overtime rules and tiebreaker.

func (*MutatorSettings) PossessionScore

func (rcv *MutatorSettings) PossessionScore() PossessionScoreMutator

/ Possession score mutator.

func (*MutatorSettings) RespawnTime

func (rcv *MutatorSettings) RespawnTime() RespawnTimeMutator

/ Demolition respawn time.

func (*MutatorSettings) Rumble

func (rcv *MutatorSettings) Rumble() RumbleMutator

/ Rumble item rules.

func (*MutatorSettings) SeriesLength

func (rcv *MutatorSettings) SeriesLength() SeriesLengthMutator

/ The series length.

func (*MutatorSettings) StaleBall

func (rcv *MutatorSettings) StaleBall() StaleBallMutator

/ Stale ball mutator.

func (*MutatorSettings) Table

func (rcv *MutatorSettings) Table() flatbuffers.Table

func (*MutatorSettings) Territory

func (rcv *MutatorSettings) Territory() TerritoryMutator

/ Territory mutator.

func (*MutatorSettings) UnPack

func (rcv *MutatorSettings) UnPack() *MutatorSettingsT

func (*MutatorSettings) UnPackTo

func (rcv *MutatorSettings) UnPackTo(t *MutatorSettingsT)

type MutatorSettingsT

type MutatorSettingsT struct {
	MatchLength      MatchLengthMutator      `json:"match_length"`
	MaxScore         MaxScoreMutator         `json:"max_score"`
	MultiBall        MultiBallMutator        `json:"multi_ball"`
	Overtime         OvertimeMutator         `json:"overtime"`
	SeriesLength     SeriesLengthMutator     `json:"series_length"`
	GameSpeed        GameSpeedMutator        `json:"game_speed"`
	BallMaxSpeed     BallMaxSpeedMutator     `json:"ball_max_speed"`
	BallType         BallTypeMutator         `json:"ball_type"`
	BallWeight       BallWeightMutator       `json:"ball_weight"`
	BallSize         BallSizeMutator         `json:"ball_size"`
	BallBounciness   BallBouncinessMutator   `json:"ball_bounciness"`
	BoostAmount      BoostAmountMutator      `json:"boost_amount"`
	Rumble           RumbleMutator           `json:"rumble"`
	BoostStrength    BoostStrengthMutator    `json:"boost_strength"`
	Gravity          GravityMutator          `json:"gravity"`
	Demolish         DemolishMutator         `json:"demolish"`
	RespawnTime      RespawnTimeMutator      `json:"respawn_time"`
	MaxTime          MaxTimeMutator          `json:"max_time"`
	GameEvent        GameEventMutator        `json:"game_event"`
	Audio            AudioMutator            `json:"audio"`
	BallGravity      BallGravityMutator      `json:"ball_gravity"`
	Territory        TerritoryMutator        `json:"territory"`
	StaleBall        StaleBallMutator        `json:"stale_ball"`
	Jump             JumpMutator             `json:"jump"`
	DodgeTimer       DodgeTimerMutator       `json:"dodge_timer"`
	PossessionScore  PossessionScoreMutator  `json:"possession_score"`
	DemolishScore    DemolishScoreMutator    `json:"demolish_score"`
	NormalGoalScore  NormalGoalScoreMutator  `json:"normal_goal_score"`
	AerialGoalScore  AerialGoalScoreMutator  `json:"aerial_goal_score"`
	AssistGoalScore  AssistGoalScoreMutator  `json:"assist_goal_score"`
	InputRestriction InputRestrictionMutator `json:"input_restriction"`
}

/ All mutators options.

func (*MutatorSettingsT) Pack

type NormalGoalScoreMutator

type NormalGoalScoreMutator byte
const (
	NormalGoalScoreMutatorOne   NormalGoalScoreMutator = 0
	NormalGoalScoreMutatorZero  NormalGoalScoreMutator = 1
	NormalGoalScoreMutatorTwo   NormalGoalScoreMutator = 2
	NormalGoalScoreMutatorThree NormalGoalScoreMutator = 3
	NormalGoalScoreMutatorFive  NormalGoalScoreMutator = 4
	NormalGoalScoreMutatorTen   NormalGoalScoreMutator = 5
)

func (NormalGoalScoreMutator) String

func (v NormalGoalScoreMutator) String() string

type OvertimeMutator

type OvertimeMutator byte

/ Overtime mutator options.

const (
	OvertimeMutatorUnlimited         OvertimeMutator = 0
	OvertimeMutatorFiveMaxFirstScore OvertimeMutator = 1
	OvertimeMutatorFiveMaxRandomTeam OvertimeMutator = 2
)

func (OvertimeMutator) String

func (v OvertimeMutator) String() string

type PartyMember

type PartyMember struct {
	// contains filtered or unexported fields
}

func GetRootAsPartyMember

func GetRootAsPartyMember(buf []byte, offset flatbuffers.UOffsetT) *PartyMember

func GetSizePrefixedRootAsPartyMember

func GetSizePrefixedRootAsPartyMember(buf []byte, offset flatbuffers.UOffsetT) *PartyMember

func (*PartyMember) Init

func (rcv *PartyMember) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PartyMember) Table

func (rcv *PartyMember) Table() flatbuffers.Table

func (*PartyMember) UnPack

func (rcv *PartyMember) UnPack() *PartyMemberT

func (*PartyMember) UnPackTo

func (rcv *PartyMember) UnPackTo(t *PartyMemberT)

type PartyMemberT

type PartyMemberT struct {
}

/ A player that Rocket League treats as human, e.g. has a dedicated camera and can do training mode, / but is actually controlled by a bot.

func (*PartyMemberT) Pack

type Physics

type Physics struct {
	// contains filtered or unexported fields
}

func (*Physics) AngularVelocity

func (rcv *Physics) AngularVelocity(obj *Vector3) *Vector3

func (*Physics) Init

func (rcv *Physics) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Physics) Location

func (rcv *Physics) Location(obj *Vector3) *Vector3

func (*Physics) Rotation

func (rcv *Physics) Rotation(obj *Rotator) *Rotator

func (*Physics) Table

func (rcv *Physics) Table() flatbuffers.Table

func (*Physics) UnPack

func (rcv *Physics) UnPack() *PhysicsT

func (*Physics) UnPackTo

func (rcv *Physics) UnPackTo(t *PhysicsT)

func (*Physics) Velocity

func (rcv *Physics) Velocity(obj *Vector3) *Vector3

type PhysicsT

type PhysicsT struct {
	Location        *Vector3T `json:"location"`
	Rotation        *RotatorT `json:"rotation"`
	Velocity        *Vector3T `json:"velocity"`
	AngularVelocity *Vector3T `json:"angular_velocity"`
}

/ The physical state of an object.

func (*PhysicsT) Pack

func (t *PhysicsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type PlayerClass

type PlayerClass byte

/ Possible player types.

const (
	PlayerClassNONE        PlayerClass = 0
	PlayerClassCustomBot   PlayerClass = 1
	PlayerClassHuman       PlayerClass = 2
	PlayerClassPsyonix     PlayerClass = 3
	PlayerClassPartyMember PlayerClass = 4
)

func (PlayerClass) String

func (v PlayerClass) String() string

func (PlayerClass) UnPack

func (rcv PlayerClass) UnPack(table flatbuffers.Table) *PlayerClassT

type PlayerClassT

type PlayerClassT struct {
	Type  PlayerClass
	Value interface{}
}

func (*PlayerClassT) Pack

type PlayerConfiguration

type PlayerConfiguration struct {
	// contains filtered or unexported fields
}

func GetRootAsPlayerConfiguration

func GetRootAsPlayerConfiguration(buf []byte, offset flatbuffers.UOffsetT) *PlayerConfiguration

func GetSizePrefixedRootAsPlayerConfiguration

func GetSizePrefixedRootAsPlayerConfiguration(buf []byte, offset flatbuffers.UOffsetT) *PlayerConfiguration

func (*PlayerConfiguration) AgentId

func (rcv *PlayerConfiguration) AgentId() []byte

/ A unique user-defined string that is used to connect clients to the right players/scripts. / If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID. / Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two. / The recommended format for agent ids is "developer_name/bot_name".

func (*PlayerConfiguration) Hivemind

func (rcv *PlayerConfiguration) Hivemind() bool

/ A unique user-defined string that is used to connect clients to the right players/scripts. / If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID. / Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two. / The recommended format for agent ids is "developer_name/bot_name". / Whether this player is part of a hivemind bot where all players/cars are controlled by the same process. / Players in the hivemind must have the same name, team, run command, and agent id.

func (*PlayerConfiguration) Init

func (rcv *PlayerConfiguration) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PlayerConfiguration) Loadout

func (rcv *PlayerConfiguration) Loadout(obj *PlayerLoadout) *PlayerLoadout

/ The console command that starts this bot. / The loadout of the player.

func (*PlayerConfiguration) MutateHivemind

func (rcv *PlayerConfiguration) MutateHivemind(n bool) bool

/ Whether this player is part of a hivemind bot where all players/cars are controlled by the same process. / Players in the hivemind must have the same name, team, run command, and agent id.

func (*PlayerConfiguration) MutateSpawnId

func (rcv *PlayerConfiguration) MutateSpawnId(n int32) bool

/ The spawn id of the player. / The value will be set by RLBot. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding player in the GamePacket.

func (*PlayerConfiguration) MutateTeam

func (rcv *PlayerConfiguration) MutateTeam(n uint32) bool

/ The team of the player. Blue is 0, orange is 1.

func (*PlayerConfiguration) MutateVarietyType

func (rcv *PlayerConfiguration) MutateVarietyType(n PlayerClass) bool

func (*PlayerConfiguration) Name

func (rcv *PlayerConfiguration) Name() []byte

/ The type of the player, i.e. human, Psyonix bot, or a custom bot. / The name of the player. / When match start, RLBot will ensure each bot has a unique name. / In other words, the MatchConfiguration sent upon match start may contain a "Nexto (2)" if there are two Nextos in the match.

func (*PlayerConfiguration) RootDir

func (rcv *PlayerConfiguration) RootDir() []byte

/ The root directory of the bot and the working directory for the run command.

func (*PlayerConfiguration) RunCommand

func (rcv *PlayerConfiguration) RunCommand() []byte

/ The root directory of the bot and the working directory for the run command. / The console command that starts this bot.

func (*PlayerConfiguration) SpawnId

func (rcv *PlayerConfiguration) SpawnId() int32

/ The loadout of the player. / The spawn id of the player. / The value will be set by RLBot. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding player in the GamePacket.

func (*PlayerConfiguration) Table

func (rcv *PlayerConfiguration) Table() flatbuffers.Table

func (*PlayerConfiguration) Team

func (rcv *PlayerConfiguration) Team() uint32

/ The name of the player. / When match start, RLBot will ensure each bot has a unique name. / In other words, the MatchConfiguration sent upon match start may contain a "Nexto (2)" if there are two Nextos in the match. / The team of the player. Blue is 0, orange is 1.

func (*PlayerConfiguration) UnPack

func (*PlayerConfiguration) UnPackTo

func (rcv *PlayerConfiguration) UnPackTo(t *PlayerConfigurationT)

func (*PlayerConfiguration) Variety

func (rcv *PlayerConfiguration) Variety(obj *flatbuffers.Table) bool

/ The type of the player, i.e. human, Psyonix bot, or a custom bot.

func (*PlayerConfiguration) VarietyType

func (rcv *PlayerConfiguration) VarietyType() PlayerClass

type PlayerConfigurationT

type PlayerConfigurationT struct {
	Variety    *PlayerClassT   `json:"variety"`
	Name       string          `json:"name"`
	Team       uint32          `json:"team"`
	RootDir    string          `json:"root_dir"`
	RunCommand string          `json:"run_command"`
	Loadout    *PlayerLoadoutT `json:"loadout"`
	SpawnId    int32           `json:"spawn_id"`
	AgentId    string          `json:"agent_id"`
	Hivemind   bool            `json:"hivemind"`
}

/ A PlayerConfiguration defines a player of a match.

func (*PlayerConfigurationT) Pack

type PlayerInfo

type PlayerInfo struct {
	// contains filtered or unexported fields
}

func GetRootAsPlayerInfo

func GetRootAsPlayerInfo(buf []byte, offset flatbuffers.UOffsetT) *PlayerInfo

func GetSizePrefixedRootAsPlayerInfo

func GetSizePrefixedRootAsPlayerInfo(buf []byte, offset flatbuffers.UOffsetT) *PlayerInfo

func (*PlayerInfo) Accolades

func (rcv *PlayerInfo) Accolades(j int) []byte

/ Events from the latest tick involving this player. Possible values include: / Win, Loss, TimePlayed; / Shot, Assist, Center, Clear, PoolShot; / Goal, AerialGoal, BicycleGoal, BulletGoal, BackwardsGoal, LongGoal, OvertimeGoal, TurtleGoal; / AerialHit, BicycleHit, BulletHit, JuggleHit, FirstTouch, BallHit; / Save, EpicSave, FreezeSave; / HatTrick, Savior, Playmaker, MVP; / FastestGoal, SlowestGoal, FurthestGoal, OwnGoal; / MostBallTouches, FewestBallTouches, MostBoostPickups, FewestBoostPickups, BoostPickups; / CarTouches, Demolition, Demolish; / LowFive, HighFive; / Note that the list clears every tick.

func (*PlayerInfo) AccoladesLength

func (rcv *PlayerInfo) AccoladesLength() int

func (*PlayerInfo) AirState

func (rcv *PlayerInfo) AirState() AirState

/ Information about the latest touch with a ball. / Is null if the player has yet to touch the ball. / Whether the player's car is on the ground or in the air, and what jump/dodging forces currently affects the car.

func (*PlayerInfo) Boost

func (rcv *PlayerInfo) Boost() float32

/ The current boost, from 0 to 100.

func (*PlayerInfo) DemolishedTimeout

func (rcv *PlayerInfo) DemolishedTimeout() float32

/ How long until the player is not demolished anymore. / The value is -1 if while not demolished.

func (*PlayerInfo) DodgeDir

func (rcv *PlayerInfo) DodgeDir(obj *Vector2) *Vector2

/ The unit direction of the latest dodge. / The value will be (0,0) if it was a stall.

func (*PlayerInfo) DodgeElapsed

func (rcv *PlayerInfo) DodgeElapsed() float32

/ The time in seconds since the last dodge was initiated. / Resets to 0 when the player lands on the ground.

func (*PlayerInfo) DodgeTimeout

func (rcv *PlayerInfo) DodgeTimeout() float32

/ How long until the player cannot dodge/double jump anymore. / The value is -1 while on ground or when airborne for too long after jumping. / A dodge/double jump is possible for 1.25 seconds after the first jump plus / up to an additional 0.2 seconds depending how long the jump button was pressed for the first jump.

func (*PlayerInfo) HasDodged

func (rcv *PlayerInfo) HasDodged() bool

/ True if the player has dodged.

func (*PlayerInfo) HasDoubleJumped

func (rcv *PlayerInfo) HasDoubleJumped() bool

/ True if the player has doubled jumped.

func (*PlayerInfo) HasJumped

func (rcv *PlayerInfo) HasJumped() bool

/ The last controller input from this player. / True if the player has jumped. See dodge_timeout to know if a dodge/secondary jump is available.

func (*PlayerInfo) Hitbox

func (rcv *PlayerInfo) Hitbox(obj *BoxShape) *BoxShape

/ The various scores of this player, e.g. those on the leaderboard. / The hitbox of the player's car. / Note that the hitbox is not centered at the cars location. / See the hitbox offset.

func (*PlayerInfo) HitboxOffset

func (rcv *PlayerInfo) HitboxOffset(obj *Vector3) *Vector3

/ The hitbox of the player's car. / Note that the hitbox is not centered at the cars location. / See the hitbox offset. / The center of the hitbox in local coordinates.

func (*PlayerInfo) Init

func (rcv *PlayerInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PlayerInfo) IsBot

func (rcv *PlayerInfo) IsBot() bool

/ Whether the player is a bot or a human.

func (*PlayerInfo) IsSupersonic

func (rcv *PlayerInfo) IsSupersonic() bool

/ Whether the player's car is moving at supersonic speed and can demolish.

func (*PlayerInfo) LastInput

func (rcv *PlayerInfo) LastInput(obj *ControllerState) *ControllerState

/ Events from the latest tick involving this player. Possible values include: / Win, Loss, TimePlayed; / Shot, Assist, Center, Clear, PoolShot; / Goal, AerialGoal, BicycleGoal, BulletGoal, BackwardsGoal, LongGoal, OvertimeGoal, TurtleGoal; / AerialHit, BicycleHit, BulletHit, JuggleHit, FirstTouch, BallHit; / Save, EpicSave, FreezeSave; / HatTrick, Savior, Playmaker, MVP; / FastestGoal, SlowestGoal, FurthestGoal, OwnGoal; / MostBallTouches, FewestBallTouches, MostBoostPickups, FewestBoostPickups, BoostPickups; / CarTouches, Demolition, Demolish; / LowFive, HighFive; / Note that the list clears every tick. / The last controller input from this player.

func (*PlayerInfo) LatestTouch

func (rcv *PlayerInfo) LatestTouch(obj *Touch) *Touch

/ The center of the hitbox in local coordinates. / Information about the latest touch with a ball. / Is null if the player has yet to touch the ball.

func (*PlayerInfo) MutateAirState

func (rcv *PlayerInfo) MutateAirState(n AirState) bool

/ Whether the player's car is on the ground or in the air, and what jump/dodging forces currently affects the car.

func (*PlayerInfo) MutateBoost

func (rcv *PlayerInfo) MutateBoost(n float32) bool

/ The current boost, from 0 to 100.

func (*PlayerInfo) MutateDemolishedTimeout

func (rcv *PlayerInfo) MutateDemolishedTimeout(n float32) bool

/ How long until the player is not demolished anymore. / The value is -1 if while not demolished.

func (*PlayerInfo) MutateDodgeElapsed

func (rcv *PlayerInfo) MutateDodgeElapsed(n float32) bool

/ The time in seconds since the last dodge was initiated. / Resets to 0 when the player lands on the ground.

func (*PlayerInfo) MutateDodgeTimeout

func (rcv *PlayerInfo) MutateDodgeTimeout(n float32) bool

/ How long until the player cannot dodge/double jump anymore. / The value is -1 while on ground or when airborne for too long after jumping. / A dodge/double jump is possible for 1.25 seconds after the first jump plus / up to an additional 0.2 seconds depending how long the jump button was pressed for the first jump.

func (*PlayerInfo) MutateHasDodged

func (rcv *PlayerInfo) MutateHasDodged(n bool) bool

/ True if the player has dodged.

func (*PlayerInfo) MutateHasDoubleJumped

func (rcv *PlayerInfo) MutateHasDoubleJumped(n bool) bool

/ True if the player has doubled jumped.

func (*PlayerInfo) MutateHasJumped

func (rcv *PlayerInfo) MutateHasJumped(n bool) bool

/ True if the player has jumped. See dodge_timeout to know if a dodge/secondary jump is available.

func (*PlayerInfo) MutateIsBot

func (rcv *PlayerInfo) MutateIsBot(n bool) bool

/ Whether the player is a bot or a human.

func (*PlayerInfo) MutateIsSupersonic

func (rcv *PlayerInfo) MutateIsSupersonic(n bool) bool

/ Whether the player's car is moving at supersonic speed and can demolish.

func (*PlayerInfo) MutateSpawnId

func (rcv *PlayerInfo) MutateSpawnId(n int32) bool

/ The spawn id of the player. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.

func (*PlayerInfo) MutateTeam

func (rcv *PlayerInfo) MutateTeam(n uint32) bool

/ The team of the player.

func (*PlayerInfo) Name

func (rcv *PlayerInfo) Name() []byte

/ The name of the player as it appears in game, i.e. possibly appended with "(2)". / The original name can be found in the match configuration.

func (*PlayerInfo) Physics

func (rcv *PlayerInfo) Physics(obj *Physics) *Physics

/ The physical state of the player's car.

func (*PlayerInfo) ScoreInfo

func (rcv *PlayerInfo) ScoreInfo(obj *ScoreInfo) *ScoreInfo

/ The physical state of the player's car. / The various scores of this player, e.g. those on the leaderboard.

func (*PlayerInfo) SpawnId

func (rcv *PlayerInfo) SpawnId() int32

/ The spawn id of the player. / This value is mostly used internally to keep track of participants in the match. / The spawn id can be used to find the corresponding PlayerConfiguration in the MatchConfiguration.

func (*PlayerInfo) Table

func (rcv *PlayerInfo) Table() flatbuffers.Table

func (*PlayerInfo) Team

func (rcv *PlayerInfo) Team() uint32

/ The name of the player as it appears in game, i.e. possibly appended with "(2)". / The original name can be found in the match configuration. / The team of the player.

func (*PlayerInfo) UnPack

func (rcv *PlayerInfo) UnPack() *PlayerInfoT

func (*PlayerInfo) UnPackTo

func (rcv *PlayerInfo) UnPackTo(t *PlayerInfoT)

type PlayerInfoT

type PlayerInfoT struct {
	Physics           *PhysicsT         `json:"physics"`
	ScoreInfo         *ScoreInfoT       `json:"score_info"`
	Hitbox            *BoxShapeT        `json:"hitbox"`
	HitboxOffset      *Vector3T         `json:"hitbox_offset"`
	LatestTouch       *TouchT           `json:"latest_touch"`
	AirState          AirState          `json:"air_state"`
	DodgeTimeout      float32           `json:"dodge_timeout"`
	DemolishedTimeout float32           `json:"demolished_timeout"`
	IsSupersonic      bool              `json:"is_supersonic"`
	IsBot             bool              `json:"is_bot"`
	Name              string            `json:"name"`
	Team              uint32            `json:"team"`
	Boost             float32           `json:"boost"`
	SpawnId           int32             `json:"spawn_id"`
	Accolades         []string          `json:"accolades"`
	LastInput         *ControllerStateT `json:"last_input"`
	HasJumped         bool              `json:"has_jumped"`
	HasDoubleJumped   bool              `json:"has_double_jumped"`
	HasDodged         bool              `json:"has_dodged"`
	DodgeElapsed      float32           `json:"dodge_elapsed"`
	DodgeDir          *Vector2T         `json:"dodge_dir"`
}

/ A collection of information about a player and their car.

func (*PlayerInfoT) Pack

type PlayerInput

type PlayerInput struct {
	// contains filtered or unexported fields
}

func GetRootAsPlayerInput

func GetRootAsPlayerInput(buf []byte, offset flatbuffers.UOffsetT) *PlayerInput

func GetSizePrefixedRootAsPlayerInput

func GetSizePrefixedRootAsPlayerInput(buf []byte, offset flatbuffers.UOffsetT) *PlayerInput

func (*PlayerInput) ControllerState

func (rcv *PlayerInput) ControllerState(obj *ControllerState) *ControllerState

func (*PlayerInput) Init

func (rcv *PlayerInput) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PlayerInput) MutatePlayerIndex

func (rcv *PlayerInput) MutatePlayerIndex(n uint32) bool

func (*PlayerInput) PlayerIndex

func (rcv *PlayerInput) PlayerIndex() uint32

func (*PlayerInput) Table

func (rcv *PlayerInput) Table() flatbuffers.Table

func (*PlayerInput) UnPack

func (rcv *PlayerInput) UnPack() *PlayerInputT

func (*PlayerInput) UnPackTo

func (rcv *PlayerInput) UnPackTo(t *PlayerInputT)

type PlayerInputT

type PlayerInputT struct {
	PlayerIndex     uint32            `json:"player_index"`
	ControllerState *ControllerStateT `json:"controller_state"`
}

/ A player index and the controller state of that player. / Used to indicate what the player is doing this tick.

func (*PlayerInputT) Pack

type PlayerLoadout

type PlayerLoadout struct {
	// contains filtered or unexported fields
}

func GetRootAsPlayerLoadout

func GetRootAsPlayerLoadout(buf []byte, offset flatbuffers.UOffsetT) *PlayerLoadout

func GetSizePrefixedRootAsPlayerLoadout

func GetSizePrefixedRootAsPlayerLoadout(buf []byte, offset flatbuffers.UOffsetT) *PlayerLoadout

func (*PlayerLoadout) AntennaId

func (rcv *PlayerLoadout) AntennaId() uint32

func (*PlayerLoadout) BoostId

func (rcv *PlayerLoadout) BoostId() uint32

func (*PlayerLoadout) CarId

func (rcv *PlayerLoadout) CarId() uint32

func (*PlayerLoadout) CustomColorId

func (rcv *PlayerLoadout) CustomColorId() uint32

func (*PlayerLoadout) CustomFinishId

func (rcv *PlayerLoadout) CustomFinishId() uint32

func (*PlayerLoadout) DecalId

func (rcv *PlayerLoadout) DecalId() uint32

func (*PlayerLoadout) EngineAudioId

func (rcv *PlayerLoadout) EngineAudioId() uint32

func (*PlayerLoadout) GoalExplosionId

func (rcv *PlayerLoadout) GoalExplosionId() uint32

func (*PlayerLoadout) HatId

func (rcv *PlayerLoadout) HatId() uint32

func (*PlayerLoadout) Init

func (rcv *PlayerLoadout) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PlayerLoadout) LoadoutPaint

func (rcv *PlayerLoadout) LoadoutPaint(obj *LoadoutPaint) *LoadoutPaint

func (*PlayerLoadout) MutateAntennaId

func (rcv *PlayerLoadout) MutateAntennaId(n uint32) bool

func (*PlayerLoadout) MutateBoostId

func (rcv *PlayerLoadout) MutateBoostId(n uint32) bool

func (*PlayerLoadout) MutateCarId

func (rcv *PlayerLoadout) MutateCarId(n uint32) bool

func (*PlayerLoadout) MutateCustomColorId

func (rcv *PlayerLoadout) MutateCustomColorId(n uint32) bool

func (*PlayerLoadout) MutateCustomFinishId

func (rcv *PlayerLoadout) MutateCustomFinishId(n uint32) bool

func (*PlayerLoadout) MutateDecalId

func (rcv *PlayerLoadout) MutateDecalId(n uint32) bool

func (*PlayerLoadout) MutateEngineAudioId

func (rcv *PlayerLoadout) MutateEngineAudioId(n uint32) bool

func (*PlayerLoadout) MutateGoalExplosionId

func (rcv *PlayerLoadout) MutateGoalExplosionId(n uint32) bool

func (*PlayerLoadout) MutateHatId

func (rcv *PlayerLoadout) MutateHatId(n uint32) bool

func (*PlayerLoadout) MutatePaintFinishId

func (rcv *PlayerLoadout) MutatePaintFinishId(n uint32) bool

func (*PlayerLoadout) MutateTeamColorId

func (rcv *PlayerLoadout) MutateTeamColorId(n uint32) bool

func (*PlayerLoadout) MutateTrailsId

func (rcv *PlayerLoadout) MutateTrailsId(n uint32) bool

func (*PlayerLoadout) MutateWheelsId

func (rcv *PlayerLoadout) MutateWheelsId(n uint32) bool

func (*PlayerLoadout) PaintFinishId

func (rcv *PlayerLoadout) PaintFinishId() uint32

func (*PlayerLoadout) PrimaryColorLookup

func (rcv *PlayerLoadout) PrimaryColorLookup(obj *Color) *Color

/ Sets the primary color of the car to the swatch that most closely matches the provided / RGB color value. If set, this overrides teamColorId.

func (*PlayerLoadout) SecondaryColorLookup

func (rcv *PlayerLoadout) SecondaryColorLookup(obj *Color) *Color

/ Sets the primary color of the car to the swatch that most closely matches the provided / RGB color value. If set, this overrides teamColorId. / Sets the secondary color of the car to the swatch that most closely matches the provided / RGB color value. If set, this overrides customColorId.

func (*PlayerLoadout) Table

func (rcv *PlayerLoadout) Table() flatbuffers.Table

func (*PlayerLoadout) TeamColorId

func (rcv *PlayerLoadout) TeamColorId() uint32

func (*PlayerLoadout) TrailsId

func (rcv *PlayerLoadout) TrailsId() uint32

func (*PlayerLoadout) UnPack

func (rcv *PlayerLoadout) UnPack() *PlayerLoadoutT

func (*PlayerLoadout) UnPackTo

func (rcv *PlayerLoadout) UnPackTo(t *PlayerLoadoutT)

func (*PlayerLoadout) WheelsId

func (rcv *PlayerLoadout) WheelsId() uint32

type PlayerLoadoutT

type PlayerLoadoutT struct {
	TeamColorId          uint32         `json:"team_color_id"`
	CustomColorId        uint32         `json:"custom_color_id"`
	CarId                uint32         `json:"car_id"`
	DecalId              uint32         `json:"decal_id"`
	WheelsId             uint32         `json:"wheels_id"`
	BoostId              uint32         `json:"boost_id"`
	AntennaId            uint32         `json:"antenna_id"`
	HatId                uint32         `json:"hat_id"`
	PaintFinishId        uint32         `json:"paint_finish_id"`
	CustomFinishId       uint32         `json:"custom_finish_id"`
	EngineAudioId        uint32         `json:"engine_audio_id"`
	TrailsId             uint32         `json:"trails_id"`
	GoalExplosionId      uint32         `json:"goal_explosion_id"`
	LoadoutPaint         *LoadoutPaintT `json:"loadout_paint"`
	PrimaryColorLookup   *ColorT        `json:"primary_color_lookup"`
	SecondaryColorLookup *ColorT        `json:"secondary_color_lookup"`
}

/ Defines the car type, color, and other aspects of the player's appearance. / See https://wiki.rlbot.org/botmaking/bot-customization/

func (*PlayerLoadoutT) Pack

type PolyLine3D

type PolyLine3D struct {
	// contains filtered or unexported fields
}

func GetRootAsPolyLine3D

func GetRootAsPolyLine3D(buf []byte, offset flatbuffers.UOffsetT) *PolyLine3D

func GetSizePrefixedRootAsPolyLine3D

func GetSizePrefixedRootAsPolyLine3D(buf []byte, offset flatbuffers.UOffsetT) *PolyLine3D

func (*PolyLine3D) Color

func (rcv *PolyLine3D) Color(obj *Color) *Color

func (*PolyLine3D) Init

func (rcv *PolyLine3D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PolyLine3D) Points

func (rcv *PolyLine3D) Points(obj *Vector3, j int) bool

func (*PolyLine3D) PointsLength

func (rcv *PolyLine3D) PointsLength() int

func (*PolyLine3D) Table

func (rcv *PolyLine3D) Table() flatbuffers.Table

func (*PolyLine3D) UnPack

func (rcv *PolyLine3D) UnPack() *PolyLine3DT

func (*PolyLine3D) UnPackTo

func (rcv *PolyLine3D) UnPackTo(t *PolyLine3DT)

type PolyLine3DT

type PolyLine3DT struct {
	Points []*Vector3T `json:"points"`
	Color  *ColorT     `json:"color"`
}

/ A RenderMessage for a line in 3D space going through a series of points.

func (*PolyLine3DT) Pack

type PossessionScoreMutator

type PossessionScoreMutator byte
const (
	PossessionScoreMutatorOff          PossessionScoreMutator = 0
	PossessionScoreMutatorOneSecond    PossessionScoreMutator = 1
	PossessionScoreMutatorTwoSeconds   PossessionScoreMutator = 2
	PossessionScoreMutatorThreeSeconds PossessionScoreMutator = 3
)

func (PossessionScoreMutator) String

func (v PossessionScoreMutator) String() string

type PredictionSlice

type PredictionSlice struct {
	// contains filtered or unexported fields
}

func (*PredictionSlice) GameSeconds

func (rcv *PredictionSlice) GameSeconds() float32

/ The moment in game time that this prediction corresponds to. / This corresponds to 'seconds_elapsed' in the MatchInfo.

func (*PredictionSlice) Init

func (rcv *PredictionSlice) Init(buf []byte, i flatbuffers.UOffsetT)

func (*PredictionSlice) MutateGameSeconds

func (rcv *PredictionSlice) MutateGameSeconds(n float32) bool

/ The moment in game time that this prediction corresponds to. / This corresponds to 'seconds_elapsed' in the MatchInfo.

func (*PredictionSlice) Physics

func (rcv *PredictionSlice) Physics(obj *Physics) *Physics

/ The predicted location and motion of the object.

func (*PredictionSlice) Table

func (rcv *PredictionSlice) Table() flatbuffers.Table

func (*PredictionSlice) UnPack

func (rcv *PredictionSlice) UnPack() *PredictionSliceT

func (*PredictionSlice) UnPackTo

func (rcv *PredictionSlice) UnPackTo(t *PredictionSliceT)

type PredictionSliceT

type PredictionSliceT struct {
	GameSeconds float32   `json:"game_seconds"`
	Physics     *PhysicsT `json:"physics"`
}

/ An entry in the ball prediction describing where a ball will be at some future time.

func (*PredictionSliceT) Pack

type Psyonix

type Psyonix struct {
	// contains filtered or unexported fields
}

func GetRootAsPsyonix

func GetRootAsPsyonix(buf []byte, offset flatbuffers.UOffsetT) *Psyonix

func GetSizePrefixedRootAsPsyonix

func GetSizePrefixedRootAsPsyonix(buf []byte, offset flatbuffers.UOffsetT) *Psyonix

func (*Psyonix) BotSkill

func (rcv *Psyonix) BotSkill() PsyonixSkill

func (*Psyonix) Init

func (rcv *Psyonix) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Psyonix) MutateBotSkill

func (rcv *Psyonix) MutateBotSkill(n PsyonixSkill) bool

func (*Psyonix) Table

func (rcv *Psyonix) Table() flatbuffers.Table

func (*Psyonix) UnPack

func (rcv *Psyonix) UnPack() *PsyonixT

func (*Psyonix) UnPackTo

func (rcv *Psyonix) UnPackTo(t *PsyonixT)

type PsyonixSkill

type PsyonixSkill byte

/ Various skill levels of Psyonix bots.

const (
	PsyonixSkillBeginner PsyonixSkill = 0
	PsyonixSkillRookie   PsyonixSkill = 1
	PsyonixSkillPro      PsyonixSkill = 2
	PsyonixSkillAllStar  PsyonixSkill = 3
)

func (PsyonixSkill) String

func (v PsyonixSkill) String() string

type PsyonixT

type PsyonixT struct {
	BotSkill PsyonixSkill `json:"bot_skill"`
}

/ A Psyonix bot, e.g. All Star bot.

func (*PsyonixT) Pack

func (t *PsyonixT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Rect2D

type Rect2D struct {
	// contains filtered or unexported fields
}

func GetRootAsRect2D

func GetRootAsRect2D(buf []byte, offset flatbuffers.UOffsetT) *Rect2D

func GetSizePrefixedRootAsRect2D

func GetSizePrefixedRootAsRect2D(buf []byte, offset flatbuffers.UOffsetT) *Rect2D

func (*Rect2D) Color

func (rcv *Rect2D) Color(obj *Color) *Color

/ Color of the rectangle.

func (*Rect2D) HAlign

func (rcv *Rect2D) HAlign() TextHAlign

/ Color of the rectangle. / The horizontal alignment of the rectangle.

func (*Rect2D) Height

func (rcv *Rect2D) Height() float32

/ Screen-space size such that height=0.1 is 10% of window height.

func (*Rect2D) Init

func (rcv *Rect2D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Rect2D) MutateHAlign

func (rcv *Rect2D) MutateHAlign(n TextHAlign) bool

/ The horizontal alignment of the rectangle.

func (*Rect2D) MutateHeight

func (rcv *Rect2D) MutateHeight(n float32) bool

/ Screen-space size such that height=0.1 is 10% of window height.

func (*Rect2D) MutateVAlign

func (rcv *Rect2D) MutateVAlign(n TextVAlign) bool

/ The vertical alignment of the rectangle.

func (*Rect2D) MutateWidth

func (rcv *Rect2D) MutateWidth(n float32) bool

/ Screen-space size such that width=0.1 is 10% of window width.

func (*Rect2D) MutateX

func (rcv *Rect2D) MutateX(n float32) bool

/ Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.

func (*Rect2D) MutateY

func (rcv *Rect2D) MutateY(n float32) bool

/ Screen-space y coordinate such that y=0 is top edge and y=1 is bottom edge of window.

func (*Rect2D) Table

func (rcv *Rect2D) Table() flatbuffers.Table

func (*Rect2D) UnPack

func (rcv *Rect2D) UnPack() *Rect2DT

func (*Rect2D) UnPackTo

func (rcv *Rect2D) UnPackTo(t *Rect2DT)

func (*Rect2D) VAlign

func (rcv *Rect2D) VAlign() TextVAlign

/ The vertical alignment of the rectangle.

func (*Rect2D) Width

func (rcv *Rect2D) Width() float32

/ Screen-space size such that width=0.1 is 10% of window width.

func (*Rect2D) X

func (rcv *Rect2D) X() float32

/ Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.

func (*Rect2D) Y

func (rcv *Rect2D) Y() float32

/ Screen-space y coordinate such that y=0 is top edge and y=1 is bottom edge of window.

type Rect2DT

type Rect2DT struct {
	X      float32    `json:"x"`
	Y      float32    `json:"y"`
	Width  float32    `json:"width"`
	Height float32    `json:"height"`
	Color  *ColorT    `json:"color"`
	HAlign TextHAlign `json:"h_align"`
	VAlign TextVAlign `json:"v_align"`
}

/ A RenderMessage for a rectangle in 2D space. / Note that the position and size is given in screen-space coordinates.

func (*Rect2DT) Pack

func (t *Rect2DT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Rect3D

type Rect3D struct {
	// contains filtered or unexported fields
}

func GetRootAsRect3D

func GetRootAsRect3D(buf []byte, offset flatbuffers.UOffsetT) *Rect3D

func GetSizePrefixedRootAsRect3D

func GetSizePrefixedRootAsRect3D(buf []byte, offset flatbuffers.UOffsetT) *Rect3D

func (*Rect3D) Anchor

func (rcv *Rect3D) Anchor(obj *RenderAnchor) *RenderAnchor

/ The position of the rectangle.

func (*Rect3D) Color

func (rcv *Rect3D) Color(obj *Color) *Color

/ The color of the rectangle.

func (*Rect3D) HAlign

func (rcv *Rect3D) HAlign() TextHAlign

/ The color of the rectangle. / The horizontal alignment of the anchor in the rectangle.

func (*Rect3D) Height

func (rcv *Rect3D) Height() float32

/ Screen-space size such that height=0.1 is 10% of window height.

func (*Rect3D) Init

func (rcv *Rect3D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Rect3D) MutateHAlign

func (rcv *Rect3D) MutateHAlign(n TextHAlign) bool

/ The horizontal alignment of the anchor in the rectangle.

func (*Rect3D) MutateHeight

func (rcv *Rect3D) MutateHeight(n float32) bool

/ Screen-space size such that height=0.1 is 10% of window height.

func (*Rect3D) MutateVAlign

func (rcv *Rect3D) MutateVAlign(n TextVAlign) bool

/ The vertical alignment of the anchor in the rectangle.

func (*Rect3D) MutateWidth

func (rcv *Rect3D) MutateWidth(n float32) bool

/ Screen-space size such that width=0.1 is 10% of window width.

func (*Rect3D) Table

func (rcv *Rect3D) Table() flatbuffers.Table

func (*Rect3D) UnPack

func (rcv *Rect3D) UnPack() *Rect3DT

func (*Rect3D) UnPackTo

func (rcv *Rect3D) UnPackTo(t *Rect3DT)

func (*Rect3D) VAlign

func (rcv *Rect3D) VAlign() TextVAlign

/ The vertical alignment of the anchor in the rectangle.

func (*Rect3D) Width

func (rcv *Rect3D) Width() float32

/ The position of the rectangle. / Screen-space size such that width=0.1 is 10% of window width.

type Rect3DT

type Rect3DT struct {
	Anchor *RenderAnchorT `json:"anchor"`
	Width  float32        `json:"width"`
	Height float32        `json:"height"`
	Color  *ColorT        `json:"color"`
	HAlign TextHAlign     `json:"h_align"`
	VAlign TextVAlign     `json:"v_align"`
}

/ A RenderMessage for a rectangle in 3D space. / Note that the size is given in screen-space sizes.

func (*Rect3DT) Pack

func (t *Rect3DT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type RelativeAnchor

type RelativeAnchor byte

/ Anchors attached to objects.

const (
	RelativeAnchorNONE       RelativeAnchor = 0
	RelativeAnchorBallAnchor RelativeAnchor = 1
	RelativeAnchorCarAnchor  RelativeAnchor = 2
)

func (RelativeAnchor) String

func (v RelativeAnchor) String() string

func (RelativeAnchor) UnPack

func (rcv RelativeAnchor) UnPack(table flatbuffers.Table) *RelativeAnchorT

type RelativeAnchorT

type RelativeAnchorT struct {
	Type  RelativeAnchor
	Value interface{}
}

func (*RelativeAnchorT) Pack

type RemoveRenderGroup

type RemoveRenderGroup struct {
	// contains filtered or unexported fields
}

func GetRootAsRemoveRenderGroup

func GetRootAsRemoveRenderGroup(buf []byte, offset flatbuffers.UOffsetT) *RemoveRenderGroup

func GetSizePrefixedRootAsRemoveRenderGroup

func GetSizePrefixedRootAsRemoveRenderGroup(buf []byte, offset flatbuffers.UOffsetT) *RemoveRenderGroup

func (*RemoveRenderGroup) Id

func (rcv *RemoveRenderGroup) Id() int32

func (*RemoveRenderGroup) Init

func (rcv *RemoveRenderGroup) Init(buf []byte, i flatbuffers.UOffsetT)

func (*RemoveRenderGroup) MutateId

func (rcv *RemoveRenderGroup) MutateId(n int32) bool

func (*RemoveRenderGroup) Table

func (rcv *RemoveRenderGroup) Table() flatbuffers.Table

func (*RemoveRenderGroup) UnPack

func (rcv *RemoveRenderGroup) UnPack() *RemoveRenderGroupT

func (*RemoveRenderGroup) UnPackTo

func (rcv *RemoveRenderGroup) UnPackTo(t *RemoveRenderGroupT)

type RemoveRenderGroupT

type RemoveRenderGroupT struct {
	Id int32 `json:"id"`
}

/ A client message request removal of a RenderGroup. / A client can only clear its own RenderGroups.

func (*RemoveRenderGroupT) Pack

type RenderAnchor

type RenderAnchor struct {
	// contains filtered or unexported fields
}

func GetRootAsRenderAnchor

func GetRootAsRenderAnchor(buf []byte, offset flatbuffers.UOffsetT) *RenderAnchor

func GetSizePrefixedRootAsRenderAnchor

func GetSizePrefixedRootAsRenderAnchor(buf []byte, offset flatbuffers.UOffsetT) *RenderAnchor

func (*RenderAnchor) Init

func (rcv *RenderAnchor) Init(buf []byte, i flatbuffers.UOffsetT)

func (*RenderAnchor) MutateRelativeType

func (rcv *RenderAnchor) MutateRelativeType(n RelativeAnchor) bool

func (*RenderAnchor) Relative

func (rcv *RenderAnchor) Relative(obj *flatbuffers.Table) bool

/ An optional offset given by the position of an object and includes a local offset that takes the object's orientation into account.

func (*RenderAnchor) RelativeType

func (rcv *RenderAnchor) RelativeType() RelativeAnchor

/ An offset in global coordinates. / If the relative component is null, then this simply a point in 3D space.

func (*RenderAnchor) Table

func (rcv *RenderAnchor) Table() flatbuffers.Table

func (*RenderAnchor) UnPack

func (rcv *RenderAnchor) UnPack() *RenderAnchorT

func (*RenderAnchor) UnPackTo

func (rcv *RenderAnchor) UnPackTo(t *RenderAnchorT)

func (*RenderAnchor) World

func (rcv *RenderAnchor) World(obj *Vector3) *Vector3

/ An offset in global coordinates. / If the relative component is null, then this simply a point in 3D space.

type RenderAnchorT

type RenderAnchorT struct {
	World    *Vector3T        `json:"world"`
	Relative *RelativeAnchorT `json:"relative"`
}

/ A RenderAnchor is a point in space consisting of a world component and optionally a relative component. / The relative component is given by a car or ball and includes a local offset that takes the orientation of the object into account. / The RenderAnchor stays attached to the object and does not have to be updated each tick. / Rendering that uses a RenderAnchor attached to an object disappears if the object is destroyed, i.e. the car demolished or the ball is scored.

func (*RenderAnchorT) Pack

type RenderGroup

type RenderGroup struct {
	// contains filtered or unexported fields
}

func GetRootAsRenderGroup

func GetRootAsRenderGroup(buf []byte, offset flatbuffers.UOffsetT) *RenderGroup

func GetSizePrefixedRootAsRenderGroup

func GetSizePrefixedRootAsRenderGroup(buf []byte, offset flatbuffers.UOffsetT) *RenderGroup

func (*RenderGroup) Id

func (rcv *RenderGroup) Id() int32

/ The content of the RenderGroup. / The id of the RenderGroup.

func (*RenderGroup) Init

func (rcv *RenderGroup) Init(buf []byte, i flatbuffers.UOffsetT)

func (*RenderGroup) MutateId

func (rcv *RenderGroup) MutateId(n int32) bool

/ The id of the RenderGroup.

func (*RenderGroup) RenderMessages

func (rcv *RenderGroup) RenderMessages(obj *RenderMessage, j int) bool

/ The content of the RenderGroup.

func (*RenderGroup) RenderMessagesLength

func (rcv *RenderGroup) RenderMessagesLength() int

func (*RenderGroup) Table

func (rcv *RenderGroup) Table() flatbuffers.Table

func (*RenderGroup) UnPack

func (rcv *RenderGroup) UnPack() *RenderGroupT

func (*RenderGroup) UnPackTo

func (rcv *RenderGroup) UnPackTo(t *RenderGroupT)

type RenderGroupT

type RenderGroupT struct {
	RenderMessages []*RenderMessageT `json:"render_messages"`
	Id             int32             `json:"id"`
}

/ A group of RenderMessages that are drawn and cleared together. / A RenderGroup will stay rendered until it is overriden or cleared. / The group is identified by a unique id. / A client can only clear its own RenderGroups.

func (*RenderGroupT) Pack

type RenderMessage

type RenderMessage struct {
	// contains filtered or unexported fields
}

func GetRootAsRenderMessage

func GetRootAsRenderMessage(buf []byte, offset flatbuffers.UOffsetT) *RenderMessage

func GetSizePrefixedRootAsRenderMessage

func GetSizePrefixedRootAsRenderMessage(buf []byte, offset flatbuffers.UOffsetT) *RenderMessage

func (*RenderMessage) Init

func (rcv *RenderMessage) Init(buf []byte, i flatbuffers.UOffsetT)

func (*RenderMessage) MutateVarietyType

func (rcv *RenderMessage) MutateVarietyType(n RenderType) bool

func (*RenderMessage) Table

func (rcv *RenderMessage) Table() flatbuffers.Table

func (*RenderMessage) UnPack

func (rcv *RenderMessage) UnPack() *RenderMessageT

func (*RenderMessage) UnPackTo

func (rcv *RenderMessage) UnPackTo(t *RenderMessageT)

func (*RenderMessage) Variety

func (rcv *RenderMessage) Variety(obj *flatbuffers.Table) bool

func (*RenderMessage) VarietyType

func (rcv *RenderMessage) VarietyType() RenderType

type RenderMessageT

type RenderMessageT struct {
	Variety *RenderTypeT `json:"variety"`
}

/ A RenderMessage, describing a piece of debug rendering.

func (*RenderMessageT) Pack

type RenderType

type RenderType byte

/ The different types of RenderMessages.

const (
	RenderTypeNONE       RenderType = 0
	RenderTypeLine3D     RenderType = 1
	RenderTypePolyLine3D RenderType = 2
	RenderTypeString2D   RenderType = 3
	RenderTypeString3D   RenderType = 4
	RenderTypeRect2D     RenderType = 5
	RenderTypeRect3D     RenderType = 6
)

func (RenderType) String

func (v RenderType) String() string

func (RenderType) UnPack

func (rcv RenderType) UnPack(table flatbuffers.Table) *RenderTypeT

type RenderTypeT

type RenderTypeT struct {
	Type  RenderType
	Value interface{}
}

func (*RenderTypeT) Pack

type RespawnTimeMutator

type RespawnTimeMutator byte

/ Respawn time mutator options.

const (
	RespawnTimeMutatorThreeSeconds     RespawnTimeMutator = 0
	RespawnTimeMutatorTwoSeconds       RespawnTimeMutator = 1
	RespawnTimeMutatorOneSecond        RespawnTimeMutator = 2
	RespawnTimeMutatorDisableGoalReset RespawnTimeMutator = 3
)

func (RespawnTimeMutator) String

func (v RespawnTimeMutator) String() string

type Rotator

type Rotator struct {
	// contains filtered or unexported fields
}

func (*Rotator) Init

func (rcv *Rotator) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Rotator) MutatePitch

func (rcv *Rotator) MutatePitch(n float32) bool

/ In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down.

func (*Rotator) MutateRoll

func (rcv *Rotator) MutateRoll(n float32) bool

/ In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.

func (*Rotator) MutateYaw

func (rcv *Rotator) MutateYaw(n float32) bool

/ In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).

func (*Rotator) Pitch

func (rcv *Rotator) Pitch() float32

/ In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down.

func (*Rotator) Roll

func (rcv *Rotator) Roll() float32

/ In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.

func (*Rotator) Table

func (rcv *Rotator) Table() flatbuffers.Table

func (*Rotator) UnPack

func (rcv *Rotator) UnPack() *RotatorT

func (*Rotator) UnPackTo

func (rcv *Rotator) UnPackTo(t *RotatorT)

func (*Rotator) Yaw

func (rcv *Rotator) Yaw() float32

/ In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).

type RotatorPartial

type RotatorPartial struct {
	// contains filtered or unexported fields
}

func GetRootAsRotatorPartial

func GetRootAsRotatorPartial(buf []byte, offset flatbuffers.UOffsetT) *RotatorPartial

func GetSizePrefixedRootAsRotatorPartial

func GetSizePrefixedRootAsRotatorPartial(buf []byte, offset flatbuffers.UOffsetT) *RotatorPartial

func (*RotatorPartial) Init

func (rcv *RotatorPartial) Init(buf []byte, i flatbuffers.UOffsetT)

func (*RotatorPartial) Pitch

func (rcv *RotatorPartial) Pitch(obj *Float) *Float

/ In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down.

func (*RotatorPartial) Roll

func (rcv *RotatorPartial) Roll(obj *Float) *Float

/ In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above). / In radians with range (-pi,+pi) where 0 is upright, positive is tilted right, negative is tilted left.

func (*RotatorPartial) Table

func (rcv *RotatorPartial) Table() flatbuffers.Table

func (*RotatorPartial) UnPack

func (rcv *RotatorPartial) UnPack() *RotatorPartialT

func (*RotatorPartial) UnPackTo

func (rcv *RotatorPartial) UnPackTo(t *RotatorPartialT)

func (*RotatorPartial) Yaw

func (rcv *RotatorPartial) Yaw(obj *Float) *Float

/ In radians with range (-pi/2,+pi/2) where 0 is flat, +pi/2 is nose straight up, -pi/2 is nose straight down. / In radians with range [-pi,+pi) where 0 is towards positive x, rotating clockwise as increased (when seen from above).

type RotatorPartialT

type RotatorPartialT struct {
	Pitch *FloatT `json:"pitch"`
	Yaw   *FloatT `json:"yaw"`
	Roll  *FloatT `json:"roll"`
}

/ A rotator describing a rotation with nullable pith, yaw, and roll. / Used for game state setting to define which part of a rotator should change. / If a component is null, then the component will keep its current value. / Values are in radians.

func (*RotatorPartialT) Pack

type RotatorT

type RotatorT struct {
	Pitch float32 `json:"pitch"`
	Yaw   float32 `json:"yaw"`
	Roll  float32 `json:"roll"`
}

/ Expresses the rotation state of an object in Euler angles. Values are in radians.

func (*RotatorT) Pack

func (t *RotatorT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type RumbleMutator

type RumbleMutator byte

/ Rumble mutator options.

const (
	RumbleMutatorOff              RumbleMutator = 0
	RumbleMutatorDefaultRumble    RumbleMutator = 1
	RumbleMutatorSlow             RumbleMutator = 2
	RumbleMutatorCivilized        RumbleMutator = 3
	RumbleMutatorDestructionDerby RumbleMutator = 4
	RumbleMutatorSpringLoaded     RumbleMutator = 5
	RumbleMutatorSpikesOnly       RumbleMutator = 6
	RumbleMutatorSpikeRush        RumbleMutator = 7
	RumbleMutatorHauntedBallBeam  RumbleMutator = 8
	RumbleMutatorTactical         RumbleMutator = 9
	RumbleMutatorBatmanRumble     RumbleMutator = 10
	RumbleMutatorGrapplingOnly    RumbleMutator = 11
	RumbleMutatorHaymakerOnly     RumbleMutator = 12
)

func (RumbleMutator) String

func (v RumbleMutator) String() string

type ScoreInfo

type ScoreInfo struct {
	// contains filtered or unexported fields
}

func (*ScoreInfo) Assists

func (rcv *ScoreInfo) Assists() uint32

/ Number of goals assisted.

func (*ScoreInfo) Demolitions

func (rcv *ScoreInfo) Demolitions() uint32

/ Number of demolitions made.

func (*ScoreInfo) Goals

func (rcv *ScoreInfo) Goals() uint32

/ Number of goals scored.

func (*ScoreInfo) Init

func (rcv *ScoreInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ScoreInfo) MutateAssists

func (rcv *ScoreInfo) MutateAssists(n uint32) bool

/ Number of goals assisted.

func (*ScoreInfo) MutateDemolitions

func (rcv *ScoreInfo) MutateDemolitions(n uint32) bool

/ Number of demolitions made.

func (*ScoreInfo) MutateGoals

func (rcv *ScoreInfo) MutateGoals(n uint32) bool

/ Number of goals scored.

func (*ScoreInfo) MutateOwnGoals

func (rcv *ScoreInfo) MutateOwnGoals(n uint32) bool

/ Number of own-goals scored.

func (*ScoreInfo) MutateSaves

func (rcv *ScoreInfo) MutateSaves(n uint32) bool

/ Number of shots saved.

func (*ScoreInfo) MutateScore

func (rcv *ScoreInfo) MutateScore(n uint32) bool

/ The accumulated score, roughly indicating how well a player performs.

func (*ScoreInfo) MutateShots

func (rcv *ScoreInfo) MutateShots(n uint32) bool

/ Number of shots on opponent goal.

func (*ScoreInfo) OwnGoals

func (rcv *ScoreInfo) OwnGoals() uint32

/ Number of own-goals scored.

func (*ScoreInfo) Saves

func (rcv *ScoreInfo) Saves() uint32

/ Number of shots saved.

func (*ScoreInfo) Score

func (rcv *ScoreInfo) Score() uint32

/ The accumulated score, roughly indicating how well a player performs.

func (*ScoreInfo) Shots

func (rcv *ScoreInfo) Shots() uint32

/ Number of shots on opponent goal.

func (*ScoreInfo) Table

func (rcv *ScoreInfo) Table() flatbuffers.Table

func (*ScoreInfo) UnPack

func (rcv *ScoreInfo) UnPack() *ScoreInfoT

func (*ScoreInfo) UnPackTo

func (rcv *ScoreInfo) UnPackTo(t *ScoreInfoT)

type ScoreInfoT

type ScoreInfoT struct {
	Score       uint32 `json:"score"`
	Goals       uint32 `json:"goals"`
	OwnGoals    uint32 `json:"own_goals"`
	Assists     uint32 `json:"assists"`
	Saves       uint32 `json:"saves"`
	Shots       uint32 `json:"shots"`
	Demolitions uint32 `json:"demolitions"`
}

/ A collection of values shown on the scoreboard (and a few more).

func (*ScoreInfoT) Pack

type ScriptConfiguration

type ScriptConfiguration struct {
	// contains filtered or unexported fields
}

func GetRootAsScriptConfiguration

func GetRootAsScriptConfiguration(buf []byte, offset flatbuffers.UOffsetT) *ScriptConfiguration

func GetSizePrefixedRootAsScriptConfiguration

func GetSizePrefixedRootAsScriptConfiguration(buf []byte, offset flatbuffers.UOffsetT) *ScriptConfiguration

func (*ScriptConfiguration) AgentId

func (rcv *ScriptConfiguration) AgentId() []byte

/ A unique user-defined string that is used to connect clients to the right players/scripts. / If a bot/script has a run command, RLBot will pass this agent id to the process using an environment variable, RLBOT_AGENT_ID. / Upon connecting the process announces that it is responsible for this agent id and RLBot will pair the two. / The recommended format for agent ids is "developername/botname".

func (*ScriptConfiguration) Init

func (rcv *ScriptConfiguration) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ScriptConfiguration) MutateSpawnId

func (rcv *ScriptConfiguration) MutateSpawnId(n int32) bool

/ The spawn id of the script. / This value is mostly used internally to keep track of participants in the match.

func (*ScriptConfiguration) Name

func (rcv *ScriptConfiguration) Name() []byte

/ The name of the script.

func (*ScriptConfiguration) RootDir

func (rcv *ScriptConfiguration) RootDir() []byte

/ The name of the script. / The root directory of the script and the working directory for the run command.

func (*ScriptConfiguration) RunCommand

func (rcv *ScriptConfiguration) RunCommand() []byte

/ The root directory of the script and the working directory for the run command. / A console command that will start up the script.

func (*ScriptConfiguration) SpawnId

func (rcv *ScriptConfiguration) SpawnId() int32

/ A console command that will start up the script. / The spawn id of the script. / This value is mostly used internally to keep track of participants in the match.

func (*ScriptConfiguration) Table

func (rcv *ScriptConfiguration) Table() flatbuffers.Table

func (*ScriptConfiguration) UnPack

func (*ScriptConfiguration) UnPackTo

func (rcv *ScriptConfiguration) UnPackTo(t *ScriptConfigurationT)

type ScriptConfigurationT

type ScriptConfigurationT struct {
	Name       string `json:"name"`
	RootDir    string `json:"root_dir"`
	RunCommand string `json:"run_command"`
	SpawnId    int32  `json:"spawn_id"`
	AgentId    string `json:"agent_id"`
}

/ A ScriptConfiguration defines a script of a match.

func (*ScriptConfigurationT) Pack

type SeriesLengthMutator

type SeriesLengthMutator byte

/ Series length mutator options.

const (
	SeriesLengthMutatorUnlimited  SeriesLengthMutator = 0
	SeriesLengthMutatorThreeGames SeriesLengthMutator = 1
	SeriesLengthMutatorFiveGames  SeriesLengthMutator = 2
	SeriesLengthMutatorSevenGames SeriesLengthMutator = 3
)

func (SeriesLengthMutator) String

func (v SeriesLengthMutator) String() string

type SetLoadout

type SetLoadout struct {
	// contains filtered or unexported fields
}

func GetRootAsSetLoadout

func GetRootAsSetLoadout(buf []byte, offset flatbuffers.UOffsetT) *SetLoadout

func GetSizePrefixedRootAsSetLoadout

func GetSizePrefixedRootAsSetLoadout(buf []byte, offset flatbuffers.UOffsetT) *SetLoadout

func (*SetLoadout) Index

func (rcv *SetLoadout) Index() uint32

/ The index of the car to change loadout off.

func (*SetLoadout) Init

func (rcv *SetLoadout) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SetLoadout) Loadout

func (rcv *SetLoadout) Loadout(obj *PlayerLoadout) *PlayerLoadout

/ The new loadout of the car.

func (*SetLoadout) MutateIndex

func (rcv *SetLoadout) MutateIndex(n uint32) bool

/ The index of the car to change loadout off.

func (*SetLoadout) Table

func (rcv *SetLoadout) Table() flatbuffers.Table

func (*SetLoadout) UnPack

func (rcv *SetLoadout) UnPack() *SetLoadoutT

func (*SetLoadout) UnPackTo

func (rcv *SetLoadout) UnPackTo(t *SetLoadoutT)

type SetLoadoutT

type SetLoadoutT struct {
	Index   uint32          `json:"index"`
	Loadout *PlayerLoadoutT `json:"loadout"`
}

/ A client message to change the loadout of a car. / If sent before the ready message, this simply sets the loadout of the car. / If sent after the ready message and if game state setting is enabled, this will respawn the car with the new loadout. / Bots can only set the loadout of their own car(s).

func (*SetLoadoutT) Pack

type SphereShape

type SphereShape struct {
	// contains filtered or unexported fields
}

func GetRootAsSphereShape

func GetRootAsSphereShape(buf []byte, offset flatbuffers.UOffsetT) *SphereShape

func GetSizePrefixedRootAsSphereShape

func GetSizePrefixedRootAsSphereShape(buf []byte, offset flatbuffers.UOffsetT) *SphereShape

func (*SphereShape) Diameter

func (rcv *SphereShape) Diameter() float32

func (*SphereShape) Init

func (rcv *SphereShape) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SphereShape) MutateDiameter

func (rcv *SphereShape) MutateDiameter(n float32) bool

func (*SphereShape) Table

func (rcv *SphereShape) Table() flatbuffers.Table

func (*SphereShape) UnPack

func (rcv *SphereShape) UnPack() *SphereShapeT

func (*SphereShape) UnPackTo

func (rcv *SphereShape) UnPackTo(t *SphereShapeT)

type SphereShapeT

type SphereShapeT struct {
	Diameter float32 `json:"diameter"`
}

/ A sphere with diameter. / Used for balls with a spherical shapes.

func (*SphereShapeT) Pack

type StaleBallMutator

type StaleBallMutator byte
const (
	StaleBallMutatorUnlimited     StaleBallMutator = 0
	StaleBallMutatorThirtySeconds StaleBallMutator = 1
)

func (StaleBallMutator) String

func (v StaleBallMutator) String() string

type StartCommand

type StartCommand struct {
	// contains filtered or unexported fields
}

func GetRootAsStartCommand

func GetRootAsStartCommand(buf []byte, offset flatbuffers.UOffsetT) *StartCommand

func GetSizePrefixedRootAsStartCommand

func GetSizePrefixedRootAsStartCommand(buf []byte, offset flatbuffers.UOffsetT) *StartCommand

func (*StartCommand) ConfigPath

func (rcv *StartCommand) ConfigPath() []byte

func (*StartCommand) Init

func (rcv *StartCommand) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StartCommand) Table

func (rcv *StartCommand) Table() flatbuffers.Table

func (*StartCommand) UnPack

func (rcv *StartCommand) UnPack() *StartCommandT

func (*StartCommand) UnPackTo

func (rcv *StartCommand) UnPackTo(t *StartCommandT)

type StartCommandT

type StartCommandT struct {
	ConfigPath string `json:"config_path"`
}

/ A client message to start a match using a path to a match config file.

func (*StartCommandT) Pack

type StopCommand

type StopCommand struct {
	// contains filtered or unexported fields
}

func GetRootAsStopCommand

func GetRootAsStopCommand(buf []byte, offset flatbuffers.UOffsetT) *StopCommand

func GetSizePrefixedRootAsStopCommand

func GetSizePrefixedRootAsStopCommand(buf []byte, offset flatbuffers.UOffsetT) *StopCommand

func (*StopCommand) Init

func (rcv *StopCommand) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StopCommand) MutateShutdownServer

func (rcv *StopCommand) MutateShutdownServer(n bool) bool

func (*StopCommand) ShutdownServer

func (rcv *StopCommand) ShutdownServer() bool

func (*StopCommand) Table

func (rcv *StopCommand) Table() flatbuffers.Table

func (*StopCommand) UnPack

func (rcv *StopCommand) UnPack() *StopCommandT

func (*StopCommand) UnPackTo

func (rcv *StopCommand) UnPackTo(t *StopCommandT)

type StopCommandT

type StopCommandT struct {
	ShutdownServer bool `json:"shutdown_server"`
}

/ A client message to stop a match and optionally the RLBot server too.

func (*StopCommandT) Pack

type String2D

type String2D struct {
	// contains filtered or unexported fields
}

func GetRootAsString2D

func GetRootAsString2D(buf []byte, offset flatbuffers.UOffsetT) *String2D

func GetSizePrefixedRootAsString2D

func GetSizePrefixedRootAsString2D(buf []byte, offset flatbuffers.UOffsetT) *String2D

func (*String2D) Background

func (rcv *String2D) Background(obj *Color) *Color

/ The color of the text. / The color of the background for the text.

func (*String2D) Foreground

func (rcv *String2D) Foreground(obj *Color) *Color

/ The color of the text.

func (*String2D) HAlign

func (rcv *String2D) HAlign() TextHAlign

/ The color of the background for the text. / The horizontal alignment of the text.

func (*String2D) Init

func (rcv *String2D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*String2D) MutateHAlign

func (rcv *String2D) MutateHAlign(n TextHAlign) bool

/ The horizontal alignment of the text.

func (*String2D) MutateScale

func (rcv *String2D) MutateScale(n float32) bool

/ Scale of the text. / When scale is 1, the characters are 20 pixels tall and 10 pixels wide.

func (*String2D) MutateVAlign

func (rcv *String2D) MutateVAlign(n TextVAlign) bool

/ The vertical alignment of the text.

func (*String2D) MutateX

func (rcv *String2D) MutateX(n float32) bool

/ Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.

func (*String2D) MutateY

func (rcv *String2D) MutateY(n float32) bool

/ Screen-space y coordinate such that y=0 is top edge and y=1 is bottom edge of window.

func (*String2D) Scale

func (rcv *String2D) Scale() float32

/ Scale of the text. / When scale is 1, the characters are 20 pixels tall and 10 pixels wide.

func (*String2D) Table

func (rcv *String2D) Table() flatbuffers.Table

func (*String2D) Text

func (rcv *String2D) Text() []byte

/ The text to be displayed.

func (*String2D) UnPack

func (rcv *String2D) UnPack() *String2DT

func (*String2D) UnPackTo

func (rcv *String2D) UnPackTo(t *String2DT)

func (*String2D) VAlign

func (rcv *String2D) VAlign() TextVAlign

/ The vertical alignment of the text.

func (*String2D) X

func (rcv *String2D) X() float32

/ The text to be displayed. / Screen-space x coordinate such that x=0 is left edge and x=1 is right edge of window.

func (*String2D) Y

func (rcv *String2D) Y() float32

/ Screen-space y coordinate such that y=0 is top edge and y=1 is bottom edge of window.

type String2DT

type String2DT struct {
	Text       string     `json:"text"`
	X          float32    `json:"x"`
	Y          float32    `json:"y"`
	Scale      float32    `json:"scale"`
	Foreground *ColorT    `json:"foreground"`
	Background *ColorT    `json:"background"`
	HAlign     TextHAlign `json:"h_align"`
	VAlign     TextVAlign `json:"v_align"`
}

/ A RenderMessage for text in 2D space. / Note that the position is given in screen-space coordinates.

func (*String2DT) Pack

func (t *String2DT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type String3D

type String3D struct {
	// contains filtered or unexported fields
}

func GetRootAsString3D

func GetRootAsString3D(buf []byte, offset flatbuffers.UOffsetT) *String3D

func GetSizePrefixedRootAsString3D

func GetSizePrefixedRootAsString3D(buf []byte, offset flatbuffers.UOffsetT) *String3D

func (*String3D) Anchor

func (rcv *String3D) Anchor(obj *RenderAnchor) *RenderAnchor

/ The text to be displayed. / The position of the text.

func (*String3D) Background

func (rcv *String3D) Background(obj *Color) *Color

/ The color of the text. / The color of the background for the text.

func (*String3D) Foreground

func (rcv *String3D) Foreground(obj *Color) *Color

/ The color of the text.

func (*String3D) HAlign

func (rcv *String3D) HAlign() TextHAlign

/ The color of the background for the text. / The horizontal alignment of the text.

func (*String3D) Init

func (rcv *String3D) Init(buf []byte, i flatbuffers.UOffsetT)

func (*String3D) MutateHAlign

func (rcv *String3D) MutateHAlign(n TextHAlign) bool

/ The horizontal alignment of the text.

func (*String3D) MutateScale

func (rcv *String3D) MutateScale(n float32) bool

/ The scale of the text. / When scale is 1, the characters are 20 pixels tall and 10 pixels wide.

func (*String3D) MutateVAlign

func (rcv *String3D) MutateVAlign(n TextVAlign) bool

/ The vertical alignment of the text.

func (*String3D) Scale

func (rcv *String3D) Scale() float32

/ The position of the text. / The scale of the text. / When scale is 1, the characters are 20 pixels tall and 10 pixels wide.

func (*String3D) Table

func (rcv *String3D) Table() flatbuffers.Table

func (*String3D) Text

func (rcv *String3D) Text() []byte

/ The text to be displayed.

func (*String3D) UnPack

func (rcv *String3D) UnPack() *String3DT

func (*String3D) UnPackTo

func (rcv *String3D) UnPackTo(t *String3DT)

func (*String3D) VAlign

func (rcv *String3D) VAlign() TextVAlign

/ The vertical alignment of the text.

type String3DT

type String3DT struct {
	Text       string         `json:"text"`
	Anchor     *RenderAnchorT `json:"anchor"`
	Scale      float32        `json:"scale"`
	Foreground *ColorT        `json:"foreground"`
	Background *ColorT        `json:"background"`
	HAlign     TextHAlign     `json:"h_align"`
	VAlign     TextVAlign     `json:"v_align"`
}

/ A RenderMessage for text in 3D space.

func (*String3DT) Pack

func (t *String3DT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type TeamInfo

type TeamInfo struct {
	// contains filtered or unexported fields
}

func (*TeamInfo) Init

func (rcv *TeamInfo) Init(buf []byte, i flatbuffers.UOffsetT)

func (*TeamInfo) MutateScore

func (rcv *TeamInfo) MutateScore(n uint32) bool

/ Number of goals scored. / Note, this value may be different than the sum of the goals scored by the current players on the team as player may join/leave the game or switch teams. / This value is what is shown on the heads-up display.

func (*TeamInfo) MutateTeamIndex

func (rcv *TeamInfo) MutateTeamIndex(n uint32) bool

/ The index of the team. Blue is 0, orange is 1.

func (*TeamInfo) Score

func (rcv *TeamInfo) Score() uint32

/ Number of goals scored. / Note, this value may be different than the sum of the goals scored by the current players on the team as player may join/leave the game or switch teams. / This value is what is shown on the heads-up display.

func (*TeamInfo) Table

func (rcv *TeamInfo) Table() flatbuffers.Table

func (*TeamInfo) TeamIndex

func (rcv *TeamInfo) TeamIndex() uint32

/ The index of the team. Blue is 0, orange is 1.

func (*TeamInfo) UnPack

func (rcv *TeamInfo) UnPack() *TeamInfoT

func (*TeamInfo) UnPackTo

func (rcv *TeamInfo) UnPackTo(t *TeamInfoT)

type TeamInfoT

type TeamInfoT struct {
	TeamIndex uint32 `json:"team_index"`
	Score     uint32 `json:"score"`
}

/ Information about teams. Currently only the number of goals scored.

func (*TeamInfoT) Pack

func (t *TeamInfoT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type TerritoryMutator

type TerritoryMutator byte
const (
	TerritoryMutatorOff       TerritoryMutator = 0
	TerritoryMutatorTerritory TerritoryMutator = 1
)

func (TerritoryMutator) String

func (v TerritoryMutator) String() string

type TextHAlign

type TextHAlign byte

/ Horizontal text alignment.

const (
	TextHAlignLeft   TextHAlign = 0
	TextHAlignCenter TextHAlign = 1
	TextHAlignRight  TextHAlign = 2
)

func (TextHAlign) String

func (v TextHAlign) String() string

type TextVAlign

type TextVAlign byte

/ Vertical text alignment.

const (
	TextVAlignTop    TextVAlign = 0
	TextVAlignCenter TextVAlign = 1
	TextVAlignBottom TextVAlign = 2
)

func (TextVAlign) String

func (v TextVAlign) String() string

type Touch

type Touch struct {
	// contains filtered or unexported fields
}

func GetRootAsTouch

func GetRootAsTouch(buf []byte, offset flatbuffers.UOffsetT) *Touch

func GetSizePrefixedRootAsTouch

func GetSizePrefixedRootAsTouch(buf []byte, offset flatbuffers.UOffsetT) *Touch

func (*Touch) BallIndex

func (rcv *Touch) BallIndex() uint32

/ The direction of the touch as a unit vector pointing from the point of contact towards the center of the ball. / The index of the ball that was touched (in case there are multiple balls).

func (*Touch) GameSeconds

func (rcv *Touch) GameSeconds() float32

/ Seconds that had elapsed in the game when the touch occurred.

func (*Touch) Init

func (rcv *Touch) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Touch) Location

func (rcv *Touch) Location(obj *Vector3) *Vector3

/ The point of contact for the touch.

func (*Touch) MutateBallIndex

func (rcv *Touch) MutateBallIndex(n uint32) bool

/ The index of the ball that was touched (in case there are multiple balls).

func (*Touch) MutateGameSeconds

func (rcv *Touch) MutateGameSeconds(n float32) bool

/ Seconds that had elapsed in the game when the touch occurred.

func (*Touch) Normal

func (rcv *Touch) Normal(obj *Vector3) *Vector3

/ The point of contact for the touch. / The direction of the touch as a unit vector pointing from the point of contact towards the center of the ball.

func (*Touch) Table

func (rcv *Touch) Table() flatbuffers.Table

func (*Touch) UnPack

func (rcv *Touch) UnPack() *TouchT

func (*Touch) UnPackTo

func (rcv *Touch) UnPackTo(t *TouchT)

type TouchT

type TouchT struct {
	GameSeconds float32   `json:"game_seconds"`
	Location    *Vector3T `json:"location"`
	Normal      *Vector3T `json:"normal"`
	BallIndex   uint32    `json:"ball_index"`
}

/ Information about a ball touch.

func (*TouchT) Pack

func (t *TouchT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Vector2

type Vector2 struct {
	// contains filtered or unexported fields
}

func (*Vector2) Init

func (rcv *Vector2) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Vector2) MutateX

func (rcv *Vector2) MutateX(n float32) bool

func (*Vector2) MutateY

func (rcv *Vector2) MutateY(n float32) bool

func (*Vector2) Table

func (rcv *Vector2) Table() flatbuffers.Table

func (*Vector2) UnPack

func (rcv *Vector2) UnPack() *Vector2T

func (*Vector2) UnPackTo

func (rcv *Vector2) UnPackTo(t *Vector2T)

func (*Vector2) X

func (rcv *Vector2) X() float32

func (*Vector2) Y

func (rcv *Vector2) Y() float32

type Vector2T

type Vector2T struct {
	X float32 `json:"x"`
	Y float32 `json:"y"`
}

/ A vector with an x and y component.

func (*Vector2T) Pack

func (t *Vector2T) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Vector3

type Vector3 struct {
	// contains filtered or unexported fields
}

func (*Vector3) Init

func (rcv *Vector3) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Vector3) MutateX

func (rcv *Vector3) MutateX(n float32) bool

func (*Vector3) MutateY

func (rcv *Vector3) MutateY(n float32) bool

func (*Vector3) MutateZ

func (rcv *Vector3) MutateZ(n float32) bool

func (*Vector3) Table

func (rcv *Vector3) Table() flatbuffers.Table

func (*Vector3) UnPack

func (rcv *Vector3) UnPack() *Vector3T

func (*Vector3) UnPackTo

func (rcv *Vector3) UnPackTo(t *Vector3T)

func (*Vector3) X

func (rcv *Vector3) X() float32

func (*Vector3) Y

func (rcv *Vector3) Y() float32

func (*Vector3) Z

func (rcv *Vector3) Z() float32

type Vector3Partial

type Vector3Partial struct {
	// contains filtered or unexported fields
}

func GetRootAsVector3Partial

func GetRootAsVector3Partial(buf []byte, offset flatbuffers.UOffsetT) *Vector3Partial

func GetSizePrefixedRootAsVector3Partial

func GetSizePrefixedRootAsVector3Partial(buf []byte, offset flatbuffers.UOffsetT) *Vector3Partial

func (*Vector3Partial) Init

func (rcv *Vector3Partial) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Vector3Partial) Table

func (rcv *Vector3Partial) Table() flatbuffers.Table

func (*Vector3Partial) UnPack

func (rcv *Vector3Partial) UnPack() *Vector3PartialT

func (*Vector3Partial) UnPackTo

func (rcv *Vector3Partial) UnPackTo(t *Vector3PartialT)

func (*Vector3Partial) X

func (rcv *Vector3Partial) X(obj *Float) *Float

func (*Vector3Partial) Y

func (rcv *Vector3Partial) Y(obj *Float) *Float

func (*Vector3Partial) Z

func (rcv *Vector3Partial) Z(obj *Float) *Float

type Vector3PartialT

type Vector3PartialT struct {
	X *FloatT `json:"x"`
	Y *FloatT `json:"y"`
	Z *FloatT `json:"z"`
}

/ A 3D vector where x, y, and z can be null. / Used for game state setting to define which part of a vector should change. / If a component is null, then the component will keep its current value.

func (*Vector3PartialT) Pack

type Vector3T

type Vector3T struct {
	X float32 `json:"x"`
	Y float32 `json:"y"`
	Z float32 `json:"z"`
}

/ A vector with an x, y, z component. / Note that Rocket League uses a left-handed coordinate system.

func (*Vector3T) Pack

func (t *Vector3T) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

Source Files

Jump to

Keyboard shortcuts

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