mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-18 09:35:44 +00:00
Add Premake and TribuFu Vendor Binaries
This commit is contained in:
parent
30e376c1e8
commit
3012d19b48
13 changed files with 163 additions and 0 deletions
27
Vendor/Premake/LICENSE.txt
vendored
Normal file
27
Vendor/Premake/LICENSE.txt
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
Copyright (c) 2003-2019 Jason Perkins and individual contributors.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
3. Neither the name of Premake nor the names of its contributors may be
|
||||||
|
used to endorse or promote products derived from this software without
|
||||||
|
specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
BIN
Vendor/Premake/Linux/premake5
vendored
Normal file
BIN
Vendor/Premake/Linux/premake5
vendored
Normal file
Binary file not shown.
BIN
Vendor/Premake/Mac/premake5
vendored
Normal file
BIN
Vendor/Premake/Mac/premake5
vendored
Normal file
Binary file not shown.
BIN
Vendor/Premake/Windows/premake5.exe
vendored
Normal file
BIN
Vendor/Premake/Windows/premake5.exe
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Android/aarch64/libTribuFu.so
vendored
Normal file
BIN
Vendor/TribuFu/Android/aarch64/libTribuFu.so
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Android/armv7/libTribuFu.so
vendored
Normal file
BIN
Vendor/TribuFu/Android/armv7/libTribuFu.so
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Android/i686/libTribuFu.so
vendored
Normal file
BIN
Vendor/TribuFu/Android/i686/libTribuFu.so
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Android/x86_64/libTribuFu.so
vendored
Normal file
BIN
Vendor/TribuFu/Android/x86_64/libTribuFu.so
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Linux/libTribuFu.so
vendored
Normal file
BIN
Vendor/TribuFu/Linux/libTribuFu.so
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Mac/libTribuFu.dylib
vendored
Normal file
BIN
Vendor/TribuFu/Mac/libTribuFu.dylib
vendored
Normal file
Binary file not shown.
136
Vendor/TribuFu/TribuFu.h
vendored
Normal file
136
Vendor/TribuFu/TribuFu.h
vendored
Normal file
|
|
@ -0,0 +1,136 @@
|
||||||
|
// Copyright (c) TribuFu. All Rights Reserved
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#define VERSION "0.0.1"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
namespace TribuFu
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
enum Role
|
||||||
|
{
|
||||||
|
User,
|
||||||
|
Bot,
|
||||||
|
Helper,
|
||||||
|
Tester,
|
||||||
|
Developer,
|
||||||
|
Moderator,
|
||||||
|
Admin,
|
||||||
|
Root,
|
||||||
|
};
|
||||||
|
|
||||||
|
enum Status
|
||||||
|
{
|
||||||
|
Offline,
|
||||||
|
Away,
|
||||||
|
Disturb,
|
||||||
|
Online,
|
||||||
|
Playing,
|
||||||
|
};
|
||||||
|
|
||||||
|
enum Theme
|
||||||
|
{
|
||||||
|
Light,
|
||||||
|
Dark,
|
||||||
|
};
|
||||||
|
|
||||||
|
struct Email
|
||||||
|
{
|
||||||
|
const char *Address;
|
||||||
|
bool Confirmed;
|
||||||
|
bool Primary;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct User
|
||||||
|
{
|
||||||
|
enum Role Role;
|
||||||
|
bool Confirmed;
|
||||||
|
bool TwoFactorEnabled;
|
||||||
|
bool Verified;
|
||||||
|
bool ParentalControl;
|
||||||
|
bool PublicBirthday;
|
||||||
|
enum Theme Theme;
|
||||||
|
uint32_t FailedLogins;
|
||||||
|
uint32_t ProfileViews;
|
||||||
|
uint32_t Content;
|
||||||
|
enum Status Status;
|
||||||
|
uint32_t Warnings;
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void AcceptFriend(char *id1, char *id2);
|
||||||
|
|
||||||
|
void AddFriend(char *id1, char *id2);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dealloc a email pointer.
|
||||||
|
*/
|
||||||
|
void DeallocEmail(struct Email *email);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dealloc a string pointer.
|
||||||
|
*/
|
||||||
|
void DeallocString(char *ptr);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dealloc a user pointer.
|
||||||
|
*/
|
||||||
|
void DeallocUser(struct User *user);
|
||||||
|
|
||||||
|
void EnterTeam(void);
|
||||||
|
|
||||||
|
void GetDevice(char *id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get email data from address.
|
||||||
|
*/
|
||||||
|
struct Email *GetEmail(char *address);
|
||||||
|
|
||||||
|
void GetFriends(char *id);
|
||||||
|
|
||||||
|
void GetMessage(char *id);
|
||||||
|
|
||||||
|
void GetRole(char *id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get user data from id.
|
||||||
|
*/
|
||||||
|
struct User *GetUser(char *id);
|
||||||
|
|
||||||
|
void GetUserDevices(char *id);
|
||||||
|
|
||||||
|
void GetUserEmails(char *id);
|
||||||
|
|
||||||
|
void GetUserRoles(char *id);
|
||||||
|
|
||||||
|
char *Hello(char *input);
|
||||||
|
|
||||||
|
void InviteToTeam(void);
|
||||||
|
|
||||||
|
struct User *Login(char *name, char *password);
|
||||||
|
|
||||||
|
void Logout(void);
|
||||||
|
|
||||||
|
void Refresh(void);
|
||||||
|
|
||||||
|
void Register(char *name, char *email, char *password);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
BIN
Vendor/TribuFu/Windows/TribuFu.dll
vendored
Normal file
BIN
Vendor/TribuFu/Windows/TribuFu.dll
vendored
Normal file
Binary file not shown.
BIN
Vendor/TribuFu/Windows/TribuFu.lib
vendored
Normal file
BIN
Vendor/TribuFu/Windows/TribuFu.lib
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue