1. Dashboard
  2. Articles
  3. Members
    1. Recent Activities
    2. Users Online
    3. Team
    4. Search Members
  4. Blog
    1. Articles
  5. Filebase
    1. Shop "Z"
  6. Forum
  7. Lexicon
    1. Documentation
  8. 🏷️Support
    1. FAQ
    2. Kuid's
  9. Gallery
    1. Albums
  • Login or register
  • Search
Lexicon
  • Everywhere
  • Articles
  • Pages
  • Blog Articles
  • Files
  • Forum
  • Lexicon
  • Tickets
  • FAQ
  • Gallery
  • More Options
  1. Wikiquik
  2. Lexicon

Find All entries By „Wikiquik“

SetPropertyValue
C#
void SetPropertyValue(string propertyID, string value)
{
  if (propertyID == "forename")
  {
    m_foreName = value;
    return;
  }
  if (propertyID == "surname")
  {
    m_surName = value;
    return;
  }
  
  inherited(propertyID, value);
}
Display More
Wikiquik
January 25, 2024 at 11:59 PM
0
FilterPropertyElementList
C#
public bool FilterPropertyElementList(string propertyID, GSObject[] listObjects, string[] listNames)
{
  if (propertyID == "object-list")
  {
    bool bDidChangeAnything = false;
    // Remove any already added objects from the list
    int i;
    for (i = 0; i < listObjects.size(); )
    {
      if (IsAlreadyInList(cast<GameObject>(listObjects[i])))
      {
        listObjects[i,i+1] = null;
        listNames[i,i+1] = null;
        bDidChangeAnything  = true;
      }
      else
      {
        ++i;
      }
    }
    
    return bDidChangeAnything;
  }
  
  return inherited(propertyID, listObjects, listNames);
}
Display More
Wikiquik
January 25, 2024 at 11:57 PM
0
GetPropertyElementList
C#
public string[] GetPropertyElementList(string propertyID)
{
  if (propertyID == "mode")
  {
    StringTable strTable = GetAsset().GetStringTable();
    
    string[] result = new string[10];
    int i;
    for (i = 1; i < 10; ++i)
      result[i] = strTable.GetString("property_list_mode_" + i);
    
    return result;
  }
  
  return inherited(propertyID);
}
Display More
Wikiquik
January 25, 2024 at 11:56 PM
0
LinkPropertyValue
C#
void LinkPropertyValue(string propertyID)
{
  if (propertyID == "doors")
  {
    m_doorsOpen = !m_doorsOpen;
    SetMeshAnimationState("doors", m_doorsOpen);
    return;
  }
  
  inherited(propertyID);
}
Display More
Wikiquik
January 25, 2024 at 11:55 PM
0
GetPropertyValue
C#
public string GetPropertyValue(string propertyID)
{
  if (propertyID == "forename")
    return m_foreName;
  if (propertyID == "surname")
    return m_foreName;
  
  return inherited(propertyID);
}
Wikiquik
January 25, 2024 at 11:54 PM
0
GetPropertyDescription
Wikiquik
January 25, 2024 at 11:53 PM
0
GetPropertyName
Wikiquik
January 25, 2024 at 11:52 PM
0
GetPropertyType
C#
string GetPropertyType(string propertyID)
{
  if (propertyID == "forename" or propertyID == "surname")
    return "string";
  
  return inherited(propertyID);
}
Wikiquik
January 25, 2024 at 11:49 PM
0
SetProperties
C#
public void SetProperties(Soup soup)
{
  inherited(soup);
  m_foreName = soup.GetNamedTag("forename");
  m_surName = soup.GetNamedTag("surname");
}
Wikiquik
January 25, 2024 at 11:47 PM
0
GetProperties
C#
public Soup GetProperties(void)
{
  Soup soup = inherited();
  soup.SetNamedTag("forename", m_foreName);
  soup.SetNamedTag("surname", m_surName);
  return soup;
}
Wikiquik
January 25, 2024 at 11:45 PM
0

Categories

  1. Default Category 50
  2. Scripting 18
  3. Configuration files 9

Tag Cloud

  • AŽD
  • HTML
  • Pictures
  • Sound
  • Vyhláška

Latest Edits

  • Označník

    Wikiquik April 13, 2025 at 11:16 AM
  • Dělič úsekový

    Wikiquik September 19, 2024 at 10:12 PM
  • Classification-signals

    Wikiquik February 24, 2024 at 4:41 PM
  • Image Based Lighting

    Wikiquik January 26, 2024 at 12:10 AM
  • Označovací štítky návěstidel

    Wikiquik January 26, 2024 at 12:08 AM

Most Viewed Entries

  • SBB

    Wikiquik December 1, 2019 at 5:39 PM
  • Složka o výší úrovni

    Wikiquik December 8, 2019 at 3:34 PM
  • SBB Signal: SP Type-L

    Wikiquik December 16, 2019 at 8:50 AM
  • SBB Signal: SA Type-L

    Wikiquik December 16, 2019 at 8:10 AM
  • ATB-EG

    Wikiquik December 22, 2019 at 12:57 PM

Most Active Authors

  • Wikiquik

    77 entries
  1. Privacy Policy
  2. Contact
  3. Legal Notice
Lexicon 7.1.12, developed by www.viecode.com
Powered by WoltLab Suite™ 6.0.22