public void SetCloth(ClothSlot slot, byte drawable, byte texture, byte palette) { SetCloth(slot, new ClothData(drawable, texture, palette)); }
public void SetCloth(ClothSlot slot, ClothData data) { CheckExistence(); Rage.Player.Player_SetCloth(NativePointer, (uint)slot, data); }
public ClothData GetCloth(ClothSlot slot) { CheckExistence(); return(StructConverter.PointerToStruct <ClothData>(Rage.Player.Player_GetClothes(NativePointer, (uint)slot))); }
public Task SetClothAsync(ClothSlot slot, byte drawable, byte texture, byte palette) { return(SetClothAsync(slot, new ClothData(drawable, texture, palette))); }
public Task SetClothAsync(ClothSlot slot, ClothData data) { return(_plugin.Schedule(() => SetCloth(slot, data))); }
public Task <ClothData> GetClothAsync(ClothSlot slot) { return(_plugin.Schedule(() => GetCloth(slot))); }