Пример #1
0
 public VRCPlayerModProperty(string propName, KeyCode propValue)
 {
     //IL_000e: Unknown result type (might be due to invalid IL or missing references)
     //IL_000f: Unknown result type (might be due to invalid IL or missing references)
     name         = propName;
     keyCodeValue = propValue;
     type         = new VRCSerializableSystemType(typeof(KeyCode));
 }
        public override bool Equals(object obj)
        {
            VRCSerializableSystemType vRCSerializableSystemType = obj as VRCSerializableSystemType;

            if ((object)vRCSerializableSystemType == null)
            {
                return(false);
            }
            return(Equals(vRCSerializableSystemType));
        }
 public bool Equals(VRCSerializableSystemType _Object)
 {
     return(_Object.SystemType.Equals(SystemType));
 }
Пример #4
0
 public VRCPlayerModProperty(string propName, RuntimeAnimatorController propValue)
 {
     name = propName;
     animationController = propValue;
     type = new VRCSerializableSystemType(typeof(RuntimeAnimatorController));
 }
Пример #5
0
 public VRCPlayerModProperty(string propName, VRCPlayerModFactory.HealthOnDeathAction propValue)
 {
     name = propName;
     onDeathActionValue = propValue;
     type = new VRCSerializableSystemType(typeof(VRCPlayerModFactory.HealthOnDeathAction));
 }
Пример #6
0
 public VRCPlayerModProperty(string propName, VRC_EventHandler.VrcBroadcastType propValue)
 {
     name           = propName;
     broadcastValue = propValue;
     type           = new VRCSerializableSystemType(typeof(VRC_EventHandler.VrcBroadcastType));
 }
Пример #7
0
 public VRCPlayerModProperty(string propName, GameObject propValue)
 {
     name            = propName;
     gameObjectValue = propValue;
     type            = new VRCSerializableSystemType(typeof(GameObject));
 }
Пример #8
0
 public VRCPlayerModProperty(string propName, bool propValue)
 {
     name      = propName;
     boolValue = propValue;
     type      = new VRCSerializableSystemType(typeof(bool));
 }
Пример #9
0
 public VRCPlayerModProperty(string propName, float propValue)
 {
     name       = propName;
     floatValue = propValue;
     type       = new VRCSerializableSystemType(typeof(float));
 }