Public feed #722905

Zeug

public text v1 · immutable
Raw Edit
·published 2007-10-02 12:36 UTC
rendered paste body
  class clsPlayer
  {
    // variables
    var $Name;
    var $Level;
    var $Class;
    var $Race;
    var $Gender;
    var $Guild;
    var $GmState;
    var $Location;
    
    // constructor
    function clsPlayer($tName,$tLevel,$tClass,$tRace,$tGender,$tGuild,$tZone,$tIsInstance,$tPosiX,$tPosiY,$tGmState)
    {
      $this->Name = $tName;
      $this->Level = $tLevel;
      $this->Class = $tClass;
      $this->Race = $tRace;
      $this->Gender = $tGender;
      $this->Guild = $tGuild;
      $this->GmState = $tGmState;
      $this->Location = new clsLocation($tZone,$tIsInstance,$tPosiX,$tPosiY);
    }
  }