<?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[Receive only changed part of state, but entire one]]></title><description><![CDATA[<p>There is <em>listen</em> client-side method, which allows you to get specific field or several fields. And also there is <em>onStateChange</em> which gives you entire state. How can I get only changed part, but full one, with nested values? I don't care about <em>type</em> of change (add, remove etc), I want something like object difference between old state and the new one.</p>
]]></description><link>http://discuss.colyseus.io/topic/199/receive-only-changed-part-of-state-but-entire-one</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 12:51:57 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/199.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jan 2019 21:47:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Receive only changed part of state, but entire one on Invalid Date]]></title><description><![CDATA[<p>There is <em>listen</em> client-side method, which allows you to get specific field or several fields. And also there is <em>onStateChange</em> which gives you entire state. How can I get only changed part, but full one, with nested values? I don't care about <em>type</em> of change (add, remove etc), I want something like object difference between old state and the new one.</p>
]]></description><link>http://discuss.colyseus.io/post/643</link><guid isPermaLink="true">http://discuss.colyseus.io/post/643</guid><dc:creator><![CDATA[DenisNP]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Receive only changed part of state, but entire one on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/284">@DenisNP</a>, welcome. This is not available at the current state of the framework.</p>
<p>The only encoding option the framework provides today is a binary-diff using <a href="https://www.npmjs.com/package/fossil-delta" rel="nofollow">fossil-delta</a>. The diff transferred to all clients consists in diff of the msgpack-encoded version of the previous state with the current one.</p>
<p>A custom state encoding would be necessary to allow this behaviour.</p>
]]></description><link>http://discuss.colyseus.io/post/644</link><guid isPermaLink="true">http://discuss.colyseus.io/post/644</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>