예제 #1
0
        public static void Initialize()
        {
            SteamContext.Initialize( false );


            DebugLog.AppendText( "Getting ISteam interface: ISteamRemoteStorage002..." );

            RemoteStorage = SteamContext.SteamClient.GetISteamRemoteStorage<ISteamRemoteStorage002>(
                SteamContext.HSteamUser,
                SteamContext.HSteamPipe
            );

            DebugLog.AppendText( string.Format( "ISteamRemoteStorage002 = 0x{0:8X}", RemoteStorage.Interface ) );


            DebugLog.AppendText( "Getting ISteam interface: ISteamRemoteStorage001..." );

            RemoteStorageOld = SteamContext.SteamClient.GetISteamRemoteStorage<ISteamRemoteStorage001>(
                SteamContext.HSteamUser,
                SteamContext.HSteamPipe
            );

            DebugLog.AppendText( string.Format( "ISteamRemoteStorage001 = 0x{0:8X}{1}", RemoteStorageOld.Interface, Environment.NewLine ) );

        }
예제 #2
0
        public static void Initialize()
        {
            SteamContext.Initialize(false);


            DebugLog.AppendText("Getting ISteam interface: ISteamRemoteStorage002...");

            RemoteStorage = SteamContext.SteamClient.GetISteamRemoteStorage <ISteamRemoteStorage002>(
                SteamContext.HSteamUser,
                SteamContext.HSteamPipe
                );

            DebugLog.AppendText(string.Format("ISteamRemoteStorage002 = 0x{0:8X}", RemoteStorage.Interface));


            DebugLog.AppendText("Getting ISteam interface: ISteamRemoteStorage001...");

            RemoteStorageOld = SteamContext.SteamClient.GetISteamRemoteStorage <ISteamRemoteStorage001>(
                SteamContext.HSteamUser,
                SteamContext.HSteamPipe
                );

            DebugLog.AppendText(string.Format("ISteamRemoteStorage001 = 0x{0:8X}{1}", RemoteStorageOld.Interface, Environment.NewLine));
        }