Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit a628e65

Browse files
author
noriokun4649
committed
プロジェクト ファイルを追加します。
1 parent 99b3738 commit a628e65

14 files changed

+4831
-0
lines changed

TvTestRPC.sln

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.421
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TvTestRPC", "TvTestRPC\TvTestRPC.vcxproj", "{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Debug|x64.ActiveCfg = Debug|x64
17+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Debug|x64.Build.0 = Debug|x64
18+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Debug|x86.ActiveCfg = Debug|Win32
19+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Debug|x86.Build.0 = Debug|Win32
20+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Release|x64.ActiveCfg = Release|x64
21+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Release|x64.Build.0 = Release|x64
22+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Release|x86.ActiveCfg = Release|Win32
23+
{CB9FE81E-CE66-4063-AF5A-6CDC869D0E60}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {A70FB96E-DC6F-43C1-B3A1-A72EF6F87248}
30+
EndGlobalSection
31+
EndGlobal
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#pragma once
2+
3+
#if defined(DISCORD_DYNAMIC_LIB)
4+
#if defined(_WIN32)
5+
#if defined(DISCORD_BUILDING_SDK)
6+
#define DISCORD_EXPORT __declspec(dllexport)
7+
#else
8+
#define DISCORD_EXPORT __declspec(dllimport)
9+
#endif
10+
#else
11+
#define DISCORD_EXPORT __attribute__((visibility("default")))
12+
#endif
13+
#else
14+
#define DISCORD_EXPORT
15+
#endif
16+
17+
#ifdef __cplusplus
18+
extern "C" {
19+
#endif
20+
21+
DISCORD_EXPORT void Discord_Register(const char* applicationId, const char* command);
22+
DISCORD_EXPORT void Discord_RegisterSteamGame(const char* applicationId, const char* steamId);
23+
24+
#ifdef __cplusplus
25+
}
26+
#endif

TvTestRPC/32/include/discord_rpc.h

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
#pragma once
2+
#include <stdint.h>
3+
4+
// clang-format off
5+
6+
#if defined(DISCORD_DYNAMIC_LIB)
7+
# if defined(_WIN32)
8+
# if defined(DISCORD_BUILDING_SDK)
9+
# define DISCORD_EXPORT __declspec(dllexport)
10+
# else
11+
# define DISCORD_EXPORT __declspec(dllimport)
12+
# endif
13+
# else
14+
# define DISCORD_EXPORT __attribute__((visibility("default")))
15+
# endif
16+
#else
17+
# define DISCORD_EXPORT
18+
#endif
19+
20+
// clang-format on
21+
22+
#ifdef __cplusplus
23+
extern "C" {
24+
#endif
25+
26+
typedef struct DiscordRichPresence {
27+
const char* state; /* max 128 bytes */
28+
const char* details; /* max 128 bytes */
29+
int64_t startTimestamp;
30+
int64_t endTimestamp;
31+
const char* largeImageKey; /* max 32 bytes */
32+
const char* largeImageText; /* max 128 bytes */
33+
const char* smallImageKey; /* max 32 bytes */
34+
const char* smallImageText; /* max 128 bytes */
35+
const char* partyId; /* max 128 bytes */
36+
int partySize;
37+
int partyMax;
38+
const char* matchSecret; /* max 128 bytes */
39+
const char* joinSecret; /* max 128 bytes */
40+
const char* spectateSecret; /* max 128 bytes */
41+
int8_t instance;
42+
} DiscordRichPresence;
43+
44+
typedef struct DiscordUser {
45+
const char* userId;
46+
const char* username;
47+
const char* discriminator;
48+
const char* avatar;
49+
} DiscordUser;
50+
51+
typedef struct DiscordEventHandlers {
52+
void (*ready)(const DiscordUser* request);
53+
void (*disconnected)(int errorCode, const char* message);
54+
void (*errored)(int errorCode, const char* message);
55+
void (*joinGame)(const char* joinSecret);
56+
void (*spectateGame)(const char* spectateSecret);
57+
void (*joinRequest)(const DiscordUser* request);
58+
} DiscordEventHandlers;
59+
60+
#define DISCORD_REPLY_NO 0
61+
#define DISCORD_REPLY_YES 1
62+
#define DISCORD_REPLY_IGNORE 2
63+
64+
DISCORD_EXPORT void Discord_Initialize(const char* applicationId,
65+
DiscordEventHandlers* handlers,
66+
int autoRegister,
67+
const char* optionalSteamId);
68+
DISCORD_EXPORT void Discord_Shutdown(void);
69+
70+
/* checks for incoming messages, dispatches callbacks */
71+
DISCORD_EXPORT void Discord_RunCallbacks(void);
72+
73+
/* If you disable the lib starting its own io thread, you'll need to call this from your own */
74+
#ifdef DISCORD_DISABLE_IO_THREAD
75+
DISCORD_EXPORT void Discord_UpdateConnection(void);
76+
#endif
77+
78+
DISCORD_EXPORT void Discord_UpdatePresence(const DiscordRichPresence* presence);
79+
DISCORD_EXPORT void Discord_ClearPresence(void);
80+
81+
DISCORD_EXPORT void Discord_Respond(const char* userid, /* DISCORD_REPLY_ */ int reply);
82+
83+
DISCORD_EXPORT void Discord_UpdateHandlers(DiscordEventHandlers* handlers);
84+
85+
#ifdef __cplusplus
86+
} /* extern "C" */
87+
#endif

TvTestRPC/32/lib/discord-rpc.lib

179 KB
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#pragma once
2+
3+
#if defined(DISCORD_DYNAMIC_LIB)
4+
#if defined(_WIN32)
5+
#if defined(DISCORD_BUILDING_SDK)
6+
#define DISCORD_EXPORT __declspec(dllexport)
7+
#else
8+
#define DISCORD_EXPORT __declspec(dllimport)
9+
#endif
10+
#else
11+
#define DISCORD_EXPORT __attribute__((visibility("default")))
12+
#endif
13+
#else
14+
#define DISCORD_EXPORT
15+
#endif
16+
17+
#ifdef __cplusplus
18+
extern "C" {
19+
#endif
20+
21+
DISCORD_EXPORT void Discord_Register(const char* applicationId, const char* command);
22+
DISCORD_EXPORT void Discord_RegisterSteamGame(const char* applicationId, const char* steamId);
23+
24+
#ifdef __cplusplus
25+
}
26+
#endif

TvTestRPC/64/include/discord_rpc.h

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
#pragma once
2+
#include <stdint.h>
3+
4+
// clang-format off
5+
6+
#if defined(DISCORD_DYNAMIC_LIB)
7+
# if defined(_WIN32)
8+
# if defined(DISCORD_BUILDING_SDK)
9+
# define DISCORD_EXPORT __declspec(dllexport)
10+
# else
11+
# define DISCORD_EXPORT __declspec(dllimport)
12+
# endif
13+
# else
14+
# define DISCORD_EXPORT __attribute__((visibility("default")))
15+
# endif
16+
#else
17+
# define DISCORD_EXPORT
18+
#endif
19+
20+
// clang-format on
21+
22+
#ifdef __cplusplus
23+
extern "C" {
24+
#endif
25+
26+
typedef struct DiscordRichPresence {
27+
const char* state; /* max 128 bytes */
28+
const char* details; /* max 128 bytes */
29+
int64_t startTimestamp;
30+
int64_t endTimestamp;
31+
const char* largeImageKey; /* max 32 bytes */
32+
const char* largeImageText; /* max 128 bytes */
33+
const char* smallImageKey; /* max 32 bytes */
34+
const char* smallImageText; /* max 128 bytes */
35+
const char* partyId; /* max 128 bytes */
36+
int partySize;
37+
int partyMax;
38+
const char* matchSecret; /* max 128 bytes */
39+
const char* joinSecret; /* max 128 bytes */
40+
const char* spectateSecret; /* max 128 bytes */
41+
int8_t instance;
42+
} DiscordRichPresence;
43+
44+
typedef struct DiscordUser {
45+
const char* userId;
46+
const char* username;
47+
const char* discriminator;
48+
const char* avatar;
49+
} DiscordUser;
50+
51+
typedef struct DiscordEventHandlers {
52+
void (*ready)(const DiscordUser* request);
53+
void (*disconnected)(int errorCode, const char* message);
54+
void (*errored)(int errorCode, const char* message);
55+
void (*joinGame)(const char* joinSecret);
56+
void (*spectateGame)(const char* spectateSecret);
57+
void (*joinRequest)(const DiscordUser* request);
58+
} DiscordEventHandlers;
59+
60+
#define DISCORD_REPLY_NO 0
61+
#define DISCORD_REPLY_YES 1
62+
#define DISCORD_REPLY_IGNORE 2
63+
64+
DISCORD_EXPORT void Discord_Initialize(const char* applicationId,
65+
DiscordEventHandlers* handlers,
66+
int autoRegister,
67+
const char* optionalSteamId);
68+
DISCORD_EXPORT void Discord_Shutdown(void);
69+
70+
/* checks for incoming messages, dispatches callbacks */
71+
DISCORD_EXPORT void Discord_RunCallbacks(void);
72+
73+
/* If you disable the lib starting its own io thread, you'll need to call this from your own */
74+
#ifdef DISCORD_DISABLE_IO_THREAD
75+
DISCORD_EXPORT void Discord_UpdateConnection(void);
76+
#endif
77+
78+
DISCORD_EXPORT void Discord_UpdatePresence(const DiscordRichPresence* presence);
79+
DISCORD_EXPORT void Discord_ClearPresence(void);
80+
81+
DISCORD_EXPORT void Discord_Respond(const char* userid, /* DISCORD_REPLY_ */ int reply);
82+
83+
DISCORD_EXPORT void Discord_UpdateHandlers(DiscordEventHandlers* handlers);
84+
85+
#ifdef __cplusplus
86+
} /* extern "C" */
87+
#endif

TvTestRPC/64/lib/discord-rpc.lib

256 KB
Binary file not shown.

TvTestRPC/64/lib/icuuc.lib

950 KB
Binary file not shown.

0 commit comments

Comments
 (0)