コード例 #1
0
func (l Side_List) At(i int) Side {
	ul := capnp.UInt16List{List: l.List}
	return Side(ul.At(i))
}
コード例 #2
0
func (l Side_List) Set(i int, v Side) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
コード例 #3
0
ファイル: botapi.capnp.go プロジェクト: gophergala2016/Gobots
func (l Direction_List) Set(i int, v Direction) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
コード例 #4
0
ファイル: botapi.capnp.go プロジェクト: gophergala2016/Gobots
func (l Direction_List) At(i int) Direction {
	ul := capnp.UInt16List{List: l.List}
	return Direction(ul.At(i))
}
コード例 #5
0
ファイル: botapi.capnp.go プロジェクト: gophergala2016/Gobots
func (l Faction_List) At(i int) Faction {
	ul := capnp.UInt16List{List: l.List}
	return Faction(ul.At(i))
}
コード例 #6
0
ファイル: botapi.capnp.go プロジェクト: bcspragu/Gobots
func (l CellType_List) Set(i int, v CellType) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
コード例 #7
0
ファイル: botapi.capnp.go プロジェクト: bcspragu/Gobots
func (l CellType_List) At(i int) CellType {
	ul := capnp.UInt16List{List: l.List}
	return CellType(ul.At(i))
}