| | |
| | | return null;
|
| | | }
|
| | |
|
| | | public static ItemCompoundConfig GetItemCompoundByType(int firstType,int secondType, int thirdType)
|
| | | {
|
| | | if(allComposeModelDict.ContainsKey(firstType))
|
| | | {
|
| | | if(allComposeModelDict[firstType].ContainsKey(secondType))
|
| | | {
|
| | | if(allComposeModelDict[firstType][secondType].ContainsKey(thirdType))
|
| | | {
|
| | | return allComposeModelDict[firstType][secondType][thirdType][0];
|
| | | }
|
| | | }
|
| | | }
|
| | | return null;
|
| | | }
|
| | |
|
| | | public static bool TryGetTicketCompose(int _ticketId, out List<ItemCompoundConfig> list)
|
| | | {
|
| | | return ticketComposeDict.TryGetValue(_ticketId, out list);
|