adf_core_python.core.agent package#

Subpackages#

Submodules#

adf_core_python.core.agent.agent module#

class adf_core_python.core.agent.agent.Agent(is_precompute: bool, name: str, is_debug: bool, team_name: str, data_storage_name: str, module_config: ModuleConfig, develop_data: DevelopData, finish_post_connect_event: Event, gateway_agent: GatewayAgent | None)#

ベースクラス: object

get_entity_id() → EntityID#
abstractmethod get_requested_entities() → list[EntityURN]#
handle_connect_error(msg: Any) → NoReturn#
handle_connect_ok(msg: Any) → None#
handler_sense(msg: KASense) → None#
message_received(msg: Any) → None#
post_connect() → None#
send_acknowledge(request_id: int) → None#
send_clear(time: int, target: EntityID) → None#
send_clear_area(time: int, x: int = -1, y: int = -1) → None#
send_load(time: int, target: EntityID) → None#
send_move(time: int, path: list[EntityID], x: int = -1, y: int = -1) → None#
send_rescue(time: int, target: EntityID) → None#
send_rest(time: int) → None#
send_say(time_step: int, message: bytes) → None#
send_speak(time_step: int, message: bitarray, channel: int) → None#
send_subscribe(time: int, channels: list[int]) → None#
send_tell(time: int, message: bytes) → None#
send_unload(time: int) → None#
set_send_msg(connection_send_func: Callable) → None#
start_up(request_id: int) → None#
abstractmethod think() → None#
update_step_info(time: int, change_set: ChangeSet, hear: list[Command]) → None#

Module contents#