internal void CreateRoom(RealtimeRoomConfig config, RealTimeEventListenerHelper helper,
     Action<RealTimeRoomResponse> callback) {
     C.RealTimeMultiplayerManager_CreateRealTimeRoom(mGameServices.AsHandle(),
         config.AsPointer(),
         helper.AsPointer(),
         InternalRealTimeRoomCallback,
         ToCallbackPointer(callback));
 }
Example #2
0
 internal void CreateRoom(RealtimeRoomConfig config, RealTimeEventListenerHelper helper,
                          Action <RealTimeRoomResponse> callback)
 {
     C.RealTimeMultiplayerManager_CreateRealTimeRoom(mGameServices.AsHandle(),
                                                     config.AsPointer(),
                                                     helper.AsPointer(),
                                                     InternalRealTimeRoomCallback,
                                                     ToCallbackPointer(callback));
 }
 internal void CreateRoom(RealtimeRoomConfig config, GooglePlayGames.Native.PInvoke.RealTimeEventListenerHelper helper, Action <RealTimeRoomResponse> callback)
 {
     RealTimeMultiplayerManager.RealTimeMultiplayerManager_CreateRealTimeRoom(this.mGameServices.AsHandle(), config.AsPointer(), helper.AsPointer(), new RealTimeMultiplayerManager.RealTimeRoomCallback(RealtimeManager.InternalRealTimeRoomCallback), ToCallbackPointer(callback));
 }