pb

package
v0.0.0-...-bbfb983 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInitialize

type ClientInitialize struct {
	Cid                  int64    `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClientInitialize) Descriptor

func (*ClientInitialize) Descriptor() ([]byte, []int)

func (*ClientInitialize) GetCid

func (m *ClientInitialize) GetCid() int64

func (*ClientInitialize) ProtoMessage

func (*ClientInitialize) ProtoMessage()

func (*ClientInitialize) Reset

func (m *ClientInitialize) Reset()

func (*ClientInitialize) String

func (m *ClientInitialize) String() string

func (*ClientInitialize) XXX_DiscardUnknown

func (m *ClientInitialize) XXX_DiscardUnknown()

func (*ClientInitialize) XXX_Marshal

func (m *ClientInitialize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientInitialize) XXX_Merge

func (m *ClientInitialize) XXX_Merge(src proto.Message)

func (*ClientInitialize) XXX_Size

func (m *ClientInitialize) XXX_Size() int

func (*ClientInitialize) XXX_Unmarshal

func (m *ClientInitialize) XXX_Unmarshal(b []byte) error

type DestroyEvent

type DestroyEvent struct {
	Nid                  uint64   `protobuf:"varint,1,opt,name=nid,proto3" json:"nid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DestroyEvent) Descriptor

func (*DestroyEvent) Descriptor() ([]byte, []int)

func (*DestroyEvent) GetNid

func (m *DestroyEvent) GetNid() uint64

func (*DestroyEvent) ProtoMessage

func (*DestroyEvent) ProtoMessage()

func (*DestroyEvent) Reset

func (m *DestroyEvent) Reset()

func (*DestroyEvent) String

func (m *DestroyEvent) String() string

func (*DestroyEvent) XXX_DiscardUnknown

func (m *DestroyEvent) XXX_DiscardUnknown()

func (*DestroyEvent) XXX_Marshal

func (m *DestroyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DestroyEvent) XXX_Merge

func (m *DestroyEvent) XXX_Merge(src proto.Message)

func (*DestroyEvent) XXX_Size

func (m *DestroyEvent) XXX_Size() int

func (*DestroyEvent) XXX_Unmarshal

func (m *DestroyEvent) XXX_Unmarshal(b []byte) error

type Memo

type Memo struct {
	// Types that are valid to be assigned to Recipient:
	//	*Memo_To
	//	*Memo_EveryoneBut
	//	*Memo_Everyone
	Recipient isMemo_Recipient `protobuf_oneof:"recipient"`
	// Types that are valid to be assigned to Actual:
	//	*Memo_PosTracks
	//	*Memo_MomentumTracks
	//	*Memo_RotTracks
	//	*Memo_SpinTracks
	//	*Memo_ShipControlTrack
	//	*Memo_DestroyEvent
	//	*Memo_ShootMissile
	//	*Memo_SpawnMissile
	//	*Memo_SpawnExplosion
	//	*Memo_SpawnShip
	//	*Memo_RegisterPlayer
	Actual               isMemo_Actual `protobuf_oneof:"actual"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Memo) Descriptor

func (*Memo) Descriptor() ([]byte, []int)

func (*Memo) GetActual

func (m *Memo) GetActual() isMemo_Actual

func (*Memo) GetDestroyEvent

func (m *Memo) GetDestroyEvent() *DestroyEvent

func (*Memo) GetEveryone

func (m *Memo) GetEveryone() bool

func (*Memo) GetEveryoneBut

func (m *Memo) GetEveryoneBut() int64

func (*Memo) GetMomentumTracks

func (m *Memo) GetMomentumTracks() *MomentumTracks

func (*Memo) GetPosTracks

func (m *Memo) GetPosTracks() *PosTracks

func (*Memo) GetRecipient

func (m *Memo) GetRecipient() isMemo_Recipient

func (*Memo) GetRegisterPlayer

func (m *Memo) GetRegisterPlayer() *RegisterPlayer

func (*Memo) GetRotTracks

func (m *Memo) GetRotTracks() *RotTracks

func (*Memo) GetShipControlTrack

func (m *Memo) GetShipControlTrack() *ShipControlTrack

func (*Memo) GetShootMissile

func (m *Memo) GetShootMissile() *ShootMissile

func (*Memo) GetSpawnExplosion

func (m *Memo) GetSpawnExplosion() *SpawnExplosion

func (*Memo) GetSpawnMissile

func (m *Memo) GetSpawnMissile() *SpawnMissile

func (*Memo) GetSpawnShip

func (m *Memo) GetSpawnShip() *SpawnShip

func (*Memo) GetSpinTracks

func (m *Memo) GetSpinTracks() *SpinTracks

func (*Memo) GetTo

func (m *Memo) GetTo() int64

func (*Memo) ProtoMessage

func (*Memo) ProtoMessage()

func (*Memo) Reset

func (m *Memo) Reset()

func (*Memo) String

func (m *Memo) String() string

func (*Memo) XXX_DiscardUnknown

func (m *Memo) XXX_DiscardUnknown()

func (*Memo) XXX_Marshal

func (m *Memo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Memo) XXX_Merge

func (m *Memo) XXX_Merge(src proto.Message)

func (*Memo) XXX_OneofWrappers

func (*Memo) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Memo) XXX_Size

func (m *Memo) XXX_Size() int

func (*Memo) XXX_Unmarshal

func (m *Memo) XXX_Unmarshal(b []byte) error

type Memo_DestroyEvent

type Memo_DestroyEvent struct {
	DestroyEvent *DestroyEvent `protobuf:"bytes,16,opt,name=destroy_event,json=destroyEvent,proto3,oneof"`
}

type Memo_Everyone

type Memo_Everyone struct {
	Everyone bool `protobuf:"varint,3,opt,name=everyone,proto3,oneof"`
}

type Memo_EveryoneBut

type Memo_EveryoneBut struct {
	EveryoneBut int64 `protobuf:"varint,2,opt,name=everyone_but,json=everyoneBut,proto3,oneof"`
}

type Memo_MomentumTracks

type Memo_MomentumTracks struct {
	MomentumTracks *MomentumTracks `protobuf:"bytes,11,opt,name=momentum_tracks,json=momentumTracks,proto3,oneof"`
}

type Memo_PosTracks

type Memo_PosTracks struct {
	PosTracks *PosTracks `protobuf:"bytes,10,opt,name=pos_tracks,json=posTracks,proto3,oneof"`
}

type Memo_RegisterPlayer

type Memo_RegisterPlayer struct {
	RegisterPlayer *RegisterPlayer `protobuf:"bytes,21,opt,name=register_player,json=registerPlayer,proto3,oneof"`
}

type Memo_RotTracks

type Memo_RotTracks struct {
	RotTracks *RotTracks `protobuf:"bytes,12,opt,name=rot_tracks,json=rotTracks,proto3,oneof"`
}

type Memo_ShipControlTrack

type Memo_ShipControlTrack struct {
	ShipControlTrack *ShipControlTrack `protobuf:"bytes,14,opt,name=ship_control_track,json=shipControlTrack,proto3,oneof"`
}

type Memo_ShootMissile

type Memo_ShootMissile struct {
	ShootMissile *ShootMissile `protobuf:"bytes,17,opt,name=shoot_missile,json=shootMissile,proto3,oneof"`
}

type Memo_SpawnExplosion

type Memo_SpawnExplosion struct {
	SpawnExplosion *SpawnExplosion `protobuf:"bytes,19,opt,name=spawn_explosion,json=spawnExplosion,proto3,oneof"`
}

type Memo_SpawnMissile

type Memo_SpawnMissile struct {
	SpawnMissile *SpawnMissile `protobuf:"bytes,18,opt,name=spawn_missile,json=spawnMissile,proto3,oneof"`
}

type Memo_SpawnShip

type Memo_SpawnShip struct {
	SpawnShip *SpawnShip `protobuf:"bytes,20,opt,name=spawn_ship,json=spawnShip,proto3,oneof"`
}

type Memo_SpinTracks

type Memo_SpinTracks struct {
	SpinTracks *SpinTracks `protobuf:"bytes,13,opt,name=spin_tracks,json=spinTracks,proto3,oneof"`
}

type Memo_To

type Memo_To struct {
	To int64 `protobuf:"varint,1,opt,name=to,proto3,oneof"`
}

type Memos

type Memos struct {
	Memos                []*Memo  `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Memos) Descriptor

func (*Memos) Descriptor() ([]byte, []int)

func (*Memos) GetMemos

func (m *Memos) GetMemos() []*Memo

func (*Memos) ProtoMessage

func (*Memos) ProtoMessage()

func (*Memos) Reset

func (m *Memos) Reset()

func (*Memos) String

func (m *Memos) String() string

func (*Memos) XXX_DiscardUnknown

func (m *Memos) XXX_DiscardUnknown()

func (*Memos) XXX_Marshal

func (m *Memos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Memos) XXX_Merge

func (m *Memos) XXX_Merge(src proto.Message)

func (*Memos) XXX_Size

func (m *Memos) XXX_Size() int

func (*Memos) XXX_Unmarshal

func (m *Memos) XXX_Unmarshal(b []byte) error

type MomentumTracks

type MomentumTracks struct {
	Nid                  []uint64  `protobuf:"varint,1,rep,packed,name=nid,proto3" json:"nid,omitempty"`
	X                    []float32 `protobuf:"fixed32,2,rep,packed,name=x,proto3" json:"x,omitempty"`
	Y                    []float32 `protobuf:"fixed32,3,rep,packed,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*MomentumTracks) Descriptor

func (*MomentumTracks) Descriptor() ([]byte, []int)

func (*MomentumTracks) GetNid

func (m *MomentumTracks) GetNid() []uint64

func (*MomentumTracks) GetX

func (m *MomentumTracks) GetX() []float32

func (*MomentumTracks) GetY

func (m *MomentumTracks) GetY() []float32

func (*MomentumTracks) ProtoMessage

func (*MomentumTracks) ProtoMessage()

func (*MomentumTracks) Reset

func (m *MomentumTracks) Reset()

func (*MomentumTracks) String

func (m *MomentumTracks) String() string

func (*MomentumTracks) XXX_DiscardUnknown

func (m *MomentumTracks) XXX_DiscardUnknown()

func (*MomentumTracks) XXX_Marshal

func (m *MomentumTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MomentumTracks) XXX_Merge

func (m *MomentumTracks) XXX_Merge(src proto.Message)

func (*MomentumTracks) XXX_Size

func (m *MomentumTracks) XXX_Size() int

func (*MomentumTracks) XXX_Unmarshal

func (m *MomentumTracks) XXX_Unmarshal(b []byte) error

type PosTracks

type PosTracks struct {
	Nid                  []uint64  `protobuf:"varint,1,rep,packed,name=nid,proto3" json:"nid,omitempty"`
	X                    []float32 `protobuf:"fixed32,2,rep,packed,name=x,proto3" json:"x,omitempty"`
	Y                    []float32 `protobuf:"fixed32,3,rep,packed,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PosTracks) Descriptor

func (*PosTracks) Descriptor() ([]byte, []int)

func (*PosTracks) GetNid

func (m *PosTracks) GetNid() []uint64

func (*PosTracks) GetX

func (m *PosTracks) GetX() []float32

func (*PosTracks) GetY

func (m *PosTracks) GetY() []float32

func (*PosTracks) ProtoMessage

func (*PosTracks) ProtoMessage()

func (*PosTracks) Reset

func (m *PosTracks) Reset()

func (*PosTracks) String

func (m *PosTracks) String() string

func (*PosTracks) XXX_DiscardUnknown

func (m *PosTracks) XXX_DiscardUnknown()

func (*PosTracks) XXX_Marshal

func (m *PosTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PosTracks) XXX_Merge

func (m *PosTracks) XXX_Merge(src proto.Message)

func (*PosTracks) XXX_Size

func (m *PosTracks) XXX_Size() int

func (*PosTracks) XXX_Unmarshal

func (m *PosTracks) XXX_Unmarshal(b []byte) error

type RegisterPlayer

type RegisterPlayer struct {
	Cid                  int64    `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterPlayer) Descriptor

func (*RegisterPlayer) Descriptor() ([]byte, []int)

func (*RegisterPlayer) GetCid

func (m *RegisterPlayer) GetCid() int64

func (*RegisterPlayer) ProtoMessage

func (*RegisterPlayer) ProtoMessage()

func (*RegisterPlayer) Reset

func (m *RegisterPlayer) Reset()

func (*RegisterPlayer) String

func (m *RegisterPlayer) String() string

func (*RegisterPlayer) XXX_DiscardUnknown

func (m *RegisterPlayer) XXX_DiscardUnknown()

func (*RegisterPlayer) XXX_Marshal

func (m *RegisterPlayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegisterPlayer) XXX_Merge

func (m *RegisterPlayer) XXX_Merge(src proto.Message)

func (*RegisterPlayer) XXX_Size

func (m *RegisterPlayer) XXX_Size() int

func (*RegisterPlayer) XXX_Unmarshal

func (m *RegisterPlayer) XXX_Unmarshal(b []byte) error

type RotTracks

type RotTracks struct {
	Nid                  []uint64  `protobuf:"varint,1,rep,packed,name=nid,proto3" json:"nid,omitempty"`
	R                    []float32 `protobuf:"fixed32,2,rep,packed,name=r,proto3" json:"r,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RotTracks) Descriptor

func (*RotTracks) Descriptor() ([]byte, []int)

func (*RotTracks) GetNid

func (m *RotTracks) GetNid() []uint64

func (*RotTracks) GetR

func (m *RotTracks) GetR() []float32

func (*RotTracks) ProtoMessage

func (*RotTracks) ProtoMessage()

func (*RotTracks) Reset

func (m *RotTracks) Reset()

func (*RotTracks) String

func (m *RotTracks) String() string

func (*RotTracks) XXX_DiscardUnknown

func (m *RotTracks) XXX_DiscardUnknown()

func (*RotTracks) XXX_Marshal

func (m *RotTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RotTracks) XXX_Merge

func (m *RotTracks) XXX_Merge(src proto.Message)

func (*RotTracks) XXX_Size

func (m *RotTracks) XXX_Size() int

func (*RotTracks) XXX_Unmarshal

func (m *RotTracks) XXX_Unmarshal(b []byte) error

type ShipControlTrack

type ShipControlTrack struct {
	Nid                  uint64   `protobuf:"varint,1,opt,name=nid,proto3" json:"nid,omitempty"`
	Up                   bool     `protobuf:"varint,2,opt,name=up,proto3" json:"up,omitempty"`
	Left                 bool     `protobuf:"varint,3,opt,name=left,proto3" json:"left,omitempty"`
	Right                bool     `protobuf:"varint,4,opt,name=right,proto3" json:"right,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ShipControlTrack) Descriptor

func (*ShipControlTrack) Descriptor() ([]byte, []int)

func (*ShipControlTrack) GetLeft

func (m *ShipControlTrack) GetLeft() bool

func (*ShipControlTrack) GetNid

func (m *ShipControlTrack) GetNid() uint64

func (*ShipControlTrack) GetRight

func (m *ShipControlTrack) GetRight() bool

func (*ShipControlTrack) GetUp

func (m *ShipControlTrack) GetUp() bool

func (*ShipControlTrack) ProtoMessage

func (*ShipControlTrack) ProtoMessage()

func (*ShipControlTrack) Reset

func (m *ShipControlTrack) Reset()

func (*ShipControlTrack) String

func (m *ShipControlTrack) String() string

func (*ShipControlTrack) XXX_DiscardUnknown

func (m *ShipControlTrack) XXX_DiscardUnknown()

func (*ShipControlTrack) XXX_Marshal

func (m *ShipControlTrack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShipControlTrack) XXX_Merge

func (m *ShipControlTrack) XXX_Merge(src proto.Message)

func (*ShipControlTrack) XXX_Size

func (m *ShipControlTrack) XXX_Size() int

func (*ShipControlTrack) XXX_Unmarshal

func (m *ShipControlTrack) XXX_Unmarshal(b []byte) error

type ShootMissile

type ShootMissile struct {
	Owner                uint64   `protobuf:"varint,1,opt,name=owner,proto3" json:"owner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ShootMissile) Descriptor

func (*ShootMissile) Descriptor() ([]byte, []int)

func (*ShootMissile) GetOwner

func (m *ShootMissile) GetOwner() uint64

func (*ShootMissile) ProtoMessage

func (*ShootMissile) ProtoMessage()

func (*ShootMissile) Reset

func (m *ShootMissile) Reset()

func (*ShootMissile) String

func (m *ShootMissile) String() string

func (*ShootMissile) XXX_DiscardUnknown

func (m *ShootMissile) XXX_DiscardUnknown()

func (*ShootMissile) XXX_Marshal

func (m *ShootMissile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShootMissile) XXX_Merge

func (m *ShootMissile) XXX_Merge(src proto.Message)

func (*ShootMissile) XXX_Size

func (m *ShootMissile) XXX_Size() int

func (*ShootMissile) XXX_Unmarshal

func (m *ShootMissile) XXX_Unmarshal(b []byte) error

type SpawnExplosion

type SpawnExplosion struct {
	Pos                  *Vec2    `protobuf:"bytes,1,opt,name=pos,proto3" json:"pos,omitempty"`
	Momentum             *Vec2    `protobuf:"bytes,2,opt,name=momentum,proto3" json:"momentum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpawnExplosion) Descriptor

func (*SpawnExplosion) Descriptor() ([]byte, []int)

func (*SpawnExplosion) GetMomentum

func (m *SpawnExplosion) GetMomentum() *Vec2

func (*SpawnExplosion) GetPos

func (m *SpawnExplosion) GetPos() *Vec2

func (*SpawnExplosion) ProtoMessage

func (*SpawnExplosion) ProtoMessage()

func (*SpawnExplosion) Reset

func (m *SpawnExplosion) Reset()

func (*SpawnExplosion) String

func (m *SpawnExplosion) String() string

func (*SpawnExplosion) XXX_DiscardUnknown

func (m *SpawnExplosion) XXX_DiscardUnknown()

func (*SpawnExplosion) XXX_Marshal

func (m *SpawnExplosion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpawnExplosion) XXX_Merge

func (m *SpawnExplosion) XXX_Merge(src proto.Message)

func (*SpawnExplosion) XXX_Size

func (m *SpawnExplosion) XXX_Size() int

func (*SpawnExplosion) XXX_Unmarshal

func (m *SpawnExplosion) XXX_Unmarshal(b []byte) error

type SpawnMissile

type SpawnMissile struct {
	Nid                  uint64   `protobuf:"varint,6,opt,name=nid,proto3" json:"nid,omitempty"`
	Owner                uint64   `protobuf:"varint,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Pos                  *Vec2    `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"`
	Momentum             *Vec2    `protobuf:"bytes,3,opt,name=momentum,proto3" json:"momentum,omitempty"`
	Rot                  float32  `protobuf:"fixed32,4,opt,name=rot,proto3" json:"rot,omitempty"`
	Spin                 float32  `protobuf:"fixed32,5,opt,name=spin,proto3" json:"spin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Server is always authority

func (*SpawnMissile) Descriptor

func (*SpawnMissile) Descriptor() ([]byte, []int)

func (*SpawnMissile) GetMomentum

func (m *SpawnMissile) GetMomentum() *Vec2

func (*SpawnMissile) GetNid

func (m *SpawnMissile) GetNid() uint64

func (*SpawnMissile) GetOwner

func (m *SpawnMissile) GetOwner() uint64

func (*SpawnMissile) GetPos

func (m *SpawnMissile) GetPos() *Vec2

func (*SpawnMissile) GetRot

func (m *SpawnMissile) GetRot() float32

func (*SpawnMissile) GetSpin

func (m *SpawnMissile) GetSpin() float32

func (*SpawnMissile) ProtoMessage

func (*SpawnMissile) ProtoMessage()

func (*SpawnMissile) Reset

func (m *SpawnMissile) Reset()

func (*SpawnMissile) String

func (m *SpawnMissile) String() string

func (*SpawnMissile) XXX_DiscardUnknown

func (m *SpawnMissile) XXX_DiscardUnknown()

func (*SpawnMissile) XXX_Marshal

func (m *SpawnMissile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpawnMissile) XXX_Merge

func (m *SpawnMissile) XXX_Merge(src proto.Message)

func (*SpawnMissile) XXX_Size

func (m *SpawnMissile) XXX_Size() int

func (*SpawnMissile) XXX_Unmarshal

func (m *SpawnMissile) XXX_Unmarshal(b []byte) error

type SpawnShip

type SpawnShip struct {
	Nid                  uint64   `protobuf:"varint,1,opt,name=nid,proto3" json:"nid,omitempty"`
	Authority            int64    `protobuf:"varint,2,opt,name=authority,proto3" json:"authority,omitempty"`
	Pos                  *Vec2    `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"`
	Momentum             *Vec2    `protobuf:"bytes,4,opt,name=momentum,proto3" json:"momentum,omitempty"`
	Rot                  float32  `protobuf:"fixed32,5,opt,name=rot,proto3" json:"rot,omitempty"`
	Spin                 float32  `protobuf:"fixed32,6,opt,name=spin,proto3" json:"spin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpawnShip) Descriptor

func (*SpawnShip) Descriptor() ([]byte, []int)

func (*SpawnShip) GetAuthority

func (m *SpawnShip) GetAuthority() int64

func (*SpawnShip) GetMomentum

func (m *SpawnShip) GetMomentum() *Vec2

func (*SpawnShip) GetNid

func (m *SpawnShip) GetNid() uint64

func (*SpawnShip) GetPos

func (m *SpawnShip) GetPos() *Vec2

func (*SpawnShip) GetRot

func (m *SpawnShip) GetRot() float32

func (*SpawnShip) GetSpin

func (m *SpawnShip) GetSpin() float32

func (*SpawnShip) ProtoMessage

func (*SpawnShip) ProtoMessage()

func (*SpawnShip) Reset

func (m *SpawnShip) Reset()

func (*SpawnShip) String

func (m *SpawnShip) String() string

func (*SpawnShip) XXX_DiscardUnknown

func (m *SpawnShip) XXX_DiscardUnknown()

func (*SpawnShip) XXX_Marshal

func (m *SpawnShip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpawnShip) XXX_Merge

func (m *SpawnShip) XXX_Merge(src proto.Message)

func (*SpawnShip) XXX_Size

func (m *SpawnShip) XXX_Size() int

func (*SpawnShip) XXX_Unmarshal

func (m *SpawnShip) XXX_Unmarshal(b []byte) error

type SpinTracks

type SpinTracks struct {
	Nid                  []uint64  `protobuf:"varint,1,rep,packed,name=nid,proto3" json:"nid,omitempty"`
	S                    []float32 `protobuf:"fixed32,2,rep,packed,name=s,proto3" json:"s,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SpinTracks) Descriptor

func (*SpinTracks) Descriptor() ([]byte, []int)

func (*SpinTracks) GetNid

func (m *SpinTracks) GetNid() []uint64

func (*SpinTracks) GetS

func (m *SpinTracks) GetS() []float32

func (*SpinTracks) ProtoMessage

func (*SpinTracks) ProtoMessage()

func (*SpinTracks) Reset

func (m *SpinTracks) Reset()

func (*SpinTracks) String

func (m *SpinTracks) String() string

func (*SpinTracks) XXX_DiscardUnknown

func (m *SpinTracks) XXX_DiscardUnknown()

func (*SpinTracks) XXX_Marshal

func (m *SpinTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpinTracks) XXX_Merge

func (m *SpinTracks) XXX_Merge(src proto.Message)

func (*SpinTracks) XXX_Size

func (m *SpinTracks) XXX_Size() int

func (*SpinTracks) XXX_Unmarshal

func (m *SpinTracks) XXX_Unmarshal(b []byte) error

type Vec2

type Vec2 struct {
	X                    float32  `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y                    float32  `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vec2) Descriptor

func (*Vec2) Descriptor() ([]byte, []int)

func (*Vec2) GetX

func (m *Vec2) GetX() float32

func (*Vec2) GetY

func (m *Vec2) GetY() float32

func (*Vec2) ProtoMessage

func (*Vec2) ProtoMessage()

func (*Vec2) Reset

func (m *Vec2) Reset()

func (*Vec2) String

func (m *Vec2) String() string

func (*Vec2) XXX_DiscardUnknown

func (m *Vec2) XXX_DiscardUnknown()

func (*Vec2) XXX_Marshal

func (m *Vec2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Vec2) XXX_Merge

func (m *Vec2) XXX_Merge(src proto.Message)

func (*Vec2) XXX_Size

func (m *Vec2) XXX_Size() int

func (*Vec2) XXX_Unmarshal

func (m *Vec2) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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