Skip to content
Äkwav edited this page Mar 1, 2019 · 2 revisions

Every Resource also has an Access object. It is used to determine if some other Resource is allowed to Get/Write or change another.
This also works cross server since the complete ResourceReference is included into the Access. Furthermore complete locations or regions can be authorized.

Getting Resource Default

The access may not be sent by default if someone requests the Resource.
This goes against the implementation where Access is a property of the resource.
To get a Resource without Access get it with ReferenceManager.Instance.SerializeWithoutAccess<Type>(recourceId) which temporarly removes the Access, serializes it, and adds the Access back on. This is more efficient than copying the resource. Also you don't need a copy constructor this way.

Clone this wiki locally