entityv1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_entity_v1_entity_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ComponentRemovedEvent

type ComponentRemovedEvent struct {
	EntityId  string     `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Component *anypb.Any `protobuf:"bytes,3,opt,name=component,proto3" json:"component,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentRemovedEvent) Descriptor deprecated

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

Deprecated: Use ComponentRemovedEvent.ProtoReflect.Descriptor instead.

func (*ComponentRemovedEvent) GetComponent

func (x *ComponentRemovedEvent) GetComponent() *anypb.Any

func (*ComponentRemovedEvent) GetEntityId

func (x *ComponentRemovedEvent) GetEntityId() string

func (*ComponentRemovedEvent) ProtoMessage

func (*ComponentRemovedEvent) ProtoMessage()

func (*ComponentRemovedEvent) ProtoReflect

func (x *ComponentRemovedEvent) ProtoReflect() protoreflect.Message

func (*ComponentRemovedEvent) Reset

func (x *ComponentRemovedEvent) Reset()

func (*ComponentRemovedEvent) String

func (x *ComponentRemovedEvent) String() string

type ComponentUpdatedEvent

type ComponentUpdatedEvent struct {
	EntityId  string     `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Component *anypb.Any `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentUpdatedEvent) Descriptor deprecated

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

Deprecated: Use ComponentUpdatedEvent.ProtoReflect.Descriptor instead.

func (*ComponentUpdatedEvent) GetComponent

func (x *ComponentUpdatedEvent) GetComponent() *anypb.Any

func (*ComponentUpdatedEvent) GetEntityId

func (x *ComponentUpdatedEvent) GetEntityId() string

func (*ComponentUpdatedEvent) ProtoMessage

func (*ComponentUpdatedEvent) ProtoMessage()

func (*ComponentUpdatedEvent) ProtoReflect

func (x *ComponentUpdatedEvent) ProtoReflect() protoreflect.Message

func (*ComponentUpdatedEvent) Reset

func (x *ComponentUpdatedEvent) Reset()

func (*ComponentUpdatedEvent) String

func (x *ComponentUpdatedEvent) String() string

type EntityAddedEvent

type EntityAddedEvent struct {
	EntityId   string       `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Components []*anypb.Any `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityAddedEvent) Descriptor deprecated

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

Deprecated: Use EntityAddedEvent.ProtoReflect.Descriptor instead.

func (*EntityAddedEvent) GetComponents

func (x *EntityAddedEvent) GetComponents() []*anypb.Any

func (*EntityAddedEvent) GetEntityId

func (x *EntityAddedEvent) GetEntityId() string

func (*EntityAddedEvent) ProtoMessage

func (*EntityAddedEvent) ProtoMessage()

func (*EntityAddedEvent) ProtoReflect

func (x *EntityAddedEvent) ProtoReflect() protoreflect.Message

func (*EntityAddedEvent) Reset

func (x *EntityAddedEvent) Reset()

func (*EntityAddedEvent) String

func (x *EntityAddedEvent) String() string

type EntityByIdRequest

type EntityByIdRequest struct {
	EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityByIdRequest) Descriptor deprecated

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

Deprecated: Use EntityByIdRequest.ProtoReflect.Descriptor instead.

func (*EntityByIdRequest) GetEntityId

func (x *EntityByIdRequest) GetEntityId() string

func (*EntityByIdRequest) ProtoMessage

func (*EntityByIdRequest) ProtoMessage()

func (*EntityByIdRequest) ProtoReflect

func (x *EntityByIdRequest) ProtoReflect() protoreflect.Message

func (*EntityByIdRequest) Reset

func (x *EntityByIdRequest) Reset()

func (*EntityByIdRequest) String

func (x *EntityByIdRequest) String() string

type EntityByIdResponse

type EntityByIdResponse struct {
	Entity *EntityInfo `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityByIdResponse) Descriptor deprecated

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

Deprecated: Use EntityByIdResponse.ProtoReflect.Descriptor instead.

func (*EntityByIdResponse) GetEntity

func (x *EntityByIdResponse) GetEntity() *EntityInfo

func (*EntityByIdResponse) ProtoMessage

func (*EntityByIdResponse) ProtoMessage()

func (*EntityByIdResponse) ProtoReflect

func (x *EntityByIdResponse) ProtoReflect() protoreflect.Message

func (*EntityByIdResponse) Reset

func (x *EntityByIdResponse) Reset()

func (*EntityByIdResponse) String

func (x *EntityByIdResponse) String() string

type EntityInfo

type EntityInfo struct {
	EntityId   string       `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Components []*anypb.Any `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityInfo) Descriptor deprecated

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

Deprecated: Use EntityInfo.ProtoReflect.Descriptor instead.

func (*EntityInfo) GetComponents

func (x *EntityInfo) GetComponents() []*anypb.Any

func (*EntityInfo) GetEntityId

func (x *EntityInfo) GetEntityId() string

func (*EntityInfo) ProtoMessage

func (*EntityInfo) ProtoMessage()

func (*EntityInfo) ProtoReflect

func (x *EntityInfo) ProtoReflect() protoreflect.Message

func (*EntityInfo) Reset

func (x *EntityInfo) Reset()

func (*EntityInfo) String

func (x *EntityInfo) String() string

type EntityListRequest

type EntityListRequest struct {
	// contains filtered or unexported fields
}

func (*EntityListRequest) Descriptor deprecated

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

Deprecated: Use EntityListRequest.ProtoReflect.Descriptor instead.

func (*EntityListRequest) ProtoMessage

func (*EntityListRequest) ProtoMessage()

func (*EntityListRequest) ProtoReflect

func (x *EntityListRequest) ProtoReflect() protoreflect.Message

func (*EntityListRequest) Reset

func (x *EntityListRequest) Reset()

func (*EntityListRequest) String

func (x *EntityListRequest) String() string

type EntityListResponse

type EntityListResponse struct {
	Entities []*EntityInfo `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityListResponse) Descriptor deprecated

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

Deprecated: Use EntityListResponse.ProtoReflect.Descriptor instead.

func (*EntityListResponse) GetEntities

func (x *EntityListResponse) GetEntities() []*EntityInfo

func (*EntityListResponse) ProtoMessage

func (*EntityListResponse) ProtoMessage()

func (*EntityListResponse) ProtoReflect

func (x *EntityListResponse) ProtoReflect() protoreflect.Message

func (*EntityListResponse) Reset

func (x *EntityListResponse) Reset()

func (*EntityListResponse) String

func (x *EntityListResponse) String() string

type EntityRemovedEvent

type EntityRemovedEvent struct {
	EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityRemovedEvent) Descriptor deprecated

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

Deprecated: Use EntityRemovedEvent.ProtoReflect.Descriptor instead.

func (*EntityRemovedEvent) GetEntityId

func (x *EntityRemovedEvent) GetEntityId() string

func (*EntityRemovedEvent) ProtoMessage

func (*EntityRemovedEvent) ProtoMessage()

func (*EntityRemovedEvent) ProtoReflect

func (x *EntityRemovedEvent) ProtoReflect() protoreflect.Message

func (*EntityRemovedEvent) Reset

func (x *EntityRemovedEvent) Reset()

func (*EntityRemovedEvent) String

func (x *EntityRemovedEvent) String() string

type EventStreamRequest

type EventStreamRequest struct {
	SimulateState bool `protobuf:"varint,1,opt,name=simulate_state,json=simulateState,proto3" json:"simulate_state,omitempty"`
	// contains filtered or unexported fields
}

func (*EventStreamRequest) Descriptor deprecated

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

Deprecated: Use EventStreamRequest.ProtoReflect.Descriptor instead.

func (*EventStreamRequest) GetSimulateState

func (x *EventStreamRequest) GetSimulateState() bool

func (*EventStreamRequest) ProtoMessage

func (*EventStreamRequest) ProtoMessage()

func (*EventStreamRequest) ProtoReflect

func (x *EventStreamRequest) ProtoReflect() protoreflect.Message

func (*EventStreamRequest) Reset

func (x *EventStreamRequest) Reset()

func (*EventStreamRequest) String

func (x *EventStreamRequest) String() string

type EventStreamResponse

type EventStreamResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*EventStreamResponse_EntityAdded
	//	*EventStreamResponse_EntityRemoved
	//	*EventStreamResponse_ComponentUpdated
	//	*EventStreamResponse_ComponentRemoved
	Event isEventStreamResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*EventStreamResponse) Descriptor deprecated

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

Deprecated: Use EventStreamResponse.ProtoReflect.Descriptor instead.

func (*EventStreamResponse) GetComponentRemoved

func (x *EventStreamResponse) GetComponentRemoved() *ComponentRemovedEvent

func (*EventStreamResponse) GetComponentUpdated

func (x *EventStreamResponse) GetComponentUpdated() *ComponentUpdatedEvent

func (*EventStreamResponse) GetEntityAdded

func (x *EventStreamResponse) GetEntityAdded() *EntityAddedEvent

func (*EventStreamResponse) GetEntityRemoved

func (x *EventStreamResponse) GetEntityRemoved() *EntityRemovedEvent

func (*EventStreamResponse) GetEvent

func (x *EventStreamResponse) GetEvent() isEventStreamResponse_Event

func (*EventStreamResponse) ProtoMessage

func (*EventStreamResponse) ProtoMessage()

func (*EventStreamResponse) ProtoReflect

func (x *EventStreamResponse) ProtoReflect() protoreflect.Message

func (*EventStreamResponse) Reset

func (x *EventStreamResponse) Reset()

func (*EventStreamResponse) String

func (x *EventStreamResponse) String() string

type EventStreamResponse_ComponentRemoved

type EventStreamResponse_ComponentRemoved struct {
	ComponentRemoved *ComponentRemovedEvent `protobuf:"bytes,4,opt,name=component_removed,json=componentRemoved,proto3,oneof"`
}

type EventStreamResponse_ComponentUpdated

type EventStreamResponse_ComponentUpdated struct {
	ComponentUpdated *ComponentUpdatedEvent `protobuf:"bytes,3,opt,name=component_updated,json=componentUpdated,proto3,oneof"`
}

type EventStreamResponse_EntityAdded

type EventStreamResponse_EntityAdded struct {
	EntityAdded *EntityAddedEvent `protobuf:"bytes,1,opt,name=entity_added,json=entityAdded,proto3,oneof"`
}

type EventStreamResponse_EntityRemoved

type EventStreamResponse_EntityRemoved struct {
	EntityRemoved *EntityRemovedEvent `protobuf:"bytes,2,opt,name=entity_removed,json=entityRemoved,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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