RpObjectBeginC2SUpdate Method |
Namespace: RW.Server.Component
public void BeginC2SUpdate( RepresentationUpdateType updType = RepresentationUpdateType.Modification )
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.