Difference between revisions of "love.filesystem.getIdentity"
(Created page) |
(→See Also) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | Gets the write directory for your game. | + | {{newin|[[0.9.0]]|090|type=function}} |
− | Note that | + | Gets the write directory name for your game. |
+ | Note that this only returns the name of the folder to store your files in, not the full path. | ||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 7: | Line 8: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | None | + | None. |
=== Returns === | === Returns === | ||
− | {{param|string|name|The | + | {{param|string|name|The identity that is used as write directory.}} |
== See Also == | == See Also == | ||
* [[parent::love.filesystem]] | * [[parent::love.filesystem]] | ||
+ | * [[love.filesystem.setIdentity]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Gets the write directory for your game.}} | + | {{#set:Description=Gets the write directory name for your game.}} |
− | {{#set:Since= | + | {{#set:Since=000}} |
+ | |||
== Other Languages == | == Other Languages == | ||
{{i18n|love.filesystem.getIdentity}} | {{i18n|love.filesystem.getIdentity}} |
Latest revision as of 00:16, 25 January 2021
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Gets the write directory name for your game. Note that this only returns the name of the folder to store your files in, not the full path.
Function
Synopsis
name = love.filesystem.getIdentity( )
Arguments
None.
Returns
string name
- The identity that is used as write directory.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info