khanat-opennel-code/code/ryzom/tools/server/www/ring/welcome_service_itf.php
StudioEtrange 91e6b23d3f ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00

59 lines
1.4 KiB
PHP

<?php
/////////////////////////////////////////////////////////////////
// WARNING : this is a generated file, don't change it !
/////////////////////////////////////////////////////////////////
$arrayCounter = 0;
$WS_TUserRole_EnumValues[$arrayCounter++] = "ur_player";
$WS_TUserRole_EnumValues[$arrayCounter++] = "ur_editor";
$WS_TUserRole_EnumValues[$arrayCounter++] = "ur_animator";
$WS_TUserRole_EnumValues[$arrayCounter] = "invalid";
$WS_TUserRole_InvalidValue = $arrayCounter;
class WS_TUserRole
{
var $Value;
function WS_TUserRole()
{
global $WS_TUserRole_InvalidValue;
$this->Value = $WS_TUserRole_InvalidValue;
}
function toString()
{
global $WS_TUserRole_EnumValues;
return $WS_TUserRole_EnumValues[$this->Value];
}
function fromString($strValue)
{
global $WS_TUserRole_EnumValues;
foreach ($WS_TUserRole_EnumValues as $k => $v)
{
if ($strValue === $v)
{
$this->Value = $k;
return;
}
}
$this->Value = $WS_TUserRole_InvalidValue;
}
function toInt()
{
return $this->Value;
}
function fromInt($intValue)
{
global $WS_TUserRole_InvalidValue;
global $WS_TUserRole_EnumValues;
if (array_key_exists($intValue, $WS_TUserRole_EnumValues))
$this->Value = $intValue;
else
$this->Value = $WS_TUserRole_InvalidValue;
}
}
?>