Click or drag to resize
RpObjectBeginC2SUpdate Method
Initializes a buffer for updates on representation objects.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public void BeginC2SUpdate(
	RepresentationUpdateType updType = RepresentationUpdateType.Modification
)

Parameters

updType (Optional)
Type: RW.Server.ComponentRepresentationUpdateType
The type of update.
Remarks

This method creates a buffer where the updates performed on the representation objects are stored until they are either committed by a call to the function EndC2SUpdate or discarded by a call to the function DiscardC2SUpdate.

You must call this method with default argument just before a serie of updates.

If you do not invoke it explicitly, it will be called implicitly whenever an object is modified.

You should use this function when a representation object is created locally on a component without any collector, with the type LocalCreation passed as the argument to notify the server that a new representation object has been created locally.

See Also