From Civilization Modding Wiki
Jump to navigationJump to search
|
|
Line 1: |
Line 1: |
| {{Civ5 API Beta Banner}}
| |
| ''This page is a part of the [[Lua and UI Reference (Civ5)]].''<br/>
| |
|
| |
|
|
| |
|
| |
| =Static Methods=
| |
| Methods are functions that belong to an object. Static methods are invoked through a '''dot''', as in <code>GC.SomeMethod(<args>)</code>. When a dot is used the caller object is not implicitly provided as the first argument.
| |
| {|cellspacing="4" cellpadding="0" width="100%"
| |
| |-
| |
| | [[File:Civ5-16.png|Base game]] || [[File:GK.png|Gods & Kings]] || || || <code style="visibility:hidden;">___________________________</code>
| |
| <!--
| |
| GETWEEKS_PER_MONTHS
| |
| -->
| |
| |-
| |
| {{FuncInfos5|yes |yes |no |<!-- No comment -->}}
| |
| |align="right" |<code>'''int'''</code>
| |
| |width="100%" |<code>{{FuncLabel5|GC|getWEEKS_PER_MONTHS}}<b>(</b><!-- No arguments --><b>)</b></code>
| |
| |}
| |
|
| |
|
| |
|
| |
|
| |
| {{Civ5 API Footer}}
| |
| [[Category:Civ5 Types|GC]]
| |
Latest revision as of 15:59, 19 September 2012