mpp-client-go/mpp/channel.go

20 lines
429 B
Go
Executable File

package mpp
type Channel struct {
Id string `json:"_id"`
Id2 string `json:"id"`
Crown Crown `json:"crown"`
Settings ChannelSettings `json:"settings"`
}
type Crown struct {
ParticipantId string `json:"participantId"`
UserId string `json:"userId"`
StartPos Vector2 `json:"startPos"`
EndPos Vector2 `json:"endPos"`
}
type ChannelSettings struct {
// TODO
}