Cardlife mod patcher
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IEnhancedPlugin.cs 5.3KB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using UnityEngine;
  5. namespace IllusionPlugin
  6. {
  7. public abstract class IEnhancedPlugin : IPlugin
  8. {
  9. /// <summary>
  10. /// Gets a list of executables this plugin should be excuted on (without the file ending)
  11. /// </summary>
  12. /// <example>{ "PlayClub", "PlayClubStudio" }</example>
  13. public string[] Filter { get; } = new[] {"Gamecraft", "GamecraftPreview"};
  14. public virtual void OnLateUpdate()
  15. {
  16. }
  17. public abstract string Name { get; }
  18. public abstract string Version { get; }
  19. public virtual void OnApplicationStart()
  20. {
  21. }
  22. public virtual void OnApplicationQuit()
  23. {
  24. }
  25. public virtual void OnUpdate()
  26. {
  27. }
  28. public virtual void OnFixedUpdate()
  29. {
  30. }
  31. public virtual void OnAnimatorIK(int layerIndex)
  32. {
  33. }
  34. public virtual void OnAnimatorMove()
  35. {
  36. }
  37. public virtual void OnApplicationFocus(bool hasFocus)
  38. {
  39. }
  40. public virtual void OnApplicationPause(bool pauseStatus)
  41. {
  42. }
  43. public virtual void OnAudioFilterRead(float[] data, int channels)
  44. {
  45. }
  46. public virtual void OnBecameInvisible()
  47. {
  48. }
  49. public virtual void OnBecameVisible()
  50. {
  51. }
  52. public virtual void OnBeforeTransformParentChanged()
  53. {
  54. }
  55. public virtual void OnCanvasGroupChanged()
  56. {
  57. }
  58. public virtual void OnCanvasHierarchyChanged()
  59. {
  60. }
  61. public virtual void OnCollisionEnter(Collision other)
  62. {
  63. }
  64. public virtual void OnCollisionEnter2D(Collision2D other)
  65. {
  66. }
  67. public virtual void OnCollisionExit(Collision other)
  68. {
  69. }
  70. public virtual void OnCollisionExit2D(Collision2D other)
  71. {
  72. }
  73. public virtual void OnCollisionStay(Collision other)
  74. {
  75. }
  76. public virtual void OnCollisionStay2D(Collision2D other)
  77. {
  78. }
  79. public virtual void OnConnectedToServer()
  80. {
  81. }
  82. public virtual void OnControllerColliderHit(ControllerColliderHit hit)
  83. {
  84. }
  85. public virtual void OnDidApplyAnimationProperties()
  86. {
  87. }
  88. public virtual void OnDisable()
  89. {
  90. }
  91. public virtual void OnDrawGizmos()
  92. {
  93. }
  94. public virtual void OnDrawGizmosSelected()
  95. {
  96. }
  97. public virtual void OnEnable()
  98. {
  99. }
  100. public virtual void OnGUI()
  101. {
  102. }
  103. public virtual void OnJointBreak(float breakForce)
  104. {
  105. }
  106. public virtual void OnMouseDown()
  107. {
  108. }
  109. public virtual void OnMouseDrag()
  110. {
  111. }
  112. public virtual void OnMouseEnter()
  113. {
  114. }
  115. public virtual void OnMouseExit()
  116. {
  117. }
  118. public virtual void OnMouseOver()
  119. {
  120. }
  121. public virtual void OnMouseUp()
  122. {
  123. }
  124. public virtual void OnMouseUpAsButton()
  125. {
  126. }
  127. public virtual void OnParticleCollision(GameObject other)
  128. {
  129. }
  130. public virtual void OnPostRender()
  131. {
  132. }
  133. public virtual void OnPreCull()
  134. {
  135. }
  136. public virtual void OnPreRender()
  137. {
  138. }
  139. public virtual void OnRectTransformDimensionsChange()
  140. {
  141. }
  142. public virtual void OnRenderImage(RenderTexture src, RenderTexture dest)
  143. {
  144. }
  145. public virtual void OnRenderObject()
  146. {
  147. }
  148. public virtual void OnServerInitialized()
  149. {
  150. }
  151. public virtual void OnTransformChildrenChanged()
  152. {
  153. }
  154. public virtual void OnTransformParentChanged()
  155. {
  156. }
  157. public virtual void OnTriggerEnter(Collider other)
  158. {
  159. }
  160. public virtual void OnTriggerEnter2D(Collider2D other)
  161. {
  162. }
  163. public virtual void OnTriggerExit(Collider other)
  164. {
  165. }
  166. public virtual void OnTriggerExit2D(Collider2D other)
  167. {
  168. }
  169. public virtual void OnTriggerStay(Collider other)
  170. {
  171. }
  172. public virtual void OnTriggerStay2D(Collider2D other)
  173. {
  174. }
  175. public virtual void OnValidate()
  176. {
  177. }
  178. public virtual void OnWillRenderObject()
  179. {
  180. }
  181. public virtual void Reset()
  182. {
  183. }
  184. }
  185. }