public void ChangeItems(RemoteGameObjects newObjects) { if (newObjects == null) { ChangeItemSource(null); return; } ListCollectionView items = newObjects.GetRootObjectsView(); ChangeItemSource(items); }
public GameObjectObservableCollection(Int32 instanceId, RemoteGameObjects context, IEnumerable <IRemotingMessage> messageCollection) { _instanceId = instanceId; _context = context; _dispatcher = Application.Current.Dispatcher; foreach (IRemotingMessage item in messageCollection) { ObjectMessage message = (ObjectMessage)item; _keyToIndex.Add(message.InstanceId, _values.Count); _values.Add(Wrap(message)); } }
private static void ProcessInput(BinaryReader br) { while (true) { RemotingMessageType type = br.ReadRemotingMessageType(); switch (type) { case RemotingMessageType.GameObject: RemoteGameObjects remoteObjects = InteractionService.RemoteGameObjects.Provide(); remoteObjects.ProcessGameObjectMessages(br); break; default: throw new InvalidDataException(); } } }
public UIWidgetView(T message, RemoteGameObjects context) : base(message, context) { }
public static ObjectAbstractView Wrap(ObjectMessage message, RemoteGameObjects context) { Type type = message.GetType(); return(Wrappers[type](message, context)); }
public MessageCollection(Int32 instanceId, RemoteGameObjects context) { _instanceId = instanceId; _context = context; }
public ChildCollection(RemoteGameObjects context) { _context = context; }
public MonoBehaviourView(T message, RemoteGameObjects context) : base(message, context) { }
public GameObjectView(GameObjectMessage message, RemoteGameObjects context) : base(message, context) { }
public ComponentView(T message, RemoteGameObjects context) : base(message, context) { }
public TransformView(T message, RemoteGameObjects context) : base(message, context) { }
public UITableView(T message, RemoteGameObjects context) : base(message, context) { }
public CameraView(T message, RemoteGameObjects context) : base(message, context) { }
public UILabelView(T message, RemoteGameObjects context) : base(message, context) { }
private void RemoveItems(RemoteGameObjects oldObjects) { ChangeItems(null); }
public ScriptableObjectView(T message, RemoteGameObjects context) : base(message, context) { }
public UILocalizeView(T message, RemoteGameObjects context) : base(message, context) { }