Commit Graph

19 Commits

Author SHA1 Message Date
Kernell
164310084c Extern methods without using of the Native static class. 2016-01-06 21:06:22 +03:00
Kernell
89ce28931f Removed MultiTheftAuto.cs (no longer needed)
Removed Pools (no longer needed)
Removed Utils (no longer needed)
Allowed unsafe blocks
2016-01-06 21:04:13 +03:00
Kernell
cea46b3241 Added methods for the Vehicle class (C#):
string GetVehicleType()
char[] GetVariant()
VehicleColor GetColor()
static int GetModelFromName( string name )
bool GetLandingGearDown()
int GetMaxPassengers()
string GetName()
Ped GetOccupant( int seat = 0 )
Ped GetController()
IEnumerable<Ped> GetOccupants()
bool GetSirensOn()
Vector3 GetTurnVelocity()
Vector3 GetTurretPosition()
int GetUpgradeOnSlot( int slot )
UInt32[] GetUpgrades()
UInt32[] GetCompatibleUpgrades( int slot = 0 )
int GetDoorState( int door )
VehicleWheelsState GetWheelStates()
int GetLightState( int light )
int GetPanelState( int panel )
int GetOverrideLights()
Vehicle GetTowedByVehicle()
Vehicle GetTowingVehicle()
int GetPaintjob()
string GetPlateText()
bool GetEngineState()
bool GetTrainDirection()
float GetTrainSpeed()
Color GetHeadLightColor()
float GetVehicleDoorOpenRatio( int door )

bool IsTaxiLightOn()
bool IsTrainDerailed()
bool IsTrainDerailable()
bool IsDamageProof()
bool IsFuelTankExplodable()
bool IsOnGround()
bool IsBlown()
bool IsLocked()
2015-12-27 20:53:50 +03:00
Kernell
fb85c7112e Changed the implementation of method Element::GetByType<T> using Ling.
Now, the method returns IEnumerable<T> instead of an Array of T.
2015-12-27 20:46:29 +03:00
Kernell
4e97948b8d Fixed argument for C# method Debug::Log 2015-12-27 19:43:44 +03:00
Kernell
930b6a02b1 Fixed access modifier for Native.Blip class
Project updated
2015-12-23 23:28:50 +03:00
Kernell
0c327abcee Added ColCircle, ColCuboid, ColSphere, ColRectangle, ColPolygon and ColTube classes 2015-12-23 23:27:08 +03:00
Kernell
370ba4eec4 Added Blip class 2015-12-23 23:25:52 +03:00
Kernell
f9b74459e4 Fixed #11 (Падение сервера при попытке получить свойства из Color на стороне C++) 2015-12-20 15:54:52 +03:00
Kernell
d93090fde4 MultiTheftAuto::Color
Добавлены методы: GetBrightness, GetSaturation, GetHue, ToString

Добавлены статические свойства с цветами, например Color.Yellow вернёт новый объект класса Color(0xFFFFFF00)

Добавлено свойство Name возвращающее имя цвета
2015-12-20 15:45:33 +03:00
Kernell
013a924092 Resolved #9 (Добавить поддержку серверных команд) 2015-12-12 22:50:24 +03:00
Kernell
a745ff12ed Добавлен класс Console 2015-12-12 22:27:23 +03:00
Kernell
5e8456f986 Submodule removed 2015-12-12 13:10:23 +03:00
Kernell
d293747f26 Добавлена поддержка событий MTA 2015-12-05 13:26:07 +03:00
Kernell
cb6432cffa Пропущен файл фильтров 2015-12-04 03:54:01 +03:00
Kernell
42914cd9e4 Обновлён проект 2015-12-01 12:28:12 +03:00
Kernell
4cb1e5b8fe Обновлён подмодуль MultiTheftAuto 2015-03-13 07:48:49 +03:00
Dmitry Korolev
7276f74774 Test updated 2014-10-17 12:34:42 +04:00
Dmitry Korolev
78a9887143 Initial commit 2014-10-03 20:51:43 +04:00