AnimalRefreshState Method |
Tries to return an updated OrganismState given a creature's ID. This function
may return null if the creature can't be found or was hidden by camouflage.
You may call this method multiple times just like the LookFor method and get
different results.
Namespace: Terrarium.Sdk.Classes.CreatureAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic OrganismState RefreshState(
string organismID
)
Public Function RefreshState (
organismID As String
) As OrganismState
public:
OrganismState^ RefreshState(
String^ organismID
)
member RefreshState :
organismID : string -> OrganismState
Parameters
- organismID
- Type: SystemString
GUID which represents a specific organism in the system.
Return Value
Type:
OrganismState
OrganismState representing the creature being looked for or null if not found.
Exceptions
See Also