[This is preliminary documentation and is subject to change.]

Gets the declarative chunk with the specified world ID. If the declarative chunk cannot be found, this method returns null.

Namespace: Clarion
Assembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)

Syntax

C#
public static DeclarativeChunk GetDeclarativeChunk(
	Guid worldID
)

Parameters

worldID
Type: System..::..Guid
The world ID of the declarative chunk to get

Return Value

The declarative chunk with the specified world ID or null if the declarative chunk cannot be found

Remarks

Note
If the specified world ID is the world ID of an agent, this method will return the declarative chunk representation of that agent.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionIf the singleton world instance has not been initialized

See Also