Table of Contents

Namespace RisingV.Shared.Extensions

Classes

BoundsMinMaxExtensions

Provides extension methods for working with ProjectM.BoundsMinMax and tile entities.

CollectionExtensions

Provides extension methods for collections.

DictionaryExtensions

Provides extension methods for converting a dictionary to a map.

DynamicBufferExtensions

Extensions for Unity's DynamicBuffer to convert it to a List.

EntityExtensions

Helper and convenience extensions that operate on Unity DOTS Unity.Entities.Entity values in V Rising server-side code.

The methods fall into three broad groups:

  • ECS helpers – raw component/buffer read-write, existence tests, add/remove utilities.
  • Gameplay helpers – high-level domain operations such as kill/destroy, team assignment, inventory drops, etc.
  • Debug utilities – entity dumps, component stringification, aspect checks.
EntityManagerExtensions

Provides extension methods for the Unity.Entities.EntityManager class.

EnumExtensions

Provides extension methods for working with enums.

EnumerableExtensions

Provides extension methods for working with IEnumerable<T> collections.

FloatExtensions

Provides extension methods for working with floating-point numbers and their related operations in the RisingV project.

IntegerExtensions

Provides extension methods for integer types to convert them to PrefabGUIDs and Entities.

NativeCollectionsExtensions

Provides extension methods for working with Unity's Native Collections.

NetworkIdExtensions

Provides extension methods for packing and unpacking ProjectM.Network.NetworkId.

PrefabGuidExtensions

Provides extension methods for Stunlock.Core.PrefabGUID to convert it to various game entities.

RandomExtensions

Provides extension methods for the Random class to get random enum values.

ReflectionExtensions

Provides extension methods for reflection-related operations.

StringExtensions

Provides extension methods for string manipulation.

WorldExtensions

Provides extension methods for the game world.

Delegates

EntityExtensions.WithRefHandler<T>

Delegate signature used by With<T>(Entity, WithRefHandler<T>) and AddWith<T>(Entity, WithRefHandler<T>) to let callers mutate a value-type component by ref.