Commit Graph
18 Commits
Author SHA1 Message Date
Corey D 5addaffa56 Add ParseTime (strptime) native (#1697)
* Add GetTimeStamp (strptime) native

* Fix description

* Fix typos

* Fix issues

* Rewrite ParseTime

* Fix docstrings

* Fix ParseTime

* Clarify docs
2023-07-04 13:42:45 +02:00
Corey D 426c1a090f Fix CommandListener ignoring Plugin_Handled (#1819) 2023-04-19 16:44:34 +02:00
Corey D 50b4ad4e11 Make KeyValues.Rewind traversal-stack clearing optional (#1993) 2023-04-17 13:10:02 +01:00
Corey D bc6e920213 Improve HasEntProp performance (#1908) 2023-03-29 21:40:30 -07:00
Corey D c5087d7a39 database: flip to recursive_mutex to allow nested locks (#1937)
* Fix crash from db locking

* Change db lock to use recursive_mutex
2023-03-29 20:03:03 -07:00
Corey D a0eb6a9550 Fix LookupAttachment signature (#1933) 2023-02-13 02:02:48 +00:00
Corey D 43cdc65708 Add Ghidra MakeSig script (#1926) 2023-02-05 04:46:52 +00:00
Corey D 5d391fda07 Add SMCParser.ParseString (#1817) 2022-12-02 16:55:08 +01:00
Corey D 3b4a343274 Add natives to get chat triggers (#1816) 2022-12-02 13:55:32 +01:00
Corey D 9321229321 Add GetClientOriginalLanguage (#1810)
Creates a native which will return the language the client connected with.
2022-07-28 18:10:51 -07:00
Corey D addfb3c8a1 Add MAX_AUTHID_LENGTH (#1696) 2022-02-15 10:21:35 +00:00
Corey D b209279589 Add bitwise SetBitFlags for AdminId and GroupId (#1677)
* Add bitwise SetFlags for AdminId

* Inline SetFlags natives
2022-02-12 13:14:57 +01:00
Corey D c471e41dc7 Add ArrayStack.Clear native (#1676) 2022-01-22 03:26:21 -08:00
Corey D bf898dd45f Fix ArrayList return types (#1679)
ArrayList.SetString and ArrayList.SetArray both have int return types but their methodmap natives use void.
2021-12-27 12:17:04 +01:00
Corey D 30c764e4b3 Use words instead of quotes for better clarity
As suggested by sneak-it
2021-10-23 11:25:10 -05:00
Corey D dc92335fbe Missed Database.Escape 2021-10-23 11:25:10 -05:00
Corey D 8c625ca87d Clarify SQL_EscapeString usage
It's hard to see the difference between 2 single-quotes and 1 double-quote unless you highlight it.
2021-10-23 11:25:10 -05:00
Corey DandPeace-Maker 65043baf5d gamedata: Add support for hexadecimal offsets (#1426)
* Allow hexadecimal and octal offsets

* Fix typo

* Allow hexadecimal input in Addresses "read" and "offset" values

Co-authored-by: Peace-Maker <[email protected]>
2021-03-15 12:46:04 -07:00