terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Public Member Functions | |
Material (Shader shader) | |
Material (Material source) | |
Material (string contents) | |
bool | HasProperty (int nameID) |
bool | HasProperty (string name) |
void | EnableKeyword (string keyword) |
void | DisableKeyword (string keyword) |
void | SetFloat (string name, float value) |
void | SetFloat (int nameID, float value) |
void | SetColor (string name, Color value) |
void | SetColor (int nameID, Color value) |
void | SetVector (int nameID, Vector4 value) |
void | SetTexture (int nameID, Texture value) |
Color | GetColor (string name) |
Color | GetColor (int nameID) |
Texture | GetTexture (string name) |
Texture | GetTexture (int nameID) |
int | GetInstanceID () |
override int | GetHashCode () |
override bool | Equals (object other) |
override string | ToString () |
Static Public Member Functions | |
static implicit | operator bool (Object exists) |
static Object | Instantiate (Object original, Vector3 position, Quaternion rotation) |
static Object | Instantiate (Object original) |
static T | Instantiate< T > (T original) |
static T | Instantiate< T > (T original, Vector3 position, Quaternion rotation) |
static void | Destroy (Object obj, [DefaultValue("0.0F")] float t) |
static void | Destroy (Object obj) |
static void | DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets) |
static void | DestroyImmediate (Object obj) |
static Object[] | FindObjectsOfType (Type type, bool includeInactive) |
static void | DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target) |
static T[] | FindObjectsOfType< T > () |
static bool | operator== (Object x, Object y) |
static bool | operator!= (Object x, Object y) |
Static Package Functions | |
static Object | FindObjectFromInstanceID (int instanceID) |
Static Package Attributes | |
static int | OffsetOfInstanceIDInCPlusPlusObject |
Properties | |
Shader | shader [get] |
Color | color [get, set] |
Texture | mainTexture [get] |
int | renderQueue [set] |
string | name [get, set] |
HideFlags | hideFlags [set] |
Private Member Functions | |
int | GetFirstPropertyNameIdByAttribute (ShaderPropertyFlags attributeFlag) |
void | SetFloatImpl (int name, float value) |
void | SetColorImpl (int name, Color value) |
void | SetTextureImpl (int name, Texture value) |
Color | GetColorImpl (int name) |
Texture | GetTextureImpl (int name) |
void | SetColorImpl_Injected (int name, Color value) |
void | GetColorImpl_Injected (int name, [Out] Color ret) |
IntPtr | GetCachedPtr () |
Static Private Member Functions | |
static void | CreateWithShader ([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader) |
static void | CreateWithMaterial ([Writable] Material self, [NotNull("ArgumentNullException")] Material source) |
static void | CreateWithString ([Writable] Material self) |
static bool | CompareBaseObjects (Object lhs, Object rhs) |
static bool | IsNativeObjectAlive (Object o) |
static void | CheckNullArgument (object arg, string message) |
static string | ToString (Object obj) |
static int | GetOffsetOfInstanceIDInCPlusPlusObject () |
static Object | Internal_CloneSingle ([NotNull("NullExceptionObject")] Object data) |
static Object | Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot) |
static string | GetName ([NotNull("NullExceptionObject")] Object obj) |
static void | SetName ([NotNull("NullExceptionObject")] Object obj, string name) |
static Object | Internal_InstantiateSingle_Injected (Object data, Vector3 pos, Quaternion rot) |
Private Attributes | |
IntPtr | m_CachedPtr |
Static Private Attributes | |
const string | objectIsNullMessage = "The Object you want to instantiate is null." |
const string | cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake." |
Definition at line 13 of file Material.cs.