<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Prototypes] constructor.name gone missing]]></title><description><![CDATA[<p> A few weeks ago (don't remember when exactly) I could do <strong>StructureStorage.constructor.name </strong>and it would result in `<strong>StructureStorage</strong>` This was true for other objects as well.</p>
<p>I base some of the logic I got for caching things on this. For some reason it stopped working some time ago but haven't had time to fix it yet. Today I found out that this data is suddenly missing.</p>
<p> </p>
<p>Could you look into this? There is now no easy way to identify the type of object in an easy matter. ( Flag / StructureTerminal / StructureLab / ConstructionSite )</p>]]></description><link>http://screeps.com/forum/topic/478/prototypes-constructor-name-gone-missing</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 19:03:50 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/478.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Nov 2016 15:29:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Prototypes] constructor.name gone missing on Invalid Date]]></title><description><![CDATA[<p> A few weeks ago (don't remember when exactly) I could do <strong>StructureStorage.constructor.name </strong>and it would result in `<strong>StructureStorage</strong>` This was true for other objects as well.</p>
<p>I base some of the logic I got for caching things on this. For some reason it stopped working some time ago but haven't had time to fix it yet. Today I found out that this data is suddenly missing.</p>
<p> </p>
<p>Could you look into this? There is now no easy way to identify the type of object in an easy matter. ( Flag / StructureTerminal / StructureLab / ConstructionSite )</p>]]></description><link>http://screeps.com/forum/post/2293</link><guid isPermaLink="true">http://screeps.com/forum/post/2293</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [Prototypes] constructor.name gone missing on Invalid Date]]></title><description><![CDATA[<p>Folks on StackExchange and elsewhere have written tomes on the subject of the impossibility of reliably querying object lineage in Javascript. I do hope this change gets reverted, but I wouldn't count on it. I assumed it wouldn't be reliable in the first place, and so never wrote code for it.</p>]]></description><link>http://screeps.com/forum/post/2294</link><guid isPermaLink="true">http://screeps.com/forum/post/2294</guid><dc:creator><![CDATA[sparr]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [Prototypes] constructor.name gone missing on Invalid Date]]></title><description><![CDATA[<p>Still doesn't solve the problem of it suddenly disappearing without prior notice.</p>]]></description><link>http://screeps.com/forum/post/2295</link><guid isPermaLink="true">http://screeps.com/forum/post/2295</guid><dc:creator><![CDATA[Dissi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to [Prototypes] constructor.name gone missing on Invalid Date]]></title><description><![CDATA[<p><a href="/hc/en-us/community/posts/209632249-Why-the-sudden-change-to-prototypes-" target="_blank" rel="nofollow noreferrer">Related topic</a></p>]]></description><link>http://screeps.com/forum/post/2296</link><guid isPermaLink="true">http://screeps.com/forum/post/2296</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>