-
-
Notifications
You must be signed in to change notification settings - Fork 454
/
Copy pathCLuaClientDefs.h
33 lines (29 loc) · 1.08 KB
/
CLuaClientDefs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*****************************************************************************
*
* PROJECT: Multi Theft Auto
* LICENSE: See LICENSE in the top level directory
* FILE: mods/deathmatch/logic/luadefs/CLuaClientDefs.h
* PURPOSE: Lua client definitions class
*
* Multi Theft Auto is available from https://multitheftauto.com/
*
*****************************************************************************/
#pragma once
#include "CLuaDefs.h"
class CLuaClientDefs : public CLuaDefs
{
public:
static void LoadFunctions();
static bool SetCursorColor(float r, float g, float b, float alpha);
static CLuaMultiReturn<float, float, float, float> GetCursorColor();
private:
static bool SetTransferBoxVisible(bool visible);
static bool IsTransferBoxVisible();
static bool IsTransferBoxAlwaysVisible();
static bool ShowChat(bool bVisible, std::optional<bool> optInputBlocked);
static bool IsChatVisible();
static bool IsChatInputBlocked();
static bool ClearDebug();
static bool IsMTAWindowFocused();
static bool IsCapsLockEnabled();
};