plugins/include/tf2.inc
author Powerlord <rbemrose@gmail.com>
Mon Apr 07 23:15:13 2014 -0400 (2014-04-07)
changeset 4314 ec67f6caabba
parent 4287 95d818e1f496
child 4316 c0ffa3405ecd
permissions -rw-r--r--
Add TFHoliday_AprilFools to TFHoliday enum (bug 6092, r=psychonic).
pred@1964
     1
/**
pred@1964
     2
 * vim: set ts=4 :
pred@1964
     3
 * =============================================================================
pred@1964
     4
 * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
pred@1964
     5
 * =============================================================================
pred@1964
     6
 *
pred@1964
     7
 * This file is part of the SourceMod/SourcePawn SDK.
pred@1964
     8
 *
pred@1964
     9
 * This program is free software; you can redistribute it and/or modify it under
pred@1964
    10
 * the terms of the GNU General Public License, version 3.0, as published by the
pred@1964
    11
 * Free Software Foundation.
pred@1964
    12
 * 
pred@1964
    13
 * This program is distributed in the hope that it will be useful, but WITHOUT
pred@1964
    14
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
pred@1964
    15
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
pred@1964
    16
 * details.
pred@1964
    17
 *
pred@1964
    18
 * You should have received a copy of the GNU General Public License along with
pred@1964
    19
 * this program.  If not, see <http://www.gnu.org/licenses/>.
pred@1964
    20
 *
pred@1964
    21
 * As a special exception, AlliedModders LLC gives you permission to link the
pred@1964
    22
 * code of this program (as well as its derivative works) to "Half-Life 2," the
pred@1964
    23
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
pred@1964
    24
 * by the Valve Corporation.  You must obey the GNU General Public License in
pred@1964
    25
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
pred@1964
    26
 * this exception to all derivative works.  AlliedModders LLC defines further
pred@1964
    27
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
pred@1964
    28
 * or <http://www.sourcemod.net/license.php>.
pred@1964
    29
 *
ds@1987
    30
 * Version: $Id$
pred@1964
    31
 */
pred@1964
    32
pred@1963
    33
#if defined _tf2_included
pred@1963
    34
 #endinput
pred@1963
    35
#endif
pred@1963
    36
#define _tf2_included
pred@1963
    37
erik@3967
    38
#define TF_STUNFLAG_SLOWDOWN        (1 << 0)	/**< activates slowdown modifier */
erik@3967
    39
#define TF_STUNFLAG_BONKSTUCK       (1 << 1)	/**< bonk sound, stuck */
erik@3967
    40
#define TF_STUNFLAG_LIMITMOVEMENT   (1 << 2)	/**< disable forward/backward movement */
erik@3967
    41
#define TF_STUNFLAG_CHEERSOUND      (1 << 3)	/**< cheering sound */
erik@3967
    42
#define TF_STUNFLAG_NOSOUNDOREFFECT (1 << 5)	/**< no sound or particle */
erik@3967
    43
#define TF_STUNFLAG_THIRDPERSON     (1 << 6)	/**< panic animation */
erik@3967
    44
#define TF_STUNFLAG_GHOSTEFFECT     (1 << 7)	/**< ghost particles */
skamonkey@2943
    45
skamonkey@2943
    46
#define TF_STUNFLAGS_LOSERSTATE     TF_STUNFLAG_SLOWDOWN|TF_STUNFLAG_NOSOUNDOREFFECT|TF_STUNFLAG_THIRDPERSON
skamonkey@2943
    47
#define TF_STUNFLAGS_GHOSTSCARE     TF_STUNFLAG_GHOSTEFFECT|TF_STUNFLAG_THIRDPERSON
skamonkey@2943
    48
#define TF_STUNFLAGS_SMALLBONK      TF_STUNFLAG_THIRDPERSON|TF_STUNFLAG_SLOWDOWN
skamonkey@2943
    49
#define TF_STUNFLAGS_NORMALBONK     TF_STUNFLAG_BONKSTUCK
skamonkey@2943
    50
#define TF_STUNFLAGS_BIGBONK        TF_STUNFLAG_CHEERSOUND|TF_STUNFLAG_BONKSTUCK
skamonkey@2943
    51
pred@1963
    52
enum TFClassType
pred@1963
    53
{
pred@1963
    54
	TFClass_Unknown = 0,
pred@1963
    55
	TFClass_Scout,
pred@1963
    56
	TFClass_Sniper,
pred@1963
    57
	TFClass_Soldier,
pred@1963
    58
	TFClass_DemoMan,
pred@1963
    59
	TFClass_Medic,
pred@1963
    60
	TFClass_Heavy,
pred@1963
    61
	TFClass_Pyro,
pred@1963
    62
	TFClass_Spy,
pred@1963
    63
	TFClass_Engineer
pred@2018
    64
};
pred@1963
    65
pred@1963
    66
enum TFTeam
pred@1963
    67
{
pred@1963
    68
	TFTeam_Unassigned = 0,
pred@1963
    69
	TFTeam_Spectator = 1,
pred@1963
    70
	TFTeam_Red = 2,
pred@1963
    71
	TFTeam_Blue = 3	
pred@2018
    72
};
pred@1963
    73
skamonkey@2939
    74
enum TFCond
skamonkey@2939
    75
{
skamonkey@2939
    76
	TFCond_Slowed = 0,
skamonkey@2939
    77
	TFCond_Zoomed,
skamonkey@2939
    78
	TFCond_Disguising,
skamonkey@2939
    79
	TFCond_Disguised,
skamonkey@2939
    80
	TFCond_Cloaked,
skamonkey@2939
    81
	TFCond_Ubercharged,
skamonkey@2939
    82
	TFCond_TeleportedGlow,
skamonkey@2939
    83
	TFCond_Taunting,
skamonkey@2939
    84
	TFCond_UberchargeFading,
skamonkey@3174
    85
	TFCond_Unknown1, //9
skamonkey@3174
    86
	TFCond_CloakFlicker = 9,
skamonkey@2939
    87
	TFCond_Teleporting,
skamonkey@2939
    88
	TFCond_Kritzkrieged,
skamonkey@3397
    89
	TFCond_Unknown2, //12
skamonkey@3397
    90
	TFCond_TmpDamageBonus = 12,
skamonkey@2939
    91
	TFCond_DeadRingered,
skamonkey@2939
    92
	TFCond_Bonked,
skamonkey@2939
    93
	TFCond_Dazed,
skamonkey@2939
    94
	TFCond_Buffed,
skamonkey@2939
    95
	TFCond_Charging,
skamonkey@2939
    96
	TFCond_DemoBuff,
skamonkey@3035
    97
	TFCond_CritCola,
skamonkey@3198
    98
	TFCond_InHealRadius,
skamonkey@2939
    99
	TFCond_Healing,
skamonkey@3198
   100
	TFCond_OnFire,
skamonkey@2939
   101
	TFCond_Overhealed,
skamonkey@3087
   102
	TFCond_Jarated,
skamonkey@3125
   103
	TFCond_Bleeding,
skamonkey@3125
   104
	TFCond_DefenseBuffed,
skamonkey@3215
   105
	TFCond_Milked,
laftrykung@3269
   106
	TFCond_MegaHeal,
skamonkey@3215
   107
	TFCond_RegenBuffed,
skamonkey@3308
   108
	TFCond_MarkedForDeath,
skamonkey@3397
   109
	TFCond_NoHealingDamageBuff,
flaminsarge@4215
   110
	TFCond_SpeedBuffAlly,		//32
skamonkey@3317
   111
	TFCond_HalloweenCritCandy,
laftrykung@3699
   112
	TFCond_CritCanteen,
flaminsarge@4215
   113
	TFCond_CritDemoCharge,
flaminsarge@4215
   114
	TFCond_CritHype,
laftrykung@3358
   115
	TFCond_CritOnFirstBlood,
laftrykung@3358
   116
	TFCond_CritOnWin,
laftrykung@3358
   117
	TFCond_CritOnFlagCapture,
laftrykung@3358
   118
	TFCond_CritOnKill,
laftrykung@3506
   119
	TFCond_RestrictToMelee,
flaminsarge@4215
   120
	TFCond_DefenseBuffNoCritBlock,
flaminsarge@4215
   121
	TFCond_Reprogrammed,
laftrykung@3699
   122
	TFCond_CritMmmph,
laftrykung@3506
   123
	TFCond_DefenseBuffMmmph,
laftrykung@3699
   124
	TFCond_FocusBuff,
laftrykung@3699
   125
	TFCond_DisguiseRemoved,
laftrykung@3699
   126
	TFCond_MarkedForDeathSilent,
laftrykung@3699
   127
	TFCond_DisguisedAsDispenser,
laftrykung@3699
   128
	TFCond_Sapped,
laftrykung@3699
   129
	TFCond_UberchargedHidden,
laftrykung@3699
   130
	TFCond_UberchargedCanteen,
laftrykung@3699
   131
	TFCond_HalloweenBombHead,
laftrykung@3699
   132
	TFCond_HalloweenThriller,
laftrykung@3812
   133
	TFCond_RadiusHealOnDamage,
laftrykung@3812
   134
	TFCond_CritOnDamage,
laftrykung@3812
   135
	TFCond_UberchargedOnTakeDamage,
laftrykung@3812
   136
	TFCond_UberBulletResist,
laftrykung@3812
   137
	TFCond_UberBlastResist,
laftrykung@3812
   138
	TFCond_UberFireResist,
laftrykung@3812
   139
	TFCond_SmallBulletResist,
laftrykung@3812
   140
	TFCond_SmallBlastResist,
laftrykung@3812
   141
	TFCond_SmallFireResist,
skamonkey@4161
   142
	TFCond_Stealthed, // 64
flaminsarge@4215
   143
	TFCond_MedigunDebuff,
flaminsarge@4215
   144
	TFCond_StealthedUserBuffFade,
flaminsarge@4215
   145
	TFCond_BulletImmune,
flaminsarge@4215
   146
	TFCond_BlastImmune,
flaminsarge@4215
   147
	TFCond_FireImmune,
flaminsarge@4215
   148
	TFCond_PreventDeath,
flaminsarge@4215
   149
	TFCond_MVMBotRadiowave,
skamonkey@4161
   150
	TFCond_HalloweenSpeedBoost,
skamonkey@4161
   151
	TFCond_HalloweenQuickHeal,
skamonkey@4161
   152
	TFCond_HalloweenGiant,
flaminsarge@4215
   153
	TFCond_HalloweenTiny,
flaminsarge@4215
   154
	TFCond_HalloweenInHell,
flaminsarge@4215
   155
	TFCond_HalloweenGhostMode,
skamonkey@2942
   156
};
skamonkey@2939
   157
skamonkey@4287
   158
const Float:TFCondDuration_Infinite = -1.0;
skamonkey@4287
   159
skamonkey@3056
   160
enum TFHoliday
skamonkey@3056
   161
{
skamonkey@3434
   162
	TFHoliday_Birthday = 1,
skamonkey@3056
   163
	TFHoliday_Halloween,
skamonkey@3456
   164
	TFHoliday_Christmas,
rbemrose@3707
   165
	TFHoliday_ValentinesDay,
rbemrose@3576
   166
	TFHoliday_MeetThePyro,
skamonkey@3426
   167
	TFHoliday_FullMoon,
skamonkey@3426
   168
	TFHoliday_HalloweenOrFullMoon,
rbemrose@3707
   169
	TFHoliday_HalloweenOrFullMoonOrValentines,
rbemrose@4314
   170
	TFHoliday_AprilFools,
skamonkey@3056
   171
};
skamonkey@3056
   172
erik@3093
   173
enum TFObjectType
erik@3093
   174
{
erik@3093
   175
	TFObject_CartDispenser = 0,
erik@3093
   176
	TFObject_Dispenser = 0,
erik@3093
   177
	TFObject_Teleporter = 1,
erik@3093
   178
	TFObject_Sentry = 2,
erik@3093
   179
	TFObject_Sapper = 3
erik@3093
   180
};
erik@3093
   181
erik@3093
   182
enum TFObjectMode
erik@3093
   183
{
erik@3093
   184
	TFObjectMode_None = 0,
erik@3093
   185
	TFObjectMode_Entrance = 0,
erik@3093
   186
	TFObjectMode_Exit = 1
erik@3093
   187
};
erik@3093
   188
fyrenmoo@2673
   189
/**
fyrenmoo@2673
   190
 * Sets a client on fire for 10 seconds.
fyrenmoo@2673
   191
 *
fyrenmoo@2673
   192
 * @param client		Player's index.
erik@3967
   193
 * @param attacker		Attacker's index.
fyrenmoo@2673
   194
 * @noreturn
fyrenmoo@2673
   195
 * @error				Invalid client index, client not in game, or no mod support.
fyrenmoo@2673
   196
 */
erik@3967
   197
native TF2_IgnitePlayer(client, attacker);
pred@1963
   198
pred@1963
   199
/**
pred@1963
   200
 * Respawns a client
pred@1963
   201
 *
pred@1963
   202
 * @param client		Player's index.
pred@1963
   203
 * @noreturn
pred@1963
   204
 * @error				Invalid client index, client not in game, or no mod support.
pred@1963
   205
 */
pred@1963
   206
native TF2_RespawnPlayer(client);
pred@1963
   207
pred@1963
   208
/**
skamonkey@2939
   209
 * Regenerates a client's health and ammunition
skamonkey@2939
   210
 *
skamonkey@2939
   211
 * @param client		Player's index.
skamonkey@2939
   212
 * @noreturn
skamonkey@2939
   213
 * @error				Invalid client index, client not in game, or no mod support.
skamonkey@2939
   214
 */
skamonkey@2939
   215
native TF2_RegeneratePlayer(client);
skamonkey@2939
   216
skamonkey@2939
   217
/**
skamonkey@2939
   218
 * Adds a condition to a player
skamonkey@2939
   219
 *
skamonkey@2939
   220
 * @param client		Player's index.
skamonkey@2939
   221
 * @param condition		Integer identifier of condition to apply.
skamonkey@2939
   222
 * @param duration		Duration of condition (does not apply to all conditions).
skamonkey@4287
   223
 *                      Pass TFCondDuration_Infinite to apply until manually removed.
laftrykung@3818
   224
 * @param inflictor		Condition inflictor's index (0 for no inflictor).
skamonkey@2939
   225
 * @noreturn
skamonkey@2939
   226
 * @error				Invalid client index, client not in game, or no mod support.
skamonkey@2939
   227
 */
skamonkey@4287
   228
native TF2_AddCondition(client, TFCond:condition, Float:duration=TFCondDuration_Infinite, inflictor=0);
skamonkey@2939
   229
skamonkey@2939
   230
/**
skamonkey@2939
   231
 * Removes a condition from a player
skamonkey@2939
   232
 *
skamonkey@2939
   233
 * @param client		Player's index.
skamonkey@2939
   234
 * @param condition		Integer identifier of condition to remove.
skamonkey@2939
   235
 * @noreturn
skamonkey@2939
   236
 * @error				Invalid client index, client not in game, or no mod support.
skamonkey@2939
   237
 */
skamonkey@2939
   238
native TF2_RemoveCondition(client, TFCond:condition);
skamonkey@2939
   239
skamonkey@2939
   240
/**
skamonkey@2939
   241
 * Enables/disables PowerPlay mode on a player.
skamonkey@2939
   242
 *
skamonkey@2939
   243
 * @param client		Player's index.
skamonkey@2939
   244
 * @param enabled		Whether to enable or disable PowerPlay on player.
skamonkey@2939
   245
 * @noreturn
skamonkey@2939
   246
 * @error				Invalid client index, client not in game, or no mod support.
skamonkey@2939
   247
 */
skamonkey@2939
   248
native TF2_SetPlayerPowerPlay(client, bool:enabled);
skamonkey@2939
   249
skamonkey@2939
   250
/**
pred@1963
   251
 * Disguises a client to the given model and team. Only has an effect on spies.
pred@1963
   252
 *
pred@1963
   253
 * Note: This only starts the disguise process and a delay occurs before the spy is fully disguised
pred@1963
   254
 *
pred@1963
   255
 * @param client		Player's index.
pred@1963
   256
 * @param team			Team to disguise the player as (only TFTeam_Red and TFTeam_Blue have an effect)
pred@1963
   257
 * @param class			TFClassType class to disguise the player as
skamonkey@3128
   258
 * @param target		Specific target player to disguise as (0 for any)
pred@1963
   259
 * @noreturn
pred@1963
   260
 * @error				Invalid client index, client not in game, or no mod support.
pred@1963
   261
 */
skamonkey@3128
   262
native TF2_DisguisePlayer(client, TFTeam:team, TFClassType:class, target=0);
pred@1963
   263
pred@1963
   264
/**
pred@1963
   265
 * Removes the current disguise from a client. Only has an effect on spies.
pred@1963
   266
 *
pred@1963
   267
 * @param client		Player's index.
pred@1963
   268
 * @noreturn
pred@1963
   269
 * @error				Invalid client index, client not in game, or no mod support.
pred@1963
   270
 */
pred@1963
   271
native TF2_RemovePlayerDisguise(client);
pred@1963
   272
pred@1963
   273
/**
skamonkey@2943
   274
 * Stuns a client
skamonkey@2943
   275
 *
skamonkey@2943
   276
 * @param client		Player's index.
erik@3967
   277
 * @param duration		Duration of stun.
erik@3967
   278
 * @param slowdown		Slowdown percent (as decimal, 0.00-1.00)
erik@3967
   279
 *						Ignored if TF_STUNFLAG_SLOWDOWN is not set.
erik@3967
   280
 * @param stunflags		Stun flags.
skamonkey@2943
   281
 * @param attacker		Attacker's index (0 is allowed for world).
skamonkey@2943
   282
 * @noreturn
skamonkey@2943
   283
 */
skamonkey@2943
   284
native TF2_StunPlayer(client, Float:duration, Float:slowdown=0.0, stunflags, attacker=0);
skamonkey@2943
   285
skamonkey@2943
   286
/**
abkowald@3096
   287
 * Induces the bleed effect on a client
abkowald@3096
   288
 *
abkowald@3096
   289
 * @param client		Player's index.
skamonkey@3272
   290
 * @param attacker		Attacker's index.
erik@3967
   291
 * @param duration		Duration of bleeding (in seconds).
abkowald@3096
   292
 * @noreturn
abkowald@3096
   293
 */
skamonkey@3272
   294
native TF2_MakeBleed(client, attacker, Float:duration);
abkowald@3096
   295
abkowald@3096
   296
/**
pred@1963
   297
 * Retrieves the entity index of the CPlayerResource entity
pred@1963
   298
 *
pred@1963
   299
 * @return				The current resource entity index.
pred@1963
   300
 */
skamonkey@3816
   301
#pragma deprecated Use GetPlayerResourceEntity instead
pred@1963
   302
native TF2_GetResourceEntity();
pred@1963
   303
pred@1963
   304
/**
pred@1963
   305
 * Finds the TFClassType for a given class name.
pred@1963
   306
 *
pred@1963
   307
 * @param classname		A classname string such as "sniper" or "demoman"
pred@1963
   308
 * @return				A TFClassType constant.
pred@1963
   309
 */
pred@1963
   310
native TFClassType:TF2_GetClass(const String:classname[]);
pred@1963
   311
pred@1963
   312
/**
pred@1979
   313
 * Called on weapon fire to decide if the current shot should be critical.
pred@1979
   314
 * Return Plugin_Continue to let the original calculation or return a higher
pred@1979
   315
 * action to override the decision with the value of 'result'
pred@1979
   316
 *
pred@1979
   317
 * @note Since critical shots are also calculated client side any changes made with
pred@1979
   318
 *		 this will not show for the shooter. Projectile weapons such as the rocketlauncher
pred@1979
   319
 *		 and demoman weapons will show a critical bullet but no critical sound effect.
pred@1979
   320
 *		 Bullet hits should appear as expected.
pred@1979
   321
 *
pred@1979
   322
 * @param client		Client Index.
pred@1979
   323
 * @param weapon		Weapon entity Index.
pred@1979
   324
 * @param weaponname	Classname of the weapon.
pred@1979
   325
 * @param result		Buffer param for the result of the decision.
pred@1979
   326
 */
pred@1981
   327
forward Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result);
pred@1979
   328
pred@1979
   329
/**
skamonkey@3426
   330
 * @deprecated		No longer called. Use TF2_OnIsHolidayActive.
skamonkey@3426
   331
 */
skamonkey@3426
   332
#pragma deprecated No longer called. Use TF2_OnIsHolidayActive.
skamonkey@3426
   333
forward Action:TF2_OnGetHoliday(&TFHoliday:holiday);
skamonkey@3426
   334
skamonkey@3426
   335
/**
skamonkey@3426
   336
 * Called at various times when the game checks to see if the given holiday is active.
skamonkey@3426
   337
 * Return Plugin_Continue to let the original calculation or return a higher
skamonkey@3426
   338
 * action to override the decision with the value of 'result'
skamonkey@3056
   339
 *
skamonkey@3426
   340
 * @param holiday		Holiday being checked.
skamonkey@3426
   341
 * @param result		Buffer param for the result of the decision.
skamonkey@3426
   342
 * @return				Plugin_Continue for original calculation, higher value to use 'result'.
skamonkey@3056
   343
 */
skamonkey@3426
   344
forward Action:TF2_OnIsHolidayActive(TFHoliday:holiday, &bool:result);
skamonkey@3056
   345
skamonkey@3056
   346
/**
tf2@3147
   347
 * Returns whether or not a client (Player) is in a duel.
tf2@3147
   348
 *
tf2@3147
   349
 * @param client    Client Index.
tf2@3147
   350
 * @return          Boolean of whether or not the client/player is dueling.
tf2@3147
   351
 */
tf2@3147
   352
native bool:TF2_IsPlayerInDuel(client);
tf2@3147
   353
tf2@3147
   354
/**
skamonkey@3233
   355
 * Called after a condition is added to a player
skamonkey@3233
   356
 *
skamonkey@3233
   357
 * @param client		Index of the client to which the conditon is being added.
skamonkey@3233
   358
 * @param condition     Condition that is being added.
skamonkey@3233
   359
 * @noreturn
skamonkey@3233
   360
 */
skamonkey@3332
   361
forward TF2_OnConditionAdded(client, TFCond:condition);
skamonkey@3233
   362
skamonkey@3233
   363
/**
skamonkey@3233
   364
 * Called after a condition is removed from a player
skamonkey@3233
   365
 *
skamonkey@3233
   366
 * @param client		Index of the client to which the condition is being removed.
skamonkey@3233
   367
 * @param condition		Condition that is being removed.
skamonkey@3233
   368
 * @noreturn
skamonkey@3233
   369
 */
skamonkey@3233
   370
forward TF2_OnConditionRemoved(client, TFCond:condition);
skamonkey@3233
   371
skamonkey@3233
   372
/**
crimson@3151
   373
 * Called when the server enters the Waiting for Players round state
crimson@3151
   374
 *
crimson@3151
   375
 * @noreturn
crimson@3151
   376
 */
crimson@3151
   377
forward TF2_OnWaitingForPlayersStart();
crimson@3151
   378
crimson@3151
   379
/**
crimson@3151
   380
 * Called when the server exits the Waiting for Players round state
crimson@3151
   381
 *
crimson@3151
   382
 * @noreturn
crimson@3151
   383
 */
crimson@3151
   384
forward TF2_OnWaitingForPlayersEnd();
crimson@3151
   385
crimson@3151
   386
/**
voidedweasel@3533
   387
 * Called when a player attempts to use a teleporter to decide if the player should be allowed to teleport.
voidedweasel@3533
   388
 * Return Plugin_Continue to let the original calculation or return a higher
voidedweasel@3533
   389
 * action to override the decision with the value of 'result'
voidedweasel@3533
   390
 *
voidedweasel@3533
   391
 * @param client		Client index.
voidedweasel@3533
   392
 * @param teleporter	Teleporter entity index.
voidedweasel@3533
   393
 * @param result		Buffer param for the result of the decision.
voidedweasel@3533
   394
 *						This is prepopulated with the game's original decision to let a player teleport.
voidedweasel@3533
   395
 * @return				Plugin_Continue for original calculation, higher value to use 'result'.
voidedweasel@3533
   396
 */
voidedweasel@3533
   397
forward Action:TF2_OnPlayerTeleport(client, teleporter, &bool:result);
voidedweasel@3533
   398
 
voidedweasel@3533
   399
/**
pred@1963
   400
 * Do not edit below this line!
pred@1963
   401
 */
pred@1963
   402
public Extension:__ext_tf2 = 
pred@1963
   403
{
pred@1963
   404
	name = "TF2 Tools",
pred@1963
   405
	file = "game.tf2.ext",
skamonkey@3028
   406
	autoload = 0,
pred@1963
   407
#if defined REQUIRE_EXTENSIONS
pred@1963
   408
	required = 1,
pred@1963
   409
#else
pred@1963
   410
	required = 0,
pred@1963
   411
#endif
pred@1963
   412
};
skamonkey@2976
   413
skamonkey@2976
   414
#if !defined REQUIRE_EXTENSIONS
skamonkey@2976
   415
public __ext_tf2_SetNTVOptional()
skamonkey@2976
   416
{
skamonkey@2976
   417
	MarkNativeAsOptional("TF2_IgnitePlayer");
skamonkey@2976
   418
	MarkNativeAsOptional("TF2_RespawnPlayer");
skamonkey@2976
   419
	MarkNativeAsOptional("TF2_RegeneratePlayer");
skamonkey@2976
   420
	MarkNativeAsOptional("TF2_AddCondition");
skamonkey@2976
   421
	MarkNativeAsOptional("TF2_RemoveCondition");
skamonkey@2976
   422
	MarkNativeAsOptional("TF2_SetPlayerPowerPlay");
skamonkey@2976
   423
	MarkNativeAsOptional("TF2_DisguisePlayer");
skamonkey@2976
   424
	MarkNativeAsOptional("TF2_RemovePlayerDisguise");
skamonkey@2976
   425
	MarkNativeAsOptional("TF2_StunPlayer");
skamonkey@3110
   426
	MarkNativeAsOptional("TF2_MakeBleed");
skamonkey@2976
   427
	MarkNativeAsOptional("TF2_GetResourceEntity");
skamonkey@2976
   428
	MarkNativeAsOptional("TF2_GetClass");
tf2@3147
   429
	MarkNativeAsOptional("TF2_IsPlayerInDuel");
skamonkey@2976
   430
}
skamonkey@2976
   431
#endif