|
157 | 157 | "body": "DistTo(Vector3(${x}, ${y}, ${z}))$0" |
158 | 158 | }, |
159 | 159 |
|
| 160 | + // Config |
| 161 | + "Config.IsEmpty(): boolean": |
| 162 | + { |
| 163 | + "prefix": "Config.IsEmpty", |
| 164 | + "body": "Config.IsEmpty()$0" |
| 165 | + }, |
| 166 | + "Config.KeyExists(): boolean": |
| 167 | + { |
| 168 | + "prefix": "Config.KeyExists", |
| 169 | + "body": "Config.KeyExists(${section}, ${key})$0" |
| 170 | + }, |
| 171 | + "Config.GetAllSections(): array[string]": |
| 172 | + { |
| 173 | + "prefix": "Config.GetAllSections", |
| 174 | + "body": "Config.GetAllSections()$0" |
| 175 | + }, |
| 176 | + "Config.GetAllKeys(): array[string]": |
| 177 | + { |
| 178 | + "prefix": "Config.GetAllKeys", |
| 179 | + "body": "Config.GetAllKeys(${section})$0" |
| 180 | + }, |
| 181 | + "Config.GetBoolean(): boolean": |
| 182 | + { |
| 183 | + "prefix": "Config.GetBoolean", |
| 184 | + "body": "Config.GetBoolean(${section}, ${key}, ${default})$0" |
| 185 | + }, |
| 186 | + "Config.SetBoolean()": |
| 187 | + { |
| 188 | + "prefix": "Config.SetBoolean", |
| 189 | + "body": "Config.SetBoolean(${section}, ${key}, ${value})$0" |
| 190 | + }, |
| 191 | + "Config.GetInteger(): integer": |
| 192 | + { |
| 193 | + "prefix": "Config.GetInteger", |
| 194 | + "body": "Config.GetInteger(${section}, ${key}, ${default})$0" |
| 195 | + }, |
| 196 | + "Config.SetInteger()": |
| 197 | + { |
| 198 | + "prefix": "Config.SetInteger", |
| 199 | + "body": "Config.SetInteger(${section}, ${key}, ${value})$0" |
| 200 | + }, |
| 201 | + "Config.GetHexadecimal(): hexadecimal": |
| 202 | + { |
| 203 | + "prefix": "Config.GetHexadecimal", |
| 204 | + "body": "Config.GetHexadecimal(${section}, ${key}, ${default})$0" |
| 205 | + }, |
| 206 | + "Config.SetHexadecimal()": |
| 207 | + { |
| 208 | + "prefix": "Config.SetHexadecimal", |
| 209 | + "body": "Config.SetHexadecimal(${section}, ${key}, ${value})$0" |
| 210 | + }, |
| 211 | + "Config.GetFloat(): float": |
| 212 | + { |
| 213 | + "prefix": "Config.GetFloat", |
| 214 | + "body": "Config.GetFloat(${section}, ${key}, ${default})$0" |
| 215 | + }, |
| 216 | + "Config.SetFloat()": |
| 217 | + { |
| 218 | + "prefix": "Config.SetFloat", |
| 219 | + "body": "Config.SetFloat(${section}, ${key}, ${value})$0" |
| 220 | + }, |
| 221 | + "Config.GetString(): string": |
| 222 | + { |
| 223 | + "prefix": "Config.GetString", |
| 224 | + "body": "Config.GetString(${section}, ${key}, ${default})$0" |
| 225 | + }, |
| 226 | + "Config.SetString()": |
| 227 | + { |
| 228 | + "prefix": "Config.SetString", |
| 229 | + "body": "Config.SetString(${section}, ${key}, ${value})$0" |
| 230 | + }, |
| 231 | + "Config.Delete(): boolean": |
| 232 | + { |
| 233 | + "prefix": "Config.Delete", |
| 234 | + "body": "Config.Delete(${section}, ${key})$0" |
| 235 | + }, |
| 236 | + |
| 237 | + |
160 | 238 | // Console |
161 | 239 | "Console.AddCommand()": |
162 | 240 | { |
|
585 | 663 | "prefix": [ "SimObject.GetNext", "GetNext" ], |
586 | 664 | "body": "GetNext()$0" |
587 | 665 | }, |
| 666 | + "SimObject.SetDestroyOnUnload()": |
| 667 | + { |
| 668 | + "prefix": [ "SimObject.SetDestroyOnUnload", "SetDestroyOnUnload" ], |
| 669 | + "body": "SetDestroyOnUnload(${toggle})$0" |
| 670 | + }, |
588 | 671 | "SimObject.Destroy()": |
589 | 672 | { |
590 | 673 | "prefix": [ "SimObject.Destroy", "Destroy" ], |
|
0 commit comments