<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Actors</id>
	<title>Actors - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.wlabsocks.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Actors"/>
	<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Actors&amp;action=history"/>
	<updated>2026-05-12T23:27:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://www.wlabsocks.com/wiki/index.php?title=Actors&amp;diff=808&amp;oldid=prev</id>
		<title>Tayfunwiki: Created page with &quot;== &lt;code&gt;Actors&lt;/code&gt; Property in IM Class ==  === Overview === The &lt;code&gt;Actors&lt;/code&gt; property in the IM (Intrigue Manager) class provides access to a collection of actor values. This property is a key element in games managed by the Intrigue Manager, facilitating access to a comprehensive list of &lt;code&gt;Actor&lt;/code&gt; instances used within the game's intrigue system.  === Description ===  * Property Type: &lt;code&gt;IEnumerable&lt;Actor&gt;&lt;/code&gt; * Accessibility: Public and Stati...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.wlabsocks.com/wiki/index.php?title=Actors&amp;diff=808&amp;oldid=prev"/>
		<updated>2023-12-26T10:23:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; Property in IM Class ==  === Overview === The &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; property in the IM (Intrigue Manager) class provides access to a collection of actor values. This property is a key element in games managed by the Intrigue Manager, facilitating access to a comprehensive list of &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; instances used within the game&amp;#039;s intrigue system.  === Description ===  * Property Type: &amp;lt;code&amp;gt;IEnumerable&amp;lt;Actor&amp;gt;&amp;lt;/code&amp;gt; * Accessibility: Public and Stati...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; Property in IM Class ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; property in the IM (Intrigue Manager) class provides access to a collection of actor values. This property is a key element in games managed by the Intrigue Manager, facilitating access to a comprehensive list of &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; instances used within the game's intrigue system.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
* Property Type: &amp;lt;code&amp;gt;IEnumerable&amp;lt;Actor&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Accessibility: Public and Static&lt;br /&gt;
* Functionality: Returns an enumerable collection of &amp;lt;code&amp;gt;Actor&amp;lt;/code&amp;gt; instances. This collection represents all the actors currently managed by the Intrigue Manager, allowing for iteration over, and operations on, these actor instances.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
The &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; property is used whenever there is a need to access or iterate over all actors in the game. This includes scenarios like updating global game states, applying effects to multiple actors, or conducting searches and queries across the entire set of actors.&lt;br /&gt;
&lt;br /&gt;
=== Example of Usage ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c#&amp;quot;&amp;gt;&lt;br /&gt;
public class ActorListDisplay : MonoBehaviour {&lt;br /&gt;
    void DisplayAllActors() {&lt;br /&gt;
        foreach (Actor actor in IM.Actors) {&lt;br /&gt;
            Debug.Log($&amp;quot;Actor Name: {actor.FullName}&amp;quot;);&lt;br /&gt;
            // Additional logic to handle each actor&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;In this Unity script example, &amp;lt;code&amp;gt;ActorListDisplay&amp;lt;/code&amp;gt; uses the &amp;lt;code&amp;gt;IM.Actors&amp;lt;/code&amp;gt; property to iterate over all the actors in the game. For each actor, it logs their full name, and additional logic can be added to handle specific operations for each actor.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;Actors&amp;lt;/code&amp;gt; property in the IM class simplifies the process of accessing and managing multiple actors in a game, enhancing the ease of implementation for global operations.&lt;br /&gt;
* Its enumerable nature allows for flexible usage in various game scenarios, including UI updates, game state management, and actor-specific interactions.&lt;/div&gt;</summary>
		<author><name>Tayfunwiki</name></author>
	</entry>
</feed>