EXILED icon indicating copy to clipboard operation
EXILED copied to clipboard

Add SpawnInfo - Tuple Replacement

Open Thundermaker300 opened this issue 2 years ago • 1 comments

Adds a SpawnInfo struct and SpawnInfo? GetRandomSpawnInfo(RoleType), a replacement of the Tuple<Vector3, float> RoleExtensions.GetRandomSpawnProperties(RoleType) method. The struct is much more organized and can contain more data than a tuple.

Also added Role.Spawns and Room.Spawns

Thundermaker300 avatar Aug 17 '22 21:08 Thundermaker300

If using Exiled.API.Features and Exiled.API.Features.Spawn, there will now be an ambiguous error moment

Thundermaker300 avatar Aug 20 '22 01:08 Thundermaker300

Reworked in Exiled EA

Thundermaker300 avatar Dec 26 '22 01:12 Thundermaker300