Example #1
0
 public void Execute(int index, Entity requestEntity, ref ReceiveRpcCommandRequestComponent reqSrc)
 {
     CommandBuffer.AddComponent <NetworkStreamInGame>(index, reqSrc.SourceConnection);
     CommandBuffer.DestroyEntity(index, requestEntity);
     EnqueueClientConnectedEventJobPart.EventData.ConnectionEntity = reqSrc.SourceConnection;
     EnqueueClientConnectedEventJobPart.Execute();
     CommandBuffer.CreateRpcRequest(index, new ConfirmConnectionRequest(), reqSrc.SourceConnection);
 }
 public void Execute()
 {
     Buffer.CreateRpcRequest(0, new TestRpc1(), TargetConnection);
 }