Difference between revisions of "Chroma:getSession"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Gets the session id, zero if no session id</translate>
 
<translate>Gets the session id, zero if no session id</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Chroma:getSession()
 
(number) = Chroma:getSession()
 
</source>
 
</source>

Revision as of 14:26, 13 July 2023


Available since: Gideros 2020.7
Class: chroma

Description

Gets the session id, zero if no session id <syntaxhighlight lang="lua"> (number) = Chroma:getSession() </source>

Parameters

Return values

Returns (number) The session id or zero.