// // Constructor decides which implementation to use based on current platform // internal SteamUserStats(Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer) { this.steamworks = steamworks; if (Platform.IsWindows64) { platform = new Platform.Win64(pointer); } else if (Platform.IsWindows32) { platform = new Platform.Win32(pointer); } else if (Platform.IsLinux32) { platform = new Platform.Linux32(pointer); } else if (Platform.IsLinux64) { platform = new Platform.Linux64(pointer); } else if (Platform.IsOsx) { platform = new Platform.Mac(pointer); } }
// // Constructor decides which implementation to use based on current platform // public SteamMatchmakingServers(Facepunch.Steamworks.BaseSteamworks steamworks, IntPtr pointer) { this.steamworks = steamworks; if (Platform.IsWindows64) { platform = new Platform.Win64(pointer); } else if (Platform.IsWindows32) { platform = new Platform.Win32(pointer); } else if (Platform.IsLinux32) { platform = new Platform.Linux32(pointer); } else if (Platform.IsLinux64) { platform = new Platform.Linux64(pointer); } else if (Platform.IsOsx) { platform = new Platform.Mac(pointer); } }