Specific container (OnItemAddedToContainer)

Hi community,
I can not find the definitions of the various methods, do you have any useful links?
in any case I would like to make an event when a player inserts an item inside the coffin "coffin.storage"
currently I can do it in a generic way with any container.
Can you help me? use this method from API

		void OnItemAddedToContainer(ItemContainer container, Item item)

Pretty much all of the hook arguments are classes provided by the game itself, which you can get more information about by opening the game server's DLLs with a .NET decompiler.

abZzjHrucgmXcY8.png Wulf

Praticamente tutti gli argomenti hook sono classi fornite dal gioco stesso, su cui è possibile ottenere maggiori informazioni aprendo le DLL del server di gioco con un decompilatore .NET.

what dll file?

can you explain this method ?

Assembly-CSharp.dll is where most of the magic happens.

can you write here the tool for convert ? i try, but not work very well

i found the tool: dotPeek

void OnItemAddedToContainer(ItemContainer container, Item item)
        {
            if(item.info.shortname == "skull.human" && container.parent.name == "coffin.storage")
                  ............
        }
}

this is correct?
Xi3mm2OqYvXHYyD.png Wulf

Assembly-CSharp.dll is where most of the magic happens.

can you help me ?

Rock33MIB

can you write here the tool for convert ? i try, but not work very well

i found the tool: dotPeek

void OnItemAddedToContainer(ItemContainer container, Item item)
        {
            if(item.info.shortname == "skull.human" && container.parent.name == "coffin.storage")
                  ............
        }
}

this is correct?
So what exactly is the issue now?
nVKC3vjN0uajoiA.png Wulf
So what exactly is the issue now?

I want only when you put the skull  "skull.human" in the coffin "coffin.storage" something happens, but so it does not work