Documentation ¶
Index ¶
- Constants
- func ChangeDefaultBicPath(path string) error
- func ChangeSavePath(path string) error
- func CivString(b []byte) (string, error)
- func GraphQlHandler() (http.Handler, error)
- func Query(query, path string) (string, error)
- func ReadInt16(offset int, signed bool) int
- func ReadInt32(offset int, signed bool) int
- func ReadInt8(offset int, signed bool) int
- func SectionOffset(sectionName string, nth int) (int, error)
- func Server(path string, bindAddress, bindPort string) error
- func WorldSettings(path string) ([][3]string, error)
Constants ¶
View Source
const Signed = true
to make calling functions readable
View Source
const Unsigned = false
Variables ¶
This section is empty.
Functions ¶
func ChangeDefaultBicPath ¶
ChangeSavePath updates the package saveGame structure with save file data at <path>
func ChangeSavePath ¶
ChangeSavePath updates the package saveGame structure with save file data at <path>
func GraphQlHandler ¶
GraphQlHandler returns a GraphQL http handler
func SectionOffset ¶
deprecating in favor of *saveGameType.sectionOffset()
func WorldSettings ¶
Adapting this from the parseciv3 module to pull data this module's way
To keep the existing seed command without having to gql everything
WorldSettings Returns the information needed to regenerate the map presuming the map was originally generated by Civ3 and not later edited
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.