RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Drones

DroneInfo Struct

A structure that stores data of custom drones as well as where they originated from.

public struct DroneInfo :
System.IEquatable<Chen.GradiusMod.Drones.DroneInfo>

Implements System.IEquatable<DroneInfo>

Constructors  
DroneInfo(string, Drone, ConfigFile) Basic constructor that stores the data of a custom drone.
Fields  
instance The instance of a Drone.
mod Mod identifier for differentiation, preferably the GUID.
Methods  
Equals(DroneInfo) Compares this instance and the other to see if they are “equal” as defined.
For equality, always use this method instead of equality operators.