title: How to get `EventData` in `onEvent()` in `Photon Server`
body: <p>I am working on <code>multiplayer</code> game using <code>Photon Server</code>. I am send sending some data using <code>HashMaps</code> through <code>loadBalancingPeer.opRaiseEvent</code> but i am not able to get data in <code>onEvent</code> function of <code>LoadBalancingClient</code>.</p>
  
  <p>Here is my custom event code.</p>
  
  <pre><code>public void sendSomeEvent(int playerPosition) {
  
          HashMap&lt;Object, Object&gt; eventContent = new HashMap&lt;Object, Object&gt;();
          eventContent.put("key1", "ABC");
  
          this.loadBalancingPeer.opRaiseEvent((byte) 1, eventContent, false,
                  (byte) 0); // this is received by OnEvent()
      }
  </code></pre>
  
  <p>Here is <code>onEvent()</code> code.</p>
  
  <pre><code>@Override
  public void onEvent(EventData eventData) {
      super.onEvent(eventData);
  
      switch (eventData.Code) {
      case (byte) 1:
          String value = (String) eventData.Parameters
                  .get("key1");
          ApplicationManager.onEventReceived(ab);
          break;      
      }
      // update the form / gui
      ApplicationManager.onClientUpdateCallback();
  }
  </code></pre>
  
  <p>In this function i am getting <code>null</code> value, but it shows patameter data in this form <code>{-11={key1=ABC}, -2=1}</code>. 
  Please help me where i am getting wrong.
  Thanks in advance.</p>