Example #1
0
            internal static unsafe int Invoke(BlueprintSessionResult Result)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((BlueprintSessionResult *)(b + 0)) = Result;
                Main.GetProcessEvent(FindSessionsCallbackProxy.DefaultObject, GetPingInMs_ptr, new IntPtr(p));;
                return(*((int *)(b + 184)));
            }
        }
Example #2
0
            internal static unsafe JoinSessionCallbackProxy Invoke(UObject WorldContextObject, PlayerController PlayerController, BlueprintSessionResult SearchResult)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = WorldContextObject;
                *((IntPtr *)(b + 8)) = PlayerController;
                *((BlueprintSessionResult *)(b + 16)) = SearchResult;
                Main.GetProcessEvent(JoinSessionCallbackProxy.DefaultObject, JoinSession_ptr, new IntPtr(p));;
                return(*((IntPtr *)(b + 200)));
            }
        }
 ///<summary>Get Server Name</summary>
 public static string GetServerName(BlueprintSessionResult Result) =>
 FindSessionsCallbackProxy_methods.GetServerName_method.Invoke(Result);
 ///<summary>Get Ping in Ms</summary>
 public static int GetPingInMs(BlueprintSessionResult Result) =>
 FindSessionsCallbackProxy_methods.GetPingInMs_method.Invoke(Result);
 ///<summary>Get Max Players</summary>
 public static int GetMaxPlayers(BlueprintSessionResult Result) =>
 FindSessionsCallbackProxy_methods.GetMaxPlayers_method.Invoke(Result);
 ///<summary>Joins a remote session with the default online subsystem</summary>
 public static JoinSessionCallbackProxy JoinSession(UObject WorldContextObject, PlayerController PlayerController, BlueprintSessionResult SearchResult) =>
 JoinSessionCallbackProxy_methods.JoinSession_method.Invoke(WorldContextObject, PlayerController, SearchResult);