コード例 #1
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))
}
コード例 #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 プロジェクト: bcspragu/Gobots
func (l CellType_List) Set(i int, v CellType) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}