Server-side CSharp function: Difference between revisions

From RAGE Multiplayer Wiki
 
(17 intermediate revisions by the same user not shown)
Line 12: Line 12:
*[[GetBlipName]]
*[[GetBlipName]]
*[[GetBlipPosition]]
*[[GetBlipPosition]]
*[[GetBlipRouteColor]]
*<del>[[GetBlipRouteColor]]</del>
*[[GetBlipRouteVisible]]
*<del>[[GetBlipRouteVisible]]</del>
*[[GetBlipScale]]
*[[GetBlipScale]]
*[[GetBlipShortRange]]
*[[GetBlipShortRange]]
Line 21: Line 21:
*[[SetBlipName]]
*[[SetBlipName]]
*[[SetBlipPosition]]
*[[SetBlipPosition]]
*[[SetBlipRouteColor]]
*<del>[[SetBlipRouteColor]]</del>
*[[SetBlipRouteVisible]]
*<del>[[SetBlipRouteVisible]]</del>
*[[SetBlipScale]]
*[[SetBlipScale]]
*[[SetBlipShortRange]]
*[[SetBlipShortRange]]
Line 42: Line 42:


==ClientEvent==
==ClientEvent==
*[[CancelPendingRpc]]
*[[HasPendingRpc]]
*[[Register]]
*[[Register]]
*[[RegisterProc]]
*[[TriggerClientEvent]]
*[[TriggerClientEvent]]
*[[TriggerClientEventForAll]]
*[[TriggerClientEventForAll]]
Line 48: Line 51:
*[[TriggerClientEventInRange]]
*[[TriggerClientEventInRange]]
*[[TriggerClientEventToPlayers]]
*[[TriggerClientEventToPlayers]]
*[[TriggerClientEventUnreliable]]
*[[TriggerClientProc]]
*[[Unregister]]
*[[Unregister]]
*[[UnregisterPendingRpc]]


==ClientEventThreadSafe==
==ClientEventThreadSafe==
Line 70: Line 76:
==Data==
==Data==
*[[GetAllEntityData]]
*[[GetAllEntityData]]
*[[GetAllEntitySharedData]]
*<del>[[GetAllEntitySharedData]]</del>
*[[GetAllWorldData]]
*[[GetAllWorldData]]
*[[GetAllWorldSharedData]]
*<del>[[GetAllWorldSharedData]]</del>
*[[GetEntityData]]
*[[GetEntityData]]
*[[GetEntitySharedData]]
*[[GetEntitySharedData]]
*[[GetWorldData]]
*[[GetWorldData]]
*[[GetWorldSharedData]]
*<del>[[GetWorldSharedData]]</del>
*[[HasEntityData]]
*[[HasEntityData]]
*[[HasEntitySharedData]]
*[[HasEntitySharedData]]
*[[HasWorldData]]
*[[HasWorldData]]
*[[HasWorldSharedData]]
*<del>[[HasWorldSharedData]]</del>
*[[ResetEntityData]]
*[[ResetEntityData]]
*[[ResetEntitySharedData]]
*[[ResetEntitySharedData]]
*[[ResetWorldData]]
*[[ResetWorldData]]
*[[ResetWorldSharedData]]
*<del>[[ResetWorldSharedData]]</del>
*[[SetEntityData]]
*[[SetEntityData]]
*[[SetEntitySharedData]]
*[[SetEntitySharedData]]
*[[SetWorldData]]
*[[SetWorldData]]
*[[SetWorldSharedData]]
*<del>[[SetWorldSharedData]]</del>


==DummyEntity==
==DummyEntity==
Line 142: Line 148:


==Native==
==Native==
*[[FetchNativeFromPlayer]]
*<del>[[FetchNativeFromPlayer]]</del>
*[[SendNativeToAllPlayers]]
*[[SendNativeToAllPlayers]]
*[[SendNativeToPlayer]]
*[[SendNativeToPlayer]]
Line 159: Line 165:


==Particle==
==Particle==
*[[CreateLoopedParticleEffectOnEntity]]
*<del>[[CreateLoopedParticleEffectOnEntity]]</del>
*[[CreateLoopedParticleEffectOnPosition]]
*<del>[[CreateLoopedParticleEffectOnPosition]]</del>
*[[CreateParticleEffectOnEntity]]
*[[CreateParticleEffectOnEntity]]
*[[CreateParticleEffectOnPosition]]
*[[CreateParticleEffectOnPosition]]


==Ped==
==Ped==
*[[ClearPedTasks]]
*<del>[[ClearPedTasks]]</del>
*[[CreatePed]]
*[[CreatePed]]
*[[PlayPedAnimation]]
*<del>[[PlayPedAnimation]]</del>
*[[PlayPedScenario]]
*<del>[[PlayPedScenario]]</del>


==Pickup==
==<del>Pickup</del>==
*[[CreatePickup]]
*<del>[[CreatePickup]]</del>
*[[GetPickupAmount]]
*<del>[[GetPickupAmount]]</del>
*[[GetPickupCustomModel]]
*<del>[[GetPickupCustomModel]]</del>
*[[GetPickupPickedUp]]
*<del>[[GetPickupPickedUp]]</del>
*[[RespawnPickup]]
*<del>[[RespawnPickup]]</del>


==Player==
==Player==
Line 280: Line 286:
*[[GetAllTextLabels]]
*[[GetAllTextLabels]]
*[[GetAllVehicles]]
*[[GetAllVehicles]]
==RemoteEvent==
*[[Register]]
*[[Unregister]]


==Resource==
==Resource==
Line 311: Line 313:
*[[HasSetting]]
*[[HasSetting]]
*[[IsResourceRunning]]
*[[IsResourceRunning]]
*[[LoadConfig]]
*[[LoadXml]]
*[[LoadXml]]
*[[SetResourceSetting]]
*[[SetResourceSetting]]
Line 319: Line 320:


==Server==
==Server==
*[[GetGamemodeName]]
*[[GetMaxPlayers]]
*[[GetMaxPlayers]]
*[[GetServerName]]
*[[GetServerName]]
*[[GetServerPort]]
*[[GetServerPort]]
*[[IsPasswordProtected]]
*[[IsPasswordProtected]]
*[[SetAutoRespawnAfterDeath]]
*[[SetAutoSpawnOnConnect]]
*[[SetCommandErrorMessage]]
*[[SetCommandErrorMessage]]
*[[SetDefaultSpawnLocation]]
*[[SetDefaultSpawnLocation]]
*[[SetGamemodeName]]
*[[SetGamemodeName]]
*[[SetServerName]]
*[[SetGlobalDefaultCommandMessages]]
*[[SetServerPassword]]
*[[SetGlobalServerChat]]
*[[SetLogCommandParamParserExceptions]]
*[[SetLogRemoteEventParamParserExceptions]]
*[[StartBatch]]
 
==Task==
*[[Run]]
*[[WaitForMainThread]]


==TextLabel==
==TextLabel==
*[[CreateTextLabel]]
*[[CreateTextLabel]]
*[[GetAllLabels]]
*[[GetTextLabelColor]]
*[[GetTextLabelColor]]
*[[GetTextLabelRange]]
*[[GetTextLabelSeethrough]]
*[[GetTextLabelText]]
*[[GetTextLabelText]]
*[[SetTextLabelColor]]
*[[SetTextLabelColor]]
*[[SetTextLabelRange]]
*[[SetTextLabelSeethrough]]
*[[SetTextLabelSeethrough]]
*[[SetTextLabelText]]
*[[SetTextLabelText]]
Line 341: Line 354:
*[[ConsoleOutput]]
*[[ConsoleOutput]]
*[[FromJson]]
*[[FromJson]]
*[[GetAllWeaponComponents]]
*<del>[[GetAllWeaponComponents]]</del>
*[[GetHashKey]]
*[[GetHashKey]]
*[[GetHashSha256]]
*[[PedNameToModel]]
*[[PedNameToModel]]
*[[PickupNameToModel]]
*[[PickupNameToModel]]
Line 350: Line 364:


==Vehicle==
==Vehicle==
*[[BreakVehicleDoor]]
*[[BreakVehicleWindow]]
*[[CreateVehicle]]
*[[CreateVehicle]]
*[[GetAllVehicles]]
*[[ExplodeVehicle]]
*[[GetVehicleBulletproofTyres]]
*[[GetVehicleBodyHealth]]
*<del>[[GetVehicleBulletproofTyres]]</del>
*[[GetVehicleClass]]
*[[GetVehicleClass]]
*[[GetVehicleClassName]]
*[[GetVehicleClassName]]
*[[GetVehicleCustomPrimaryColor]]
*[[GetVehicleCustomPrimaryColor]]
*[[GetVehicleCustomSecondaryColor]]
*[[GetVehicleCustomSecondaryColor]]
*[[GetVehicleCustomTires]]
*[[GetVehicleDashboardColor]]
*[[GetVehicleDashboardColor]]
*[[GetVehicleDisplayName]]
*[[GetVehicleDisplayName]]
*[[GetVehicleEnginePowerMultiplier]]
*[[GetVehicleDriver]]
*[[GetVehicleEngineHealth]]
*<del>[[GetVehicleEnginePowerMultiplier]]</del>
*[[GetVehicleEngineStatus]]
*[[GetVehicleEngineStatus]]
*[[GetVehicleEngineTorqueMultiplier]]
*<del>[[GetVehicleEngineTorqueMultiplier]]</del>
*[[GetVehicleExtra]]
*[[GetVehicleExtra]]
*[[GetVehicleHealth]]
*[[GetVehicleHealth]]
*[[GetVehicleLivery]]
*[[GetVehicleLivery]]
*[[GetVehicleLocked]]
*[[GetVehicleMaxAcceleration]]
*[[GetVehicleMaxAcceleration]]
*[[GetVehicleMaxBraking]]
*[[GetVehicleMaxBraking]]
*[[GetVehicleMaxOccupants]]
*[[GetVehicleMaxOccupants]]
*[[GetVehicleMaxPassengers]]
*[[GetVehicleMaxSpeed]]
*[[GetVehicleMaxSpeed]]
*[[GetVehicleMaxTraction]]
*[[GetVehicleMaxTraction]]
*[[GetVehicleMod]]
*[[GetVehicleMod]]
*[[GetVehicleModColor1]]
*[[GetVehicleModColor2]]
*[[GetVehicleNeonColor]]
*[[GetVehicleNeonColor]]
*[[GetVehicleNeonState]]
*[[GetVehicleNeonState]]
*[[GetVehicleNumberPlate]]
*[[GetVehicleNumberPlate]]
*[[GetVehicleNumberPlateStyle]]
*[[GetVehicleNumberPlateStyle]]
*[[GetVehicleOccupants]]
*[[GetVehiclePearlescentColor]]
*[[GetVehiclePearlescentColor]]
*[[GetVehiclePrimaryColor]]
*[[GetVehiclePrimaryColor]]
*[[GetVehiclePrimaryPaint]]
*[[GetVehicleSecondaryColor]]
*[[GetVehicleSecondaryColor]]
*[[GetVehicleSecondaryPaint]]
*[[GetVehicleSirenState]]
*[[GetVehicleSirenState]]
*[[GetVehicleSpecialLightStatus]]
*[[GetVehicleSpecialLightStatus]]
Line 387: Line 406:
*[[GetVehicleTraileredBy]]
*[[GetVehicleTraileredBy]]
*[[GetVehicleTrimColor]]
*[[GetVehicleTrimColor]]
*[[GetVehicleTyreSmokeColor]]
*<del>[[GetVehicleTyreSmokeColor]]</del>
*[[GetVehicleWheelColor]]
*[[GetVehicleWheelColor]]
*[[GetVehicleWheelType]]
*[[GetVehicleWheelType]]
*[[GetVehicleWindowTint]]
*[[GetVehicleWindowTint]]
*[[IsVehicleDoorBroken]]
*[[IsVehicleTyrePopped]]
*[[IsVehicleWindowBroken]]
*[[PopVehicleTyre]]
*[[RemoveVehicleMod]]
*[[RemoveVehicleMod]]
*[[RepairVehicle]]
*[[RepairVehicle]]
*[[SetVehicleBulletproofTyres]]
*[[SetVehicleBodyHealth]]
*<del>[[SetVehicleBulletproofTyres]]</del>
*[[SetVehicleCustomPrimaryColor]]
*[[SetVehicleCustomPrimaryColor]]
*[[SetVehicleCustomSecondaryColor]]
*[[SetVehicleCustomSecondaryColor]]
*[[SetVehicleCustomTires]]
*[[SetVehicleDashboardColor]]
*[[SetVehicleDashboardColor]]
*[[SetVehicleEnginePowerMultiplier]]
*[[SetVehicleEngineHealth]]
*<del>[[SetVehicleEnginePowerMultiplier]]</del>
*[[SetVehicleEngineStatus]]
*[[SetVehicleEngineStatus]]
*[[SetVehicleEngineTorqueMultiplier]]
*<del>[[SetVehicleEngineTorqueMultiplier]]</del>
*[[SetVehicleExtra]]
*[[SetVehicleExtra]]
*[[SetVehicleHealth]]
*[[SetVehicleHealth]]
Line 409: Line 427:
*[[SetVehicleLocked]]
*[[SetVehicleLocked]]
*[[SetVehicleMod]]
*[[SetVehicleMod]]
*[[SetVehicleModColor1]]
*[[SetVehicleModColor2]]
*[[SetVehicleNeonColor]]
*[[SetVehicleNeonColor]]
*[[SetVehicleNeonState]]
*[[SetVehicleNeonState]]
Line 417: Line 433:
*[[SetVehiclePearlescentColor]]
*[[SetVehiclePearlescentColor]]
*[[SetVehiclePrimaryColor]]
*[[SetVehiclePrimaryColor]]
*[[SetVehiclePrimaryPaint]]
*[[SetVehicleSecondaryColor]]
*[[SetVehicleSecondaryColor]]
*[[SetVehicleSecondaryPaint]]
*[[SetVehicleSirenState]]
*[[SetVehicleSpecialLightStatus]]
*[[SetVehicleSpecialLightStatus]]
*[[SetVehicleTrimColor]]
*[[SetVehicleTrimColor]]
*[[SetVehicleTyreSmokeColor]]
*<del>[[SetVehicleTyreSmokeColor]]</del>
*[[SetVehicleWheelColor]]
*[[SetVehicleWheelColor]]
*[[SetVehicleWheelType]]
*[[SetVehicleWheelType]]
*[[SetVehicleWindowTint]]
*[[SetVehicleWindowTint]]
*[[VehicleNameToModel]]
*[[SpawnVehicle]]


==World==
==World==

Latest revision as of 15:00, 23 December 2022

ACL

Blip

Chat

Checkpoint

ClientEvent

ClientEventThreadSafe

ColShape

Command

Data

DummyEntity

Entity

Explosion

LocalEvent

Log

Marker

Native

Notification

Object

Particle

Ped

Pickup

Player

Pools

Resource

Server

Task

TextLabel

Util

Vehicle

World