config

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This file is auto-generated by Tabugen v0.6.12, DO NOT EDIT!

This file is auto-generated by Tabular v0.6.12, DO NOT EDIT!

Index

Constants

View Source
const (
	TABUGEN_CSV_SEP     = `,` // CSV field delimiter
	TABUGEN_CSV_QUOTE   = `"` // CSV field quote
	TABUGEN_ARRAY_DELIM = `,` // array item delimiter
	TABUGEN_MAP_DELIM1  = `;` // map item delimiter
	TABUGEN_MAP_DELIM2  = `=` // map key-value delimiter
)

Variables

This section is empty.

Functions

func ReadCSVRows

func ReadCSVRows(data []byte) ([][]string, error)

read CSV data to rows

Types

type NewbieGuideDefine

type NewbieGuideDefine struct {
	Name           string            // ID
	Type           string            // 任务类型
	Target         string            // 目标
	Accomplishment []int16           // 完成步骤
	Goods          map[string]uint32 // 物品
	Description    string            // 描述
}

新手引导配置, 新手任务.xlsx

func (*NewbieGuideDefine) ParseFromRow

func (p *NewbieGuideDefine) ParseFromRow(row []string) error

type StructuredConfig

type StructuredConfig interface {
	ParseFromRow(row []string) error
}

Jump to

Keyboard shortcuts

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