# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            
        ],
        client=[
            
        ],
    )
]
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="dbConnect",
                class_name='Connection',
                method=None,
                field=None,
                is_static=True,
            )
        ],
        client=[
            
        ],
    ),
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="dbExec",
                class_name='connection',
                method=FunctionData(
            signature=FunctionSignature(
 CompoundOOPData(
     server=[
         FunctionOOP(
             description=None,
             base_function_name="countPlayersInTeam",
             class_name='team',
             method=FunctionData(
                 signature=FunctionSignature(
                     name='countPlayers',
                     return_types=FunctionReturnTypes(
                         return_types=[
                             FunctionType(
                                 names=['int'],
                                 is_optional=False,
                             )
                         ],
                         variable_length=False,
                     ),
                     arguments=FunctionArgumentValues(
                         arguments=[[
                             FunctionArgument(
                                 name='theTeam',
                                 argument_type=FunctionType(
                                     names=['team'],
                                     is_optional=False,
                                 ),
                                 default_value=None,
                             )
                         ]],
                         variable_length=False,
                     ),
                     generic_types=[],
                 ),
                 docs=FunctionDoc(
                     description=
                     'This function is for returning the number of players in the specified team.',
                     arguments={
                         "theTeam":
                         """The team you wish to retrieve the player count of. """
                     },
                     result=
                     'returns an integer containing the number of players in the team, false if it could not be retrieved.',
                 ),
                 url='countPlayersInTeam',
             ),
             field=FunctionOOPField(
                 name='playerCount',
                 types=[FunctionType(
                     names=['int'],
                     is_optional=False,
                 )],
             ),
             is_static=False,
         )
     ],
     client=[
         FunctionOOP(
             description=None,
             base_function_name="countPlayersInTeam",
             class_name='team',
             method=FunctionData(
                 signature=FunctionSignature(
                     name='countPlayers',
                     return_types=FunctionReturnTypes(
                         return_types=[
                             FunctionType(
                                 names=['int'],
                                 is_optional=False,
                             )
                         ],
                         variable_length=False,
                     ),
                     arguments=FunctionArgumentValues(
                         arguments=[[
                             FunctionArgument(
                                 name='theTeam',
                                 argument_type=FunctionType(
                                     names=['team'],
                                     is_optional=False,
                                 ),
                                 default_value=None,
                             )
                         ]],
                         variable_length=False,
                     ),
                     generic_types=[],
                 ),
                 docs=FunctionDoc(
                     description=
                     'This function is for returning the number of players in the specified team.',
                     arguments={
                         "theTeam":
                         """The team you wish to retrieve the player count of. """
                     },
                     result=
                     'returns an integer containing the number of players in the team, false if it could not be retrieved.',
                 ),
                 url='countPlayersInTeam',
             ),
             field=FunctionOOPField(
                 name='playerCount',
                 types=[FunctionType(
                     names=['int'],
                     is_optional=False,
                 )],
             ),
             is_static=False,
         )
     ],
 ),
예제 #4
0
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createProjectile",
                class_name='Projectile',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[
            FunctionOOP(
                description=None,
 CompoundOOPData(
     server=[
         
     ],
     client=[
         FunctionOOP(
             description=None,
             base_function_name="engineApplyShaderToWorldTexture",
             class_name='shader',
             method=FunctionData(
         signature=FunctionSignature(
             name='applyToWorldTexture',
             return_types=FunctionReturnTypes(
                 return_types=[
                     FunctionType(
                                 names=['bool'],
                                 is_optional=False,
                             )
                 ],
                 variable_length=False,
             ),
             arguments=FunctionArgumentValues(
                 arguments=[
                     [
                         FunctionArgument(
                             name='shader',
                             argument_type=FunctionType(
                                 names=['element'],
                                 is_optional=False,
                             ),
                             default_value=None,
                         )
                     ],
                     [
                         FunctionArgument(
                             name='textureName',
                             argument_type=FunctionType(
                                 names=['string'],
                                 is_optional=False,
                             ),
                             default_value=None,
                         )
                     ],
                     [
                         FunctionArgument(
                             name='targetElement',
                             argument_type=FunctionType(
                                 names=['element'],
                                 is_optional=True,
                             ),
                             default_value='nil',
                         )
                     ],
                     [
                         FunctionArgument(
                             name='appendLayers',
                             argument_type=FunctionType(
                                 names=['bool'],
                                 is_optional=True,
                             ),
                             default_value='true',
                         )
                     ]
                 ],
                 variable_length=False,
             ),
             generic_types=[
                 
             ],
         ),
         docs=FunctionDoc(
             description='This function applies a shader to one or more world textures.\n* The resource Shader_examples#Texture_names|shader_tex_names can help in finding the names of world textures.\n* When replacing the texture for a ped using the CJ skin, set textureName to CJ\n* The shader inherits the render states of the original when it is drawn, so texture stage 0 will already be set to the original texture.\n* When using with a ped, ensure you have set ped or all in the elementTypes when calling dxCreateShader\n* CJ body parts textures can be replaced by using: cj_ped_head, cj_ped_hat, cj_ped_torso, cj_ped_legs, cj_ped_feet, cj_ped_glasses, cj_ped_necklace, cj_ped_watch and cj_ped_extra1. Latest version of http://wiki.multitheftauto.com/wiki/Shader_examples#Texture_names shader_tex_names will show what is being used.' ,
             arguments={
                 "shader": """The shader which is to be applied """,
                 "textureName": """The name of the world texture to apply the shader to. Wildcard matching e.g. ro?ds* can be used to apply to more than one texture at a time. """,
                 "targetElement": """The element to restrict applying the shader to. If this is not set the shader will be applied to everything using the texture name. Valid element types for targetElement are vehicle|vehicles, Object|objects and Ped|peds. """,
                 "appendLayers": """allows two or more layered shaders to be applied in the same texture. You may want to modify the DepthBias in the technique pass to avoid Z-fighting artifacts when using this. """
             },
             result='returns true if the shader was successfully applied, false otherwise.' ,
         ),
         url='engineApplyShaderToWorldTexture',
     ),
             field=None,
             is_static=False,
         )
     ],
 ),
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            
        ],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createSearchLight",
                class_name='Element/Searchlight|SearchLight',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[
            
        ],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="getSearchLightEndPosition",
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
예제 #9
0
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createLight",
                class_name='Light',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="getLightColor",
                class_name='light',
                method=FunctionData(
                    signature=FunctionSignature(
예제 #10
0
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="createWater",
                class_name='Water',
                method=None,
                field=None,
                is_static=True,
            )
        ],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createWater",
                class_name='Water',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="getWaterColor",
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="createPickup",
                class_name='Pickup',
                method=None,
                field=None,
                is_static=True,
            )
        ],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createPickup",
                class_name='Pickup',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="createRadarArea",
                class_name='radararea|RadarArea',
                method=None,
                field=None,
                is_static=True,
            )
        ],
        client=[
            FunctionOOP(
                description=None,
                base_function_name="createRadarArea",
                class_name='radararea|RadarArea',
                method=None,
                field=None,
                is_static=True,
            )
        ],
    ),
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="getRadarAreaColor",
예제 #14
0
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="addBan",
                class_name='Ban',
                method=None,
                field=None,
                is_static=True,
            )
        ],
        client=[],
    ),
    CompoundOOPData(
        server=[
            FunctionOOP(
                description=None,
                base_function_name="banPlayer",
                class_name='player',
                method=FunctionData(
                    signature=FunctionSignature(
                        name='ban',
# Autogenerated file. ANY CHANGES WILL BE OVERWRITTEN
from to_python.core.types import FunctionType, \
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[],
        client=[],
    ),
    CompoundOOPData(
        server=[
    FunctionArgument, \
    FunctionArgumentValues, \
    FunctionReturnTypes, \
    FunctionSignature, \
    FunctionDoc, \
    FunctionOOP, \
    FunctionOOPField, \
    CompoundOOPData, \
    FunctionData, \
    CompoundFunctionData

DUMP_PARTIAL = [
    CompoundOOPData(
        server=[
            
        ],
        client=[
            
        ],
    ),
    CompoundOOPData(
        server=[
            
        ],
        client=[
            
        ],
    ),
    CompoundOOPData(
        server=[
            
        ],