• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "Field"
    Differences between revisions 1 and 11 (spanning 10 versions)
    Revision 1 as of 2012-10-23 13:04:29
    Size: 51
    Editor: Inanna
    Comment:
    Revision 11 as of 2012-11-27 15:57:18
    Size: 1246
    Editor: Romulus
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    Describe FieldVars here. ## page was renamed from Fields
    The Fields objects can reference details about valleys you own.

    '''Field objects can be referenced as:'''

     . ''m_city.cityManager.fields[#].property '''or''' city.fields[#].property''

    The # will be which valley slot you are referencing, between 0-9. The .property at the end is how you will specify which detail you are referencing. Using the table below, you can for example get the level of the 5th valley you own with ''city.fields[4].level''.

    '''Properties'''
    ||<tablewidth="796px" tableheight="123px"#cccccc>'''Property ''' ||<#cccccc>'''Type''' ||<#cccccc>'''Description ''' ||
    ||id ||int ||Displayes the ID number assigned to the valley from the server side ||
    ||level ||int ||Description here ||
    ||name ||String ||Description here ||
    ||type ||String ||Description here ||


    The following functions can give further information about valleys, but are used as:
     
     .''m_city.cityManager.fields.method '''or''' city.fields.method''


    '''Methods'''
    ||<tablewidth="796px" tableheight="43px"#cccccc>'''Method ''' ||<#cccccc>'''Type''' ||<#cccccc>'''Description ''' ||
    ||length ||int ||Description here ||

    '''Examples'''

     . {{{
    example goes here
    }}}
    Line 3: Line 33:
    CategoryVariables [[ObjectCity|City]]

    The Fields objects can reference details about valleys you own.

    Field objects can be referenced as:

    • m_city.cityManager.fields[#].property or city.fields[#].property

    The # will be which valley slot you are referencing, between 0-9. The .property at the end is how you will specify which detail you are referencing. Using the table below, you can for example get the level of the 5th valley you own with city.fields[4].level.

    Properties

    Property

    Type

    Description

    id

    int

    Displayes the ID number assigned to the valley from the server side

    level

    int

    Description here

    name

    String

    Description here

    type

    String

    Description here

    The following functions can give further information about valleys, but are used as:

    • m_city.cityManager.fields.method or city.fields.method

    Methods

    Method

    Type

    Description

    length

    int

    Description here

    Examples

    • example goes here


    City

    Field (last edited 2014-02-10 18:48:46 by Inanna)