示例#1
0
 public static Task <ReadOnlyPlayer> CopyAsync(this IPlayer player) =>
 AltVAsync.Schedule(player.Copy);
示例#2
0
 public static Task <IBlip> CreateBlip(IPlayer player, byte type, Position pos) =>
 AltVAsync.Schedule(() => Alt.CreateBlip(player, type, pos));
示例#3
0
 public static async Task <byte> GetWheelVariationAsync(this IVehicle vehicle) =>
 await AltVAsync.Schedule(() => vehicle.WheelVariation);
示例#4
0
 public static Task SetColorAsync(this IBlip blip, byte color) =>
 AltVAsync.Schedule(() => blip.Color = color);
示例#5
0
 public static Task SetRouteColorAsync(this IBlip blip, Rgba color) =>
 AltVAsync.Schedule(() => blip.RouteColor = color);
示例#6
0
 public static Task <bool> IsAttachedAsync(this IBlip blip) =>
 AltVAsync.Schedule(() => blip.IsAttached);
示例#7
0
 public static Task <BlipType> GetBlipTypeAsync(this IBlip blip) =>
 AltVAsync.Schedule(() => (BlipType)blip.BlipType);
示例#8
0
 public static Task SetArmorAsync(this IPlayer player, ushort armor) =>
 AltVAsync.Schedule(() => player.Armor = armor);
示例#9
0
 public static Task <float> GetMoveSpeedAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.MoveSpeed);
示例#10
0
 public static Task <bool> IsInRagdollAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.IsInRagdoll);
示例#11
0
 public static Task <bool> IsReloadingAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.IsReloading);
示例#12
0
 public static Task <bool> IsDeadAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.IsDead);
示例#13
0
 public static Task SetHealthAsync(this IPlayer player, ushort health) =>
 AltVAsync.Schedule(() => player.Health = health);
示例#14
0
 public static Task <ushort> GetHealthAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.Health);
示例#15
0
 public static Task <IBlip> CreateBlip(BlipType type, IEntity entityAttach) =>
 AltVAsync.Schedule(() => Alt.CreateBlip(type, entityAttach));
示例#16
0
 public static Task <uint> GetWeaponAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.Weapon);
示例#17
0
 public static Task <bool> IsGlobalAsync(this IBlip blip) =>
 AltVAsync.Schedule(() => blip.IsGlobal);
示例#18
0
 public static Task <ushort> GetAmmoAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.Ammo);
示例#19
0
 public static Task <IEntity> AttachedToAsync(this IBlip blip) =>
 AltVAsync.Schedule(() => blip.AttachedTo);
示例#20
0
 public static Task <Position> GetAimPositionAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.AimPosition);
示例#21
0
 public static Task SetSpriteAsync(this IBlip blip, ushort sprite) =>
 AltVAsync.Schedule(() => blip.Sprite = sprite);
示例#22
0
 public static Task <Rotation> GetHeadRotationAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.HeadRotation);
示例#23
0
 public static Task SetRouteAsync(this IBlip blip, bool route) =>
 AltVAsync.Schedule(() => blip.Route = route);
示例#24
0
 public static Task <bool> IsInVehicleAsync(this IPlayer player) =>
 AltVAsync.Schedule(() => player.IsInVehicle);
示例#25
0
 public static Task RemoveAsync(this IBlip blip) =>
 AltVAsync.Schedule(blip.RemoveAsync);
示例#26
0
 public static Task <IBlip> CreateBlip(IPlayer player, byte type, IEntity entityAttach) =>
 AltVAsync.Schedule(() => Alt.CreateBlip(player, type, entityAttach));
示例#27
0
 public static async Task SetTireSmokeColorAsync(this IVehicle vehicle, Rgba tireSmokeColor) =>
 await AltVAsync.Schedule(() => vehicle.TireSmokeColor = tireSmokeColor);
示例#28
0
 public static Task <IBlip> CreateBlip(BlipType type, Position pos) =>
 AltVAsync.Schedule(() => Alt.CreateBlip(type, pos));
示例#29
0
 public static async Task <bool> HasCustomTiresAsync(this IVehicle vehicle) =>
 await AltVAsync.Schedule(() => vehicle.CustomTires);
示例#30
0
 public static Task SetModelAsync(this IPlayer player, uint model) =>
 AltVAsync.Schedule(() => player.Model = model);