soc

package
v0.0.0-...-48c54ff Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProperty

func GetProperty(c *SoC) (hit, reload, damage, destroy int, err error)

Types

type ColorType

type ColorType int
const (
	ColorTypeNone ColorType = iota
	ColorTypeBlue
	ColorTypeOrange
)

func GetColor

func GetColor(c *SoC) (ColorType, error)

type GridNumberType

type GridNumberType int
const (
	GridNumberTypeNone GridNumberType = iota
	GridNumberType6
	GridNumberType5
	GridNumberType4
	GridNumberType3
)

func GetGridNumber

func GetGridNumber(c *SoC) (GridNumberType, error)

type KindType

type KindType int
const (
	KindTypeNone KindType = iota
	KindType1
	KindType2
)

func GetKind

func GetKind(c *SoC) (KindType, error)

type RankType

type RankType int
const (
	RankTypeNone RankType = iota
	RankType2
	RankType3
	RankType4
	RankType5
)

func GetRank

func GetRank(c *SoC) (RankType, error)

type ShapeType

type ShapeType int
const (
	ShapeTypeNone ShapeType = iota
	ShapeType61
	ShapeType62
	ShapeType63
	ShapeType641
	ShapeType642
	ShapeType65
	ShapeType66
	ShapeType67
	ShapeType68
	ShapeType69
	ShapeType511
	ShapeType512
	ShapeType513
	ShapeType514
	ShapeType515
	ShapeType516
	ShapeType517
	ShapeType518
	ShapeType519
	ShapeType521
	ShapeType522
	ShapeType523
	ShapeType524
	ShapeType525
	ShapeType526
	ShapeType527
	ShapeType528
	ShapeType529
)

*

** ** ** ShapeType61

*** ** * ShapeType62

****

**

ShapeType63

***

***

ShapeType641

***

*** ShapeType642

**

**

** ShapeType65

*

***

*
*

ShapeType66

*
*
*
*
*
*

ShapeType67

**** * * ShapeType68

** ***

*

ShapeType69

**

** * ShapeType511

***

** ShapeType512

***

**

ShapeType513

* ** * * ShapeType514

*

**

*
*

ShapeType515

*

***

*

ShapeType516

***

*
*

ShapeType517

**

**

*

ShapeType518

**

**
*

ShapeType519

*
*
*

** ShapeType521

* * * ** ShapeType522

*** * * ShapeType523

**
*

** ShapeType524

**

*
**

ShapeType525

** * ** ShapeType526

* * * * * ShapeType527

*

** ** ShapeType528

* ** ** ShapeType529

func GetShape

func GetShape(c *SoC) (ShapeType, error)

type SoC

type SoC struct {
	ID              string `json:"id"`
	ChipID          string `json:"chip_id"`
	ChipLevel       string `json:"chip_level"`
	ColorID         string `json:"color_id"`
	GridID          string `json:"grid_id"`
	SquadWithUserID string `json:"squad_with_user_id"`
	ShapeInfo       string `json:"shape_info"`
	AssistDamage    string `json:"assist_damage"`
	AssistReload    string `json:"assist_reload"`
	AssistHit       string `json:"assist_hit"`
	AssistDefBreak  string `json:"assist_def_break"`
	Locked          string `json:"is_locked"`
}

Jump to

Keyboard shortcuts

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